Jump to content
Sign in to follow this  
Guest capun

Stock Plane canopy opening

Recommended Posts

Guest capun

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

Share this post


Link to post
Share on other sites

Guest capun

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

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