The website and forum will be intermittently unavailable while we're making some security updates.
File uploads to the download hangar are also disabled until further notice.

AI Oleo Compression

Discussion, tutorials,hints and tips relating to designing military ai aircraft.
Post Reply
User avatar
VulcanDriver
MAIW Staff
MAIW Staff
Posts: 4501
Joined: 11 Aug 2006, 20:58
Version: FSX
Location: EGHH

AI Oleo Compression

Post by VulcanDriver »

Hi Guys

Has anyone got an AI XML code for oleo compression so that key frame 200 is fully extended and 101 is fully compressed.

TIA
John

"That is the biggest fool thing we have ever done. The A-bomb will never go off, and I speak as an expert in explosives." - Admiral William Leahy
User avatar
hschuit
MAIW Developer
MAIW Developer
Posts: 594
Joined: 20 Jul 2011, 07:25
Version: P3D
Location: Near EHSB

Re: AI Oleo Compression

Post by hschuit »

Why don't you simply reverse the compression travel animation of the oleo model part, like:

V 0 = fully compresssed
V100 = fully fully compresssed
V200 = fully extended

With the MCX Hierarchy Editor you can do that in a whistle.

Henk.
User avatar
John Young
MAIW Developer
MAIW Developer
Posts: 4206
Joined: 12 Jul 2008, 15:15

Re: AI Oleo Compression

Post by John Young »

What trigger would you be looking for that would enable all eventualities when compression occurs John? Can you not achieve what you want through the usual compression settings in the contact points?

Tell us a bit more about what you want to achieve.

John
JohnTenn
Major
Major
Posts: 754
Joined: 12 Dec 2011, 17:16
Version: FS9

Re: AI Oleo Compression

Post by JohnTenn »

I am making the assumption that this is for a helicopter.

You would have to link it to your Hover movement.

Keep the wheels on the ground until the fuselage has reached a specific height. Extend the oleo upward.
The keyframes would then have to match the hover movement.
Do not call it gear.

John
User avatar
VulcanDriver
MAIW Staff
MAIW Staff
Posts: 4501
Joined: 11 Aug 2006, 20:58
Version: FSX
Location: EGHH

Re: AI Oleo Compression

Post by VulcanDriver »

Hi John

It's for a twin prop piston aircraft. I'll take a look at the compression points in the CFG

Cheers
John

"That is the biggest fool thing we have ever done. The A-bomb will never go off, and I speak as an expert in explosives." - Admiral William Leahy
User avatar
Firebird
MAIW Admin
MAIW Admin
Posts: 12112
Joined: 11 Aug 2006, 21:04
Version: FS9
Location: EGLL

Re: AI Oleo Compression

Post by Firebird »

I think that for the best solution I think that we need to know what you are trying to achieve. For example you don't mention frame 0 which is the default start point.

Animations can be made to work any way and the code has to be made to fit what you want.
Steve
_______________________________________________________
Image
Quid Si Coelum Ruat
_______________________________________________________
User avatar
John Young
MAIW Developer
MAIW Developer
Posts: 4206
Joined: 12 Jul 2008, 15:15

Re: AI Oleo Compression

Post by John Young »

You need to know how to set up the Oleo's in your animation John, so you can use the movement measurements to calculate the .cfg parameters.

I have a tutorial if that might be useful.

John
User avatar
VulcanDriver
MAIW Staff
MAIW Staff
Posts: 4501
Joined: 11 Aug 2006, 20:58
Version: FSX
Location: EGHH

Re: AI Oleo Compression

Post by VulcanDriver »

Hi John that would be most useful
John

"That is the biggest fool thing we have ever done. The A-bomb will never go off, and I speak as an expert in explosives." - Admiral William Leahy
jgowing
Captain
Captain
Posts: 226
Joined: 08 Oct 2008, 12:36
Version: FS9
Location: EGLM

Re: AI Oleo Compression

Post by jgowing »

Hi John,

I'd be interested in that tutorial, too. Also, planning ahead, wondering about how to achieve the "kneel" with an Andover with the ramp down..

Jon G
User avatar
John Young
MAIW Developer
MAIW Developer
Posts: 4206
Joined: 12 Jul 2008, 15:15

Re: AI Oleo Compression

Post by John Young »

PM sent to John and Jon with attached tutorial.

Jon, you can't use the contact points for the Andover "kneel" or you will have an anomaly with taxi, take-off and landing.

Just some quick thoughts. I think you need a separate "kneeling" model.

Animate the fuselage so KF:0 is normal and KF:100 rotates the fuselage to create the "kneel".

Adjust the ramp animation for the new angle.

Do not change anything in the gear legs.

Make sure all parts, except the gear, are linked to the fuselage (bit like an AI helicopter with an animated lift).

You then need an xml trigger to enable the "kneel". Use the same code as opening and closing a canopy or door.

John
jgowing
Captain
Captain
Posts: 226
Joined: 08 Oct 2008, 12:36
Version: FS9
Location: EGLM

Re: AI Oleo Compression

Post by jgowing »

Thanks very much for the advice, John It's always good to try out something new, although the Andover is somewhat ahead on the to-do list.

Jon G
User avatar
VulcanDriver
MAIW Staff
MAIW Staff
Posts: 4501
Joined: 11 Aug 2006, 20:58
Version: FSX
Location: EGHH

Re: AI Oleo Compression

Post by VulcanDriver »

Thanks JY, I've got the PDF. Easy when you know how :)
John

"That is the biggest fool thing we have ever done. The A-bomb will never go off, and I speak as an expert in explosives." - Admiral William Leahy
User avatar
John Young
MAIW Developer
MAIW Developer
Posts: 4206
Joined: 12 Jul 2008, 15:15

Re: AI Oleo Compression

Post by John Young »

Not too difficult, but beware of the damping ratio. That can cause the aircraft to wobble and bounce when the user frame rate is too low. Set your slider to 10 fps and test if aircraft is stable on departure.

John
User avatar
VulcanDriver
MAIW Staff
MAIW Staff
Posts: 4501
Joined: 11 Aug 2006, 20:58
Version: FSX
Location: EGHH

Re: AI Oleo Compression

Post by VulcanDriver »

John Young wrote: 16 Feb 2021, 12:04 Not too difficult, but beware of the damping ratio. That can cause the aircraft to wobble and bounce when the user frame rate is too low. Set your slider to 10 fps and test if aircraft is stable on departure.

John
Thanks John

Good tip.

Hopefully the new model will be text flown by the end of the week. :D

Cheers
John

"That is the biggest fool thing we have ever done. The A-bomb will never go off, and I speak as an expert in explosives." - Admiral William Leahy
Post Reply