Jump to content
Sign in to follow this  
gracz

My unit doesn't appear in game.

Recommended Posts

Hi. I made my own 3d model and put it to game. In Arma editor i can select my mod in filter list but there aren't any units inside. Addon Builder doesn't show any errors, I can see 3d in Buldozer. Mod is simple - no guns, no animations, no damage class. I'm new in modding world so it's more than sure I made a mistake, so you guys should be able to help me. Here my config.cpp and model.cfg

#include "basicDefines_A3.hpp"

class CfgPatches
{
    class My_Faction
    {
    author = "Barti_PL";
    requiredVersion = 0.1;
    weapons[] = {};
    units[] = {"Armored Loco Ti3"};
    };
};

class cfgFactionClasses
{
    class My_New_Faction
    {
        displayName = "My New Faction";
        priority = 3;
        side = 1;
        icon = "";
    };
};

class cfgVehicleClasses
{
    class My_Subgroup_Cars
    {
        displayName = "Cars";
    };
};

class CfgVehicles
{
    class Car;
    class Car_F: Car{};
    class Ti3: Car_F
    {
        model = "\Ti3 Pancerny\objects\Ti3.p3d";
        picture = "";
        icon = "";
        displayName = "Armored Loco Ti3";

        terrainCoef = ;
        turnCoef = ;
        precision = 40;
        brakeDistance = 50;
        acceleration = 7;
        fireResistance = 15;
        armor = 100;

        cost = 300.000;
        transportSoldier = 1;
        driverAction = driver_offroad01;
        cargoAction[] = {""};
        
        class Exhausts
        {
            class Exhaust1
            {
            position = ;
            direction = ;
            effect = ;
            };
        };

        scope = 2;
        placement = vertical;
        mapSize = 3;
        
        class Animations
        {
            class MoveDoor
            {
            type = "rotation";
            animPeriod = 1;
            selection = "door";
            axis = "door axis";
            angle0 = 0;
            angle1 = -2.0;
            };
        };

        class Reflectors
        {
            class LightCarHeadL01
            {
                position = "LightCarHeadL01";
                direction = "LightCarHeadL01_end";
                hitpoint = ;
                selection = "Light_L";
                useFlare = true;
                flareSize = 1.0;
                
                class Attenuation
                {
                    start = 1.0;
                    constant = 0;
                    linear = 0;
                    quadratic = 0.25;
                    hardLimitStart = 30;
                    hardLimitEnd = 60;
                };
            };
            class LightCarHeadR01
            {
                position = "LightCarHeadP01";
                direction = "LightCarHeadP01_end";
                hitpoint = ;
                selection = "Light_P";
                useFlare = true;
                flareSize = 1.0;

                class Attenuation
                {
                    start = 1.0;
                    constant = 0;
                    linear = 0;
                    quadratic = 0.25;
                    hardLimitStart = 30;
                    hardLimitEnd = 60;
                };
            };
        };

        class UserActions
        {
            class GetIn
            {
            displayName = "Get In";
            statement = "this animate[""MoveDoor"", 1]";
            position = "";
            radius = 1.5;
            condition = "this animationPhase ""Move Door"" < 0.5";
            onlyForPlayers = false;    
            };
            class GetOut: GetIn
            {
            displayName = "Get Out";
            statement = "this animate[""MoveDoor"", 0]";
            };
        };
    };
};
class CfgModels
{
    class Default
    {
        sectionsInherit = "";
        sections[] = {};
        skeletonName = "";
    };
    class Vehicle: Default
    {
        sections[] = 
        {
            "camo1",
            "camo2",
            "camo3",
            "camo4",
            "camo5",
            "camo6",
            "camo7",
            "camo8",
            "Commander_Turret",
            "Door1",
            "Door2",
            "gwizdek",
            "inne",
            "klapa1",
            "klapa2",
            "klapa3",
            "klapa4",
            "klapa5",
            "klapa6",
            "KoloL1",
            "KoloL2",
            "KoloL3",
            "KoloL4",
            "KoloL5",
            "KoloL6",
            "KoloL7",
            "KoloP1",
            "KoloP2",
            "KoloP3",
            "KoloP4",
            "KoloP5",
            "KoloP6",
            "KoloP7",
            "Light_L",
            "Light_P",
            "radio",
            "roura1",
            "svetla"
        };
    };
};

class CfgSkeletons
{
    class Default
    {};
};

 

Share this post


Link to post
Share on other sites

I'm surprised it packs without error considering you have a space in the PBO name and model path which usually causes most pbo packing software to throw shit-fits:

Change:

model = "\Ti3 Pancerny\objects\Ti3.p3d";

to

model = "\Ti3_Pancerny\objects\Ti3.p3d";

replacing the space with an underscore...

 

Also, your model.cfg makes no reference to your actual model or defines anything about it...

Here is the model.cfg from the BI sample model's HMMWV

Spoiler

