Jump to content
Alecont

Unable to show damage and destruct textures

Recommended Posts

Hello, sorry for my English but I need advice, as the title says I can not make the textures of damage work in my addon. I'll pass the config and model.cfg to see if I'm doing something wrong.

Spoiler

#define _ARMA_

enum {
	destructengine = 2,
	destructdefault = 6,
	destructwreck = 7,
	destructtree = 3,
	destructtent = 4,
	stabilizedinaxisx = 1,
	stabilizedinaxesxyz = 4,
	stabilizedinaxisy = 2,
	stabilizedinaxesboth = 3,
	destructno = 0,
	stabilizedinaxesnone = 0,
	destructman = 5,
	destructbuilding = 1
};

class CfgPatches 
{
	class acfaa_fmtv
	{
		units[] = 
		{
		"acfaa_m1083a1p2"
		};
		weapons[] = {};
		requiredVersion = 0.100000;
		requiredAddons[] = {};
	};
};
class CfgFunctions 
{	
	class acfaa_fmtv
	{
		tag = "acfaa_fmtv";
		class acfaa_fmtvFunctions 
		{
			file = "\acfaa_fmtv\fnc";
			class blackout{};
		};
	};
};
class DefaultEventhandlers;
class CfgMovesBasic
{
	class DefaultDie;
	class ManActions
	{
		acfaa_BMP2_Cargo04 = "acfaa_BMP2_Cargo04";
		acfaa_C130_Pilot = "acfaa_C130_Pilot";
		acfaa_MTVR_Driver = "acfaa_MTVR_Driver";
		acfaa_Truck_Cargo03 = "acfaa_Truck_Cargo03";
		acfaa_Truck_Cargo01 = "acfaa_Truck_Cargo01";
	};
};
class CfgMovesMaleSdr: CfgMovesBasic
{
	class States
	{
		class Crew;
		class acfaa_KIA_MTVR_Driver: DefaultDie
		{
			actions = "DeadActions";
			file = "\acfaa_fmtv\Anim\KIA_mtvr_driver.rtm";
			speed = 0.5;
			looped = 0;
			terminal = 1;
			soundEnabled = 0;
			connectTo[] = {"DeadState",0.1};
		};
		class acfaa_MTVR_Driver: Crew
		{
			file = "\acfaa_fmtv\Anim\Driver.rtm";
			interpolateTo[] = {"acfaa_KIA_MTVR_Driver",1};
		};
	};
};
class CfgVehicles 
{
	class Car;
	class Car_F: Car
	{
		class HitPoints;
	};
	class Truck_F: Car_F
	{
		class ViewPilot;
		class ViewOptics;
		class HitPoints: HitPoints
		{
			class HitGlass1;
			class HitGlass2;
			class HitGlass3;
			class HitGlass4;
			class HitGlass5;
			class HitBody;
			class HitFuel;
			class HitLFWheel;
			class HitLBWheel;
			class HitLMWheel;
			class HitRFWheel;
			class HitRBWheel;
			class HitRMWheel;
			class HitEngine;
		};
		class AnimationSources;
	};
	class Truck_02_base_F: Truck_F
	{
		class AnimationSources: AnimationSources
		{
			class HitGlass1;
		};
	};
	class acfaa_m1083a1p2_base: Truck_02_base_F 
	{
		author = "FAA mod";
		dlc = ;
		scope = 2;		
		scopeCurator = 2;
		scopeArsenal = 2;	
		model = "\acfaa_fmtv\acfaa_m1083a1p2.p3d";
		picture = ;
		Icon = ;
		mapSize = 8;
		driverLeftHandAnimName = "drivewheel";
		driverRightHandAnimName = ;
		driverRightLegAnimName = "pedal_thrust";
		driverAction = "driver_Truck_02";
		//driverInAction = "driver_Truck_02";
		supplyRadius = 4.5;
		tf_hasLRradio_api = 0;
		displayname = "M1083A2P1";
		vehicleClass = "car";
		driverDoor = "Door_LF";
		cargoDoors[] = {"Door_RF","Door_RF",""};
		side = 2;
		faction = "parg";
		crew = "arg_ea_fus";
		canFloat = 0;
		brakeIdleSpeed = 2;
		waterResistance = 0.5;
		waterDamageEngine = 0.9;
		waterLeakiness = 9.5;
		waterSpeedFactor = 0.8;
		crewVulnerable = true;
		wheelDamageThreshold = 0.700000;
		wheelDestroyThreshold = 0.990000;
		wheelDamageRadiusCoef = 0.950000;
		wheelDestroyRadiusCoef = 0.450000;
		crewCrashProtection = 0.5;
		thrustDelay = 0.45;
		idleRpm = 550;
		redRpm = 2500;
		antiRollbarForceCoef = 20;
		antiRollbarForceLimit = 35;
		antiRollbarSpeedMin = 10;
		antiRollbarSpeedMax = 60;
		accelAidForceSpd = 2.23;
		accelAidForceCoef = 3.0;
		accelAidForceYOffset = -1.3;
		memoryPointsGetInCargo[] = {"pos codriver","pos codriver","pos cargo"};
		memoryPointsGetInCargoDir[] = {"pos codriver dir","pos codriver dir","pos cargo dir"};
		slingLoadCargoMemoryPoints[] = {"SlingLoadCargo1","SlingLoadCargo2","SlingLoadCargo3","SlingLoadCargo4"};
		changeGearType = "rpmratio";
		changeGearOmegaRatios[] = {1.22917,0.416667,0.291667,0.208333,0.979167,0.25,0.916667,0.416667,0.916667,0.583333,0.916667,0.625,0.895833,0.625,0.916667,0.708333,1,0.75};
		class complexGearbox
		{
			GearboxRatios[] = {"R1",-4.84,"N",0,"D1",3.43,"D2",2.01,"D3",1.42,"D4",1,"D5",0.83,"D6",0.59};
			TransmissionRatios[] = {"High",8};
			gearBoxMode = "auto";
			moveOffGear = 1;
			driveString = "D";
			neutralString = "N";
			reverseString = "R";
		};
		simulation = "carx";
		dampersBumpCoef = 6;
		differentialType = "all_limited";
		frontRearSplit = 0.3;
		frontBias = 1.3;
		rearBias = 1.3;
		centreBias = 1.3;
		clutchStrength = 35.0;
		engineMOI = 3;
		enginePower = 270;
		minOmega = 50;
		maxOmega = 245;//241;
		peakTorque = 1450;//2260;
		//damperSize = 0.3; // max. damper amplitude
		//damperForce = 1; // damper reaction force (bigger is more visible)
		//damperDamping = 1; // schock absorbers bigger => more tough
		dampingRateFullThrottle = 0.08;
		dampingRateZeroThrottleClutchEngaged = 2;//2;
		dampingRateZeroThrottleClutchDisengaged = 0.35;//0.5;
		//numberPhysicalWheels = 6;
		precision = 9;
		torqueCurve[] = {{0.270833,0.625997},{0.5,0.805423},{0.6,1},{0.666667,0.988836},{0.75,0.944976},{0.833333,0.893142},{0.916667,0.848485},{1.09417,0}};
		changeGearMinEffectivity[] = {0.950000, 0.150000, 0.950000, 0.950000, 0.950000, 0.950000, 0.950000};
		switchTime = 0.100000;
		latency = 1.000000;
		fuelCapacity = 25;
		maxSpeed = 100;
		wheelCircumference = 3.705;
		cost = 70000;
		normalSpeedForwardCoef = 0.9;
		turnCoef = 3.00;
		terrainCoef = 2.0;
		steerAheadSimul = 0.200000;
		steerAheadPlan = 0.300000;
		predictTurnSimul = 0.900000;
		predictTurnPlan = 1.000000;
		brakeDistance = 3;
		acceleration = 15;
		armor = 100;
		damageResistance = 0.002430;
		enableGPS = 0;
		weapons[] = {"TruckHorn3"};
		magazines[] = {};
		threat[] = {1, 0.100000, 0.400000};
		transportAmmo = 0;
		transportRepair = 0;
		transportFuel = 0;
		transportSoldier = 14;
		cargoProxyIndexes[] = {1,2,3,4,5,6,7,8,9,10,13,14};
		getInProxyOrder[] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14};
		
