class BRAF_Worker_Refueller: BRAF_Worker_Covered
{
	model="braf\braf_soft\Braf_Truck\Braf_Tanker\Braf_Refueller.p3d";
	displayName="$STR_braf_soft_work_refuel_displayname";
	_generalMacro="BRAF_Worker_Fuel";
	//editorPreview="\braf\braf_insignia\editorpreview\soft\BRAF_Worker_Refueller.jpg";
	vehicleClass="Support";
	transportFuel=320;
	ace_refuel_fuelCargo=640;
	ace_refuel_hooks[]=
	{
		{1.13,-3.55,2.1},
		{-1.13,-3.55,2.1}
	};
	supplyRadius=10;
	secondaryExplosion=10000;
    fuelExplosionPower=5;
    explosionEffect="FuelExplosion";
	transportSoldier=2;
	class TransportItems
	{
		class _xx_FirstAidKit 
		{
			name = "FirstAidKit";
			count = 2;
		};
		class _xx_ToolKit 
		{
			name = "ToolKit";
			count = 1;
		};
	};
	class TransportBackpacks{};
	class TransportWeapons{};
	class TransportMagazines{};
	class CargoTurret;
	class Turrets: Turrets
	{
	};
	numberPhysicalWheels=6;
	class AnimationSources : AnimationSources   
	{
		class convoylight
		{
			source="user";
			animPeriod=0;
			initPhase=1;
		};
	};
	animationList[]=
	{
		"ConvoyLights",1,
	};
	class UserActions
	{
		class ConvoyLightsOn
		{
			displayName="Convoy Lights On";
			condition="driver this == player AND this animationPhase 'ConvoyLights' > 0.8";
			statement="this animate ['ConvoyLights', 0]";
			position="driverpos";
			showWindow=1;
			radius=2;
			priority=1;
			onlyForPlayer=1;
		};
		class ConvoyLightsOff: ConvoyLightsOn
		{
			displayName="Convoy Lights Off";
			condition="driver this == player AND this animationPhase 'ConvoyLights' < 0.2";
			statement="this animate ['ConvoyLights', 1]";
		};
	};
	class Wheels
	{
		class L1
		{
			side="left";
			suspTravelDirection[]={-0.125,-1,0};
			boneName="wheel_1_1_damper";
			center="wheel_1_1_center";
			boundary="wheel_1_1_bound";
			suspForceAppPointOffset="wheel_1_1_center";
			tireForceAppPointOffset="wheel_1_1_center";
			steering=1;
			width=0.35;
			mass=200;
			MOI=60;
			dampingRate=0.1;
			dampingRateDamaged=1;
			dampingRateDestroyed=1000;
			maxCompression=0.05;
			maxDroop=0.1;
			sprungMass=3425;
			springStrength=85625;
			springDamperRate=13700;
			maxBrakeTorque=30000;
			maxHandBrakeTorque=0;
			longitudinalStiffnessPerUnitGravity=10000;
			latStiffX=25;
			latStiffY=180;
			frictionVsSlipGraph[]=
			{
				{0,1},
				{0.5,1},
				{1,1}
			};
		};
		class L2: L1
		{
			boneName="wheel_1_2_damper";
			center="wheel_1_2_center";
			boundary="wheel_1_2_bound";
			suspForceAppPointOffset="wheel_1_2_center";
			tireForceAppPointOffset="wheel_1_2_center";
			steering=0;
			width=0.7;
		};
		class L3: L1
		{
			boneName="wheel_1_3_damper";
			center="wheel_1_3_center";
			boundary="wheel_1_3_bound";
			suspForceAppPointOffset="wheel_1_3_center";
			tireForceAppPointOffset="wheel_1_3_center";
			steering=0;
			width=0.7;
		};
		class R1: L1
		{
			side="right";
			boneName="wheel_2_1_damper";
			center="wheel_2_1_center";
			boundary="wheel_2_1_bound";
			suspForceAppPointOffset="wheel_2_1_center";
			tireForceAppPointOffset="wheel_2_1_center";
		};
		class R2: R1
		{
			boneName="wheel_2_2_damper";
			center="wheel_2_2_center";
			boundary="wheel_2_2_bound";
			suspForceAppPointOffset="wheel_2_2_center";
			tireForceAppPointOffset="wheel_2_2_center";
			steering=0;
			width=0.7;
		};
		class R3: R1
		{
			boneName="wheel_2_3_damper";
			center="wheel_2_3_center";
			boundary="wheel_2_3_bound";
			suspForceAppPointOffset="wheel_2_3_center";
			tireForceAppPointOffset="wheel_2_3_center";
			steering=0;
			width=0.7;
		};
	};
	hiddenSelections[]=
	{
		"Camo_1",
		"Camo_2",
		"Camo_3",
		"Camo_4",
		"Glass"
	};
	textureList[]=
	{
		"EB_F",
		1
	};
	hiddenSelectionsTextures[]=
	{
		"braf\braf_soft\BRAF_Truck\BRAF_Tanker\Data\EB\camo1_co.paa",
		"braf\braf_soft\BRAF_Truck\BRAF_Tanker\Data\EB\camo2_co.paa",
		"braf\braf_soft\BRAF_Truck\BRAF_Tanker\Data\EB\camo3_co.paa",
		"braf\braf_soft\BRAF_Truck\BRAF_Tanker\Data\EB\camo4_co.paa",
		"braf\braf_soft\BRAF_Truck\BRAF_Worker\Data\Glass_ca.paa"
	};
	class Damage
	{
		tex[]={};
		mat[]=
		{
			"braf\braf_soft\Braf_Truck\Braf_Worker\Data\camo1.rvmat",
			"braf\braf_damage\data\braf_worker\camo1_damage.rvmat",
			"braf\braf_damage\data\braf_worker\destruct.rvmat",
			
			"braf\braf_soft\Braf_Truck\Braf_Worker\Data\camo2.rvmat",
			"braf\braf_damage\data\braf_worker\camo2_damage.rvmat",
			"braf\braf_damage\data\braf_worker\destruct.rvmat",
			
			"braf\braf_soft\Braf_Truck\Braf_Worker\Data\camo3.rvmat",
			"braf\braf_damage\data\braf_worker\camo3_damage.rvmat",
			"braf\braf_damage\data\braf_worker\destruct.rvmat",
			
			"braf\braf_soft\Braf_Truck\Braf_Tanker\Data\camo4.rvmat",
			"braf\braf_damage\data\braf_worker\camo4_damage.rvmat",
			"braf\braf_damage\data\braf_worker\destruct.rvmat",
			
			"braf\braf_soft\Braf_Truck\Braf_Worker\Data\glass.rvmat",
			"braf\braf_damage\data\braf_worker\glass_damage.rvmat",
			"braf\braf_damage\data\braf_worker\glass_damage.rvmat"
		};
	};
};
