Jump to content

Recommended Posts

Posted (edited)

I may have stumbled into something new. Either that or I missed the posts

 

Anyway, I think it is possible to animate the stock plane canopy opening/closing without having the 3DS File to muck around with.

 

I think by default, the stock planes canopies mesh name is "canopy" and hopefully all of them have the pivot set in the correct place. I made it work with the MiG-21PFM with the cockpit mod to make it flyable.

 

So this is what you have to do

 

- Find out if the canopy mesh name is "canopy" using a hex editor and the main plane LOD

- Add the following to the Data ini file

 

[Nose] ; Or any other section

.

.

.

SystemName[003]=Canopy ; check for the correct sequential number

 

// Crew ---------------------------------------------------------

 

[Pilot]

.

.

[Canopy]

SystemType=HIGHLIFT_DEVICE

DeploymentMethod=AUTOMATIC_SPEED

AnimationID=

Setting[1].Angle=60.0 ; Max Angle of opening

Setting[1].DeployValue=1.5

Setting[1].RetractValue=4.0

MaxDeflection=60.0

MinDeflection=0.0

ControlRate=0.2 ; How Fast it ooens

ModelNodeName=Canopy ; Canopy Mesh Name

RotationAxis=Z-AXIS ; Axis of rotation. Z for side hinged, X for Front or back hinged. I don't think it works for sliding canopies

ReverseModelOrientation=FALSE ; May have to try TRUE or FALSE to get the right rotation

 

Note that the AnimationID is not used, so will it work with models that do not have the canopy animated?

 

Here's some pictures.

 

MiG21PFM-01.jpg

 

MiG21PFM-02.jpg

Edited by capun
Posted

It is different, we have made it work before, but the impression was that we had to have an animationID.

 

So it looks like there may be other meshes that may be animated without using up an animation slot (or having to make it).

 

So for example we could have some spoilers pop up based on an Aerodynamic load, right now we use an animationID.

 

Another possibility could be to have the bomb rack of a Stuka extend out based on an angle of attack. Now I am just thinking aloud, need to try it.

 

This coupled with the ability to assign a keyboard key to an animationID (see ThirdWire's post or at C5's) it could lead us to planes with more and better animations.

 

We are limited to 10 animations so anything that can free them the better. Tailhook, control surfaces, etc are not counted on those 10 slots since they are animated by the game engine, as long as they are simple rotations.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..