Sign in to follow this  
arno

Manually editing .API files part 2 help please

Recommended Posts

Hey guys, I have some api macros created with FSDS that do not use night lighting (*_lm.bmp files). What command should be changed so it uses the night lighting? Thanks, Leandro

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Find the LoadBitmap command, it will look something like this:[tt]LoadBitmap( 0 6 EF 0 0 0 mybitmap.bmp )[/tt]If you replace it by this you will get night lighting:[tt]LoadBitmap( 0 L6 EF 0 0 0 mybitmap.bmp )[/tt]I am not sure if FSDS always shows the source this way. I remember that it used the Dwx commands first, because SCASM didn't support the new command at that time. I am not sure if that is solved, in that case you might want to replace these commands by the LoadBitmap command.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Share this post


Link to post
Share on other sites

Ok got that. Now there is another little prob to deal with. I have this VOD macro that uses .PAT texture. How can I make it load bmp instead and with the night light too? Here is some of the code:Points( 0 -58 0 -71 ; 0 58 0 -71 ; 1 58 0 72 ; 2 -58 0 72 ; 3 -58 0 -71 ; 4 58 0 -71 ; 5 58 0 72 ; 6 -58 0 72 ; 7)Bitmap( APRON1.PAT 0 0 0 0 )ConcavePolyBitmapMode( 1 )Inst_7DTexPoly( a ; External Top 4 128 193 7 128 50 6 244 50 5 244 193 )BitmapMode( 0 )ReturnEndA

Share this post


Link to post
Share on other sites

"just change .pat to .bmp"Thanks Bob, but I also have to change from Bitmap to LoadBitmap right? What else needs to be changed?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this