September 29, 200223 yr 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
September 29, 200223 yr Author Commercial Member 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.ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
September 29, 200223 yr 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
September 29, 200223 yr "just change .pat to .bmp"Thanks Bob, but I also have to change from Bitmap to LoadBitmap right? What else needs to be changed?
September 30, 200223 yr Author Commercial Member Yes, for the night lighting you also need to replace the Bitmap command by the LoadBitmap command, but that's all.ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
Create an account or sign in to comment