Jump to content
Sign in to follow this  
odyseus

vehicle pilot view problem

Recommended Posts

Hello guys,

I am runing in to a little problem now. My view pilot has the interior of my vehicle. but when i turn out i cant see the out side of the vehicle. What is the problem. I know i dont have to place the model for the outside on the driver model. So there must be another problem.

Thank you.

Share this post


Link to post
Share on other sites

Use this in your config

LODTurnedOut = VIEW_PILOT;

LODTurnedIn = VIEW_PILOT;

VIEW_PILOT is the LOD name

There is also VIEW_GUNNER. I'm not sure what you have to enter for the normal visual LOD to be showed, in the Bis Wiki there is -1 in their Sample. Maybe try 0, then -1 and 1 if it does something for you

Share this post


Link to post
Share on other sites

Thx Fennek! But i am still having problem. It is not working. Can someone try to explain me one more time. Maybe i am doing something wrong, anyone? I wonder if this string still working "view_pilot"

Edited by Odyseus

Share this post


Link to post
Share on other sites
Thx Fennek! But i am still having problem. It is not working. Can someone try to explain me one more time. Maybe i am doing something wrong, anyone? I wonder if this string still working "view_pilot"

yes i you want to display the exterior LOD when turned out you will need to change the value of "LODTurnedOut".

It should not equal a string, but a defined keywod or the numerical value of the LOD, for example "LODTurnedOut = VIEW_PILOT" or "LODTurnedOut = 1100", to get the main resolution LOD to display maybe try "LODTurnedOut = LoD 0"

Share this post


Link to post
Share on other sites

thx pastor399, but still no joy. here is a copy of a part of my config. can you guys take a look and tell me if there is missing something related to my problem.

class M113_Base: Tank_F

{

driverForceOptics = 0;

faction = "BRAF";

vehicleClass = BRAF_Armored;

attenuationEffectType = "TankAttenuation";

LODTurnedOut = 1000;

LODTurnedIn = 1100;

driverDoor = "hatchD";

radarType = 4;

crewVulnerable = false;

viewDriverInExternal = true;

tracksSpeed = 2;

scope=1;

driverAction = m113_driver;

driverInAction = m113_driver;

getInAction = GetInHigh;

getOutAction = GetOutHigh;

cargoGetInAction[] = {"GetInLow"};

cargoGetOutAction[] = {"GetOutLow"};

cargoAction[] = {

M113_Cargo01_EP1,M113_Cargo03_EP1,M113_Cargo02_EP1,M113_Cargo02_EP1,

M113_Cargo02_EP1,M113_Cargo02_EP1,M113_Cargo03_EP1,M113_Cargo01_EP1,

M113_Cargo03_EP1, M113_Cargo03_EP1, M113_Cargo01_EP1

};

model = "\BRAF_Land\M113A2\BRAF_M113A2.p3d"

canFloat=true;

hiddenselections[] = {"camo01"};

initCargoAngleY=+90; // cargo viewing limitations

threat[]={0.9, 0.6, 0.6};

transportMaxMagazines = 100;

transportMaxWeapons = 20;

picture="BRAF_Land\M113A2\Data\ui\Picture_m113_CA.paa";

Icon="BRAF_Land\M113A2\Data\ui\Icon_m113_CA.paa";

mapSize = 5;

displayName=M113;

accuracy=0.30;

armor=105;

waterspeedcoef = 0.5;

waterResistance = 0;

damageResistance = 0.03249;

cost=100000;

maxSpeed=75;

hasGunner = 1;

hasCommander = 0;

viewCargoShadow = true;

// let only small amount of direct light go through, to avoid shadow artifacts

viewCargoShadowDiff = 0.05;

// reduce amount of ambient light as well

viewCargoShadowAmb = 0.5;

transportSoldier = 11;

irScanRangeMin = 0;

irScanRangeMax = 0;

supplyRadius = 1.8;

transportAmmo = 0;

memoryPointsLeftEngineEffect = "EngineEffectL";

memoryPointsRightEngineEffect = "EngineEffectR";

gunnerHasFlares = false;

weapons[] = {SmokeLauncher};

magazines[] = {SmokeLauncherMag};

outsideSoundFilter=true;

insideSoundCoef = 0.9;

simulation = "tankX";

enginePower = 233;

maxOmega = 261;

peakTorque = 568;

torqueCurve[] = {{"(700/2500)", 0},

{"(1500/2500)", "(560/568)"},

{"(1600/2500)", "(564/568)"},

{"(1800/2500)", "(568/568)"},

{"(2000/2500)", "(550/568)"},

{"(2200/2500)", "(530/568)"},

{"(2400/2500)", "(505/568)"},

{"(2500/2500)", "(489/568)"}};

thrustDelay = 0.200000;

clutchStrength = 90.000000;

fuelCapacity = 360;

brakeIdleSpeed = 1.780000;

latency = 0.100000;

tankTurnForce = 500000;

antiRollbarForceCoef = 24;

normalSpeedForwardCoef = 0.450000;

idleRpm = 610;

redRpm = 2300;

engineLosses = 25;

transmissionLosses = 15;

changeGearMinEffectivity[] = {0.500000, 0.150000, 0.950000, 0.950000, 0.950000, 0.950000, 0.950000, 0.950000, 0.950000, 0.950000, 0.950000, 0.950000, 0.900000, 0.900000, 0.900000, 0.900000, 0.900000};

wheelCircumference = 2.00;

class complexGearbox {

GearboxRatios[] = {"R2",-3.9,"N",0,"D1",4.7,"D2",3.5,"D3",2.6,"D4",2.0,"D5",1.5,"D6",1.125,"D7",0.85};

TransmissionRatios[] = {"high", 6.4};

gearBoxMode = "auto";

moveOffGear = 1;

driveString = "D";

neutralString = "N";

reverseString = "R";

transmissionDelay = 0;

};

class Wheels {

class L2 {

boneName = "wheel_podkoloL1";

center = "wheel_1_2_axis";

boundary = "wheel_1_2_bound";

damping = 75.000000;

steering = 0;

side = "left";

weight = 100;

mass = 100;

MOI = 15;

latStiffX = 25;

latStiffY = 280;

longitudinalStiffnessPerUnitGravity = 100000;

maxBrakeTorque = 10000;

sprungMass = 2500.000000;

springStrength = 200000;

springDamperRate = 24000;

dampingRate = 1.000000;

dampingRateInAir = 3055.000000;

dampingRateDamaged = 10.000000;

dampingRateDestroyed = 10000.000000;

maxDroop = 0.180000;

maxCompression = 0.180000;

frictionVsSlipGraph[] = {{0, 5}, {0.500000, 5}, {1, 5}};

};

Share this post


Link to post
Share on other sites

I guess this line is just nor working on ARMA3, if anyone find out please let me know. ;)

Share this post


Link to post
Share on other sites

Hello guys, I hear this problem was fix. can someone confirm. One more think. my vehicle is not floating it sinks and drives under water. can someone help me. what's the line to make the vehicle float. canFloat = 1; or

buoyancy = 1;?  Below is my config can someone tell me what am I missing to make it an amphibious vehicle.
class M113_Base: Tank_F
	{
		driverForceOptics = 0;
		faction = "BRAF";
		vehicleClass = BRAF_Armored;
		attenuationEffectType = "TankAttenuation";
		LODTurnedOut = 1000;
		LODTurnedIn = 1100;
		radarType = 4;
		crewVulnerable = false;
		viewDriverInExternal = 1;
		tracksSpeed = 1;
		scope=1;
		driverAction = "m113_driver";
		driverInAction = "m113_driver";
		getInAction = "GetInMRAP_01";
		getoutaction = "GetOutHigh";
		memoryPointsGetInDriver = "pos_driver";
		memoryPointsGetInDriverDir = "pos_driver_dir";
		memorypointsgetincargo = "pos cargo";
		memorypointsgetincargodir = "pos cargo dir";
		cargoGetInAction[] = {"GetInLow"};
		cargoGetOutAction[] = {"GetOutLow"};
		
