PHP Code:
class CfgPatches
{
class pt101_mule
{
units[] = {"pt101_mule"};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {"CAWheeled_E"};
};
};
class CfgVehicles
{
class M1135_ATGMV_EP1;
class pt101_mule: M1135_ATGMV_EP1
{
displayName = "MULE";
model = "\pt101_mule\pt101_mule.p3d";
side = west;
crew = "US_Soldier_Light_EP1";
maxSpeed = 60;
transportSoldier = 1;
};
};
PHP Code:
class Rotation;
class CfgSkeletons
{
class Default;
class pt101_mule: Default
{
isDiscrete=1;
skeletonInherit="Car";
skeletonBones[]=
{
"wheel01",
"wheel02",
"wheel03",
"wheel04",
"wheel05",
"wheel06",
"turret",
"camera"
};
};
};
class CfgModels
{
class Default;
class pt101_mule: Default
{
skeletonName="Mule";
class Animations
{
class FrontWheelL
{
type = "rotationX";
source = "wheel";
selection = "wheel01";
axis = "X";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};
class FrontWheelR
{
type = "rotationX";
source = "wheel";
selection = "wheel02";
axis = "X";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};
class CenterWheelL
{
type = "rotationX";
source = "wheel";
selection = "wheel03";
axis = "X";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};
class CenterWheelR
{
type = "rotationX";
source = "wheel";
selection = "wheel04";
axis = "X";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};
class RearWheelL
{
type = "rotationX";
source = "wheel";
selection = "wheel05";
axis = "X";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};
class RearWheelR
{
type = "rotationX";
source = "wheel";
selection = "wheel06";
axis = "X";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};
class Turret
{
type = "rotationY";
source = "mainTurret";
selection = "turret";
axis = "Y";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};
class Camera
{
type = "rotationY";
source = "mainTurret";
selection = "camera";
axis = "Y";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};
};
};
};