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

Gmax: re-scale time

Messages
158
Country
unitedkingdom
I want to slow the key frame animation that's applied to specific parts of my AI aircraft. I can do that via the Gmax key mode toggle, but that also re-scales the time for other parts automatically too - noticeably with an adverse effect on the undercarriage.

The parts I want to slow down are folding wings, triggered by the beacon light xml code when the aircraft is parked. They work fine, but they just fold too fast. I'm building FS9 and FSX models but I guess the solution, if there is one, is common to both.

Would be grateful for any advice please.

John
 
You have to increase the total number of keyframes in the model (right click the key button at the bottom and increase the total number of keyframes), and then drag the part's keyframes to larger keyframe numbers. This will slow down the animation in FS.

There also might be a wingfold time listed in the AIR file?

Hope this helps,
 
Thanks for that Tom. I did actually try that before I posted and although the wing fold is slowed down to a realistic level, it doesn't now fold to the maximum position. In the screen shot, the left wing (as viewed) is animated with 100 key frames and the right with 600:

wingfold_zpsa6329cd7.jpg


The left wing is up at it's intended position while the right won't go any further.

It's an AI aircraft and the sim doesn't know it's a wing fold. The wing uses the same xml code that opens and closes the canopy when the aircraft is parked.

John
 
Oh, you could change the <Lag> entry for that, but unfortunately it would also affect the canopy's speed... :(
 
Thanks for that Bill, it works very well. I just duplicated the canopy xml code, re-named it to AI_wing_fold and adjusted the <Lag> in that block only. Wings now fold realistically and the canopy does it's own thing.

John
 
Thanks for that Bill, it works very well. I just duplicated the canopy xml code, re-named it to AI_wing_fold and adjusted the <Lag> in that block only. Wings now fold realistically and the canopy does it's own thing.

John
You are most welcome, John. I've always found the <Lag> parameter especially handy for such things. It is of course a bit counter-intuitive, given that larger numbers = faster speed! :D
 
I like <Lag>, albeit properly applying it is a bit confusing at first.
 
Yes it is confusing. When I first tried the <Lag> adjustment after Bill's suggestion, I was surprised to see my wings fold at tripple speed until I adjusted downwards!

What a great forum this is. I try very hard to learn under my own steam, but when I get stuck and can't get any further, there's always someone here who can help and always does. Thank you for that.

John
 
The 'key' to understanding is that the <Lag> value represents the number of "frames per second" speed at which the animation will be played back.

100 frames / 20 <Lag> = 5 seconds

100 frames / 20 seconds = 5 <Lag>
 
Back
Top