		attenuationEffectType = "CarAttenuation";
		soundGetIn[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\getin", db-5, 1};
		soundGetOut[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\getout", db-5, 1, 40};
		soundDammage[] = {"", 0.562341, 1};
		soundEngineOnInt[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_start", 0.354813, 1.0};
		soundEngineOnExt[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_start", 0.707946, 1.0, 200};
		soundEngineOffInt[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_stop", 0.354813, 1.0};
		soundEngineOffExt[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_stop", 0.707946, 1.0, 200};
		buildCrash0[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_01", 1.0, 1, 200};
		buildCrash1[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_02", 1.0, 1, 200};
		buildCrash2[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_03", 1.0, 1, 200};
		buildCrash3[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_04", 1.0, 1, 200};
		soundBuildingCrash[] = {"buildCrash0", 0.25, "buildCrash1", 0.25, "buildCrash2", 0.25, "buildCrash3", 0.25};
		WoodCrash0[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_01", 1.0, 1, 200};
		WoodCrash1[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_02", 1.0, 1, 200};
		WoodCrash2[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_03", 1.0, 1, 200};
		WoodCrash3[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_04", 1.0, 1, 200};
		WoodCrash4[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_05", 1.0, 1, 200};
		WoodCrash5[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_06", 1.0, 1, 200};
		soundWoodCrash[] = {"woodCrash0", 0.166, "woodCrash1", 0.166, "woodCrash2", 0.166, "woodCrash3", 0.166, "woodCrash4", 0.166, "woodCrash5", 0.166};
		ArmorCrash0[] = {"A3\sounds_f\Vehicles\soft\noises\crash_vehicle_01", 1.0, 1, 200};
		ArmorCrash1[] = {"A3\sounds_f\Vehicles\soft\noises\crash_vehicle_02", 1.0, 1, 200};
		ArmorCrash2[] = {"A3\sounds_f\Vehicles\soft\noises\crash_vehicle_03", 1.0, 1, 200};
		ArmorCrash3[] = {"A3\sounds_f\Vehicles\soft\noises\crash_vehicle_04", 1.0, 1, 200};
		soundArmorCrash[] = {"ArmorCrash0", 0.25, "ArmorCrash1", 0.25, "ArmorCrash2", 0.25, "ArmorCrash3", 0.25};		
		class Sounds {
			class Idle_ext {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_idle", db-8, 1, 150};
				frequency = "0.95	+	((rpm/	4500) factor[(800/	4500),(1400/	4500)])*0.15";
				volume = "engineOn*camPos*(((rpm/	4500) factor[(600/	4500),(1100/	4500)])	*	((rpm/	4500) factor[(1800/	4500),(1300/	4500)]))";
			};
			
			class Engine {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_low1", db-7, 1, 250};
				frequency = "0.9	+	((rpm/	4500) factor[(1400/	4500),(2100/	4500)])*0.2";
				volume = "engineOn*camPos*(((rpm/	4500) factor[(1400/	4500),(1800/	4500)])	*	((rpm/	4500) factor[(2300/	4500),(2000/	4500)]))";
			};
			
			class Engine1_ext {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_low2", db-5, 1, 300};
				frequency = "0.9	+		((rpm/	4500) factor[(2100/	4500),(2800/	4500)])*0.2";
				volume = "engineOn*camPos*(((rpm/	4500) factor[(1900/	4500),(2300/	4500)])	*	((rpm/	4500) factor[(3000/	4500),(2500/	4500)]))";
			};
			
			class Engine2_ext {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_mid", db-3, 1, 350};
				frequency = "0.9	+	((rpm/	4500) factor[(2800/	4500),(3600/	4500)])*0.2";
				volume = "engineOn*camPos*(((rpm/	4500) factor[(2500/	4500),(3100/	4500)])	*	((rpm/	4500) factor[(4500/	4500),(3700/	4500)]))";
			};
			
			class Engine3_ext {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_high", db0, 1, 400};
				frequency = "0.95	+	((rpm/	4500) factor[(3600/	4500),(4500/	4500)])*0.1";
				volume = "engineOn*camPos*((rpm/	4500) factor[(3800/	4500),(4500/	4500)])";
			};
			
			class IdleThrust {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_exhaust_idle", db-5, 1, 200};
				frequency = "0.95	+	((rpm/	4500) factor[(800/	4500),(1400/	4500)])*0.15";
				volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(600/	4500),(1100/	4500)])	*	((rpm/	4500) factor[(1800/	4500),(1300/	4500)]))";
			};
			
			class EngineThrust {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_exhaust_low1", db-3, 1, 350};
				frequency = "0.9	+	((rpm/	4500) factor[(1400/	4500),(2100/	4500)])*0.2";
				volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(1400/	4500),(1800/	4500)])	*	((rpm/	4500) factor[(2300/	4500),(2000/	4500)]))";
			};
			
			class Engine1_Thrust_ext {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_exhaust_low2", db-1, 1, 400};
				frequency = "0.9	+		((rpm/	4500) factor[(2100/	4500),(2800/	4500)])*0.2";
				volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(1900/	4500),(2300/	4500)])	*	((rpm/	4500) factor[(3000/	4500),(2500/	4500)]))";
			};
			
			class Engine2_Thrust_ext {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_exhaust_mid", db1, 1, 425};
				frequency = "0.9	+	((rpm/	4500) factor[(2800/	4500),(3600/	4500)])*0.2";
				volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(2500/	4500),(3100/	4500)])	*	((rpm/	4500) factor[(4500/	4500),(3700/	4500)]))";
			};
			
			class Engine3_Thrust_ext {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_exhaust_high", db2, 1, 450};
				frequency = "0.95	+	((rpm/	4500) factor[(3600/	4500),(4500/	4500)])*0.1";
				volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/	4500) factor[(3800/	4500),(4500/	4500)])";
			};
			
			class Idle_int {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_idle", db-12, 1};
				frequency = "0.95	+	((rpm/	4500) factor[(800/	4500),(1400/	4500)])*0.15";
				volume = "engineOn*(1-camPos)*(((rpm/	4500) factor[(600/	4500),(1100/	4500)])	*	((rpm/	4500) factor[(1800/	4500),(1300/	4500)]))";
			};
			
			class Engine_int {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_low1", db-10, 1};
				frequency = "0.9	+	((rpm/	4500) factor[(1400/	4500),(2100/	4500)])*0.2";
				volume = "engineOn*(1-camPos)*(((rpm/	4500) factor[(1400/	4500),(1800/	4500)])	*	((rpm/	4500) factor[(2300/	4500),(2000/	4500)]))";
			};
			
			class Engine1_int {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_low2", db-8, 1};
				frequency = "0.9	+		((rpm/	4500) factor[(2100/	4500),(2800/	4500)])*0.2";
				volume = "engineOn*(1-camPos)*(((rpm/	4500) factor[(1900/	4500),(2300/	4500)])	*	((rpm/	4500) factor[(3000/	4500),(2500/	4500)]))";
			};
			
			class Engine2_int {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_mid", db-6, 1};
				frequency = "0.9	+	((rpm/	4500) factor[(2800/	4500),(3600/	4500)])*0.2";
				volume = "engineOn*(1-camPos)*(((rpm/	4500) factor[(2500/	4500),(3100/	4500)])	*	((rpm/	4500) factor[(4500/	4500),(3700/	4500)]))";
			};
			
			class Engine3_int {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_high", db-4, 1};
				frequency = "0.95	+	((rpm/	4500) factor[(3600/	4500),(4500/	4500)])*0.1";
				volume = "engineOn*(1-camPos)*((rpm/	4500) factor[(3800/	4500),(4500/	4500)])";
			};
			
			class IdleThrust_int {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_exhaust_idle", db-9, 1};
				frequency = "0.95	+	((rpm/	4500) factor[(800/	4500),(1400/	4500)])*0.15";
				volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(600/	4500),(1100/	4500)])	*	((rpm/	4500) factor[(1800/	4500),(1300/	4500)]))";
			};
			
