FS2004 I can´t make a conditioned animation works

#1
Hello
I made an animataion in Gmax with 4 doors (boxes with color,no texture, no transparency). I named each box starting with tick18_ and were

animated with a very simple translation (Key frames at the beginning and at the end).
From Gmax, I exported it (flightsim Scenery object option), creating the *.mdl, *.xml and keeping the *.asm files (keep=1 in makemdl

options).
I applied CAT considering only the "enable condition trigger" and I assign NAV2 to 112.00 (1200h).
Cat generated the *_cat.mdl. Then I loaded MCX and called *_cat.mdl in the "convert and place objects" wizards, so to place the object in

FS9. Immediately a window ask me for setting 3 condition variables (6, l_gear, pvfreq). Depending on the number I entered in Variable 6 (in

variables (with variables l_gear and pvfreq nothing happens) I had differents results:
0,1,3,4 the door is static and the trigger does not open it.
2 the door is animated openning and closing endlessly, and the trigger does nothing.
5 the door is animated openning and closing endlessly, starting backward,and the trigger does nothing.
I have read some post of the forums but nobody mentions those variables and therefore how to handle them.

The animation works fine in Gmax and in FS9 without the trigger (endlessly). But I can´t make it work with the trigger.
I have set in MCX to keep the *.asm files after processing. I have noticed that the *_cat_0.asm file generated after executing CAT, has the

trigger, but after executing the "convert and place objects" wizard of MCX the new *_cat_0.asm generated doesn't have it.

I would appreciate very much any help, to make possible that the animation works with a condition and not endlessly.

Thanks in advance

Carlos Varas
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#2
Hi,

Don't use MCX to place the object. MCX uses MakeMDL to export the object, which means the tweaked animations are lost. You need to use an object placement tool to place it or write the placement XML yourself. The mdl that CAT made would go in a library bgl.
 
#3
Hi,

Don't use MCX to place the object. MCX uses MakeMDL to export the object, which means the tweaked animations are lost. You need to use an object placement tool to place it or write the placement XML yourself. The mdl that CAT made would go in a library bgl.
Hi Arno:

Thank you for your fast reply.
Concerning your advice, can you indicate me more specifically how to do that.
Regards
Carlos
 
#4
Not sure here, but I think you would need to create a bgl library first, is that correct? So you can use a tool like library creator.

Then you place that bgl in an active scenery folder and start FSX/FS9.

Then you can use some kind of tool like Instant Scenery to place your object.

Not an expert so I hope somebody will correct me if I am wrong.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#5
Yes, that's correct. Or you could write a little bit of XML for the placement yourself as well.
 
#6
Not sure here, but I think you would need to create a bgl library first, is that correct? So you can use a tool like library creator.

Then you place that bgl in an active scenery folder and start FSX/FS9.

Then you can use some kind of tool like Instant Scenery to place your object.

Not an expert so I hope somebody will correct me if I am wrong.
Hi
Thank you for concern. Fortunately after some tests I was able to run the animation correctly.
The simpliest way, was to compile directly the cat file with bglcomp.exe after editing the xml file.
Regards Carlos
 
#7
Yes, that's correct. Or you could write a little bit of XML for the placement yourself as well.
Hi
Thank you for your reply. The key was to stop using MCX for placing the model. As you told me, I modified the xml file and compiled the cat file with bglcomp. It was not necessary to create a library. Finally, the animation is working fine, in the exact way that I designed it.

Once again, thanks for sharing your knowledge and best regards
Carlos Varas
 
Top