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

FS2004 CAT Issues with Hanger Doors

Messages
86
Country
australia
I've only just started playing with Arno's CAT program and to start with I made a simple two door tick18 animation in FSDS.

While the animation was tested in FS before using CAT, it would seem that I simply don't understand Arno's instructions on how to use his program to get the doors to open and close when in aircraft is in close proximity of the doors.

Just to make it easier to understand where I am with this, I have attached some pic's.

1278429377.jpg

1278419379.jpg

1278454754.jpg


I really hope some one can bring me up to speed on the correct settings to make the doors open and close in relistic way.
At present time, the doors do not move in FS2004 at all, they stay shut.

Once I get the first animation to work, I should be able to use that for more complex tasks, I hope.

Mark
 
Arn,

I went back to your instructions again and follow them to the letter. I even used your example as shown in the pic.

All I could achieve was the doors would trigger when the aircraft approached but the doors would not stop in an open position. Instead they continued in a normal tick18 loop.

May I suggest that you make a further reference or tutorial for the basic use of this program starting from the animation it self. I did view your video as well. It may be a simple program once you know how to use it, but gee, there's little info to go off for a beginner and its most frustrating to waist hours of development time for no outcome.

1278430504.jpg
 
Hi,

For CAT it does not matter how you make the animation and how many frames you use. It only adds a condition to the display of the animation as it is. So you can use any length you want.

In your first post you were using both an animation condition and an animation trigger, I don't think that is needed in this case. Just try it with the animation trigger only. Using the bounding box option for that is a good idea.

Does it even not work with only the trigger in your object?
 
Hi Arno
Mark’s main problem is that he is using FSDS 3.5.1 the X file that is produced is different than the one produced by FSDS 3.0 and Kitty doesn’t like it.

I have tried many times but so far I always end up going back to FSDS 3.0 when I wish to use your Cat tool.

H_Farfy:D
 
Hi,

I do not have FSDS myself, so I can't really test. But it is surprising that MakeMDL gives such different ASM code based on the X files of FSDS 3.0 and 3.5. That must mean they made some big changes.

When compiling the X file with MakeMDL are you sure to turn optimize on? I have seen problem before with the FSDS generated files not working in CAT because they were not optimized at all.
 
Hi Arno.
I am pretty sure it was checked…..But I will recheck that.
Thank You.

H_Farfy:D
 
Hi Arno.

It has been some time since I have used CAT.

So first I worked in FSDS3.0, I made a simple cube and animated it to be on the ground at key frame zero and at 100 feet on key frame 100.
Next I made the X file and sent it through makemdl.exe
I switch model type to “SceneryFS9” and in Option I set “Keep Files and turned off crash”
Optimize was all ready checked.

I get my .asm file and feed it to kitty I set kitty up to work Distance to RefPoint 0-200ft.

I then made my MDL file and installed it and the cube worked proper it stays on the ground until I approach then it moved up 100ft and stayed there till I moved back then it returned to the ground.
Works perfect.

Next I open FSDS 3.5.1 and set it to work in FS9 mode (MakeMDL)( although in the past I have tried this in FSX mode as well)
Once again I made a cube with the same animation and did all the same steps, and Kitty gives me a MDL file but after installing it, it has no condition set it just runs through its animation from the ground up to 100 ft and then it jumps back to the start point and repeats.

I will attach the two X files if you would like to have a peek at them.

H_Farfy
 
Last edited:
Hi,

I ran both X files through MakeMDL and compared the ASM code. It is almost the same, except for the label that is called. It is this name that CAT uses to determine where to insert some of its code.

In FSDS3 it is called:

Code:
BGL_CALL_32 FSDS3_RotateAroundX_1

While with FSDS3.5 it is called:

Code:
 BGL_CALL_32 FSDS_3_WORLD__FRM_2

CAT looks for RotateAroundX_1 or MasterScale_1 in the label. So editing the ASM file before using CAT on it and renaming this one label should probably solve the problems already.

Since I developed CAT in a programming language that I do not have the compiled installed for anymore, I am afraid it will not be easy to make an update of CAT to fix this problem. Maybe one day I can do a updated version (this is on my todo list for some time already).
 
Thank You Arno.
This is great…… I will try this and if I can make it work I will write a tutorial for other users of FSDS3.5

H_Farfy:D:D:D
 
Thank You so much Arno.

When FSDS3.5 came out I found I could not get it to work with CAT. I spent a long time looking at the X file thinking I needed to tweak it to get it to work with CAT, but I am no programmer and I could not make any sense of it.

At that point I just decided to use FSDS 3.0 anytime I wanted to use CAT. But this is not a solution for the newer guys like Mark who doesn’t have the older version of FSDS.

So this should help a lot of the new guys.

I changed the code you posted but CAT gave me an error so I looked at the two ASM files and made two other small changes, this worked like a charm.

Thanks a million Arno, would have never found this on my own….way out of my league

Scott:D:D:D

FSDS_3.5_CAT_Tweak.jpg
 
Last edited:
That would be really great Arn if you could release an update for CAT. It's a really neat proggy when I can get it working.

Mark
 
Back
Top