			class EngineThrust_int {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_exhaust_low1", db-7, 1};
				frequency = "0.9	+	((rpm/	4500) factor[(1400/	4500),(2100/	4500)])*0.2";
				volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(1400/	4500),(1800/	4500)])	*	((rpm/	4500) factor[(2300/	4500),(2000/	4500)]))";
			};
			
			class Engine1_Thrust_int {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_exhaust_low2", db-5, 1};
				frequency = "0.9	+		((rpm/	4500) factor[(2100/	4500),(2800/	4500)])*0.2";
				volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(1900/	4500),(2300/	4500)])	*	((rpm/	4500) factor[(3000/	4500),(2500/	4500)]))";
			};
			
			class Engine2_Thrust_int {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_exhaust_mid", db-3, 1};
				frequency = "0.9	+	((rpm/	4500) factor[(2800/	4500),(3600/	4500)])*0.2";
				volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(2500/	4500),(3100/	4500)])	*	((rpm/	4500) factor[(4500/	4500),(3700/	4500)]))";
			};
			
			class Engine3_Thrust_int {
				sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_exhaust_high", db-2, 1};
				frequency = "0.95	+	((rpm/	4500) factor[(3600/	4500),(4500/	4500)])*0.1";
				volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/	4500) factor[(3800/	4500),(4500/	4500)])";
			};
			
			class TiresRockOut {
				sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_dirt_soft_1", db3, 1.0, 60};
				frequency = "1";
				volume = "camPos*rock*(speed factor[2, 20])";
			};
			
			class TiresSandOut {
				sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-sand1", db3, 1.0, 60};
				frequency = "1";
				volume = "camPos*sand*(speed factor[2, 20])";
			};
			
			class TiresGrassOut {
				sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_dirt_soft_2", db2, 1.0, 60};
				frequency = "1";
				volume = "camPos*grass*(speed factor[2, 20])";
			};
			
			class TiresMudOut {
				sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-mud2", db1, 1.0, 60};
				frequency = "1";
				volume = "camPos*mud*(speed factor[2, 20])";
			};
			
			class TiresGravelOut {
				sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_gravel_1", db2, 1.0, 60};
				frequency = "1";
				volume = "camPos*gravel*(speed factor[2, 20])";
			};
			
			class TiresAsphaltOut {
				sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_asfalt_2", db1, 1.0, 60};
				frequency = "1";
				volume = "camPos*asphalt*(speed factor[2, 20])";
			};
			
			class NoiseOut {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_ext_car_3", db1, 1.0, 90};
				frequency = "1";
				volume = "camPos*(damper0 max 0.02)*(speed factor[0, 8])";
			};
			
			class TiresRockIn {
				sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_dirt_soft_1", db-3, 1.0};
				frequency = "1";
				volume = "(1-camPos)*rock*(speed factor[2, 20])";
			};
			
			class TiresSandIn {
				sound[] = {"A3\Sounds_F\vehicles\soft\tires\int-tires-sand2", db-3, 1.0};
				frequency = "1";
				volume = "(1-camPos)*sand*(speed factor[2, 20])";
			};
			
			class TiresGrassIn {
				sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_dirt_soft_2", db-3, 1.0};
				frequency = "1";
				volume = "(1-camPos)*grass*(speed factor[2, 20])";
			};
			
			class TiresMudIn {
				sound[] = {"A3\Sounds_F\vehicles\soft\tires\int-tires-mud2", db-3, 1.0};
				frequency = "1";
				volume = "(1-camPos)*mud*(speed factor[2, 20])";
			};
			
			class TiresGravelIn {
				sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_gravel_1", db-3, 1.0};
				frequency = "1";
				volume = "(1-camPos)*gravel*(speed factor[2, 20])";
			};
			
			class TiresAsphaltIn {
				sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_asfalt_2", db-3, 1.0};
				frequency = "1";
				volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
			};
			
			class NoiseIn {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_int_car_3", db-5, 1.0};
				frequency = "1";
				volume = "(damper0 max 0.1)*(speed factor[0, 8])*(1-camPos)";
			};
			
			class breaking_ext_road {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04", db-3, 1, 80};
				frequency = 1;
				volume = "engineOn*camPos*asphalt*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 10])";
			};
			
			class acceleration_ext_road {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02", db-3, 1, 80};
				frequency = 1;
				volume = "engineOn*camPos*asphalt*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
			};
			
			class turn_left_ext_road {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02", db-3, 1, 80};
				frequency = 1;
				volume = "engineOn*camPos*asphalt*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
			};
			
			class turn_right_ext_road {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02", db-3, 1, 80};
				frequency = 1;
				volume = "engineOn*camPos*asphalt*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
			};
			
			class breaking_ext_dirt {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_14_dirt_breaking", db-3, 1, 60};
				frequency = 1;
				volume = "engineOn*camPos*(1-asphalt)*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 10])";
			};
			
			class acceleration_ext_dirt {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\acceleration_dirt_ext_1", db-3, 1, 60};
				frequency = 1;
				volume = "engineOn*camPos*(1-asphalt)*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
			};
			
			class turn_left_ext_dirt {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt", db-3, 1, 60};
				frequency = 1;
				volume = "engineOn*camPos*(1-asphalt)*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
			};
			
			class turn_right_ext_dirt {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt", db-3, 1, 60};
				frequency = 1;
				volume = "engineOn*camPos*(1-asphalt)*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
			};
			
			class breaking_int_road {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04_int", db-10, 1};
				frequency = 1;
				volume = "engineOn*asphalt*(1-camPos)*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 6])";
			};
			
			class acceleration_int_road {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int", db-10, 1};
				frequency = 1;
				volume = "engineOn*asphalt*(1-camPos)*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
			};
			
			class turn_left_int_road {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int", db-10, 1};
				frequency = 1;
				volume = "engineOn*asphalt*(1-camPos)*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
			};
			
			class turn_right_int_road {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int", db-10, 1};
				frequency = 1;
				volume = "engineOn*asphalt*(1-camPos)*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
			};
			
			class breaking_int_dirt {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_14_dirt_breaking_int", db-10, 1};
				frequency = 1;
				volume = "engineOn*(1-asphalt)*(1-camPos)*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 6])";
			};
			
			class acceleration_int_dirt {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\acceleration_dirt_int_1", db-10, 1};
				frequency = 1;
				volume = "engineOn*(1-asphalt)*(1-camPos)*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
			};
			
			class turn_left_int_dirt {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt_int", db-10, 1};
				frequency = 1;
				volume = "engineOn*(1-asphalt)*(1-camPos)*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
			};
			
			class turn_right_int_dirt {
				sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt_int", db-10, 1};
				frequency = 1;
				volume = "engineOn*(1-asphalt)*(1-camPos)*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
			};
		};
		class AcreRacks 
		{
			class Rack_1 
			{
				displayName = "Dashboard Upper";
				shortName = "D.Up";
				componentName = "ACRE_VRC110";
				//ACRE_POS_2DOOR
				disabledPositions[] = {};
				defaultComponents[] = {};
				mountedRadio = ;
				isRadioRemovable = 1;
				intercom[] = {};
			};
			class Rack_2 
			{
				displayName = "Dashboard Lower";
				shortName = "D.Low";
				componentName = "ACRE_VRC103";
				//ACRE_POS_2DOOR
				disabledPositions[] = {};
				defaultComponents[] = {};
				mountedRadio = "ACRE_PRC117F";
				isRadioRemovable = 0;
				intercom[] = {};
			};
		};
		class AnimationSources: AnimationSources
		{
			class Door_LF
			{
				source = "door";
				animPeriod = 0.8;
				sound = ;
				soundPosition = "DoorL_axis";
			};
			class Door_RF: Door_LF
			{
				soundPosition = "DoorR_axis";
			};
			class hide_cover
			{
				source = "user";
				mass = -20;
				displayName = "hide cover";
				author = ;
				animPeriod = 1e-05;
				initPhase = 0;
			};
			class HitLFWheel
			{
				source = "Hit";
				hitpoint = "HitLFWheel";
				raw = 1;
			};
			class HitRFWheel: HitLFWheel
			{
				hitpoint = "HitRFWheel";
			};
			class HitLBWheel: HitLFWheel
			{
				hitpoint = "HitLF2Wheel";
			};
			class HitRBWheel: HitLFWheel
			{
				hitpoint = "HitRF2Wheel";
			};
			class HitLMWheel: HitLFWheel
			{
				hitpoint = "HitLMWheel";
			};
			class HitRMWheel: HitLFWheel
			{
				hitpoint = "HitRMWheel";
			};
			class brakelight_normal_hide 
			{
				displayName = "Turn normal brake lights off";
				source = "user";
				initPhase = 0;
				animPeriod = 0.01;
				forceAnimatePhase = 0;
				forceAnimate[] = {"blackout_hide",1};
			};
		};
		class Components;
		class Wheels 
		{
			class LF 
			{
				boneName = "wheel_1_1_damper";
				steering = 1;
				side = "left";
				center = "wheel_1_1_axis";
				boundary = "wheel_1_1_bound";
				width = 0.34;
				mass = 60;
				MOI = 45;
				dampingRate = 0.1;
				dampingRateDamaged = 1;
				dampingRateDestroyed = 1000;
				maxBrakeTorque = 20000;
				maxHandBrakeTorque = 0;
				suspTravelDirection[]={-0.125,-1,0};
				//suspTravelDirection[] = {0, -1, 0};
				suspForceAppPointOffset = "wheel_1_1_axis";
				tireForceAppPointOffset = "wheel_1_1_axis";
				maxCompression = 0.10;
				mMaxDroop = 0.10;
				sprungMass = -1;
				springStrength = 64931;
				springDamperRate = 20778;
				longitudinalStiffnessPerUnitGravity = 10000;
				latStiffX = 25;
				latStiffY = 180;
				frictionVsSlipGraph[] = {{0,1},{0.5,1},{1,1}};
			};
			
			class LR : LF 
			{
				boneName = "wheel_1_2_damper";
				steering = 0;
				center = "wheel_1_2_axis";
				boundary = "wheel_1_2_bound";
				suspForceAppPointOffset = "wheel_1_2_axis";
				tireForceAppPointOffset = "wheel_1_2_axis";
				maxHandBrakeTorque = 36000;
			};
			
			class RF : LF 
			{
				boneName = "wheel_2_1_damper";
				center = "wheel_2_1_axis";
				boundary = "wheel_2_1_bound";
				suspForceAppPointOffset = "wheel_2_1_axis";
				tireForceAppPointOffset = "wheel_2_1_axis";
				steering = 1;
				side = "right";
				suspTravelDirection[] = {0.125,-1,0};
			};
			
			class RR : LF 
			{
				boneName = "wheel_2_2_damper";
				steering = 0;
				center = "wheel_2_2_axis";
				boundary = "wheel_2_2_bound";
				suspForceAppPointOffset = "wheel_2_2_axis";
				tireForceAppPointOffset = "wheel_2_2_axis";
				maxHandBrakeTorque = 36000;
			};
			
			class RM : RF 
			{
				boneName = "wheel_2_3_damper";
				steering = 0;
				center = "wheel_2_3_axis";
				boundary = "wheel_2_3_bound";
				suspForceAppPointOffset = "wheel_2_3_axis";
				tireForceAppPointOffset = "wheel_2_3_axis";
				maxHandBrakeTorque = 36000;
			};
			
			class LM : RF 
			{
				boneName = "wheel_1_3_damper";
				steering = 0;
				center = "wheel_1_3_axis";
				boundary = "wheel_1_3_bound";
				suspForceAppPointOffset = "wheel_1_3_axis";
				tireForceAppPointOffset = "wheel_1_3_axis";
				maxHandBrakeTorque = 36000;
			};
			
		};
		cargoAction[]=
		{
			"passenger_generic01_foldhands",
			"passenger_apc_generic02",
			"passenger_apc_generic04",
			"passenger_apc_generic03",
			"passenger_apc_generic01",
			"passenger_apc_narrow_generic01",
			"passenger_generic01_foldhands",
			"passenger_generic01_leanleft",
			"passenger_generic01_leanright",
			"passenger_apc_generic01",
			"passenger_generic01_leanleft",
			"passenger_generic01_foldhands",
			"passenger_apc_generic02",
			"passenger_apc_generic03",
			"passenger_apc_narrow_generic01",
			"passenger_apc_narrow_generic03",
			"passenger_generic01_foldhands"
		};
		cargoCompartments[]=
		{
			"Compartment1",
			"Compartment2"
		};
		class VehicleTransport
		{
			class Cargo
			{
				parachuteClass = "B_Parachute_02_F";
				parachuteHeightLimit = 10;
				canBeTransported = 1;
				dimensions[] = {"BBox_1_1_pos","BBox_1_2_pos"};
			};
			class Carrier
			{
				cargoBayDimensions[] = {"VTV_cargo_1","VTV_cargo_2"};
				disableHeightLimit = 0;
				maxLoadMass = 2267;
				cargoAlignment[] = {"center","front"};
				cargoSpacing[] = {0,0,0};
				exits[] = {"VTV_exit"};
				unloadingInterval = 2;
				loadingDistance = 3;
				loadingAngle = 60;
				parachuteClassDefault = "B_Parachute_02_F";
				parachuteHeightLimitDefault = 5;
			};
		};
		cargoIsCoDriver[]={1,0};
		//cargoAction[] = {"acfaa_Truck_Cargo01", "acfaa_Truck_Cargo01", "acfaa_Truck_Cargo03", "acfaa_Truck_Cargo03", "acfaa_Truck_Cargo02", "acfaa_Truck_Cargo03", "acfaa_Truck_Cargo02", "acfaa_Truck_Cargo02", "acfaa_Truck_Cargo03", "acfaa_Truck_Cargo03", "acfaa_Truck_Cargo03", "acfaa_Truck_Cargo03"};
		typicalCargo[] = {};
		initCargoAngleY = 185;
		getInAction = "GetInHigh";
		getOutAction = "GetOutHigh";
		cargoGetInAction[]=
		{
			"GetInMRAP_01",
			"GetInHemttBack"
		};
		hideWeaponsDriver=0;
		viewCargoShadow = 1;
		class RenderTargets
		{
			class mirrors_Left
			{
				renderTarget = "rendertarget0";
				class CameraView1
				{
					pointPosition = "PIP0_pos";		// memory point of PiP origin
					pointDirection = "PIP0_dir";	/// memory point of PiP direction
					renderVisionMode = 4;			/// what quality should the PiP be
					renderQuality = 2;				/// zero means standard vision
					fov = 0.7;
					BBoxes[] = {"PIP_0_TL","PIP_0_TR","PIP_0_BL","PIP_0_BR"};
				};
			};
			class mirrors_Right
			{
				renderTarget = "rendertarget1";
				class CameraView1
				{
					pointPosition = "PIP1_pos";		/// memory point of PiP origin
					pointDirection = "PIP1_dir";	/// memory point of PiP direction
					renderVisionMode = 4;			/// what quality should the PiP be
					renderQuality = 2;				/// zero means standard vision
					fov = 0.7;
				};
				BBoxes[] = {"PIP_1_TL","PIP_1_TR","PIP_1_BL","PIP_1_BR"};
			};
		};	
		class Turrets 
		{
		};
		class HitPoints: HitPoints 
		{
			class HitDoorL 
			{
				armorComponent = "hit_door_l";
				name = "hit_door_l";
				visual = "doorl";
				armor = 1;
				minimalHit = 0.0;
				passthrough = 0;
				explosionShielding = 1.5;
				radius = 0.33;
			};
			class HitDoorR: HitDoorL 
			{ 
				armorComponent = "hit_door_r";
				name = "hit_door_r"; 
				visual = "doorr";
			};
			class HitFuel: HitFuel
			{
				armor = 0.5;
				passThrough = 1;
				name = "palivo";
				armorComponent = "hit_fuel";
				minimalHit = 0.0;
				explosionShielding = 1.5;
				radius = 0.25;
			};
			class HitEngine: HitEngine
			{
				armor = 0.5;
				passThrough = 0.2;
				visual = "zbytek";
				armorComponent = "hit_engine";
				name = "motor";
				minimalHit = 0.01;
				explosionShielding = 0.5;
				radius = 0.45;
			};
			class HitBody: HitBody
			{
				name = "";
				visual = "zbytek";
				passThrough = 1;
			};
			class HitGlass1 : HitGlass1 
			{
				name = "Glass1";
				armor = 1;
				passThrough = 0;
				explosionShielding = 3;
				radius = 0.33;
			};			
			class HitGlass2 : HitGlass2 
			{
				name = "Glass2";
				armor = 1;
				passThrough = 0;
				explosionShielding = 3;
				radius = 0.33;
			};			
			class HitGlass3 : HitGlass3 
			{
				name = "Glass3";
				armor = 1;
				passThrough = 0;
				explosionShielding = 3;
				radius = 0.33;
			};			
			class HitGlass4 : HitGlass4 
			{
				name = "Glass4";
				armor = 1;
				passThrough = 0;
				explosionShielding = 3;
				radius = 0.33;
			};	
			class HitGlass5 : HitGlass4 
			{
				name = "Glass5";
				armor = 1;
				passThrough = 0;
				explosionShielding = 3;
				radius = 0.33;
			};				
		};
		class Reflectors 
		{
			class Left 
			{
				color[] = {70, 75, 100, 1};
				ambient[] = {100, 100, 100, 0};
				position = "Light_L";
				direction = "Light_L_end";
				hitpoint = "Light_L";
				selection = "Light_L";
				size = 1;
				innerAngle = 30;
				outerAngle = 179;
				coneFadeCoef = 10;
				intensity = 50;
				useFlare = 0;
				dayLight = 0;
				flareSize = 1.0;
				class Attenuation 
				{
					start = 1.0;
					constant = 0;
					linear = 0;
					quadratic = 0.05;
					hardLimitStart = 50;
					hardLimitEnd = 80;
				};
			};
			class Right: Left 
			{
				position = "Light_R";
				direction = "Light_R_end";
				hitpoint = "Light_R";
				selection = "Light_R";
			};
			class Right2: Right
			{
				useFlare = 1;
				position = "light_R_flare";
			};
			class Left2: Left
			{
				useFlare = 1;
				position = "light_L_flare";
			};
		};
		aggregateReflectors[] = {{"Left","Right","Left2","Right2"}};
		class Exhausts 
		{
			class Exhaust 
			{
				position = "vyfuk start";
				direction = "vyfuk konec";
				effect = "ExhaustEffectHEMTT";
			    intensity = 100;
			};
		};
		hiddenSelections[] = {"camo1","camo2","camo3","camo4"};
		hiddenSelectionsTextures[] = {"acfaa_fmtv\data\texturas\m1082_cabin_co.paa","acfaa_fmtv\data\texturas\m1082_cover_co.paa","acfaa_fmtv\data\texturas\m1082_chasis_co.paa","acfaa_fmtv\data\texturas\m1082_tires_co.paa"};
		class Damage 
		{
			tex[] = {};
			mat[] = {"acfaa_fmtv\data\texturas\m1082_cabin.rvmat","acfaa_fmtv\data\texturas\m1082_cabin_damage.rvmat","acfaa_fmtv\data\texturas\m1082_cabin_destruct.rvmat","acfaa_fmtv\data\texturas\m1082_chasis.rvmat","acfaa_fmtv\data\texturas\m1082_chasis_damage.rvmat","acfaa_fmtv\data\texturas\m1082_chasis_destruct.rvmat","acfaa_fmtv\data\texturas\m1082_cover.rvmat","acfaa_fmtv\data\texturas\m1082_cover_damage.rvmat","acfaa_fmtv\data\texturas\m1082_cover_destruct.rvmat"};
		};
	};
};

 