		cargoAction[] = {"passenger_generic01_leanright", "passenger_apc_generic03", 
		"passenger_apc_narrow_generic01", "passenger_apc_generic02", "passenger_generic01_leanleft", 
		"passenger_apc_generic04", "passenger_apc_narrow_generic01","passenger_generic01_leanright", 
		"passenger_apc_generic03", "passenger_apc_narrow_generic01", "passenger_apc_generic02"};
		
		model = "\BRAF_Land\M113A2\BRAF_M113A2.p3d"
		canFloat = 1;
		buoyancy = 1;
		hiddenselections[] = {"camo01"};
		initCargoAngleY=+90; // cargo viewing limitations
		threat[]={0.9, 0.6, 0.6};
		transportMaxMagazines = 100;
		transportMaxWeapons = 20;
		picture="BRAF_Land\M113A2\Data\ui\Picture_m113_CA.paa";
		Icon="BRAF_Land\M113A2\Data\ui\Icon_m113_CA.paa";
		mapSize = 5;
		displayName=M113;
		accuracy=0.30;
		armor=250;
		armorStructural = 6;
		armorLights = 0.100000;
		waterspeedcoef = 0.5;
		waterResistance = 3;
		damageResistance = 0.007190;
		cost=100000;
		hasGunner = 1;
		hasCommander = 0;
		viewCargoShadow = true;
		// let only small amount of direct light go through, to avoid shadow artifacts
		viewCargoShadowDiff = 0.05;
		// reduce amount of ambient light as well
		viewCargoShadowAmb = 0.5;
		transportSoldier = 11;
		irScanRangeMin = 0;
		irScanRangeMax = 0;
		supplyRadius = 1.8;
		transportAmmo = 0;
		memoryPointsLeftEngineEffect = "EngineEffectL";
		memoryPointsRightEngineEffect = "EngineEffectR";  
		gunnerHasFlares = false;
		weapons[] = {};
		magazines[] = {};
		outsideSoundFilter=true;
		insideSoundCoef = 0.9;
		
		class HitPoints: HitPoints {
			
			class HitEngine {
				armor = 0.35;
				material = -1;
				minimalHit = 0.24;
				name = "motor";
				passthrough = 0.2;
				visual = "motor";
				explosionShielding = 1;
				radius = 0.35;
			};
			class HitHull {
				armor = 1;
				material = -1;
				minimalHit = 0.14;
				name = "telo";
				passthrough = 1;
				visual="zbytek";
				radius = 0.35;
				explosionShielding = 1;
			};
			class HitLTrack {
				armor = 0.15;
				material = -1;
				minimalHit = 0.08;
				name = "pas_L";
				passthrough = 0.0;
				visual = "pas_L";
				explosionShielding = 1;
				radius = 0.07;
			};
			class HitRTrack {
				armor = 0.15;
				material = -1;
				minimalHit = 0.08;
				name = "pas_P";
				passthrough = 0.0;
				visual = "pas_P";
				explosionShielding = 1;
				radius = 0.07;
			};
		};
		
		class Reflectors {

			class Left {
				color[] = {1900, 1800, 1700};
				ambient[] = {5, 5, 5};
				position = "L svetlo";
				direction = "Konec L Svetla";
				hitpoint = "L Svetlo";
				selection = "L Svetlo";
				size = 1;
				innerAngle = 100;
				outerAngle = 179;
				coneFadeCoef = 10;
				intensity = 1;
				useFlare = 0;
				dayLight = 0;
				flareSize = 1.000000;

				class Attenuation {
					start = 1.000000;
					constant = 0;
					linear = 0;
					quadratic = 0.250000;
					hardLimitStart = 60;
					hardLimitEnd = 120;
				};
			};
			
			class Right: Left {
				position = "P Svetlo";
				direction = "Konec P Svetla";
				hitpoint = "P Svetlo";
				selection = "P Svetlo";
			};
			class RightFlare: Right {
				position = "P Svetlo";
				useFlare = 1;
			};

			class LeftFlare: Left {
				position = "L Svetlo";
				useFlare = 1;
			};
		};

