All pastes #982289 Raw Edit

Unbenannt

public text v1 · immutable
·published 2008-04-12 12:58 UTC
rendered paste body
class CfgVehicles
{
	class Land;
	class LandVehicle: Land
	{
		class NewTurret;
		class AnimationSources;
		class ViewPilot;
		class ViewGunner;
		class ViewOptics;
	};
	class Car: LandVehicle
	{
		class Turrets
		{
			class MainTurret: NewTurret
			{
				class ViewOptics {};
			};
		};
	};
	class HMMWV50: Car
	{
		class Turrets: Turrets
		{
			class MainTurret: NewTurret
			{
				class ViewOptics;
			};
		};
	};
	class ACE_AGM_DPV: HMMWV50
	{
		scope = 2;
		model = "\agmDPV\m\DPV";
		displayName = "DPV";
		vehicleClass = "Support";
		//picture = "\AATruck\AA_pic.paa";
		//Icon = "\AATruck\AATruck.paa";
		mapSize = 8;
		fuelCapacity = 79.5;
		acceleration = 15;
		maxSpeed= 100;
		side = 1;
		crew = "SoldierWB";
		nameSound = "humvee";
		weapons[] = {};
		magazines[] = {};
		armor = 28;
		damageResistance = 0.005620;
		enableGPS = 1;
		type = 1;
		cost = 100000;
		armorWheels = 0.1;
		soundEngine[]={"\agmDPV\sfx\engine\motor.ogg",db-40,2.0};
		//soundEngine[] = {"\ca\wheeled\Data\Sound\UAZ", 0.1, 0.8};
		soundGear[] = {"\ca\wheeled\Data\Sound\shifter_v3", 0.000562341, 1};
		soundGetIn[] = {"\ca\wheeled\Data\Sound\V3S_door_v2", 0.1, 1};
		soundGetOut[] = {"\ca\wheeled\Data\Sound\V3S_door_v2", 0.1, 1};
		typicalCargo[] = {"SoldierWB", "SoldierWB", "SoldierWAT"};
		transportSoldier = 1;
		class Library
		{
			libTextDesc = "Desert Patrol Vehicle (DPV)";
		};
		hasGunner = 1;
		driverIsCommander = 1;
		commanderCanSee = 31;
		gunnerCanSee = 31;
		driverAction = "HMMWV_Driver";
		cargoAction[] = {"HMMWV_Cargo01", "HMMWV_Cargo01", "UAZ_Cargo01"};
		canLock = 0;
		unitInfoType = "UnitInfoShip";
		gunnerOpticsShowCursor = 1;
		threat[] = {0.5, 0.5, 0.8};
		class AnimationSources
		{
			class belt_rotation
			{
				source = "reload";
				weapon = "M2";
			};
		};
		ForceHideGunner = 0;
		ViewGunnerInExternal = 1;
		selectionBrakeLights = "light_brake";
		memoryPointsGetInDriver = "pos driver";
		memoryPointsGetInDriverDir = "pos driver dir";

		class Reflectors
		{
			class Left1
			{
				color[]={0.900000,0.800000,0.800000,1.000000};
				ambient[]={0.100000,0.100000,0.100000,1.000000};
				position="Light_1_source";
				direction="Light_1_target";
				hitpoint="Light_1";
				selection="Light_1";
				size=0.500000;
				brightness=0.500000;
			};
			class Left2
			{
				color[]={0.900000,0.800000,0.800000,1.000000};
				ambient[]={0.100000,0.100000,0.100000,1.000000};
				position="Light_2_source";
				direction="Light_2_target";
				hitpoint="Light_2";
				selection="Light_2";
				size=0.500000;
				brightness=0.500000;
			};
			class Right1
			{
				color[]={0.900000,0.800000,0.800000,1.000000};
				ambient[]={0.100000,0.100000,0.100000,1.000000};
				position="Light_3_source";
				direction="Light_3_target";
				hitpoint="Light_3";
				selection="Light_3";
				size=0.500000;
				brightness=0.500000;
			};
			class Right2
			{
				color[]={0.900000,0.800000,0.800000,1.000000};
				ambient[]={0.100000,0.100000,0.100000,1.000000};
				position="Light_4_source";
				direction="Light_4_target";
				hitpoint="Light_4";
				selection="Light_4";
				size=0.500000;
				brightness=0.500000;
			};
		};
		class Turrets: Turrets
		{
			class MainTurret: MainTurret
			{
				body = "otocvez_1";
				gun = "otochlaven_1";
				animationSourceBody = "otocvez_1";
				animationSourceGun = "otochlaven_1";
				selectionFireAnim = "zasleh";
				minElev = -15;
				maxElev = 25;
				initElev = 0;
				minTurn = -30;
				maxTurn = 30;
				initTurn = 0;
				proxyIndex = 1;
				commanding = -1;
				soundServo[] = {"",0.01,1};
				gunBeg = "muzzle_1";
				gunEnd = "chamber_1";
				weapons[] = {"M2"};
				magazines[] = {"100Rnd_127x99_M2","100Rnd_127x99_M2","100Rnd_127x99_M2","100Rnd_127x99_M2"};
				gunnerName = "$STR_POSITION_CREWCHIEF";
				castGunnerShadow = 1;
				gunnerOpticsModel = "\ca\weapons\optika_empty";
				gunnerOutOpticsShowCursor = 1;
				gunnerOpticsShowCursor = 1;
				gunnerAction = "UH60_Gunner";
				gunnerInAction = "UH60_Gunner";
				memoryPointsGetInGunner = "pos gunner";
				memoryPointsGetInGunnerDir = "pos_gunner_dir";
				memoryPointGun = "machinegun_1";
				memoryPointGunnerOptics = "gunnerview_1";
				memoryPointGunnerOutOptics = "gunnerview_1";
				primaryGunner = 1;
				class ViewOptics
				{
					initAngleX = 0;
					minAngleX = -30;
					maxAngleX = 30;
					initAngleY = 0;
					minAngleY = -100;
					maxAngleY = 100;
					initFov = 0.42;
					minFov = 0.22;
					maxFov = 0.64;
				};
				gunnerForceOptics = 0;
			};
		};
	};
};