Sign in to follow this  
arno

Conditional scenery objects in xml?

Recommended Posts

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
Help AVSIM continue to serve you!
Please donate today!

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

Share this post


Link to post
Share on other sites

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

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