		simulation = "tankX";
		enginePower = 205;
		maxOmega = 293;
		peakTorque = 770;
		torqueCurve[] = {{0.0, 0.0}, 
		{"(680/2500)", "(705/770)"}, 
		{"(1000/2500)", "(719/770)"},
		{"(1200/2500)", "(732/770)"},
		{"(1500/2500)", "(759/770)"}, 
		{"(1800/2500)", "(770/770)"}, 
		{"(2200/2500)", "(732/770)"}, 
		{"(2500/2500)", "(663/770)"}};
		
		thrustDelay = 0.1;
		clutchStrength = 60.0;
		fuelCapacity = 360;
		brakeIdleSpeed = 1.78;
		tankTurnForce = 325000;
		slowSpeedForwardCoef =0.1;
		normalSpeedForwardCoef = 0.500000;
		idleRpm = 680;
		redRpm = 2500;
		engineLosses = 25;
		transmissionLosses = 15;
		latency = 0.1;
		wheelCircumference = 2.00;
		maxSpeed = 75;
		steerAheadSimul = 0.500000;
		steerAheadPlan = 0.350000;
		predictTurnPlan = 2.800000;
		predictTurnSimul = 2.600000;
		brakeDistance = 15;


		class complexGearbox {
			GearboxRatios[] = {"R2",-3.9,"N",0,"D1",4.7,"D2",3.5,"D3",2.6,"D4",2.0,"D5",1.5,"D6",1.125,"D7",0.85};
			TransmissionRatios[] = {"High", 4.5};
			gearBoxMode = "auto";
			moveOffGear = 1;
			driveString = "D";
			neutralString = "N";
			reverseString = "R";
			transmissionDelay = 0;
		};
		
		
	class Wheels {
		class L2 {
			boneName = "wheel_podkoloL1";
			center = "wheel_1_2_axis";
			boundary = "wheel_1_2_bound";
			damping = 75;
			steering = 0;
			side = "left";
			weight = 100;
			mass = 100;
			MOI = 25;
			latStiffX = 25;
			latStiffY = 280;
			longitudinalStiffnessPerUnitGravity = 100000;
			maxBrakeTorque = 3000;
			maxHandBrakeTorque = 30000;
			sprungMass = 2625.000000;
			springStrength = 200000;
			springDamperRate = 24000;
			dampingRate = 1.000000;
			dampingRateInAir = 5035;
			dampingRateDamaged = 10.000000;
			dampingRateDestroyed = 10000.000000;
			maxDroop = 0.180000;
			maxCompression = 0.180000;
			frictionVsSlipGraph[] = {{0, 5}, {0.500000, 5}, {1, 5}};
			};	
		
		class L3: L2 {
			boneName = "wheel_podkolol2";
			center   = "wheel_1_3_axis";
			boundary = "wheel_1_3_bound";
		};
		class L4: L2 {
			boneName = "wheel_podkolol3";
			center   = "wheel_1_4_axis";
			boundary = "wheel_1_4_bound";
		};
		class L5: L2 {
			boneName = "wheel_podkolol4";
			center   = "wheel_1_5_axis";
			boundary = "wheel_1_5_bound";
		};
		class L6: L2 {
			boneName = "wheel_podkolol5";
			center   = "wheel_1_6_axis";
			boundary = "wheel_1_6_bound";
		};
		//rear left
		class L7: L2 {
			boneName = "";
			center   = "wheel_1_7_axis";
			boundary = "wheel_1_7_bound";
			sprungMass = 1500.0;
			springStrength = 37500;
			springDamperRate = 7500;
			maxDroop = 0;
			maxCompression = 0;
		};
		//front left
		class L1: L2 {
			boneName = "";
			center   = "wheel_1_1_axis";
			boundary = "wheel_1_1_bound";
			sprungMass = 1500.0;
			springStrength = 37500;
			springDamperRate = 7500;
			maxDroop = 0;
			maxCompression = 0;
		};

		class R2: L2 {
			boneName = "wheel_podkolop1";
			center   = "wheel_2_2_axis";
			boundary = "wheel_2_2_bound";
			side = "right";
		};
		class R3: R2 {
			boneName = "wheel_podkolop2";
			center   = "wheel_2_3_axis";
			boundary = "wheel_2_3_bound";
		};
		class R4: R2 {
			boneName = "wheel_podkolop3";
			center   = "wheel_2_4_axis";
			boundary = "wheel_2_4_bound";
		};
		class R5: R2 {
			boneName = "wheel_podkolop4";
			center   = "wheel_2_5_axis";
			boundary = "wheel_2_5_bound";
		};
		class R6: R2 {
			boneName = "wheel_podkolop5";
			center   = "wheel_2_6_axis";
			boundary = "wheel_2_6_bound";
		};
		// rear right 
		class R7: R2 {
			boneName = "";
			center   = "wheel_2_7_axis";
			boundary = "wheel_2_7_bound";
			sprungMass = 1500.0;
			springStrength = 37500;
			springDamperRate = 7500;
			maxDroop = 0;
			maxCompression = 0;
		};
		// front right 
		class R1: R2 {
			boneName = "";
			center   = "wheel_2_1_axis";
			boundary = "wheel_2_1_bound";
			sprungMass = 1500.0;
			springStrength = 37500;
			springDamperRate = 7500;
			maxDroop = 0;
			maxCompression = 0;
		};
	};
	/// End of PhysX

	class Exhausts {

		class Exhaust1 {
			position = "vyfuk start";
			direction = "vyfuk konec";
			effect = "ExhaustEffectTankBack";
		};
	};
	
