Jump to content
Sign in to follow this  
Guest

Question about Busy Objects 1.0

Recommended Posts

Guest

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

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.


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

Share this post


Link to post
Share on other sites
Guest

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.


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

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...