November 25, 200223 yr SCASM gurus:How can I build in the seasonal variations into this code?; polygon 4Area( 5 38:51.03900 -077:2.05824 22 ) LayerCall( :Taglayer 4 ) Jump( : ):Taglayer RefPoint( 7 :TagPoly 3.8 38:50.97750 -077:2.08224 V1= 22224 V2= 2037 ) Bitmap( xxxx.bmp 0 128 0 128 ) Smoothing( 1 ) Points( 1 00128 0 00128 ; 001 00128 0 -00128 ; 002 -00128 0 -00128 ; 003 -00128 0 00128 ; 004 ) StartSurface MoveToPt( 1 ) DrawToPt( 2 3 4 ) EndSurface Smoothing( 0 ):TagPoly ReturnEndAObvoiusly the LoadBitmap command is the solution but if I include that then my polygons get displaced...Any ideas?ThanksShez Shez Ansari Windows 11; CPU: Intel Core i7-8700K; GPU: EVGA GEFORCE GTX 1080Ti 11GB; MB: Gigabyte Z370 AORUS Gaming 5; RAM: 16GB; HD: Samsung 960 Pro 512GB SSD, Samsung 850 Pro 256GB SSD; Display: ASUS 4K 28", Asus UHD 26"
November 25, 200223 yr Commercial Member I assume they are moved due to the 0 128 0 128 in the bitmap command.I have two ideas for you :)1) Use the LoadBitmap command and after it try this command: RepeatBitmap( 128 0 128 ). This should reactivate the bitmap and allows you to displace it again. But I am not sure if it works with the LoadBitmap command (never tested it).2) Another option, do it on the Fs98 style:IfVarRange( :s01 6F8 0 0 )Bitmap( xxxx_wi.bmp 0 128 0 128 )Jump( :sc ):s01IfVarRange( :s02 6F8 1 1 )Bitmap( xxxx_sp.bmp 0 128 0 128 )Jump( :sc ):s02IfVarRange( :s03 6F8 2 2 )Bitmap( xxxx_su.bmp 0 128 0 128 )Jump( :sc ):s03Bitmap( xxxx_fa.bmp 0 128 0 128 ):scThe last option should work anyway :).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
November 25, 200223 yr What Arno said. He definitly has that stuff under control way better than I :-smile12 I just thank god there is a scenery maker so I don't have to do that stuff manually :-lol
November 25, 200223 yr Author Great ideas! Thanks Arn, as usual it is great to pick your brains...:-) ShezP.S. Yes those are displaced for placement. Shez Ansari Windows 11; CPU: Intel Core i7-8700K; GPU: EVGA GEFORCE GTX 1080Ti 11GB; MB: Gigabyte Z370 AORUS Gaming 5; RAM: 16GB; HD: Samsung 960 Pro 512GB SSD, Samsung 850 Pro 256GB SSD; Display: ASUS 4K 28", Asus UHD 26"
Create an account or sign in to comment