		class AnimationSources {
			class ReloadAnim {
				source = "reload";
				weapon = "HMG_M2";
			};
			class ReloadMagazine {
				source = "reloadmagazine";
				weapon = "HMG_M2";
			};
			class Revolving {
				source = "revolving";
				weapon = "HMG_M2";
			};
			class muzzle_rot_MG {
				source = "ammorandom";
				weapon = "HMG_M2";
			};
			class muzzle_hide_MG {
				source = "reload";
				weapon = "HMG_M2";
			};
			class water_shield
			{
				source = "user";
				animPeriod = 3;
				initPhase = 0;
			};			
		};
		class Turrets: Turrets
		{
			class MainTurret: MainTurret
			{	
				viewGunnerShadow = false;
				viewCargoShadow = false;
				outGunnerMayFire = true;
				forceHideGunner = true;
				startengine = 0;
				viewGunnerInExternal = true;
				animationsourcebody = "mainTurret";
				animationsourcegun = "mainGun";
				body = "mainTurret";
				animationsourcehatch = "hatchGunner";
				castgunnershadow = 1;
				canhidegunner = 1;
				commanding = 1;
				discretedistance[] = {100, 200, 300, 400, 500, 600, 800, 1000, 1200, 1500};
				discretedistanceinitindex = 2;
				ejectdeadgunner = 0;
				gun = "mainGun";
				gunbeg = "usti hlavne";
				gunend = "konec hlavne";
				lodturnedin = 1000;
				lodturnedout = 1000;
				getInAction = "GetInMRAP_01";
				getoutaction = "GetOutHigh";
				memorypointgun = "usti hlavne";
				gunneraction = "M113_Gunner";
				gunnerinaction = "M113_Gunner";
				gunnercompartments = "Compartment1";
				gunnerforceoptics = 0;
				gunneroutopticsshowcursor = 0;
				gunnerlefthandanimname = "handle_L";
				gunnerinopticsshowcursor = 0;
				gunnerrighthandanimname = "handle_R";
				magazines[] = {"100Rnd_127x99_mag_Tracer_Yellow", "100Rnd_127x99_mag_Tracer_Yellow",
				"100Rnd_127x99_mag_Tracer_Yellow", "100Rnd_127x99_mag_Tracer_Yellow",
				"100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow",
				"100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow",
				"100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow"};
				maxelev = 40;
				memorypointgunneroptics = "gunnerview";
				memoryPointGunnerOutOptics = "gunnerview";
				memorypointsgetingunner = "pos gunner";
				memorypointsgetingunnerdir = "pos gunner dir";
				minelev = -10;
				optics = 1;
				gunneropticsmodel = "\A3\weapons_f\reticle\Optics_empty";
				soundservo[] = {"braf_land\m113a2\Data\sound\gun_elevate2", 0.001, 1};
				stabilizedinaxes = 0;
				turretinfotype = "RscWeaponZeroing";
				weapons[] = {"HMG_M2"};
				
				class HitPoints {
					class HitTurret	{
						armor = 0.8;
						material = -1;
						name = "";
						visual="";
						passThrough = 0;
						minimalHit = 0.02;
						explosionShielding = 0.3;
						radius = 0.1;
					};
					class HitGun	{
						armor = 0.3;
						material = -1;
						name = "";
						visual="";
						passThrough = 0;
						minimalHit = 0;
						explosionShielding = 1;
						radius = 0.1;
					};
				};
				class GunFire: WeaponCloudsMGun {
					interval = 0.01;
				};
				class ViewOptics {
					initanglex = 0;
					initangley = 0;
					initfov = 0.42;
					maxanglex = 30;
					maxangley = 100;
					maxfov = 0.64;
					minanglex = -30;
					minangley = -100;
					minfov = 0.22;
				};
				class ViewGunner:ViewOptics {
				};
				class Turrets: ViewOptics {
				};
			};
		};

		class Damage
		{
			tex[]={};
			mat[]=
			{
				"braf_land\m113a2\data\m113_track.rvmat",
				"braf_land\m113a2\data\m113_track_damage.rvmat",
				"braf_land\m113a2\data\m113_track_destruct.rvmat",

				"braf_land\m113a2\data\m113_body.rvmat",
				"braf_land\m113a2\data\m113_body_damage.rvmat",
				"braf_land\m113a2\data\m113_body_destruct.rvmat",

				"braf_land\m113a2\Data\m113_body_02.rvmat",
				"braf_land\m113a2\Data\m113_body_02_damage.rvmat",
				"braf_land\m113a2\Data\m113_body_02_destruct.rvmat",

				"braf_land\m113a2\Data\cargo.rvmat",
				"braf_land\m113a2\Data\cargo_damage.rvmat",
				"braf_land\m113a2\Data\cargo_destruct.rvmat",
				
				"braf_land\m113a2\Data\walls.rvmat",
				"braf_land\m113a2\Data\walls_damage.rvmat",
				"braf_land\m113a2\Data\walls_destruct.rvmat",
				
				"braf_land\m113a2\Data\glass.rvmat",
				"braf_land\m113a2\Data\glass_damage.rvmat",
				"braf_land\m113a2\Data\glass_destruct.rvmat",
				
				"braf_land\m113a2\Data\fireext.rvmat",
				"braf_land\m113a2\Data\fireext_damage.rvmat",
				"braf_land\m113a2\Data\fireext_damage.rvmat",
			};
		};
		
