general 0 Posted June 3, 2005 how do I make a soldier to use a custom animation when he gets in a vehicle (motorcycle in this case)? Share this post Link to post Share on other sites
ProfTournesol 956 Posted June 3, 2005 Well, it's easy : If the anim doesn't exist in ofp (new one), just : config your anim like this : Quote[/b] ]class CfgMovesMC{ class Default {}; class DefaultDie: Default {}; class StandBase: Default {}; class States { class Youranimclass: StandBase { actions = StandTalkActions; file="path to your anim"; speed = speed of your anim; looped=false or true, it depends; soundEnabled=false; duty = RestDuty; interpolationSpeed=1; connectFrom[]={}; connectTo[]={}; interpolateTo[]={CombatDying,0.1,CombatDyingVer2,0.1,CombatDyingVer3,0.1}; }; }; }; Then, indicates that your anim can be used in vehicle : Quote[/b] ]class CfgVehicleActions{ Myvehicleanimfordriver="Youranimclass"; }; (the easiest way to avoid confusion is to name the anim class and the vehicle action the same way, like : Youranimclass="Youranimclass") Then, in the config vehicle : Quote[/b] ]class CfgVehicles{ class All{}; class AllVehicles:All{}; class land : Allvehicles {}; class LandVehicle: Land {};  class Car: LandVehicle {}; class Myvehicle: car { .... driverAction="ManACtMyvehicleanimfordriver"; }; If it's an anim for the driver. Voila voila  Share this post Link to post Share on other sites