Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Pages: 1 2 
Send Topic Print
How to animate gear doors? (Read 281 times)
Jan 9th, 2004 at 4:11pm

Sterk   Offline
Colonel

Posts: 316
*****
 
Hi ,it's me again.So, finally I succsessfully animated gears,but:
1.How to animate gear doors?In tutorials(I check a lot of them)is recommended to name them like c_gear_door_l
or c_gear_door_r and then animate them,setting keyframes somewhere in 0-20(0-closed,in 20-open) range...Is it right?
Anyway I do so and no doors animation in sim and they are is closed on start...

2.Why my gear only retracting,if press G back there is no extension animation...?
 

...&&&&
IP Logged
 
Reply #1 - Jan 9th, 2004 at 5:21pm

Katahu   Offline
Colonel

Gender: male
Posts: 6920
*****
 
Some tutorials are a little inaccurate, so there are times that you have to learn on your own.

Instead of naming the doors as: c_gear_door_l, etc., use these tag instead:

c_gear_top_XX [where XX is a number]

l_gear_top_XX

r_gear_top_XX

the reason I use XX is because there will be parts that will have the same tag. Especially the gears.

The gears themselves, for extend-retract, will just be tagged as:

c_gear_top
l_gear_top
r_gear_top

These are the parts that will be used to show the Extend-Retract animation.

Just make sure the key frame are within the 0-100 range.

For gear compressions, use these tags:

c_gear_bottom
l_gear_bottom
r_gear_bottom

If you need to use the same tag over and over again, make sure the ending numbers have an underscroll ( _ )before them.

Examples:

c_gear_top_01 -----not----- c_gear_top01

This is true for various other tags.

For rolling wheels, use JUST these two tags:

c_tire_still
c_tire_blurred
c_tire_still_XX [where XX is a number]. This is for four-wheeled aircraft.
l_tire_still

etc.

You don't need key-framing. Just make sure the X-Axis of the wheels are lined up with the world axis shown in the lower-right corners of the viewports.

I tried using tags like c_tire_slow [with or without key-framing], but the simulator renders it wierd or doesn't render it. I learned this the hard way when I made the Mercedes.
 
IP Logged
 
Reply #2 - Jan 9th, 2004 at 6:17pm

Hellhound   Offline
Colonel
somewhere

Gender: male
Posts: 305
*****
 
umm... he wasn't asking about the gear (no offense intended.) but the gear doors use rotaion only. to get the right axis (in gmax) create a small cylinder where you want the axis, and then attach the door to the cylinder (click the attach button on the cylender) and rename the cylender and animate it
 

...&&&&well of course! i'm trying to hit them!&&&&always fight fire with fire... because you get a bigger one!
IP Logged
 
Reply #3 - Jan 9th, 2004 at 7:08pm

Sterk   Offline
Colonel

Posts: 316
*****
 
Yep!Doors started working unexpectedly-by the way without any change in names or something-I just reloaded sim...

Now...
There is no extension animation and gears are named exactly as you said-top,bottom,etc...

And may be it's not animation problem...because indicator in cockpit dazn show extension...By the way-is gear position indication depends on real gear position...I mean indicator shows "down" if only extension animation is performed correctly?
Hm-m,I dont think so because even there is no animation on gear indicator shows retraction and extension anyway,u understand what I mean...am I right...?
 

...&&&&
IP Logged
 
Reply #4 - Jan 10th, 2004 at 3:24am

Firestriker   Offline
Colonel
Gearhart, Oregon

Gender: male
Posts: 274
*****
 
