Forum Jump :

Author Message


Posts: 6
Rank:


Level: Member

Country: de
Location: Flensburg
Occupation: Marseille77
Age: 36
In-game name: Marseille77

 
#16 Posted at 2011-06-03 16:06        
     
You have to made a vehicle as base...

#define private    0
#define protected  1
#define public     2

class CfgModels
{
	class default {};
	class Vehicle: default {};
	class Car: Vehicle {};
	class Jeep: Car {};
	class willysjeep: Car {};
};


class CfgPatches
{
     class willysjeep
     {
         units[] = {willysjeep};
         weapons[] = {};
         requiredVersion = 1.0;
     };

};

class CfgVehicles
{
                [color=#EF2929]class car {};[/color]
		class willysjeep : [color=#EF2929]car[/color]
		{
				model=\willy\willy;
				picture="\Ca\wheeled\data\ico\uaz_CA.paa";
				Icon="\Ca\wheeled\data\map_ico\icomap_Uaz_CA.paa";
				mapSize = 7;
				displayName="Willy's Jeep (Covered)";
				vehicleClass = "97thRR Jeeps";

				accuracy=0.50;
				side=1;			
				crew="Civilian2";
				transportSoldier = 1;
				transportAmmo = 0;
				weapons[]={CarHorn};
				magazines[]={};

				maxSpeed = 100;
				turnCoef=1.5;
				cost=25000;
				armor=40;
				damageResistance = 0.00845;

				armorWheels=0.12;

				soundEngine[]={"\ca\wheeled\Data\Sound\UAZ",db-15,0.8};
				soundGear[]={"\ca\wheeled\Data\Sound\shifter_v3",db-65,1};
				SoundGetIn[]={"\ca\wheeled\Data\Sound\UAZ_OpenClose",db-45,1};
				SoundGetOut[]={"\ca\wheeled\Data\Sound\UAZ_OpenClose",db-50,1};
				threat[]={0, 0, 0};
				hasGunner = 0;
			};
		};
	};