		soundGetIn[] = {"A3\sounds_f\vehicles\armor\noises\get_in_out", 0.562341, 1};
		soundGetOut[] = {"A3\sounds_f\vehicles\armor\noises\get_in_out", 0.562341, 1, 20};
		soundDammage[] = {"", 0.562341, 1};
		soundEngineOnInt[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_engine_start", 0.707946, 1.000000};
		soundEngineOnExt[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_engine_start", 1.000000, 1.000000, 200};
		soundEngineOffInt[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_engine_stop", 0.707946, 1.000000};
		soundEngineOffExt[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_engine_stop", 1.000000, 1.000000, 200};
		buildCrash0[] = {"A3\sounds_f\Vehicles\crashes\crash_08", 1.000000, 1, 200};
		buildCrash1[] = {"A3\sounds_f\Vehicles\crashes\crash_09", 1.000000, 1, 200};
		buildCrash2[] = {"A3\sounds_f\Vehicles\crashes\crash_10", 1.000000, 1, 200};
		buildCrash3[] = {"A3\sounds_f\Vehicles\crashes\crash_11", 1.000000, 1, 200};
		soundBuildingCrash[] = {"buildCrash0", 0.250000, "buildCrash1", 0.250000, "buildCrash2", 0.250000, "buildCrash3", 0.250000};
		WoodCrash0[] = {"A3\sounds_f\Vehicles\crashes\crash_08", 1.000000, 1, 200};
		WoodCrash1[] = {"A3\sounds_f\Vehicles\crashes\crash_09", 1.000000, 1, 200};
		WoodCrash2[] = {"A3\sounds_f\Vehicles\crashes\crash_10", 1.000000, 1, 200};
		WoodCrash3[] = {"A3\sounds_f\Vehicles\crashes\crash_11", 1.000000, 1, 200};
		WoodCrash4[] = {"A3\sounds_f\Vehicles\crashes\crash_01", 1.000000, 1, 200};
		WoodCrash5[] = {"A3\sounds_f\Vehicles\crashes\crash_08", 1.000000, 1, 200};
		soundWoodCrash[] = {"woodCrash0", 0.166000, "woodCrash1", 0.166000, "woodCrash2", 0.166000, "woodCrash3", 0.166000, "woodCrash4", 0.166000, "woodCrash5", 0.166000};
		ArmorCrash0[] = {"A3\sounds_f\Vehicles\crashes\crash_08", 1.000000, 1, 200};
		ArmorCrash1[] = {"A3\sounds_f\Vehicles\crashes\crash_09", 1.000000, 1, 200};
		ArmorCrash2[] = {"A3\sounds_f\Vehicles\crashes\crash_10", 1.000000, 1, 200};
		ArmorCrash3[] = {"A3\sounds_f\Vehicles\crashes\crash_11", 1.000000, 1, 200};
		soundArmorCrash[] = {"ArmorCrash0", 0.250000, "ArmorCrash1", 0.250000, "ArmorCrash2", 0.250000, "ArmorCrash3", 0.250000};

		class Sounds {

			class Idle_ext {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_engine_01", 0.398107, 1, 200};
				frequency = "0.95	+	((rpm/	2640) factor[(400/	2640),(500/	2640)])*0.15";
				volume = "engineOn*camPos*(((rpm/	2640) factor[(100/	2640),(200/	2640)])	*	((rpm/	2640) factor[(750/	2640),(600/	2640)]))";
			};

			class Engine {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_engine_02", 0.501187, 1, 200};
				frequency = "0.8	+	((rpm/	2640) factor[(500/	2640),(730/	2640)])*0.2";
				volume = "engineOn*camPos*(((rpm/	2640) factor[(550/	2640),(730/	2640)])	*	((rpm/	2640) factor[(800/	2640),(780/	2640)]))";
			};

			class Engine1_ext {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_engine_03", 0.562341, 1, 200};
				frequency = "0.8	+	((rpm/	2640) factor[(630/	2640),(1000/	2640)])*0.2";
				volume = "engineOn*camPos*(((rpm/	2640) factor[(600/	2640),(720/	2640)])	*	((rpm/	2640) factor[(1100/	2640),(840/	2640)]))";
			};

			class Engine2_ext {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_engine_06", 0.630957, 1, 250};
				frequency = "0.8	+	((rpm/	2640) factor[(850/	2640),(1300/	2640)])*0.2";
				volume = "engineOn*camPos*(((rpm/	2640) factor[(800/	2640),(1000/	2640)])	*	((rpm/	2640) factor[(1300/	2640),(1100/	2640)]))";
			};

			class Engine3_ext {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_engine_07", 0.630957, 1, 300};
				frequency = "0.8	+	((rpm/	2640) factor[(1100/	2640),(1600/	2640)])*0.1";
				volume = "engineOn*camPos*(((rpm/	2640) factor[(1100/	2640),(1270/	2640)])	*	((rpm/	2640) factor[(1550/	2640),(1380/	2640)]))";
			};

			class Engine4_ext {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_engine_08", 0.707946, 1, 300};
				frequency = "0.8	+	((rpm/	2640) factor[(1400/	2640),(2000/	2640)])*0.1";
				volume = "engineOn*camPos*(((rpm/	2640) factor[(1380/	2640),(1500/	2640)])	*	((rpm/	2640) factor[(2000/	2640),(1700/	2640)]))";
			};

			class Engine5_ext {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_engine_10", 1.000000, 1, 300};
				frequency = "0.8	+	((rpm/	2640) factor[(1700/	2640),(2640/	2640)])*0.1";
				volume = "engineOn*camPos*((rpm/	2640) factor[(1600/	2640),(2500/	2640)])";
			};

			class IdleThrust {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_exhaust_01", 0.630957, 1, 200};
				frequency = "0.8	+	((rpm/	2640) factor[(400/	2640),(500/	2640)])*0.15";
				volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	2640) factor[(100/	2640),(200/	2640)])	*	((rpm/	2640) factor[(750/	2640),(600/	2640)]))";
			};

			class EngineThrust {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_exhaust_02", 0.630957, 1, 200};
				frequency = "0.8	+	((rpm/	2640) factor[(500/	2640),(730/	2640)])*0.2";
				volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	2640) factor[(550/	2640),(730/	2640)])	*	((rpm/	2640) factor[(800/	2640),(780/	2640)]))";
			};

