Jump to content
Sign in to follow this  
RAVEN

assinging Animation ID

Recommended Posts

OK I, Have the Aircraft 3/4th built and I got the canopy to animate, (opens and closes real smooth), But I can't find how to assing a Animation ID to it, I know that the main controls (rudder,ect.) work with the game engine. I need a Hint!

Share this post


Link to post
Share on other sites

Animation is set in data.ini for animations..if your canopy is slot 0-10 in animation tool bar in max then in data.ini under [Crew] it will say

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

 

[Pilot]

SystemType=PILOT_COCKPIT

PilotModelName=Pilot_Aggressor

Position=0.0,6.36,0.74

SeatModelName=MB_Mk7

SeatPosition=0.0,6.345,0.667

MinExtentPosition=-0.25, 5.91,-0.20

MaxExtentPosition= 0.25, 6.99, 0.92

CanopyNodeName=canopy_front_outer

CanopyAnimationID=1 <<<< here

HasArmor=TRUE

ArmorMaterial=STEEL

Armor

.Thickness=12

Armor

.Thickness=12

Armor[REAR].Thickness=12

Armor[bOTTOM].Thickness=12

 

[CoPilot]

SystemType=PILOT_COCKPIT

PilotModelName=Pilot_Aggressor

Position=0.0,4.95,0.84

SeatModelName=MB_Mk7

SeatPosition=0.0,4.935,0.767

MinExtentPosition=-0.25, 4.50,-0.11

MaxExtentPosition= 0.25, 5.44, 1.07

CanopyNodeName=canopy_rear_outer

CanopyAnimationID=3

HasArmor=TRUE

ArmorMaterial=STEEL

Armor

.Thickness=12

Armor

.Thickness=12

Armor[REAR].Thickness=12

Armor[bOTTOM].Thickness=12

 

You can assign any key in options (below)in game then and add this to reflect the key press you assign to the animation

 

ANIMATION_1=SHIFT+Z

ANIMATION_2=SHIFT+2

ANIMATION_3=SHIFT+3

ANIMATION_4=SHIFT+4

ANIMATION_5=SHIFT+5

ANIMATION_6=SHIFT+6

ANIMATION_7=SHIFT+7

ANIMATION_8=SHIFT+8

ANIMATION_9=SHIFT+9

ANIMATION_10=SHIFT+0

 

this is what you would add to canopy to set the key you assigned above(if it didnt have a key assigned by default that is)

 

InputName=ANIMATION_1

so

[Pilot]

SystemType=PILOT_COCKPIT

PilotModelName=Pilot_Aggressor

Position=0.0,6.36,0.74

SeatModelName=MB_Mk7

SeatPosition=0.0,6.345,0.667

MinExtentPosition=-0.25, 5.91,-0.20

MaxExtentPosition= 0.25, 6.99, 0.92

CanopyNodeName=canopy_front_outer

CanopyAnimationID=1

InputName=ANIMATION_1

HasArmor=TRUE

ArmorMaterial=STEEL

Armor

.Thickness=12

Armor

.Thickness=12

Armor[REAR].Thickness=12

Armor[bOTTOM].Thickness=12

 

so in game pressing Shift and Z would open\close canopy

Edited by russouk2004

Share this post


Link to post
Share on other sites

Thanks, I was looking for a 3ds hint, I think I fuigred it out (keyframes) And the Xform Reset. New question, If I build the Left_Wing compleat with landing gear,animation (01-10).ect, then can I mirror It ,Then fix the mesh names to Right_Wing?

Edited by RAVEN

Share this post


Link to post
Share on other sites

yes mirror parts you need 2 of...beware tho,make sure you dont need to xform reset parts AFTER you animate or link them as this screws up the animation pivot most times,and you CANNOT undo a reset xform.

I mirror wing then link parts after Ive cjecked the parts are all in correect size etc and dont need to reset them.also xform reset sometimes reverses the polys so u need check u dont have to flip them.

I onlt reset important parts that wont affect the models dimensions in game.IE,doesnt matter if the glass parts arent reported in 3ds max as wrong size. in metres etc.

I ALWAYS save ,b4 using xform lol

Edited by russouk2004

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