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

cat and .asm

roy

Messages
28
Country
canada
I know this must be a stupid question, but I have an animation working beutifully in FS2004 and am trying to use CAT to stop it from looping. Cat demands an input .asm file which ostensibly comes from gmax. Well, not my gmax. How do I get the .asm file that CAT requires? I have read the CAT tutorial and watched the video and neither helps. Obviously I'm missing something. What is it, please?
 
Hi Roy,

The easiest way is to make a file called makemdl.cfg in your plugin folder (where makemdl.exe also is). If you write in that file the text given below, the ASM files are also saved for you.

Code:
[Options]
Keep=1
 
asm file resolved

Thanks Arno! All is well! Hanger doors work beautifully! Thanks again. Sorry for the trouble.
 
Cat problem

I thought I had this resolved Arno, but I tried to do a second animation and got this error message:
"Runtime error 6 overflow"
I don't think I did anything different. What does this error mean? Is there a list of CAT errors I could see?

Roy
 
Hi Roy,

Please can you post the ASM Files here in a ZIP for us to test with the tool.
 
Cat problem

Right! I will try to post the .asm. But the scenario is this! I have two animations of hanger doors. The first, which works beautifully, is a two element folding door which rises vertically. The second is a four element sliding door, which works in FS if I don't put it through CAT, but generates the error message "Runtime error 6 overflow" if I put it in CAT. I've compared the two .asm files and the most obvious difference between the two files is that the first has 28 nodes and the second 128 nodes. Why this would cause such an error is beyond me. Nonetheless-will try to upload for you!
 
Last edited by a moderator:
The missing _0.asm file

Sorry! Here it is!

Roy
 
Last edited by a moderator:
Hi Roy,

I don't know what you did with your animation, but the last frame of the animation is 98435081 and that is certainly to high. 1024 is the maximum MakeMDL supports and thus CAT crashes on this very wrong value.
 
Weird

Now that's weird! I checked and double-checked my gmax animation and there are only 602 frames animated. The "Open Track View" confirms this, as does the "Time Configuration" icon.

The only thing I'm wondering about is the way I moved the doors when I did the animation. I moved the first door behind the second, then the first and second together behind the third, then the first, second and third behind the fourth. I realized afterwards that I could have moved each door all the way to its final destination in one step, but I can't see how this would make any difference. Can you?

Roy
 
Hi Roy,

No, I don't think the way you made the animation has an influence on this. In the source code I see frame 600 as the highest one (so 0 till 600, makes 601 frames in the animation).

Have you exported animations before without trouble? Just trying to figure out if this is something with this scene or maybe your MakeMDL setup.
 
Prior Animations

Yes, Arno!

I did my first animation days before this one and it worked beautifully once you told me to add the Keep=1 line to my Make config file.

Both this animation and the one that you are analyzing for me run beautifully in FS2004 if I don't use CAT on them (though of course they loop), but the first works after CAT has been used and the second won't let me CAT it.

I will upload the gmax file for you. You will not have the textures, but it should otherwise work, right?

I really appreciate your help.

Roy

PS. Sorry, it did not seem to upload. It looks like gmax is not one of your valid extensions for uploading.
 
Hi Roy,

Maybe you could ZIP the GMax file? I will also try to add the GMax files to the list of allowed files.

Are you saying that this animation works fine in FS, even with that very wrong animation table in it? That is interesting.
 
Additional files

Right! Both animations work in FS before they are run through CAT!

I have attached the zipped gmax file for the one that is giving problems in CAT(animshed) and also the asm files for the first one (animhut), which went through CAT just fine and works in FS both before and after CAT processing.

Roy
 
Last edited by a moderator:
Hi Roy,

I found the problem, it is in your GMax file. Your animation runs from frame -1 to 600. This is not correct, it should start at frame 0. After I changed that, the code in the ASM file looks correct.
 
Arno,

Can we put a check in the code for negative figures?
 
Hi Nick,

That would not matter. MakeMDL already creates invalid ASM code with the negative start time. The only thing I could do is check out very big values as they are most likely invalid.
 
Sorry, that is what I meant.... maybe a warning box just saying "Hey... I noticed this" ;)

You know me... thinking of us dumb users :)
 
Thanks

Arno, you are a marvel! I would never have suspected that negative starting frame rates were possible, never mind have found this one. There must be a reason for them but I can't imagine what that would be. I have no idea how a -1 starting frame got there-finger trouble I suppose!

Anyway, I am in your debt. The new animation works like a charm and this will allow me to do bigger and better things. Thank you, again! This should close this thread!

Incidently, if there is any way I can return the favor..........
Roy
 
Back
Top