Jump to content
Sign in to follow this  
Guest abelino

conditional gmax object appearance

Recommended Posts

Guest abelino

Hi! (Sorry my english!)I would like to the Gmax made object is appearance, from 10:00 AM till 10:20 AM, every day.1) Patch this object with CAT (by Arno). (Which utility convert the mdl to asm?)2) (Prefferd way) I change in (Gmax made) XML? (Which tag, element or something to add?)3) In Gmax, attach an effect to object, and, in effect parameter is the time of apparance? (HOD=10,10;MOH=00,20)Which is the best (or possible) way?Thanksabelino

Share this post


Link to post
Share on other sites

Hi Abelino,If you want the condition to apply to the entire object CAT is no option (that is for animations only). With XML code it is also not possible, so I think the best way is to code it either with IFIN1 commands in the ASM code or to use MDLTweaker (also available from my site).To get the object only between 10:00 and 10:20 you need two checks. One to see if the hour is 10 (I think the variable is GMT time, so you would need to think about that). And a second check to see if the minutes are between 0 and 20.


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 abelino

Hi Arno!Thank you very mutch for your help!(Few minutes later)Arno it's GREAT!!!! It's works!!!!! :-)Thank you very mutch again!(I solved this problem with MDLTweaker, its a great tool!)abelino

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