Sign in to follow this  
Guest gorchi

Dynamic objects

Recommended Posts

Hi guys,I happen to work on a project in Airport 3, and I wish to know how to make Dynamic objects like for example a truck to be dynamic and move from place to place in my airport.Do you guys happen to know what tool should I use?Regards,Ricky

Share this post


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

Hi Ricky!More or less You do Your work by hand :) You can help a little with Dynamic Object Designer (DOD) but a lot YOu will have to do by hand.The theory is like this. Create Your objects in FSDS, EOD or FSNova (I don't know how to use GMAX here sorry). Export these objects as API's and replace the header with dynamic one, like this:

ShadowPosInd( 0000 )ReScale( :S02 0 0 0.015625 )ShadowCallVI( :Risi 0018 ) :S02   RefPoint( ofs :Skip 0 0 0 )   SuperScale( :Skip 3000 5 12 )   SetVar( 002C 2 );size of the object   PBHCall( :_Draw 0018 );position the object regarding the var 0018:Skip   Return	:_DrawTransformCall( :_Object  0 -33 0 0 0 0  0 0 0 );we must lower object a little bitReturn:_ObjectBGLVersion( 0800 )TextureList( 0	6 FF 255 255 255 0 50.000000 "my.bmp"	256 FF 255 255 255 0 50.000000 "my_LM.bmp"	)MaterialList( 0	0.964706 0.886275 0.258824 1.000000   0.952941 0.866667 0.062745 1.000000	0.000000 0.000000 0.000000 1.000000   0.000000 0.000000 0.000000 1.000000 0.000000....

The above header is good for object created using scale 0.1 btw. Now compile these objects (using SCASM) in one dynamic object library and 1/4 of the work is done.The next thing is to define object path. You can use fltrec.dll (it is hosted by Avsim btw). Using this module You can record Your path, which You must transform using FSDyn! or DOD to more SCASM alike path. And here is the biggest problem - there are no good FSSC/Airport for Windows like software to use and to correct the path. For my scenery, I used TDFCalc, "augenmass" :) and a lot of trial&error work to create nice dynamic scenery. Once You have paths, You compile them with SCASM in BGL and voila! You have Your dynamic scenery.But if YOu wish to complicate a little bit, let's say turn on/off turning lights, start the animation of the object (catering, stairs) or even start dynamic movement of some defined vehicle when pilot tune on selected frequency, then You are working completely by hand. Sadly but true.If You have any further questions, come forward with them. I hope the above will help You for a start.Best regards,Goran BrumenFS Slovenija 2002 teamhttp://slovenia.avsim.net

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