Sign in to follow this  
Guest changdeng

I create Dynamic Scenery ,But object is not apear .. somehing goes wrong?

Recommended Posts

I just create a dynamic scenery called testmove.scaI use the fs2004 default new fuel truck as my dyanmic objectAfter use SCASM compile,i simply drop the testmove.bgl into Flightsimulator 9/Addon Scenery/ Directory.But i don't see the object apear where i specfy in dynamic scenery file.Any Pro can advise me what i do wrong ?Thanks.here is the code :-----------------------------------------------------------------------Header( 1 N25:07:00.00 N25:02:00.00 E121:17:00 E121:11:00 )LatRange( N25:02:00.00 N25:07:00.00 )Area15( N25:06:00.00 N25:03:00.00 E121:16:00.00 E121:12:00.00 ) LatRef( N25:04:81.00 ) CallDLibObj( :Test 3 4 00C2CDA9 A9E100AA 596711D0 B1A18308 )Exit:Test SetPos(N25:04:42.51 E121:14:17.50 108.158) Heading( 050 ) ACS( 1 ) Call( :MovePattern ) Jump( :Test ):MovePattern StartTimer MoveToPosN(35 N25:04:82.78 E121:14:68.07 108.158 0.00 0.00 050) ReturnEND15-----------------------------------------------------------------------

Share this post


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

First off, you have no secondary boundary defined in your Area15 statement. This is required for FS95 and later and it must be equal to or larger than the primary boundary.Lou

Share this post


Link to post
Share on other sites

I have correct the code.The object should apear in the RCTP AirportBut the object still disapear...I still have no idea how to correct this...please give me advise.Thanks.here is the corrected code: -----------------------------------------Header( 1 N25:08:00.00 N25:01:00.00 E121:18:00 E121:10:00 )LatRange( N25:01:00.00 N25:08:00.00 )LatRange( N25:02:00.00 N25:07:00.00 )Area15( N25:06:00.00 N25:03:00.00 E121:16:00.00 E121:12:00.00 N25:07:00.00 N25:02:00.00 E121:17:00.00 E121:11:00.00 ) LatRef( N25:04:81.00 ) CallDLibObj( :Test 3 4 00C2CDA9 A9E100AA 596711D0 B1A18308 )Exit:Test SetPos(N25:04:42.51 E121:14:17.50 36.158) Heading( 050 ) ACS( 1 ) Call( :MovePattern ) Jump( :Test ):MovePattern StartTimer MoveToPosN(35 N25:04:82.78 E121:14:68.07 36.158 0.00 0.00 050) ReturnEND15

Share this post


Link to post
Share on other sites

Try this.;--start code--Header( 1 N25:19:43.00 N24:49:41.00 E121:29:21.00 E120:59:17.00 )LatRange( N24:49:41.00 N25:19:43.00 )mif( [$Version < 285] ) Error( You need at least SCASM version 2.85 to compile this code )mifendArea15( N25:19:32.68 N24:49:24.82 E121:29:12.54 E120:59:13.00 N25:19:32.68 N24:49:24.82 E121:29:12.54 E120:59:13.00 ) LatRef( N25:04:42.00 ) CallDLibObj( :Begin01 4 0 000C2CDA9 A9E100AA 596711D0 B1A18308 ) Exit:Begin01 SetPos( N25:04:42.53 E121:14:17.52 33.000 ) Heading( 47 ) ACS( 1 ) Heading( 47 ) Call( :Path01 ) Jump( :Begin01 ):Path01 ACS( 1 ) Gear( up ) StartTimer Hold( 10 ) TaxiTo( N25:04:42.4191 E121:14:20.5692 33.000 137.000) TaxiTo( N25:04:39.6268 E121:14:20.4727 33.000 227.000) TaxiTo( N25:04:39.7178 E121:14:17.3872 33.000 317.000) TaxiTo( N25:04:42.5300 E121:14:17.5200 33.000 47.000) ReturnEnd15;--end code--Lou

Share this post


Link to post
Share on other sites

Thank you for your help. FirestrikerI find out what's wrong.I put the file in wrong diretory.It should be placed in addon scenery/scenery instead of addon scenery/ .Now dynamic scenery works.

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