• 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 Gmax Animation Speed?

Messages
10,163
Country
us-arizona
Hey guys,

How does one control animation speed on parts in FSX via part code for Gmax?


Is it;
Lag?
Animation Length?
Scale?

Presently I can have Lag from 75 to 100 and there is no difference. I can have Anim Length at 400, no difference.

The problem is that the parts 'flash' to their new point. Animation travel is in the blink of an eye. This would be great for driving to Walmart or going to Mars, but in FSX land, I need it to be smooth and fluid and not quick. ;)


Code:
     <PartInfo> 
    <Name>sunvisor_rh_down</Name>
	  <AnimLength>50</AnimLength>
	  <Animation>
		  <Parameter>
			 <Code>(L:Sunvisor Flip Down RH,bool) 100 *</Code>
			<lag>400</lag>
		  </Parameter>
	   </Animation> 
    <MouseRect>
	  <Cursor>Hand</Cursor>
	<TooltipText>Flip Down Sun Visor RH</TooltipText>
	  <CallbackCode>
			(L:Sunvisor Flip Down RH,bool) ! (&gt;L:Sunvisor Flip Down RH,bool)
	  </CallbackCode>
    </MouseRect>
</PartInfo>


Thanks for any help and input.



Bill
 
You have the animation length in the script set to 50, but are using bool * 100 as the control variable's output...

You should keyframe the visor part to 0 to 100

Set <AnimLength>100</AnimLength>

Set <Lag>40</Lag> //lower number, slower animation...

Here's the code I use for the SR20/22 models:

Code:
   <PartInfo>
	<Name>visor_swivel_pilot</Name>
	<AnimLength>100</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(L:PilotVisor,bool) 100 *
			</Code>
			<Lag>40</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<TooltipText>Pilot's Visor</TooltipText>
		<CallbackCode>
			(L:PilotVisor,bool) ! (>L:PilotVisor,bool)
		</CallbackCode>
	</MouseRect>
   </PartInfo>
 
Thanks for the info Bill.

I was going in the opposite direction then. I thought 400 was slowing it down.


Bill
 
Well.. No joy. They still blink into position.

lol... heh heh... LOL.. LOLOLOL....

<-- feels the gray color ebbing its way up into the tips of his eyebrows...


I tried also putting in Scale. I tried a Lag speed of 15... That didnt effect them. I tried a Lag speed of 600, that didnt effect them.

These do not have a..... hey. I wonder if I need to reset the Attach Point Mouse Rect!


BRB...


Nope... Reset all Mouse Rect attachment points. That didnt do it either.

Nothing is effecting the animation speeds of these things. Yet the fuel selector shut-offs animate fluidly and smooth, slowish. A mystery, once again.



I wish making planes was easier....



Bill
 
Considering that I know nothing of XML coding (not that it stops me from peeling my op-onion) If it's a boolean variable, you get a 1 or 0 as a result.

Does this mean that when you put in a key frame "length" of 100 and a corresponding lag, it <should> animate, rather than pop "open" (result =1) or pop "closed" (result=0)??
 
Hey Felix,


Thanks for the input. Even Bills (N4Gix) has 'bool' and his is said to work slow and smoothly. His code appears to be the same as mine. My animation distance is also 0-100. I see no differences in our codes now and it still 'snaps' to position.



Bill

<-- considers modelling hang gliders with no visors or fuel selectors to worry about. maybe a nice Bleriot IX, or Demouiselle.... in FS9 Gmax only... yeah..

<--- considers filling in the holes for the selectors.. ponders customers emails.. what fuel selectors? what visors? in a FS model? are you ludicrous? Does the sun bother you in FS? Wear SUNGLASSES!!!!
 
Last edited:
I found it!!!!!!

Felix, I found it!!!!!!!!!!!!

The 'L' in Lag wasnt capitalized.... For several weeks, this didnt work because the darn 'L's werent capitalized, lolol.

I also found a part that wasnt working had small 'C's also in Code... Its now working..


This morning I just sat there, stairing at the darn code, trying to find something different from Fr. Bills code... and there it was, stairing at me..


:D
 
This morning I just sat there, stairing at the darn code, trying to find something different from Fr. Bills code... and there it was, stairing at me..

That's why God invented "cut-and-paste..." :rolleyes:
 
Offtopic:

Lol lol . I sitting here and fall from my Chair if I read your Posts.
The 2 Bill*s are very funny Guys. :)
It is the sun in my life to read here in this wonderful Forum.
Thanks for all the nice hours :D.
 
Offtopic:

Lol lol . I sitting here and fall from my Chair if I read your Posts.
The 2 Bill*s are very funny Guys. :)
It is the sun in my life to read here in this wonderful Forum.
Thanks for all the nice hours :D.

Sandra - one of the little enjoyments I have is reading the frequent interchange between Bill and Bill.

Sometimes I think that they are really the same person, just two different personalities. Just think, has anyone actually seen them together, in person at the same time? Hmmmm...
 
Sandra - one of the little enjoyments I have is reading the frequent interchange between Bill and Bill.

Sometimes I think that they are really the same person, just two different personalities. Just think, has anyone actually seen them together, in person at the same time? Hmmmm...


Felix, they are not the same Persons.

Lionheart is living in Australia respective New Zeeland, he built the wonderful Bellanca and so on.
And Mr. Leaming is the Man behind Eaglesoft. Believe me they are not the same.

By the way Felix, I want to say here on this place *Thank You* for your FFDS Homepage.
I have many many many learned on your Homepage.
 
Last edited:
Felix, they are not the same Persons.

Lionheart is living in Australia respective New Zeeland, he built the wonderful Bellanca and so on.

The Entity Known As Lionheart is alleged to live in Arizona, USA. Little known facts about him is that he is a cowboy, riding a Mustang, whenever he's not man-handling a Cobra. He used to be an automobile tester, and at one point built an automobile.

And Mr. Leaming is the Man behind Eaglesoft. Believe me they are not the same.

Pere Leaming is with Eaglesoft, but not "The Man" (Ron would have a good chuckle at this). However, he is the most visible of the Eaglesoft associates (all the rest are much thinner).

I've actually met Bill Leaming when he travelled to Orlando last year!

By the way Felix, I want to say here on this place *Thank You* for your FFDS Homepage.
I have many many many learned on your Homepage.

Thanks for the kind words. I feel that there is little about flightsim modelling that you cannot learn from either FSDEveloper.com or FFDS!
 
Man, I hear NZ is a beautiful place to live! I have flown over it so much (lower island) that I feel like I have lived there...

But no.. I live in the deserts of Phoenix Arizona...


Ich wusste das ich im Deutschland warren! So schoen ein Land. Jederwo ist es gruen. Und die Alpen! auch.... Du bist glucklich das du dort sein.


Thanks also Sandra for hanging out with us. Helping people learn this is fun for us. We know what its like to get over huge barriers. That, and we all seem attached by the love of flying and aircraft... (and building them....)



Bill
 
Back
Top