Under normal contitions (meaning no failures) when you hit the "g" key you tell the sim to start counting up/down a variable value. Assumming the value 0 is fully retracted and 16383 is fully extended (don't recall the exact values) then when the counting sequence reaches one extreme or the other then the gauge on the panel would display either up or down depending on the value of the variable. It really has nothing to do with with the fact that your animation is completed or not... that is just a "visual" effect of the model. The entry in the aircraft.cfg file for that particular gear causes a scalar effect to be applied to the counting sequence for that gear so you can time them with an extend/retract sound effect (wav file). Not all aircraft have nice even flowing and syncronized gears, the DC-3 is an example. One set of main gears is almost fully retracted before the other starts. Learning the animation timing features of your design software is important in situations like this.

Here is a simple c_gear setup (gmax archive):

ftp://oregon-coast.net/c_gear_sample.zip

Lou
 
IP Logged
 
Reply #5 - Jan 10th, 2004 at 3:01pm

Sterk   Offline
Colonel

Posts: 316
*****
 
Ok.I checked it and found that gear animation is OK,what happens is that gear daznt extends if speed is above 60 ,as speed srarts dropping below 60 extension is starting...Look like cfg file twiking needed...

But what is the parameter controlling this?
 

...&&&&
IP Logged
 
Reply #6 - Jan 10th, 2004 at 4:31pm

Travis   Offline
Colonel
Cannot find REALITY.SYS.
Universe halted.
Dripping Springs, TX

Gender: male
Posts: 4515
*****
 
Go check the default Learjet's aircraft.cfg file parameters, under the [contact_points] section.  It describes all the entries of each contact point and what they do.
 

...
IP Logged
 
Reply #7 - Jan 10th, 2004 at 6:03pm

Sterk   Offline
Colonel

Posts: 316
*****
 
Contact points?...
Hmm...
I know what each contact point do,but...wich one is responsible for gear extension speed?
Ok there is one that named "damage threshold" that defines what is the speed that gear is damaged,but this param is set to 1200-like Learjet's one...dont think this param controls gear extension speed,because my gear extends at exactly 60 wich is even below stall speed...
 

...&&&&
IP Logged
 
Reply #8 - Jan 10th, 2004 at 6:21pm

Sterk   Offline
Colonel

Posts: 316
*****
 
And even more-I tried to set damage threshold to some insane values like 20000-no effect, my gears extends only when aircraft speed drops to this misterious value-60 knots...
And,logically-if gears are not damaged at take off speed which is about 130-150 why it should be damaged on more than 60?
No it's something else...And I have no idea what...
 

...&&&&
IP Logged
 
Reply #9 - Jan 10th, 2004 at 6:54pm

Travis   Offline
Colonel
Cannot find REALITY.SYS.
Universe halted.
Dripping Springs, TX

Gender: male
Posts: 4515
*****
 
The damage threshold is the impact speed in ft per second that the gear gets damaged at, when you touch down.
 

...
IP Logged
 
Reply #10 - Jan 10th, 2004 at 7:01pm

Travis   Offline
Colonel
Cannot find REALITY.SYS.
Universe halted.
Dripping Springs, TX

Gender: male
Posts: 4515
*****
 
Well, I looked at one of my aircraft.cfgs and couldn't find any reference to the gear extension limit, so it may be in the airfile, which you will need AirEd to open.  This is a freeware utility that can be found on SimV's utilities section or the general utilities section.
 

...
IP Logged
 
Reply #11 - Jan 11th, 2004 at 4:45am

Sterk   Offline
Colonel

Posts: 316
*****
 
feet per second?!No it's measured in feet per minute according to SDK-by the something strange with this value-for exaple-this param for Boeing is about 1200fpm-it's about 24 km/h-what is wrong?gear's damage speed is 24km/h?!Assuming that it may be really feet per second it'is about 1400 km/h - isn't it too much?
 

...&&&&
IP Logged
 
Reply #12 - Jan 11th, 2004 at 8:23am

Sterk   Offline
Colonel

Posts: 316
*****
 
2Ender Baron:
I have an AirEd,but I usualy use FSEdit for editing-very comfortable-you change params and FSEdit updates cfg and air both...and it has user-friendly interface and not just numbers,numbers,numbers...

By the way-daz anybody know why description daznt show up in sim main menu-in cfg it appears between these-" " as it should be...
 

...&&&&
IP Logged
 
Reply #13 - Jan 11th, 2004 at 1:39pm

aceronzo   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 232
*****
 
Sterk the gear ext,ret, is adjusted by the last 2 numbers in the cfg. file in the contact points in each wheel line.example=point.0=1, -9.583333, 0.0, -7.40, 32768.90, 1.0, 0.596, 0.0, 0.7, 2.5000, 0.80, 4.0, 5.0, 0.0, /\example=300.0(  Airspeed limit for retraction (KIAS),example=300.0 (Airspeed that gear gets damage at (KIAS).Hope this helps.  aceronzo
 
IP Logged
 
Reply #14 - Jan 11th, 2004 at 3:52pm

Sterk   Offline
Colonel

Posts: 316
*****
 
Yes!Exactly,aceronzo!Just missed it Roll Eyes
Thanx a lo-o-o-t!!!
 

...&&&&
IP Logged
 
Pages: 1 2 
Send Topic Print