Spoiler

class CfgSkeletons
{
	class Default
	{
		isDiscrete = 1;
		skeletonInherit = "";
		skeletonBones[] = {};
	};
	class Vehicle: Default {};	
	class Car: Vehicle {};
	class acfaa_m1083a1p2: Car
	{
		SkeletonBones[]=
		{
			"drivewheel", "",
			"wheel_1_1_damper_land","",
			"wheel_1_2_damper_land","",
			"wheel_1_3_damper_land","",
			//"wheel_1_4_damper_land","",

			"wheel_2_1_damper_land","",
			"wheel_2_2_damper_land","",
			"wheel_2_3_damper_land","", 
			//"wheel_2_4_damper_land","",

			"wheel_1_1_damper","wheel_1_1_damper_land",
			"wheel_1_2_damper","wheel_1_2_damper_land",
			"wheel_1_3_damper","wheel_1_3_damper_land",
			//"wheel_1_4_damper","wheel_1_4_damper_land",

			"wheel_2_1_damper","wheel_2_1_damper_land",
			"wheel_2_2_damper","wheel_2_2_damper_land",
			"wheel_2_3_damper","wheel_2_3_damper_land",
			//"wheel_2_4_damper","wheel_2_4_damper_land",

			"wheel_1_1_steering","wheel_1_1_damper",
			"wheel_1_2_steering","wheel_1_2_damper",
			"wheel_1_3_steering","wheel_1_3_damper",
			//"wheel_1_4_steering","wheel_1_4_damper",

			"wheel_2_1_steering","wheel_2_1_damper",
			"wheel_2_2_steering","wheel_2_2_damper",
			"wheel_2_3_steering","wheel_2_3_damper",
			//"wheel_2_4_steering","wheel_2_4_damper",

			"wheel_1_1","wheel_1_1_steering",
			"wheel_1_2","wheel_1_2_steering",
			"wheel_1_3","wheel_1_3_steering",
			//"wheel_1_4","wheel_1_4_steering",

			"wheel_2_1","wheel_2_1_steering",
			"wheel_2_2","wheel_2_2_steering",
			"wheel_2_3","wheel_2_3_steering",
			//"wheel_2_4","wheel_2_4_steering",

			"wheel_1_1_unhide","wheel_1_1",
			"wheel_1_2_unhide","wheel_1_2",
			"wheel_1_3_unhide","wheel_1_3",
			//"wheel_1_4_unhide","wheel_1_4",

			"wheel_2_1_unhide","wheel_2_1",
			"wheel_2_2_unhide","wheel_2_2",
			"wheel_2_3_unhide","wheel_2_3",
			//"wheel_2_4_unhide","wheel_2_4",

			"wheel_1_1_hide","wheel_1_1",
			"wheel_1_2_hide","wheel_1_2",
			"wheel_1_3_hide","wheel_1_3",
			//"wheel_1_4_hide","wheel_1_4",

			"wheel_2_1_hide","wheel_2_1",
			"wheel_2_2_hide","wheel_2_2",
			"wheel_2_3_hide","wheel_2_3",
			//"wheel_2_4_hide","wheel_2_4",

			//"OtocVez","",
			//"OtocHlaven","OtocVez",

			"damageHide", "",
			"glass1", "damagehide",
			"glass2", "damagehide", 
			"glass5", "damagehide",
			"cover", "damagehide",
			"Light_R", "damagehide",
			"Light_L", "damagehide",
			"light_r_flare", "damagehide",
			"light_l_flare", "damagehide",
			"mph", "damagehide",
			"rpm", "damagehide",	
			"oil", "damagehide",
			"fuel", "damagehide",
			"reverse_light", "damagehide",
			"doorl", "",
			"glass4", "doorl",
			"doorr", "",
			"glass3", "doorr",
			"pedal_brake", "",
			"pedal_thrust", "",
			"hatch_exhaust", ""
		};
	};
};
class CfgModels
{
	class Vehicle
	{
		sections[]={};
		sectionsInherit="";
		skeletonName="";		
	};
	class Car: Vehicle
	{
		sections[]={};
		sectionsInherit="";
		skeletonName="";		
	};
	class acfaa_m1083a1p2: Car
	{
		skeletonName="acfaa_m1083a1p2";
		sections[]=
		{
			"zadni svetlo",
			"brzdove svetlo",
			"glass1",
			"glass2",
			"glass3",
			"glass4",
			"glass5",
			"light_l",
			"light_r",
			"zbytek",
			"spz",
			"camo1",
			"camo2",
			"camo3",
			"camo4",
			"wheel_1_1_damage",
			"wheel_1_2_damage",
			"wheel_2_1_damage", 
			"wheel_2_2_damage",
			"wheel_1_3_damage", 
			"wheel_2_3_damage", 
			"light_r_flare",
			"light_l_flare",
			"motor"
		};
		class Animations
		{
			class damageHide
			{
				type="hide";
				hideValue=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="damage";
				selection="damagehide";
			};
			class wheel_1_1_destruct
			{
				type="hide";
				hideValue=0.99;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitLFWheel";
				sourceAddress=0;
				selection="wheel_1_1_hide";
			};
			class wheel_1_2_destruct
			{
				type="hide";
				hideValue=0.99;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitLBWheel";
				sourceAddress=0;
				selection="wheel_1_2_hide";
			};
			class wheel_1_3_destruct
			{
				type="hide";
				hideValue=0.99;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitLMWheel";
				sourceAddress=0;
				selection="wheel_1_3_hide";
			};
			class wheel_2_1_destruct
			{
				type="hide";
				hideValue=0.99;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitRFWheel";
				sourceAddress=0;
				selection="wheel_2_1_hide";
			};
			class wheel_2_2_destruct
			{
				type="hide";
				hideValue=0.99;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitRBWheel";
				sourceAddress=0;
				selection="wheel_2_2_hide";
			};
			class wheel_2_3_destruct
			{
				type="hide";
				hideValue=0.99;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitRMWheel";
				sourceAddress=0;
				selection="wheel_2_3_hide";
			};
			class wheel_1_1_destruct_unhide
			{
				type="hide";
				hideValue=0.01;
				minValue=-1;
				maxValue=0;
				minPhase=-1;
				maxPhase=0;
				source="HitLFWheel";
				sourceAddress=2;
				selection="wheel_1_1_unhide";
			};
			class wheel_1_2_destruct_unhide
			{
				type="hide";
				hideValue=0.01;
				minValue=-1;
				maxValue=0;
				minPhase=-1;
				maxPhase=0;
				source="HitLBWheel";
				sourceAddress=2;
				selection="wheel_1_2_unhide";
			};
			class wheel_1_3_destruct_unhide
			{
				type="hide";
				hideValue=0.01;
				minValue=-1;
				maxValue=0;
				minPhase=-1;
				maxPhase=0;
				source="HitLMWheel";
				sourceAddress=2;
				selection="wheel_1_3_unhide";
			};
			class wheel_2_1_destruct_unhide
			{
				type="hide";
				hideValue=0.01;
				minValue=-1;
				maxValue=0;
				minPhase=-1;
				maxPhase=0;
				source="HitRFWheel";
				sourceAddress=2;
				selection="wheel_2_1_unhide";
			};
			class wheel_2_2_destruct_unhide
			{
				type="hide";
				hideValue=0.01;
				minValue=-1;
				maxValue=0;
				minPhase=-1;
				maxPhase=0;
				source="HitRBWheel";
				sourceAddress=2;
				selection="wheel_2_2_unhide";
			};
			class wheel_2_3_destruct_unhide
			{
				type="hide";
				hideValue=0.01;
				minValue=-1;
				maxValue=0;
				minPhase=-1;
				maxPhase=0;
				source="HitRMWheel";
				sourceAddress=2;
				selection="wheel_2_3_unhide";
			};
			class frontdoorl
            {
                type="rotation";
                source="door_lf";
                selection="doorl";
                sourceAddress="clamp";
				axis="doorl_axis";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                angle0=0;
                angle1=-1.396263;
            };
            class frontdoorr
            {
                type="rotation";
                source="door_rf";
                selection="doorr";
                sourceAddress="clamp";
				axis="doorr_axis";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                angle0=0;
                angle1=1.396263;
            };
			class Glass1_destruct
			{
				type="hide";
				hideValue=0.99;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitGlass1";
				sourceAddress=0;
				selection="glass1";
			};
			class Glass2_destruct
			{
				type="hide";
				hideValue=0.99;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitGlass2";
				sourceAddress=0;
				selection="glass2";
			};
			class Glass3_destruct
			{
				type="hide";
				hideValue=0.99;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitGlass3";
				sourceAddress=0;
				selection="glass3";
			};
			class Glass4_destruct
			{
				type="hide";
				hideValue=0.99;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitGlass4";
				sourceAddress=0;
				selection="glass4";
			};
			class Glass5_destruct
			{
				type="hide";
				hideValue=0.99;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitGlass5";
				sourceAddress=0;
				selection="glass5";
			};
			class Steering_1_1
			{
				type="rotationY";
				angle0=1.047198;
				angle1=-1.047198;
				axis="wheel_1_1_steering_axis";
				memory=1;
				minValue=-1.570796;
				maxValue=1.570796;
				minPhase=-1.570796;
				maxPhase=1.570796;
				source="drivingWheel";
				sourceAddress=0;
				selection="wheel_1_1_steering";
			};
			class Steering_2_1
			{
				type="rotationY";
				angle0=1.047198;
				angle1=-1.047198;
				axis="wheel_2_1_steering_axis";
				memory=1;
				minValue=-1.570796;
				maxValue=1.570796;
				minPhase=-1.570796;
				maxPhase=1.570796;
				source="drivingWheel";
				sourceAddress=0;
				selection="wheel_2_1_steering";
			};
			class Wheel_1_1
			{
				type="rotationX";
				angle0=0;
				angle1=-6.283185;
				axis="wheel_1_1_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="wheel";
				sourceAddress=1;
				selection="wheel_1_1";
			};
			class wheel_2_1
			{
				type="rotationX";
				angle0=0;
				angle1=-6.283185;
				axis="wheel_2_1_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="wheel";
				sourceAddress=1;
				selection="wheel_2_1";
			};
			class wheel_1_2
			{
				type="rotationX";
				angle0=0;
				angle1=-6.283185;
				axis="wheel_1_2_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="wheel";
				sourceAddress=1;
				selection="wheel_1_2";
			};
			class wheel_1_3
			{
				type="rotationX";
				angle0=0;
				angle1=-6.283185;
				axis="wheel_1_3_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="wheel";
				sourceAddress=1;
				selection="wheel_1_3";
			};
			class Wheel_2_2
			{
				type="rotationX";
				angle0=0;
				angle1=-6.283185;
				axis="wheel_2_2_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="wheel";
				sourceAddress=1;
				selection="wheel_2_2";
			};
			class Wheel_2_3
			{
				type="rotationX";
				angle0=0;
				angle1=-6.283185;
				axis="wheel_2_3_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="wheel";
				sourceAddress=1;
				selection="wheel_2_3";
			};
			class Wheel_1_1_Damper
			{
				type="translation";
				source="damper";
				selection="wheel_1_1_damper_land";
				axis="posun wheel_1_1";
				animPeriod = 1;
				minValue="0";
				maxValue="1";
				offset0= "0.15";
				offset1= "-0.15";
				memory=1;
			};
			class wheel_2_1_Damper: wheel_1_1_Damper
			{
				selection="wheel_2_1_damper_land";
				axis="posun wheel_2_1";
			};
			class wheel_1_2_Damper: wheel_1_1_Damper
			{
				selection="wheel_1_2_damper_land";
				axis="posun wheel_1_2";
			};
			class wheel_1_3_Damper: wheel_1_1_Damper
			{
				selection="wheel_1_3_damper_land";
				axis="posun wheel_1_3";
			};
			class Wheel_2_2_Damper: wheel_1_1_Damper
			{
				selection="wheel_2_2_damper_land";
				axis="posun wheel_2_2";
			};
			class Wheel_2_3_Damper: wheel_1_1_Damper
			{
				selection="wheel_2_3_damper_land";
				axis="posun wheel_2_3";
			};
			class wheel_1_1_Damage
			{
				type="translation";
				offset0=0;
				offset1=0.24;
				axis="basic_damper_destruct_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitLFWheel";
				sourceAddress="clamp";
				selection="wheel_1_1_damper_land";
			};
			class wheel_1_2_Damage
			{
				type="translation";
				offset0=0;
				offset1=0.24;
				axis="basic_damper_destruct_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitLBWheel";
				sourceAddress="clamp";
				selection="wheel_1_2_damper_land";
			};
			class wheel_1_3_Damage
			{
				type="translation";
				offset0=0;
				offset1=0.24;
				axis="basic_damper_destruct_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitLMWheel";
				sourceAddress="clamp";
				selection="wheel_1_3_damper_land";
			};
			class wheel_2_1_Damage
			{
				type="translation";
				offset0=0;
				offset1=0.24;
				axis="basic_damper_destruct_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitRFWheel";
				sourceAddress="clamp";
				selection="wheel_2_1_damper_land";
			};
			class wheel_2_2_Damage
			{
				type="translation";
				offset0=0;
				offset1=0.24;
				axis="basic_damper_destruct_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitRBWheel";
				sourceAddress="clamp";
				selection="wheel_2_2_damper_land";
			};
			class wheel_2_3_Damage
			{
				type="translation";
				offset0=0;
				offset1=0.24;
				axis="basic_damper_destruct_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitRMWheel";
				sourceAddress="clamp";
				selection="wheel_2_3_damper_land";
			};
			class wheel_1_1_Damper_Damage_BackAnim
			{
				type="translation";
				offset0=0;
				offset1=-0.288;
				axis="basic_damper_destruct_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitLFWheel";
				sourceAddress="clamp";
				selection="wheel_1_1_damper";
			};
			class wheel_1_2_Damper_Damage_BackAnim
			{
				type="translation";
				offset0=0;
				offset1=-0.288;
				axis="basic_damper_destruct_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitLBWheel";
				sourceAddress="clamp";
				selection="wheel_1_2_damper";
			};
			class wheel_1_3_Damper_Damage_BackAnim
			{
				type="translation";
				offset0=0;
				offset1=-0.288;
				axis="basic_damper_destruct_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitLMWheel";
				sourceAddress="clamp";
				selection="wheel_1_3_damper";
			};
			class wheel_2_1_Damper_Damage_BackAnim
			{
				type="translation";
				offset0=0;
				offset1=-0.288;
				axis="basic_damper_destruct_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitRFWheel";
				sourceAddress="clamp";
				selection="wheel_2_1_damper";
			};
			class wheel_2_2_Damper_Damage_BackAnim
			{
				type="translation";
				offset0=0;
				offset1=-0.288;
				axis="basic_damper_destruct_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitRBWheel";
				sourceAddress="clamp";
				selection="wheel_2_2_damper";
			};
			class wheel_2_3_Damper_Damage_BackAnim
			{
				type="translation";
				offset0=0;
				offset1=-0.288;
				axis="basic_damper_destruct_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="HitRMWheel";
				sourceAddress="clamp";
				selection="wheel_2_3_damper";
			};
			class hide_cover
            {
                type="hide";
                source="hide_cover";
                selection="cover";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                hideValue=0.1;
                unHideValue=-1;
            };
			class brakelight_normal_hide 
			{
				type = "hide";
				minValue = 0;
				maxValue = 1;
				hideValue = 0.1;
				source = "brakelight_normal_hide";
				selection = "brakelight_normal";
			};
			class reverse_light
            {
                type="hide";
                source="gear";
                selection="reverse_light";
                sourceAddress="clamp";
                minPhase=-1;
                maxPhase=0;
                minValue=-1;
                maxValue=0;
                memory=0;
                hideValue=0.2;
                unHideValue=-1;
            };
			class hide_reverselights
            {
                type="hide";
                source="hide_dashboard";
                selection="reverse_light";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                hideValue=1;
                unHideValue=-1;
            };
			class hatch_exhaust
			{
				type="rotation";
				angle0=0;
				angle1=1.396263;
				axis="hatch_exhaust_axis";
				memory=1;
				minValue=0.05;
				maxValue=0.4;
				minPhase=0.05;
				maxPhase=0.4;
				source="rpm";
				sourceAddress=0;
				selection="hatch_exhaust";
			};
			class pedal_thrust
            {
                type="rotation";
                source="throttle";
                selection="pedal_thrust";
                sourceAddress="0";
				axis="pedal_thrust_axis";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                angle0=0;
                angle1=-0.5235988;
            };
            class pedal_brake
            {
                type="rotation";
                source="brake";
                selection="pedal_brake";
                sourceAddress="clamp";
				axis="pedal_brake_axis";
                minPhase=0;
                maxPhase=0.5;
                minValue=0;
                maxValue=0.5;
                memory=0;
                angle0=0;
                angle1=0.5235988;
            };
			class IndicatorSpeed
			{
				type="rotation";
				angle0=-0.25;
				angle1=4.5;
				axis="mph_axis";
				memory=1;
				minValue=0;
				maxValue=30;
				minPhase=0;
				maxPhase=30;
				source="speed";
				sourceAddress=0;
				selection="mph";
			};
			class IndicatorRPM
			{
				type="rotation";
				angle0=0;
				angle1=3.8;
				axis="rpm_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="rpm";
				sourceAddress=0;
				selection="rpm";
			};
			class indicatoroiltemp
            {
                type="rotation";
                source="oil";
                selection="oil";
                sourceAddress="0";
				axis="oil_axis";
                minPhase=0;
                maxPhase=30;
                minValue=0;
                maxValue=30;
                memory=0;
                angle0=0;
                angle1=1.5;
            };
			class Fuel
			{
				type="rotation";
				angle0=0.2;
				angle1=2.1;
				axis="fuel_axis";
				memory=1;
				minValue=0;
				maxValue=1;
				minPhase=0;
				maxPhase=1;
				source="fuel";
				sourceAddress=0;
				selection="fuel";
			};
			class DrivingWheel
			{
				type="rotation";
				angle0=1.9;
				angle1=-1.9;
				axis="drivewheel_axis";
				memory=1;
				minValue=-1;
				maxValue=1;
				minPhase=-1;
				maxPhase=1;
				source="drivingWheel";
				sourceAddress=0;
				selection="drivewheel";
			};
		};
	};
};

 

I would greatly appreciate it if someone could tell me what I am doing wrong. The model at the time of destruction simply shows fire and the same texture. Name the model as zbytek as indicated in object builder.

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

×