Jump to content
Sign in to follow this  
arno

Conditional scenery objects in xml?

Recommended Posts

Guest jzax

Is there a way in XML to make a scenery object appear or don't appear conditioned to a certain date?I can't find any info, except the related to effects placement which is not applicable. Does anybody know?Thanks!

Share this post


Link to post
Share on other sites
Guest archtx

I hope you find a solution to this, as I would like to do the same thing.

Share this post


Link to post
Share on other sites

Hi,No, that is not possible from the XML file. If you want the object to have a certain condition, you can add it to the MDL object. This can be done either by tweaking the ASM code a bit or by using my MDL Tweaker tool (I am working on an improved version at the moment).


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 jzax

Thanks a lot Arno, looking forward to your MDL tweaker!!It was easier before with the "ifvar" instructions in scasm...

Share this post


Link to post
Share on other sites

You can very easily use the IFIN1 command (BGLC version of SCASM IfVarRange) in the ASM source files of your GMax object. That is about the same as the SCASM tweaks :).


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...