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

Attached effects and more...

Messages
607
Country
france
Hi,
I just finished reading this forum and have some questions left (FS9)

1/ what I want to do is a conditional lauch of a rocket.
I realised the model and attached effect for fire and smoke, launch+flight, animated along a simple z axis and it's ok.

2/ tried to use CAT to trigger launch and got some issues:
- effects seem to "stay on ground"
- when I set nav2 (which is my trigger), rocket doesn' take off and seems to wait the next cycle (I add another rocket withoute any condition as a reference) before moving, without the attached effect.
- furthermore the animation doesn't play once and cycles as long as NAV2 is set.

So is CAT able to do what I want or do I have to find other tweaks ?
If it is, how can I apply conditions to animation or trigger in order to reach my goal ?

Thank you Arno for this tool which worked fairly well with other kind of animations

Cheers
 
Hi,

2/ tried to use CAT to trigger launch and got some issues:
- effects seem to "stay on ground"
- when I set nav2 (which is my trigger), rocket doesn' take off and seems to wait the next cycle (I add another rocket withoute any condition as a reference) before moving, without the attached effect.
- furthermore the animation doesn't play once and cycles as long as NAV2 is set.

It is not possible to add conditions to the display of effects with the code that CAT uses, so that explains your first point. I have later discovered some tweaks that might work with effects, but I never tested and implemented them. Trying to do so would involve manual tweaking.

For the second point, yes the animation will wait till the timer has reached frame 0 again before it will start. This is how the conditional animation in CAT work.

The last part I do not understand. Are you sure you used the NAV frequency as the trigger and not as the animation condition?
 
Hi,
I will double check CAT trigger settings as I was becoming very tired.
Ok for frame 0 wait. I can deal with;
Concerning the effects, I'm ready to try any tweak that would solve the issue
So if you get enough time to share..
Yours
 
Hi,

We can always give the tweaking a try :).

The basic idea of the tweaking is that the check for the animation condition is not done in the BGL section of the MDL, but in the ANIC section. For the animations that change with the wind I am already doing it there and then you only assign one scenegraph index to the SET_MATRIX command. So in that case I think it should work for the effects as well.

Maybe it is best if I try to make a small little test object that demonstrates this technique and then you can try to apply it to your own object?

If it really works I guess I would consider an update for the CAT tool, it would add a lot of new options...
 
I guess the only thing I need is some time, I hope to find it in the next few days. If it takes a bit too long, remind me again :D.
 
Hi Alain,

I am also working on some animation Dutch windmill objects right now. When I come to tweaking their ASM code I will make the sample code as well. Should be this weekend...
 
Hi,

Here is the sample code, I hope that together with the Wiki article about conditional animations you can understand what is happening. Else feel free to ask.

It's a pity I am so full of ideas for tools already, since this nice find should mean a CAT update as well :D.
 

Attachments

Wow !!!

I saw you moved CAT logic. But so many other differences.
I thought you got the makemdl an _0.asm file, then apply CAT modifs, then tweak the CAT generated _0.asm file.

It looks like you sent initial an final _0.asm but not intermediate

Otherwise I'm afraid there are too much changes for my small brain to understand.
Can you confirm ?
Thanks
 
Hi Alain,

I did not use CAT at all indeed. The conditions for the animations are at a completely different location in the code, so it would be best to do all the tweaking manually. Although you might be able to take some of the animation tables from the CAT output to save you some work.

How complex is the animation you are trying to condition?
 
Just a mobile moving straight vertically (with effect attached).
If you could apply standard CAT program with same conditions to initial mdl, I would be able to compare how your manual tweaking is different from standard CAT.
 
Back
Top