Jump to content
Sign in to follow this  
Trenchfeet

Adding a static animation

Recommended Posts

Ok i've done a search and im going to be PO if i missed it after all that ghostface.gif

but im looking for some info on how too add a static animation to an addon for the pilot of a plane.

I have the animation .rtm file, im just a a blank as how and where to set it up in the config file. I've depbo'ed a number of addons and modt of them are set up for movement anims instead of just static.

Can someone please point me towards the light wow_o.gif

Share this post


Link to post
Share on other sites

1st try didn't work but i think i didn't define the path correctly  crazy_o.gif  but hay, it didn't crash ofp

Edit: 2nd try didn't work  ghostface.gif

now to check out the choppers

Edit 3ed try

this may work dont know addon still pboing

add this to the very end of you config file if you are looking to do something similar like i am

class CfgVehicleActions

{

C47Pilot = "C47Pilot";

};

class CfgMovesMC

{

class Actions

{

class NoActionsAll {};

class NoActions: NoActionsAll {};

class DeadActions: NoActions {};

};

class Default {};

class DefaultDie: Default {};

class States

{

class DeadState: Default {};

class Driver: Default {};

class C47Pilot: Driver

{

file="\MTYC47\C47Pilot.rtm";

speed=10000000000.000000;

looped=1;

variantsAI[]={"C47PilotV1",0.700000,"C47Pilot"};

interpolateWith[]={"C47PilotV1",0.500000};

equivalentTo="C47Pilot";

interpolationSpeed=1;

connectTo[]={"C47PilotDying",1};

};

class C47PilotV1: C47Pilot

{

file="\MTYC47\C47Pilot.rtm";

speed=-4;

looped=1;

};

class C47PilotDying: DefaultDie

{

actions="NoActions";

file="\MTYC47\C47Pilot.rtm";

speed=3;

looped=0;

soundEnabled=0;

connectFrom[]={"C47Pilot",1};

};

class C47PilotDead: C47PilotDying

{

actions="DeadActions";

file="\MTYC47\C47Pilot.rtm";

speed=10000000000.000000;

terminal=1;

connectFrom[]={"C47PilotDying",1};

connectTo[]={"DeadState",1};

};

};

};

also add/change in the CfgVehicles section this

driverAction = ManActC47Pilot;

gunnerAction = ManActC47Pilot;

and hopefully it will work

Share this post


Link to post
Share on other sites

yep that worked. Its the correct code, it needs however a dying anim and a static dead anim but i have just used the same anim all the time

Share this post


Link to post
Share on other sites

glad to be helped wink_o.gif

As I see it is for the C-47 plane are you going to make new anims for cargo too + removing the seats on cargo area, and making the soldiers sit on bottom of cargo area rock.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×