class Rotation;
class CfgSkeletons
{
	class Vehicle;
	class Car: Vehicle
	{
		skeletonInherit="Vehicle";
		skeletonBones[]=
		{
			"volant",
			"",
			"levy predni tlumic",
			"",
			"pravy predni tlumic",
			"",
			"levy dalsi tlumic",
			"",
			"pravy dalsi tlumic",
			"",
			"levy predni zatoc",
			"levy predni tlumic",
			"pravy predni zatoc",
			"pravy predni tlumic",
			"levy dalsi zatoc",
			"levy dalsi tlumic",
			"pravy dalsi zatoc",
			"pravy dalsi tlumic",
			"levy prostredni tlumic",
			"",
			"pravy prostredni tlumic",
			"",
			"levy zadni tlumic",
			"",
			"pravy zadni tlumic",
			"",
			"levy predni",
			"levy predni zatoc",
			"pravy predni",
			"pravy predni zatoc",
			"levy dalsi",
			"levy dalsi zatoc",
			"pravy dalsi",
			"pravy dalsi zatoc",
			"levy prostredni",
			"levy prostredni tlumic",
			"pravy prostredni",
			"pravy prostredni tlumic",
			"levy zadni",
			"levy zadni tlumic",
			"pravy zadni",
			"pravy zadni tlumic",
			"ukaz_rychlo",
			"",
			"ukaz_rychlo2",
			"",
			"ukaz_rpm",
			"",
			"OtocVez",
			"",
			"OtocHlaven",
			"OtocVez",
			"fuel_01",
			"",
			"fuel_1",
			"",
			"prop_01",
			"",
			"prop_02",
			"",
			"prop_2",
			"",
			"prop_1",
			"",
			"damageHide",
			"",
			"damageVez",
			"OtocVez",
			"damageHlaven",
			"OtocHlaven"
		};
	};
	class Motorcycle: Vehicle
	{
		skeletonInherit="Vehicle";
		skeletonBones[]=
		{
			"volant",
			"",
			"ukaz_rychlo",
			"volant",
			"ukaz_rychlo2",
			"volant",
			"ukaz_rpm",
			"volant",
			"pravy predni tlumic nerot",
			"",
			"pravy predni tlumic",
			"volant",
			"pravy zadni tlumic",
			"",
			"pravy predni",
			"pravy predni tlumic",
			"pravy zadni",
			"pravy zadni tlumic",
			"OtocVez",
			"",
			"OtocHlaven",
			"OtocVez",
			"stojanek",
			""
		};
	};
	class bicycle: Motorcycle
	{
		skeletonInherit="Motorcycle";
		skeletonBones[]=
		{
			"slapky",
			"",
			"slapka l",
			"slapky",
			"slapka p",
			"slapky"
		};
	};
	class BRDM2
	{
		isDiscrete=1;
		skeletonInherit="car";
		skeletonBones[]=
		{
			"volant",
			"",
			"ukaz_rychlo",
			"",
			"ukaz_rychlo2",
			"",
			"ukaz_rpm",
			"",
			"OtocVez",
			"",
			"OtocHlaven",
			"OtocVez",
			"OtocVez_cargo",
			"",
			"fuel_1",
			"",
			"prop_1",
			"",
			"prop_2",
			"",
			"prop_3",
			"",
			"prop_4",
			"",
			"poklopy01",
			"",
			"prop_5",
			""
		};
	};
	class HMMWVSkeleton
	{
		isDiscrete=1;
		skeletonInherit="Car";
		skeletonBones[]=
		{
			"ammo_belt",
			"OtocHlaven"
		};
	};
	class 5t_guntruckSkeleton
	{
		isDiscrete=1;
		skeletonInherit="Car";
		skeletonBones[]=
		{
			"ammo_belt",
			"OtocHlaven"
		};
	};
	class landrover_mgSkeleton
	{
		isDiscrete=1;
		skeletonInherit="Car";
		skeletonBones[]=
		{
			"ammo_belt",
			"OtocHlaven"
		};
	};
	class uaz_mgSkeleton
	{
		isDiscrete=1;
		skeletonInherit="Car";
		skeletonBones[]=
		{
			"ammo_belt",
			"OtocHlaven"
		};
	};
	class StrykerSkeleton
	{
		isDiscrete=1;
		skeletonInherit="";
		skeletonBones[]=
		{
			"DriveWheel",
			"",
			"fuel",
			"",
			"rpm",
			"",
			"mph",
			"",
			"wheel_1_1_damper",
			"",
			"wheel_1_2_damper",
			"",
			"wheel_2_1_damper",
			"",
			"wheel_2_2_damper",
			"",
			"wheel_3_1_damper",
			"",
			"wheel_3_2_damper",
			"",
			"wheel_4_1_damper",
			"",
			"wheel_4_2_damper",
			"",
			"wheel_1_1_steering",
			"wheel_1_1_damper",
			"wheel_1_2_steering",
			"wheel_1_2_damper",
			"wheel_2_1_steering",
			"wheel_2_1_damper",
			"wheel_2_2_steering",
			"wheel_2_2_damper",
			"wheel_1_1",
			"wheel_1_1_steering",
			"wheel_1_2",
			"wheel_1_2_steering",
			"wheel_2_1",
			"wheel_2_1_steering",
			"wheel_2_2",
			"wheel_2_2_steering",
			"wheel_3_1",
			"wheel_3_1_damper",
			"wheel_3_2",
			"wheel_3_2_damper",
			"wheel_4_1",
			"wheel_4_1_damper",
			"wheel_4_2",
			"wheel_4_2_damper",
			"turret",
			"",
			"gun",
			"turret",
			"hatch_driver",
			"",
			"hatch_Gunner",
			"",
			"fuel_1",
			"",
			"ukaz_rpm",
			"",
			"ukaz_rychlo",
			"",
			"prop_01",
			"",
			"prop_02",
			"",
			"prop_03",
			"",
			"prop_04",
			"",
			"prop_05",
			"",
			"prop_1",
			"",
			"prop_2",
			"",
			"prop_3",
			"",
			"prop_4",
			"",
			"prop_5",
			"",
			"ukaz_rychlo2",
			"",
			"damageHide",
			""
		};
	};
};
class CfgModels
{
	class Vehicle;
	class Car: Vehicle
	{
		sectionsInherit="Vehicle";
		sections[]=
		{
			"ammo",
			"sklo predni p",
			"sklo predni l",
			"zadni svetlo",
			"brzdove svetlo",
			"spz",
			"karoserie",
			"motor",
			"zbran",
			"vez",
			"zbytek",
			"levy predni",
			"levy prostredni",
			"levy zadni",
			"pravy predni",
			"pravy prostredni",
			"pravy zadni",
			"clan",
			"clan_sign",
			"zasleh",
			"P svetlo",
			"L svetlo",
			"palivo"
		};
		skeletonName="Car";
		class Animations
		{
			class damageHide
			{
				type="hide";
				source="damage";
				selection="damageHide";
			};
			class IndicatorSpeed
			{
				animPeriod=0;
				type="rotation";
				source="speed";
				selection="ukaz_rychlo";
				axis="osa_rychlo";
				memory=0;
				minValue=0.000000;
				maxValue=16.670000;
				angle0=0.000000;
				angle1=2.879793;
			};
			class IndicatorSpeed2
			{
				type="rotation";
				source="speed";
				selection="ukaz_rychlo2";
				axis="osa_rychlo2";
				memory="false";
				animPeriod=0;
				minValue=0;
				maxValue=16.670000;
				angle0=0;
				angle1="rad -240";
			};
			class IndicatorRPM
			{
				animPeriod=0;
				type="rotation";
				source="rpm";
				selection="ukaz_rpm";
				axis="osa_rpm";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=0.000000;
				angle1=2.967060;
			};
			class DrivingWheel
			{
				type="rotation";
				source="drivingWheel";
				selection="volant";
				begin="osaVolantZac";
				end="osaVolantKon";
				memory="false";
				animPeriod=0;
				minValue=-1;
				maxValue=1;
				angle0=-8;
				angle1=8;
			};
			class TurnFrontWheelR
			{
				type="rotationY";
				source="drivingWheel";
				selection="pravy predni zatoc";
				axis="pravy predni";
				memory="false";
				animPeriod=0;
				sourceAddress="loop";
				minValue="rad -180";
				maxValue="rad +180";
				angle0="rad +90";
				angle1="rad -90";
			};
			class TurnFrontWheelL: TurnFrontWheelR
			{
				selection="levy predni zatoc";
				axis="levy predni";
			};
			class TurnFrontWheelR2: TurnFrontWheelR
			{
				selection="pravy dalsi zatoc ";
				axis="pravy dalsi";
			};
			class TurnFrontWheelL2: TurnFrontWheelR
			{
				selection="levy dalsi zatoc ";
				axis="levy dalsi";
			};
			class FrontWheelR
			{
				type="rotationX";
				source="wheel";
				selection="pravy predni";
				axis="";
				memory="true";
				animPeriod=0;
				sourceAddress="loop";
				minValue=0;
				maxValue=1;
				angle0=0;
				angle1="rad -360";
			};
			class FrontWheel2R: FrontWheelR
			{
				selection="pravy dalsi";
			};
			class BackWheelR: FrontWheelR
			{
				selection="pravy zadni";
			};
			class BackWheel2R: FrontWheelR
			{
				selection="pravy prostredni";
			};
			class FrontWheelL: FrontWheelR
			{
				selection="levy predni";
			};
			class FrontWheel2L: FrontWheelR
			{
				selection="levy dalsi";
			};
			class BackWheelL: FrontWheelR
			{
				selection="levy zadni";
			};
			class BackWheel2L: FrontWheelR
			{
				selection="levy prostredni";
			};
			class FrontWheelDamperR
			{
				type="translationY";
				source="damper";
				selection="pravy predni tlumic";
				axis="";
				animPeriod=0;
				minValue=-1000;
				maxValue=1000;
			};
			class FrontWheelDamper2R: FrontWheelDamperR
			{
				selection="pravy dalsi tlumic";
			};
			class BackWheelDamperR: FrontWheelDamperR
			{
				selection="pravy zadni tlumic";
			};
			class BackWheelDamper2R: FrontWheelDamperR
			{
				selection="pravy prostredni tlumic";
			};
			class FrontWheelDamperL: FrontWheelDamperR
			{
				selection="levy predni tlumic";
			};
			class FrontWheelDamper2L: FrontWheelDamperR
			{
				selection="levy dalsi tlumic";
			};
			class BackWheelDamperL: FrontWheelDamperR
			{
				selection="levy zadni tlumic";
			};
			class BackWheelDamper2L: FrontWheelDamperR
			{
				selection="levy prostredni tlumic";
			};
			class damageVez: damageHide
			{
				selection="damageVez";
			};
			class damageHlaven: damageHide
			{
				selection="damageHlaven";
			};
		};
	};
	class Stryker_ICV: Vehicle
	{
		skeletonName="StrykerSkeleton";
		sectionsInherit="Vehicle";
		sections[]=
		{
			"Light_1_1",
			"Light_1_2",
			"Light_brake",
			"Light_back",
			"clan",
			"clan_sign",
			"zasleh",
			"karoserie",
			"vez",
			"motor",
			"palivo",
			"zbran"
		};
		class Animations
		{
			class Fuel: Rotation
			{
				source="fuel";
				selection="fuel_1";
				axis="fuel_1_axis";
				memory=0;
				maxValue=1.000000;
				angle0=1.570796;
				angle1=-1.570796;
			};
			class IndicatorSpeed: Rotation
			{
				source="speed";
				selection="ukaz_rychlo";
				axis="osa_rychlo";
				memory=0;
				maxValue=35.52;
				angle0=1.832596;
				angle1=-1.832596;
			};
			class IndicatorRPM: Rotation
			{
				source="rpm";
				selection="ukaz_rpm";
				axis="osa_rpm";
				memory=0;
				angle0=1.658063;
				angle1=-1.396263;
			};
			class IndicatorOilTemp: Rotation
			{
				source="oil";
				selection="oilTemp";
				axis="oilTemp_axis";
				memory=0;
				maxValue=0.200000;
				angle1="rad 80";
			};
			class DrivingWheel: Rotation
			{
				source="drivingWheel";
				selection="drivewheel";
				axis="drivewheel_axis";
				minValue=-1;
				maxValue=1;
				angle0=4;
				angle1=-4;
			};
			class Steering_1_1
			{
				type="rotationY";
				source="drivingWheel";
				selection="wheel_1_1_steering";
				axis="wheel_1_1_steering_axis";
				memory=1;
				minValue="rad -90";
				maxValue="rad +90";
				angle0=0.900000;
				angle1=-0.900000;
			};
			class Steering_1_2: Steering_1_1
			{
				selection="wheel_1_2_steering";
				axis="wheel_1_2_steering_axis";
			};
			class Steering_2_1: Steering_1_1
			{
				selection="wheel_2_1_steering";
				axis="wheel_2_1_steering_axis";
				memory=1;
			};
			class Steering_2_2: Steering_1_1
			{
				selection="wheel_2_2_steering";
				axis="wheel_2_2_steering_axis";
				memory=1;
			};
			class Wheel_1_1
			{
				type="rotationX";
				source="wheel";
				selection="wheel_1_1";
				axis="";
				memory=1;
				sourceAddress="loop";
				minValue=0;
				maxValue=1;
				angle0=0;
				angle1="rad -360";
			};
			class Wheel_1_2: Wheel_1_1
			{
				selection="wheel_1_2";
			};
			class Wheel_2_1: Wheel_1_1
			{
				selection="wheel_2_1";
			};
			class Wheel_2_2: Wheel_1_1
			{
				selection="wheel_2_2";
			};
			class Wheel_3_1: Wheel_1_1
			{
				selection="wheel_3_1";
			};
			class Wheel_3_2: Wheel_1_1
			{
				selection="wheel_3_2";
			};
			class Wheel_4_1: Wheel_1_1
			{
				selection="wheel_4_1";
			};
			class Wheel_4_2: Wheel_1_1
			{
				selection="wheel_4_2";
			};
			class Wheel_1_1_Damper
			{
				type="translationY";
				source="damper";
				selection="wheel_1_1_damper";
				axis="";
				minValue=-1;
				maxValue=1;
				memory=1;
			};
			class Wheel_1_2_Damper: Wheel_1_1_Damper
			{
				selection="wheel_1_2_damper";
			};
			class Wheel_2_1_Damper: Wheel_1_1_Damper
			{
				selection="wheel_2_1_damper";
			};
			class Wheel_2_2_Damper: Wheel_1_1_Damper
			{
				selection="wheel_2_2_damper";
			};
			class Wheel_3_1_Damper: Wheel_1_1_Damper
			{
				selection="wheel_3_1_damper";
			};
			class Wheel_3_2_Damper: Wheel_1_1_Damper
			{
				selection="wheel_3_2_damper";
			};
			class Wheel_4_1_Damper: Wheel_1_1_Damper
			{
				selection="wheel_4_1_damper";
			};
			class Wheel_4_2_Damper: Wheel_1_1_Damper
			{
				selection="wheel_4_2_damper";
			};
			class MainTurret
			{
				type="rotationY";
				source="mainTurret";
				selection="turret";
				axis="turret_axis";
				animPeriod=0;
				minValue="rad -360";
				maxValue="rad +360";
				angle0="rad -360";
				angle1="rad +360";
			};
			class MainGun
			{
				type="rotationX";
				source="mainGun";
				selection="gun";
				axis="gun_axis";
				animPeriod=0;
				minValue="rad -360";
				maxValue="rad +360";
				angle0="rad -360";
				angle1="rad +360";
			};
			class HatchDriver: Rotation
			{
				source="hatchDriver";
				selection="hatch_driver";
				axis="hatch_driver_axis";
				memory="false";
				angle1="rad -90";
			};
			class HatchGunner: Rotation
			{
				source="hatchGunner";
				selection="hatch_gunner";
				axis="hatch_gunner_axis";
				memory="false";
				angle1="rad -110";
			};
			class prop_1
			{
				type="rotation";
				source="rpm";
				selection="prop_1";
				axis="prop_1_axis";
				memory=0;
				minValue=0.000000;
				maxValue=0.790000;
				angle0=0.698132;
				angle1=-1.221730;
			};
			class prop_2
			{
				type="rotation";
				source="rpm";
				selection="prop_2";
				axis="prop_2_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=1.396263;
				angle1=0.349066;
			};
			class prop_3
			{
				type="rotation";
				source="rpm";
				selection="prop_3";
				axis="prop_3_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=1.570796;
				angle1=0.000000;
			};
			class prop_4
			{
				type="rotation";
				source="rpm";
				selection="prop_4";
				axis="prop_4_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=2.268928;
				angle1=1.745329;
			};
			class prop_5
			{
				type="rotation";
				source="rpm";
				selection="prop_5";
				axis="prop_5_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=-1.570796;
				angle1=-2.094395;
			};
			class IndicatorSpeed2
			{
				type="rotation";
				source="speed";
				selection="ukaz_rychlo2";
				axis="osa_rychlo2";
				memory=0;
				minValue=0.000000;
				maxValue=16.670000;
				angle0=0.000000;
				angle1=1.570796;
			};
		};
	};
	class Stryker_mk19: Stryker_ICV
	{
	};
	class Stryker_TOW: Stryker_ICV
	{
	};
	class Motorcycle: Vehicle
	{
		sectionsInherit="Vehicle";
		sections[]=
		{
			"ammo",
			"sklo predni p",
			"sklo predni l",
			"zadni svetlo",
			"brzdove svetlo",
			"spz"
		};
		skeletonName="Motorcycle";
		class Animations
		{
			class IndicatorSpeed
			{
				type="rotation";
				source="speed";
				selection="ukaz_rychlo";
				axis="osa_rychlo";
				memory="false";
				animPeriod=0;
				minValue=0;
				maxValue="140 / 3.6";
				angle0=0;
				angle1="rad 280";
			};
			class IndicatorSpeed2
			{
				type="rotation";
				source="speed";
				selection="ukaz_rychlo2";
				axis="osa_rychlo2";
				memory="false";
				animPeriod=0;
				minValue=0;
				maxValue=16.670000;
				angle0=0;
				angle1="rad -240";
			};
			class IndicatorRPM
			{
				type="rotation";
				source="rpm";
				selection="ukaz_rpm";
				axis="osa_rpm";
				memory="false";
				animPeriod=0;
				minValue=0;
				maxValue=1;
				angle0=0;
				angle1="rad -340";
			};
			class DrivingWheel
			{
				type="rotation";
				source="drivingWheel";
				selection="volant";
				begin="osaVolantZac";
				end="osaVolantKon";
				memory="true";
				animPeriod=0;
				minValue=-1;
				maxValue=1;
				angle0=-18;
				angle1=18;
			};
			class Support
			{
				type="rotationX";
				source="support";
				selection="stojanek";
				axis="osa stojanku";
				memory="true";
				animPeriod=0;
				angle0=0;
				angle1="-rad 90";
			};
			class FrontWheel
			{
				type="rotationX";
				source="wheel";
				selection="pravy predni";
				axis="";
				memory="true";
				animPeriod=0;
				sourceAddress="loop";
				minValue=0;
				maxValue=1;
				angle0=0;
				angle1="rad -360";
			};
			class BackWheel: FrontWheel
			{
				selection="pravy zadni";
			};
			class FrontWheelDamperVirt
			{
				type="translationY";
				source="FrontDamper";
				selection="pravy predni tlumic nerot";
				axis="";
				animPeriod=0;
				minValue=-1000;
				maxValue=1000;
			};
			class FrontWheelDamper: FrontWheelDamperVirt
			{
				source="FrontDamper";
				selection="pravy predni tlumic";
			};
			class BackWheelDamper: FrontWheelDamperVirt
			{
				source="BackDamper";
				selection="pravy zadni tlumic";
			};
		};
	};
	class Bicycle: Motorcycle
	{
		sectionsInherit="Motorcycle";
		skeletonName="Bicycle";
		class Animations: Animations
		{
			class Pedals
			{
				type="rotation";
				source="pedals";
				selection="slapky";
				axis="osa slapek";
				memory="true";
				animPeriod=0;
				angle0=0;
				angle1="rad 360";
			};
			class PedalL
			{
				type="rotation";
				source="pedals";
				selection="slapka L";
				axis="osa slapky L";
				memory="true";
				animPeriod=0;
				angle0=0;
				angle1="rad -360";
			};
			class PedalR
			{
				type="rotation";
				source="pedals";
				selection="slapka P";
				axis="osa slapky P";
				memory="true";
				animPeriod=0;
				angle0=0;
				angle1="rad -360";
			};
		};
	};
	class 5t_closed: Car
	{
		class Animations: Animations
		{
			class IndicatorSpeed: IndicatorSpeed
			{
				maxValue=16.670000;
				angle1=-3.665191;
			};
			class IndicatorRPM: IndicatorRPM
			{
				angle1="rad -220";
			};
			class fuel
			{
				type="rotation";
				source="fuel";
				selection="fuel_01";
				axis="fuel_01_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=0.174533;
				angle1=-4.014257;
			};
		};
	};
	class 5t_reammo: 5t_closed
	{
	};
	class 5t_open: 5t_closed
	{
	};
	class 5t_repair: 5t_closed
	{
	};
	class 5t_refuel: 5t_closed
	{
	};
	class 5t_guntruck: 5t_closed
	{
		skeletonName="5t_guntruckSkeleton";
		class Animations: Animations
		{
			class ammo_belt_rotation
			{
				type="rotationZ";
				source="belt_rotation";
				selection="ammo_belt";
				axis="ammo_belt_axis";
				memory=1;
				sourceAddress="loop";
				minValue=0.000000;
				maxValue=0.010000;
				angle0=0.000000;
				angle1=-0.209440;
			};
			class MainTurret
			{
				type="rotationY";
				source="mainTurret";
				selection="OtocVez";
				axis="OsaVeze";
				animPeriod=0;
				minValue="rad -360";
				maxValue="rad +360";
				angle0="rad -360";
				angle1="rad +360";
			};
			class MainGun: MainTurret
			{
				type="rotationX";
				source="mainGun";
				selection="OtocHlaven";
				axis="OsaHlavne";
			};
			class damageVez: damageHide
			{
				selection="damageVez";
			};
			class destruct_heigh_ppt
			{
				type="translation";
				source="damage";
				selection="pravy predni tlumic";
				axis="land_move_axis";
				memory=1;
				minValue=0.999999;
				maxValue=1.000000;
				offset0=0;
				offset1=-1.000000;
			};
			class destruct_heigh_pdt: destruct_heigh_ppt
			{
				selection="pravy dalsi tlumic";
			};
			class destruct_heigh_pprt: destruct_heigh_ppt
			{
				selection="pravy prostredni tlumic";
			};
			class destruct_heigh_pzt: destruct_heigh_ppt
			{
				selection="pravy zadni tlumic";
			};
			class destruct_heigh_lzt: destruct_heigh_ppt
			{
				selection="levy zadni tlumic";
			};
			class destruct_heigh_lprt: destruct_heigh_ppt
			{
				selection="levy prostredni tlumic";
			};
			class destruct_heigh_lpt: destruct_heigh_ppt
			{
				selection="levy predni tlumic";
			};
			class destruct_heigh_ldt: destruct_heigh_ppt
			{
				selection="levy dalsi tlumic";
			};
			class IndicatorSpeed: IndicatorSpeed
			{
				axis="osa_mph";
			};
			class fuel: fuel
			{
				axis="osa_fuel";
			};
		};
	};
	class ural: Car
	{
		class Animations: Animations
		{
			class TurnFrontWheelR: TurnFrontWheelR
			{
				angle0="rad +80";
				angle1="rad -80";
			};
			class TurnFrontWheelL: TurnFrontWheelL
			{
				angle0="rad +80";
				angle1="rad -80";
			};
			class IndicatorSpeed: IndicatorSpeed
			{
				maxValue=26;
				angle1="rad 180";
			};
			class IndicatorRPM: IndicatorRPM
			{
				angle1=2.181662;
			};
			class fuel
			{
				type="rotation";
				source="fuel";
				selection="fuel_1";
				axis="fuel_1_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=-1.221730;
				angle1=1.221730;
			};
			class prop_1
			{
				type="rotation";
				source="rpm";
				selection="prop_1";
				axis="prop_1_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=-1.396263;
				angle1=-1.919862;
			};
			class prop_2
			{
				type="rotation";
				source="rpm";
				selection="prop_2";
				axis="prop_2_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=-1.570796;
				angle1=-2.617994;
			};
		};
	};
	class Ural_Open: ural
	{
	};
	class ural_refuel: ural
	{
	};
	class ural_repair: ural
	{
	};
	class ural_reammo: ural
	{
	};
	class ural_civil1: ural
	{
	};
	class ural_civil2: ural
	{
	};
	class hmmwv: Car
	{
		class Animations: Animations
		{
			class IndicatorSpeed: IndicatorSpeed
			{
				maxValue=16.670000;
				angle0=-0.174533;
				angle1=3.141593;
			};
			class IndicatorRPM: IndicatorRPM
			{
				angle0=0.000000;
				angle1=1.483530;
			};
			class fuel
			{
				type="rotation";
				source="fuel";
				selection="fuel_1";
				axis="fuel_1_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=-0.087266;
				angle1=-1.658063;
			};
			class prop_01
			{
				type="rotation";
				source="rpm";
				selection="prop_01";
				axis="prop_01_axis";
				memory=0;
				minValue=0.000000;
				maxValue=0.360000;
				angle0=1.396263;
				angle1=0.000000;
			};
			class prop_02
			{
				type="rotation";
				source="rpm";
				selection="prop_02";
				axis="prop_02_axis";
				memory=0;
				minValue=0.000000;
				maxValue=0.640000;
				angle0=0.349066;
				angle1=-0.349066;
			};
		};
	};
	class hmmwv50: hmmwv
	{
		skeletonName="HMMWVSkeleton";
		class Animations: Animations
		{
			class ammo_belt_rotation
			{
				type="rotationZ";
				source="belt_rotation";
				selection="ammo_belt";
				axis="ammo_belt_axis";
				memory=1;
				sourceAddress="loop";
				minValue=0.000000;
				maxValue=0.010000;
				angle0=0.000000;
				angle1=-0.209440;
			};
			class MainTurret
			{
				type="rotationY";
				source="mainTurret";
				selection="OtocVez";
				axis="OsaVeze";
				animPeriod=0;
				minValue="rad -360";
				maxValue="rad +360";
				angle0="rad -360";
				angle1="rad +360";
			};
			class MainGun: MainTurret
			{
				type="rotationX";
				source="mainGun";
				selection="OtocHlaven";
				axis="OsaHlavne";
			};
			class damageHlaven: damageHide
			{
				selection="damageHlaven";
			};
			class damageAmmobelt: damageHide
			{
				selection="ammo_belt";
			};
		};
	};
	class HMMWVmk19: hmmwv50
	{
		skeletonName="HMMWVSkeleton";
		class Animations: Animations
		{
			class ammo_belt_rotation
			{
				type="rotationZ";
				source="belt_rotation";
				selection="ammo_belt";
				axis="ammo_belt_axis";
				memory=1;
				sourceAddress="loop";
				minValue=0.000000;
				maxValue=0.020000;
				angle0=0.000000;
				angle1=-0.383972;
			};
		};
	};
	class HMMWVTOW: hmmwv50
	{
	};
	class landrover_closed: hmmwv
	{
		class Animations: Animations
		{
			class IndicatorSpeed: IndicatorSpeed
			{
				maxValue=41.599998;
				angle0=0.061087;
				angle1=4.363323;
			};
		};
	};
	class landrover_open: landrover_closed
	{
	};
	class landrover_police: landrover_closed
	{
	};
	class landrover_mg: landrover_closed
	{
		skeletonName="landrover_mgSkeleton";
		class Animations: Animations
		{
			class ammo_belt_rotation
			{
				type="rotationZ";
				source="belt_rotation";
				selection="ammo_belt";
				axis="ammo_belt_axis";
				memory=1;
				sourceAddress="loop";
				minValue=0.000000;
				maxValue=0.010000;
				angle0=0.000000;
				angle1=-0.209440;
			};
			class MainTurret
			{
				type="rotationY";
				source="mainTurret";
				selection="OtocVez";
				axis="OsaVeze";
				animPeriod=0;
				minValue="rad -360";
				maxValue="rad +360";
				angle0="rad -360";
				angle1="rad +360";
			};
			class MainGun: MainTurret
			{
				type="rotationX";
				source="mainGun";
				selection="OtocHlaven";
				axis="OsaHlavne";
			};
		};
	};
	class uaz: Car
	{
		class Animations: Animations
		{
			class TurnFrontWheelR: TurnFrontWheelR
			{
				angle0="rad +80";
				angle1="rad -80";
			};
			class TurnFrontWheelL: TurnFrontWheelL
			{
				angle0="rad +80";
				angle1="rad -80";
			};
			class IndicatorSpeed: IndicatorSpeed
			{
				maxValue=33.299999;
				angle1=4.363323;
			};
			class IndicatorRPM: IndicatorRPM
			{
				angle0=-0.610865;
				angle1=0.610865;
			};
			class fuel
			{
				type="rotation";
				source="fuel";
				selection="fuel_1";
				axis="fuel_1_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=1.396263;
				angle1=0.349066;
			};
			class prop_2
			{
				type="rotation";
				source="rpm";
				selection="prop_2";
				axis="prop_2_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=0.698132;
				angle1=0.733038;
			};
			class prop_1
			{
				type="rotation";
				source="rpm";
				selection="prop_1";
				axis="prop_1_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=1.308997;
				angle1=1.326450;
			};
		};
	};
	class uaz_mg: uaz
	{
		skeletonName="uaz_mgSkeleton";
		class Animations: Animations
		{
			class ammo_belt_rotation
			{
				type="rotationZ";
				source="belt_rotation";
				selection="ammo_belt";
				axis="ammo_belt_axis";
				memory=1;
				sourceAddress="loop";
				minValue=0.000000;
				maxValue=0.020000;
				angle0=0.349066;
				angle1=0.000000;
			};
			class MainTurret
			{
				type="rotationY";
				source="mainTurret";
				selection="OtocVez";
				axis="OsaVeze";
				animPeriod=0;
				minValue="rad -360";
				maxValue="rad +360";
				angle0="rad -360";
				angle1="rad +360";
			};
			class MainGun: MainTurret
			{
				type="rotationX";
				source="mainGun";
				selection="OtocHlaven";
				axis="OsaHlavne";
			};
			class fuel
			{
				type="rotation";
				source="fuel";
				selection="fuel_1";
				axis="fuel_1_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=1.396263;
				angle1=0.349066;
			};
			class prop_2
			{
				type="rotation";
				source="rpm";
				selection="prop_2";
				axis="prop_2_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=0.698132;
				angle1=0.733038;
			};
			class prop_1
			{
				type="rotation";
				source="rpm";
				selection="prop_1";
				axis="prop_1_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=1.308997;
				angle1=1.326450;
			};
		};
	};
	class uaz_granade: uaz_mg
	{
	};
	class uaz_vb: uaz
	{
	};
	class uaz_police: uaz
	{
	};
	class BRDM2: Car
	{
		skeletonName="BRDM2";
		class Animations: Animations
		{
			class MainTurret
			{
				type="rotationY";
				source="mainTurret";
				selection="OtocVez";
				axis="OsaVeze";
				animPeriod=0;
				minValue="rad -360";
				maxValue="rad +360";
				angle0="rad -360";
				angle1="rad +360";
			};
			class MainGun: MainTurret
			{
				type="rotationX";
				source="mainGun";
				selection="OtocHlaven";
				axis="OsaHlavne";
			};
			class TurnFrontWheelR: TurnFrontWheelR
			{
				angle0="rad +80";
				angle1="rad -80";
			};
			class TurnFrontWheelL: TurnFrontWheelL
			{
				angle0="rad +80";
				angle1="rad -80";
			};
			class IndicatorSpeed: IndicatorSpeed
			{
				type="rotation";
				source="speed";
				selection="ukaz_rychlo";
				axis="osa_rychlo";
				memory=0;
				minValue=0.000000;
				maxValue=38.799999;
				angle0=2.443461;
				angle1=-2.478368;
			};
			class IndicatorSpeed2: IndicatorSpeed2
			{
				type="rotation";
				source="speed";
				selection="ukaz_rychlo2";
				axis="osa_rychlo2";
				memory=0;
				minValue=0.000000;
				maxValue=10.000000;
				angle0=-2.268928;
				angle1=-1.396263;
			};
			class IndicatorRPM: IndicatorRPM
			{
				type="rotation";
				source="rpm";
				selection="ukaz_rpm";
				axis="osa_rpm";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=2.268928;
				angle1=-2.181662;
			};
			class fuel
			{
				type="rotation";
				source="fuel";
				selection="fuel_1";
				axis="fuel_1_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=-0.436332;
				angle1=0.523599;
			};
			class prop_1
			{
				type="rotation";
				source="fuel";
				selection="prop_1";
				axis="prop_1_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=0.872665;
				angle1=-0.872665;
			};
			class prop_5
			{
				type="rotation";
				source="rpm";
				selection="prop_5";
				axis="prop_5_axis";
				memory=0;
				minValue=0.340000;
				maxValue=1.000000;
				angle0=0.645772;
				angle1=-0.645772;
			};
			class prop_4
			{
				type="rotation";
				source="rpm";
				selection="prop_4";
				axis="prop_4_axis";
				memory=0;
				minValue=0.300000;
				maxValue=0.840000;
				angle0=0.349066;
				angle1=-0.349066;
			};
			class prop_2
			{
				type="rotation";
				source="rpm";
				selection="prop_2";
				axis="prop_2_axis";
				memory=0;
				minValue=0.000000;
				maxValue=0.540000;
				angle0=0.610865;
				angle1=-0.174533;
			};
			class prop_3
			{
				type="rotation";
				source="rpm";
				selection="prop_3";
				axis="prop_3_axis";
				memory=0;
				minValue=0.000000;
				maxValue=0.260000;
				angle0=0.349066;
				angle1=-0.087266;
			};
			class mainTurret_Cargo
			{
				type="rotationY";
				source="mainTurret";
				selection="OtocVez_cargo";
				axis="OtocVez_cargo_axis";
				memory=0;
				minValue=-6.283190;
				maxValue=6.283190;
				angle0=-6.283185;
				angle1=6.283185;
			};
			class DrivingWheel: DrivingWheel
			{
				axis="volant_axis";
			};
			class poklopy01_1
			{
				type="rotation";
				source="rpm";
				selection="poklopy01";
				axis="poklopy01_axis";
				memory=0;
				minValue=0.000000;
				maxValue=0.200000;
				angle0=0.000000;
				angle1=-0.785398;
			};
		};
	};
	class BRDM2_ATGM: BRDM2
	{
	};
	class skodovka: Car
	{
		class Animations: Animations
		{
			class IndicatorSpeed: IndicatorSpeed
			{
				maxValue=50.000000;
				angle1=3.490659;
			};
			class IndicatorRPM: IndicatorRPM
			{
				angle1="rad 175";
			};
			class fuel
			{
				type="rotation";
				source="fuel";
				selection="fuel_1";
				axis="fuel_1_axis";
				memory=0;
				minValue=0.000000;
				maxValue=1.000000;
				angle0=-1.483530;
				angle1=0.000000;
			};
			class prop_01
			{
				type="rotation";
				source="rpm";
				selection="prop_01";
				axis="prop_01_axis";
				memory=0;
				minValue=0.000000;
				maxValue=0.360000;
				angle0=0.000000;
				angle1=0.650000;
			};
		};
	};
	class skodovka_blue: skodovka
	{
	};
	class skodovka_red: skodovka
	{
	};
	class skodovka_green: skodovka
	{
	};
	class tractor: Car
	{
	};
	class bus_city: Car
	{
	};
	class car_hatchback: Car
	{
	};
	class car_sedan: Car
	{
	};
	class datsun1_civil_1_open: Car
	{
		class Animations: Animations
		{
			class IndicatorSpeed: IndicatorSpeed
			{
				maxValue=44.400002;
				angle0=0.087266;
				angle1=4.537856;
			};
			class IndicatorRPM: IndicatorRPM
			{
				angle1="rad 175";
			};
		};
	};
	class datsun1_civil_2_covered: datsun1_civil_1_open
	{
	};
	class datsun1_civil_3_open: datsun1_civil_1_open
	{
	};
	class hilux1_civil_1_open: Car
	{
		class Animations: Animations
		{
			class IndicatorSpeed: IndicatorSpeed
			{
				maxValue=50.000000;
				angle1=3.577925;
			};
			class IndicatorRPM: IndicatorRPM
			{
				angle1="rad 175";
			};
		};
	};
	class hilux1_civil_2_covered: hilux1_civil_1_open
	{
	};
	class hilux1_civil_3_open: hilux1_civil_1_open
	{
	};
};

 

 

Its a bit long-winded, but I'm sure you can see the difference...

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  

×