PDA

View Full Version : Custom Animation



FischKopp
Jul 10 2004, 19:15
I´ve made some Cargo animations for my hmmwv, but if try to test it the cargo animation don´t work. The soldier "stand" in the car.

Here is the config:

class CfgVehicleActions
{
HMMVVCargo01 = "JeepCoDriverBack";
};

class CfgMovesMC
{
class Default{};
class DefaultDie:Default{};

class States
{
class Driver:Default{};
class JeepGunner: Driver {};
class JeepDriver: Driver {};
class JeepCoDriver: Driver {};
class StandBase: Default {};

class HMMWVCargo01: JeepCoDriver
{
file="\FK_HMMWV\Anim\HmmwvCargo01_stat.rtm";
speed=-10;
looped=1;
variantsAI[]={"HMMWVCargo01V1",0.700000,"HMMWVCargo01"};
interpolateWith[]={"HMMWVCargo01V1",0.500000};
equivalentTo="HMMWVCargo01";
interpolationSpeed=1;
connectTo[]={"HMMWVCargo01_dying",1};
};

class HMMWVCargo01V1: HMMWVCargo01
{
file="\FK_HMMWV\Anim\HmmwvCargo01.rtm";
speed=-6;
looped=1;
};

class HMMWVCargo01dying: DefaultDie
{
actions="NoActions";
file="\FK_HMMWV\Anim\HmmwvCargo01_dying.rtm";
speed=-1;
looped=0;
soundEnabled=0;
connectFrom[]={"HMMWVCargo01",1};
};
class HMMWVCargo01dead: HMMWVCargo01dying
{
actions="DeadActions";
file="\FK_HMMWV\Anim\HmmwvCargo01_dead.rtm";
speed=-10;
terminal=1;
connectFrom[]={"HMMWVCargo01dying",1};
connectTo[]={"DeadState",1};
};
};

FischKopp
Jul 12 2004, 21:51
Ok. I 2ve found the failure my self. Mod you can close delete this topic.