Sign in to follow this  
Guest

Question about Busy Objects 1.0

Recommended Posts

Hi ALL..I'm trying to craete a animation in the scenery airport.I have lots of questions, but up to now there is one of the most importance:I have compil API macros but it should be changed to indicate the animated object (as was written in the manual). Here is word by word in 'insert object rendering code':"Find the line starting with "Object"; this is around line number 50 and looks like:;============================================; Object to be animated;============================================:ObjectTransform_Mat(0.000 0.000 0.000100.000 0.000 0.0000.000 100.000 0.0000.000 0.000 100.000);;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; insert object code here ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;(A) CallLibObj ( 0 1 BF190362 B0C00000 1 ) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;TransformEndReturnThe easiest way is to call object here (A), so you only need to insert a single line of code. If you insert BGL code to draw the object here directly, make sure you use the scale you have defined in the parameter file.""so, i can't understand where can i take bgl-code, which is under symbol (A) bold?Many Thanx.

Share this post


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

If you have your scenery object in an object library it will have a GUID number to identify it. This command calls that object from the library by using that number. So in the example code the object 1 BF190362 B0C00000 1 is called. You should replace this number with the GUID of the object you want to use.

Share this post


Link to post
Share on other sites

Thanks for answer!but where a can see the GUID?are there any programms to see that?im adding object to the library with FS regen

Share this post


Link to post
Share on other sites

When you add your object with FsRegen you enter the GUID there. So you should be able to see it there.

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