			class Engine1_Thrust_ext {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_exhaust_03", 0.707946, 1, 200};
				frequency = "0.8	+	((rpm/	2640) factor[(630/	2640),(1000/	2640)])*0.2";
				volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	2640) factor[(600/	2640),(720/	2640)])	*	((rpm/	2640) factor[(1100/	2640),(840/	2640)]))";
			};

			class Engine2_Thrust_ext {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_exhaust_06", 0.707946, 1, 250};
				frequency = "0.8	+	((rpm/	2640) factor[(850/	2640),(1300/	2640)])*0.2";
				volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	2640) factor[(800/	2640),(1000/	2640)])	*	((rpm/	2640) factor[(1300/	2640),(1100/	2640)]))";
			};

			class Engine3_Thrust_ext {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_exhaust_07", 1.000000, 1, 350};
				frequency = "0.8	+	((rpm/	2640) factor[(1100/	2640),(1600/	2640)])*0.1";
				volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	2640) factor[(1100/	2640),(1270/	2640)])	*	((rpm/	2640) factor[(1550/	2640),(1380/	2640)]))";
			};

			class Engine4_Thrust_ext {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_exhaust_08", 1.122018, 1, 350};
				frequency = "0.8	+	((rpm/	2640) factor[(1400/	2640),(2000/	2640)])*0.1";
				volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	2640) factor[(1380/	2640),(1500/	2640)])	*	((rpm/	2640) factor[(2000/	2640),(1700/	2640)]))";
			};

			class Engine5_Thrust_ext {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\ext_exhaust_10", 1.258925, 1, 400};
				frequency = "0.8	+	((rpm/	2640) factor[(1700/	2640),(2640/	2640)])*0.1";
				volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/	2640) factor[(1600/	2640),(2500/	2640)])";
			};

			class Idle_int {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_engine_01", 0.316228, 1};
				frequency = "0.8	+	((rpm/	2640) factor[(400/	2640),(500/	2640)])*0.15";
				volume = "engineOn*(1-camPos)*(((rpm/	2640) factor[(100/	2640),(200/	2640)])	*	((rpm/	2640) factor[(750/	2640),(600/	2640)]))";
			};

			class Engine_int {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_engine_02", 0.354813, 1};
				frequency = "0.8	+	((rpm/	2640) factor[(500/	2640),(730/	2640)])*0.2";
				volume = "engineOn*(1-camPos)*(((rpm/	2640) factor[(550/	2640),(730/	2640)])	*	((rpm/	2640) factor[(800/	2640),(780/	2640)]))";
			};

			class Engine1_int {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_engine_03", 0.398107, 1};
				frequency = "0.8	+	((rpm/	2640) factor[(630/	2640),(1000/	2640)])*0.2";
				volume = "engineOn*(1-camPos)*(((rpm/	2640) factor[(600/	2640),(720/	2640)])	*	((rpm/	2640) factor[(1100/	2640),(840/	2640)]))";
			};

			class Engine2_int {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_engine_06", 0.446684, 1};
				frequency = "0.8	+	((rpm/	2640) factor[(850/	2640),(1300/	2640)])*0.2";
				volume = "engineOn*(1-camPos)*(((rpm/	2640) factor[(800/	2640),(1000/	2640)])	*	((rpm/	2640) factor[(1300/	2640),(1100/	2640)]))";
			};

			class Engine3_int {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_engine_07", 0.501187, 1};
				frequency = "0.8	+	((rpm/	2640) factor[(1100/	2640),(1600/	2640)])*0.1";
				volume = "engineOn*(1-camPos)*(((rpm/	2640) factor[(1100/	2640),(1270/	2640)])	*	((rpm/	2640) factor[(1550/	2640),(1380/	2640)]))";
			};

			class Engine4_int {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_engine_08", 0.562341, 1};
				frequency = "0.8	+	((rpm/	2640) factor[(1400/	2640),(2000/	2640)])*0.1";
				volume = "engineOn*(1-camPos)*(((rpm/	2640) factor[(1380/	2640),(1500/	2640)])	*	((rpm/	2640) factor[(2000/	2640),(1700/	2640)]))";
			};

			class Engine5_int {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_engine_10", 0.630957, 1};
				frequency = "0.8	+	((rpm/	2640) factor[(1700/	2640),(2640/	2640)])*0.1";
				volume = "engineOn*(1-camPos)*((rpm/	2640) factor[(1600/	2640),(2500/	2640)])";
			};

			class IdleThrust_int {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_exhaust_01", 0.354813, 1};
				frequency = "0.8	+	((rpm/	2640) factor[(400/	2640),(500/	2640)])*0.15";
				volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	2640) factor[(100/	2640),(200/	2640)])	*	((rpm/	2640) factor[(750/	2640),(600/	2640)]))";
			};

			class EngineThrust_int {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_exhaust_02", 0.398107, 1};
				frequency = "0.8	+	((rpm/	2640) factor[(500/	2640),(730/	2640)])*0.2";
				volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	2640) factor[(550/	2640),(730/	2640)])	*	((rpm/	2640) factor[(800/	2640),(780/	2640)]))";
			};

			class Engine1_Thrust_int {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_exhaust_03", 0.446684, 1};
				frequency = "0.8	+	((rpm/	2640) factor[(630/	2640),(1000/	2640)])*0.2";
				volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	2640) factor[(600/	2640),(720/	2640)])	*	((rpm/	2640) factor[(1100/	2640),(840/	2640)]))";
			};

			class Engine2_Thrust_int {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_exhaust_06", 0.446684, 1};
				frequency = "0.8	+	((rpm/	2640) factor[(850/	2640),(1300/	2640)])*0.2";
				volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	2640) factor[(800/	2640),(1000/	2640)])	*	((rpm/	2640) factor[(1300/	2640),(1100/	2640)]))";
			};

			class Engine3_Thrust_int {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_exhaust_07", 0.501187, 1};
				frequency = "0.8	+	((rpm/	2640) factor[(1100/	2640),(1600/	2640)])*0.1";
				volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	2640) factor[(1100/	2640),(1270/	2640)])	*	((rpm/	2640) factor[(1550/	2640),(1380/	2640)]))";
			};

			class Engine4_Thrust_int {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_exhaust_08", 0.562341, 1};
				frequency = "0.8	+	((rpm/	2640) factor[(1400/	2640),(2000/	2640)])*0.1";
				volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	2640) factor[(1380/	2640),(1500/	2640)])	*	((rpm/	2640) factor[(2000/	2640),(1700/	2640)]))";
			};

			class Engine5_Thrust_int {
				sound[] = {"A3\Sounds_F\vehicles\armor\APC\APC2\int_exhaust_10", 0.630957, 1};
				frequency = "0.8	+	((rpm/	2640) factor[(1700/	2640),(2640/	2640)])*0.1";
				volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/	2640) factor[(1600/	2640),(2500/	2640)])";
			};

			class NoiseInt {
				sound[] = {"A3\sounds_f\vehicles\armor\noises\noise_tank_int_1", 0.501187, 1.000000};
				frequency = "1";
				volume = "(1-camPos)*(angVelocity max 0.04)*(speed factor[4, 15])";
			};

			class NoiseExt {
				sound[] = {"A3\sounds_f\vehicles\armor\noises\noise_tank_ext_1", 0.630957, 1.000000, 150};
				frequency = "1";
				volume = "camPos*(angVelocity max 0.04)*(speed factor[4, 15])";
			};

			class ThreadsOutH0 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_ext_treads_hard_01", 0.398107, 1.000000, 140};
				frequency = "1";
				volume = "engineOn*camPos*(1-grass)*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-0) max 0)/	60),(((-5) max 5)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-15) max 15)/	60),(((-10) max 10)/	60)]))";
			};

			class ThreadsOutH1 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_ext_treads_hard_02", 0.446684, 1.000000, 160};
				frequency = "1";
				volume = "engineOn*camPos*(1-grass)*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-10) max 10)/	60),(((-15) max 15)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-30) max 30)/	60),(((-25) max 25)/	60)]))";
			};

			class ThreadsOutH2 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_ext_treads_hard_03", 0.501187, 1.000000, 180};
				frequency = "1";
				volume = "engineOn*camPos*(1-grass)*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-25) max 25)/	60),(((-30) max 30)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-45) max 45)/	60),(((-40) max 40)/	60)]))";
			};

			class ThreadsOutH3 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_ext_treads_hard_04", 0.562341, 1.000000, 200};
				frequency = "1";
				volume = "engineOn*camPos*(1-grass)*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-40) max 40)/	60),(((-45) max 45)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-55) max 55)/	60),(((-50) max 50)/	60)]))";
			};

			class ThreadsOutH4 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_ext_treads_hard_05", 0.562341, 1.000000, 220};
				frequency = "1";
				volume = "engineOn*camPos*(1-grass)*((((-speed*3.6) max speed*3.6)/	60) factor[(((-49) max 49)/	60),(((-53) max 53)/	60)])";
			};

			class ThreadsOutS0 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_ext_treads_soft_01", 0.316228, 1.000000, 120};
				frequency = "1";
				volume = "engineOn*(camPos)*(grass)*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-0) max 0)/	60),(((-5) max 5)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-15) max 15)/	60),(((-10) max 10)/	60)]))";
			};

			class ThreadsOutS1 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_ext_treads_soft_02", 0.354813, 1.000000, 140};
				frequency = "1";
				volume = "engineOn*(camPos)*(grass)*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-10) max 10)/	60),(((-15) max 15)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-30) max 30)/	60),(((-25) max 25)/	60)]))";
			};

			class ThreadsOutS2 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_ext_treads_soft_03", 0.398107, 1.000000, 160};
				frequency = "1";
				volume = "engineOn*(camPos)*(grass)*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-25) max 25)/	60),(((-30) max 30)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-45) max 45)/	60),(((-40) max 40)/	60)]))";
			};

			class ThreadsOutS3 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_ext_treads_soft_04", 0.446684, 1.000000, 180};
				frequency = "1";
				volume = "engineOn*(camPos)*(grass)*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-40) max 40)/	60),(((-45) max 45)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-55) max 55)/	60),(((-50) max 50)/	60)]))";
			};

			class ThreadsOutS4 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_ext_treads_soft_05", 0.501187, 1.000000, 200};
				frequency = "1";
				volume = "engineOn*(camPos)*(grass)*((((-speed*3.6) max speed*3.6)/	60) factor[(((-49) max 49)/	60),(((-53) max 53)/	60)])";
			};

			class ThreadsInH0 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_int_treads_hard_01", 0.251189, 1.000000};
				frequency = "1";
				volume = "engineOn*(1-camPos)*(1-grass)*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-0) max 0)/	60),(((-5) max 5)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-15) max 15)/	60),(((-10) max 10)/	60)]))";
			};

			class ThreadsInH1 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_int_treads_hard_02", 0.281838, 1.000000};
				frequency = "1";
				volume = "engineOn*(1-camPos)*(1-grass)*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-10) max 10)/	60),(((-15) max 15)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-30) max 30)/	60),(((-25) max 25)/	60)]))";
			};

			class ThreadsInH2 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_int_treads_hard_03", 0.316228, 1.000000};
				frequency = "1";
				volume = "engineOn*(1-camPos)*(1-grass)*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-25) max 25)/	60),(((-30) max 30)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-45) max 45)/	60),(((-40) max 40)/	60)]))";
			};

			class ThreadsInH3 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_int_treads_hard_04", 0.354813, 1.000000};
				frequency = "1";
				volume = "engineOn*(1-camPos)*(1-grass)*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-40) max 40)/	60),(((-45) max 45)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-55) max 55)/	60),(((-50) max 50)/	60)]))";
			};

			class ThreadsInH4 {
				sound[]= {"A3\sounds_f\vehicles\armor\treads\v2_int_treads_hard_05", 0.398107, 1.000000};
				frequency = "1";
				volume = "engineOn*(1-camPos)*(1-grass)*((((-speed*3.6) max speed*3.6)/	60) factor[(((-49) max 49)/	60),(((-53) max 53)/	60)])";
			};

			class ThreadsInS0 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_int_treads_soft_01", 0.316228, 1.000000};
				frequency = "1";
				volume = "engineOn*(1-camPos)*grass*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-0) max 0)/	60),(((-5) max 5)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-15) max 15)/	60),(((-10) max 10)/	60)]))";
			};

			class ThreadsInS1 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_int_treads_soft_02", 0.316228, 1.000000};
				frequency = "1";
				volume = "engineOn*(1-camPos)*grass*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-10) max 10)/	60),(((-15) max 15)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-30) max 30)/	60),(((-25) max 25)/	60)]))";
			};

			class ThreadsInS2 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_int_treads_soft_03", 0.354813, 1.000000};
				frequency = "1";
				volume = "engineOn*(1-camPos)*grass*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-25) max 25)/	60),(((-30) max 30)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-45) max 45)/	60),(((-40) max 40)/	60)]))";
			};

			class ThreadsInS3 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_int_treads_soft_04", 0.354813, 1.000000};
				frequency = "1";
				volume = "engineOn*(1-camPos)*grass*(((((-speed*3.6) max speed*3.6)/	60) factor[(((-40) max 40)/	60),(((-45) max 45)/	60)])	*	((((-speed*3.6) max speed*3.6)/	60) factor[(((-55) max 55)/	60),(((-50) max 50)/	60)]))";
			};

			class ThreadsInS4 {
				sound[] = {"A3\sounds_f\vehicles\armor\treads\v2_int_treads_soft_05", 0.398107, 1.000000};
				frequency = "1";
				volume = "engineOn*(1-camPos)*grass*((((-speed*3.6) max speed*3.6)/	60) factor[(((-49) max 49)/	60),(((-53) max 53)/	60)])";
			};
		};
		class Library {libTextDesc ="M113"};

	
	};
	class BRAF_M113Ambul_Base: M113_Base
	{
		faction = "BRAF";
		accuracy=1000; // never recognized
		vehicleClass = BRAF_Armored;
		picture="\BRAF_Land\M113A2\data\ui\Picture_m113_amb_CA.paa";
		Icon="\BRAF_Land\M113A2\data\ui\Icon_m113_amb_CA.paa";
		mapSize = 5;

		scope=0;
		displayName=M113_AMB;

		class TransportMagazines{};
		attendant = true;
		hasGunner = false;
		class Turrets {};
		model = "\BRAF_Land\M113A2\BRAF_M113A2_Ambulance.p3d"

		transportSoldier = 3;

		threat[]={0.0, 0.0, 0.0};

		cargoAction[] = {M113_Cargo02_EP1, M113_Cargo04_EP1, M113_Cargo04_EP1};
		cargoIsCoDriver[] = {false};
		transportMaxMagazines = 0;
		transportMaxWeapons = 0;

		class Damage
		{
			tex[]={};
			mat[]={
				"Ca\Tracked_E\M113\Data\m113_track.rvmat",
				"Ca\Tracked_E\M113\Data\m113_track.rvmat",
				"Ca\Tracked_E\M113\Data\m113_track_destruct.rvmat",

				"Ca\Tracked_E\M113\Data\m113_01.rvmat",
				"Ca\Tracked_E\M113\Data\m113_01.rvmat",
				"Ca\Tracked_E\M113\Data\m113_01_destruct.rvmat",

				"Ca\Tracked_E\M113\Data\m113_02.rvmat",
				"Ca\Tracked_E\M113\Data\m113_02.rvmat",
				"Ca\Tracked_E\M113\Data\m113_02_destruct.rvmat",

				"Ca\Tracked_E\M113\Data\cargo.rvmat",
				"Ca\Tracked_E\M113\Data\cargo.rvmat",
				"Ca\Tracked_E\M113\Data\cargo_destruct.rvmat",

				"Ca\Ca_E\data\default.rvmat",
				"Ca\Ca_E\data\default.rvmat",
				"Ca\Ca_E\data\default_destruct.rvmat",
			};
		};
		class Library {libTextDesc ="M113_AMB"};
	};
	class M113Ambul_UN_EP1:BRAF_M113Ambul_Base
	{
		displayname = "M113-A2 MEDEVAC (ONU)";
		vehicleClass = BRAF_Armored;
		scope = 2;
		side=2;
		faction = "BRAF";
		crew = "I_crew_F";
		typicalCargo[]={};
		hiddenSelectionsTextures[] ={"\ca\Tracked_E\M113\Data\m113a3_01_UN_co.paa"};
	};
	class M113_UN_EP1:M113_Base
	{
		displayname = "M113-A2 (ONU)";
		scope = 2;
		side=2;
		vehicleClass = BRAF_Armored;
		faction = "BRAF";
		crew = "I_crew_F";
		typicalCargo[]={UN_CDF_Soldier_Crew_EP1,UN_CDF_Soldier_Crew_EP1};
		hiddenSelectionsTextures[] ={"\BRAF_Land\M113A2\Data\m113a3_01_UN_co.paa"};

	    class TransportMagazines
		{
		};

		class TransportWeapons
		{
		};


	};

	class M113Ambul_TK_EP1:BRAF_M113Ambul_Base
	{
		displayname = "M113-A2 MEDEVAC (Army)";
		vehicleClass = BRAF_Armored;
		scope = 2;
		side=2;
		faction = "BRAF";
		crew = "I_crew_F";
		typicalCargo[]={};
		hiddenSelectionsTextures[] ={"\ca\Tracked_E\M113\Data\m113a3_01_TK_co.paa"};
	};
	class M113_TK_EP1:M113_Base
	{
		displayname = "Test M113-A2 MK1 (Army)";
		scope = 2;
		side=2;
		faction = "BRAF";
		crew = "I_crew_F";
		typicalCargo[]={};
		hiddenSelectionsTextures[] ={"\BRAF_Land\M113A2\Data\EB_m113a12_co.paa"};

	    class TransportMagazines
		{
			
		};

		class TransportWeapons
		{
			
		};

	};

Share this post


Link to post
Share on other sites

Have you tried to add Buoyancy LOD with a property "buoyancy = 1" to the vehicle? It may also need some adjustments in GeoLOD mass.
You may also be interested in:

maxFordingDepth = 3;     //how deep could the vehicle be in water without getting some damage, in m
waterLeakiness = 2;      //amount of water that fill in the vehicle body when submerged, in m3, it defines how fast the vehicle sinks
waterResistanceCoef = 0.3    //how much water hampers the vehicle's movement
waterDamageEngine = 0.01    //coef of engine damage when submerged (probably how fast the engine will be damaged, in seconds), you can limit this way how long engine can work underwater ie. may be useful for simulating battery-driven engines of submarine
waterLinearDampingCoefX = 0.1;   //different coeficients that play a role in vehicle behavior on waves
waterLinearDampingCoefY = 0.1;
waterAngularDampingCoef = 0.1;

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  

×