• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX hangar door animation trigger

Messages
135
Country
germany
Hello

I modeled a hangar with a key frame animated hangar door and it would be nice to set a nav 2 trigger.
But I can't find information about "how to do it".
CAT tool seems not to work for fsx due to impossibility of tweaking the fsx mdl format with it.

So I need help with it, I am very thankful for information how to do it or where I can find information about it. The sdk is not very helpful by it.

thanks
comy
 
Hi,

Export your model in the fs2004 format so that you can use cat. It's not possible to trigger the animation in the fsx format.

Send from my phone using Tapatalk, so excuse the short sentences and possible typos
 
hmm okay thanks arno.

That should be possible. But at the moment something is wrong.
I exported it to .x file from 3ds max, imported the file into makemdl.exe and exported it to a fs9 mdl file.

If I import it into your model converter all looks good, but I can not play the animation int he animation editor of model converter.
Normally it should be possible or not?

thanks

comy
 
Did you tag your animated parts with tick18_? For fs2004 that is required.

Send from my phone using Tapatalk, so excuse the short sentences and possible typos
 
yes but I did add it manually as object name because the button of animation manager does not work. Don't know if that change anything.

I checked the output window of makemdl, it looks like that makemdl only loads my .x file and not the xanims file. That's normal?

thanks
comy
 
FS9 doesn't use an .xanim file at all. Also, for FS9 tick18_ is the prefix used on the partname. It's automatically animated by the sim.
 
Good to know, but I don't know what I doing wrong.
May it's a bit more complex to make animation with trigger, but actually there is no animation which works for me in fsx, nor the fsx animations without trigger like a flag.

I have attached a little testfile, may be anybody can have a look into this file.
It contains the 3ds max 2010/2011 file, a 3DS file , the x/xanim file and the mdl9 file, compiled with makemdl 9.

Thanks a lot

comy
 

Attachments

Hi,

I don't have 3DS Max, but if I load the X file in ModelConverterX I do see the animation correctly.

To export with the FS2004 MakeMDL I think you would need to use GMax. The X file you made now does not contain the animations as FS2004 expects them. They are written differently for MakeMDL and XtoMDL.

Or you could try to use ModelConverterX. It should be able to read your X file and export it to a FS2004 MDL with animation.
 
Sounds good, but how did you load the x file into model converter? .x isn't a eligible file format at import dialog of ModelConverterX.

thanks

comy
 
Hi,

I think you are using an older version than. In the current version X file can also be imported. You could try the stable 1.3 release or the latest development version.
 
yep you are right, I didn't use the newest version of model converter.
But next problem...
are you sure that I can export it to a fs9 mdl?

If I try to export it to fs9 mdl file, nothing happens.

If I try to do it with the animation tweaker, it asks for the anim_0.asm

Don't know how to do it. Any Idea?

Thanks

comy
 
Hi,

Are there any errors in the event log after you try to export to FS2004 MDL? Maybe you need to set the path to MakeMDL first.

The animation tweaker does also use MakeMDL in the background. But it is more meant for animations with over 1024 frames, as FS2004 can not make those directly.
 
eh yeah, you are right again, that was really stupid by me at this time.

Okay now I have a a fs9 mdl file. But to use your CAT program, to set a NAV 2 trigger I need the .asm file. But I don't have it, because I did export it as directx file. How get I the .asm file now? It is possible?
I have the feeling that exporting animations for flight simulator is really complex.


thanks

comy
 
Last edited:
Check the options again, there is a setting to keep the ASM files as well.
 
okay you are right again:rolleyes:

But the animation isn't working in fsx.
So I describe step by step what I did:

Import x-file into ModelconverterX
Export to fs9 mdl with asm file.
CAT:
Enable animation condition
Condition (MASK)
NAV 2 variable 07C2h Value 1180h (for 111.800)
Apply to animation trigger
Enable animation trigger
Condition (MASK)
Variable Nav2 07C2h value 1180h
No secondary condition
loaded asm file (not asm_0 file)
Compile File

ModelConverterX:
Convert and Place Object Wizard
Input file cat fs9 mdl
FS Version FSX
Convert!
Done!

It's not working.
What's wrong? :)

thanks comy
 
Corny,

In your last few steps are you saying that you have converted the mdl file back to FSX after tweaking?

If so, then all the asm tweaks will be stripped, after exporting through ModelconverterX that second time.

Simply placing your tweaked FS9 model in a library, then placing that with xml would seem a better method.

Sent from my iPad using Tapatalk HD
 
@hcornea
if I did understand you right, then I should use the fs2004 bgl comp and place it with xml as fs2004 object.

The object is avaible in fsx and I have the asm files in my scenery folder, too, but the animation doesn't work. Nothing happens if I set the nav 2 frequency.

Any other idea anybody?:)

thanks

comy
 
Hi,

Only use an animation trigger, don't use an animation condition as well.

Send from my phone using Tapatalk, so excuse the short sentences and possible typos
 
hmm, no I did it exactly how you described, but its not working.

Don't know what I doing so wrong.

I attach the files again, it contains all files, 3dsmax, x. file, fs9mdl and asm, fs9 mdl cat and asm cat files
and the scenery folder files bgl and asm.

But I have tested the files again and found out that,

if I import the fs9 mdl file into modelconverter, that the animation is working.
But If I import the fs9 mdl cat after that I added the trigger to the mdl file, that the animation doesn't work longer.
I checked the animation editor of Model Converter and the animation isn't avaible. Don't know if that helps to find out where the problem is located.

thanks comy
 

Attachments

Hi,

After using cat stay away from modelconverterx. Then the mdl should be put directly in fs.

I'll try to check the files later. I am not behind my pc now.

Send from my phone using Tapatalk, so excuse the short sentences and possible typos
 
Back
Top