Jump to content

Miroslaw Kowalski

Member
  • Content Count

    237
  • Joined

  • Last visited

  • Medals

  • Medals

Posts posted by Miroslaw Kowalski


  1. Nice work :) I started working on exactly the same thing two days ago and have reached the same state so far...i attached the missiles to the wingtips and was thinking of adding an useraction for opening the weaponbays and unlocking the ability of dropping bombs by doing so :) Keep up working on this!


  2. Hey guys,

    I'm working on a Dingo and wanted to get the turret working but It's just working like shown in this video I made: http://www.youtube.com/watch?v=kNCzfHrCISA

    I'm getting this error:

    Error: bin\config.bin/CfgVehicles/Dingo_MG_Base/Turrets/MainTurret/: Turret body turret not found while initializing the model dingo\dingo2a2mg.p3d
    Error: bin\config.bin/CfgVehicles/Dingo_MG_Base/Turrets/MainTurret/: Turret gun gun not found while initializing the model dingo\dingo2a2mg.p3d

    But I'm pretty sure that I assigned them correctly: config.cpp and model.cfg

    Also (you can see it in the video, too) I have some problems with the Animations for hiding the camonet. Would be nice if someone is able to help me :)

    Thanks in Advance


  3. Thank you :D I didn't even notice the mirror mistake :D The actions for hiding are working now but the camonet wont hide. I get an error saying something about a missing Animation Source. Maybe I have to add something in a AnimationSources class in the config?

    How can I create an emissive Material?

    For the MG I have an error in the .rpt. It says that it couldn't find the Body and the gun of the turret when initializing the model. I named them correctly.

    Thanks again :)


  4. Did you find something? If you hadn't enough time to look at it so far no problem ;) But I have another little problem :( (I think it's just one missing line in the config.cpp or model.cfg) I managed to add an MG to the car but the bullets are always being shot forward. So if i aim at the right the bullets will fly to the front... Here are the config.cpp and the model.cfg: config.cpp and the model.cfg

    Thank you :)


  5. Yeah...when i was 10 I signed in into the first forum i ever saw. It was a Yu-Gi-Oh! (a TCG) forum. And I wanted to have a name that represents my favorite card. And as bad as my english was at this time I thought its name was "BusterBlader" (it actually was "Blade Buster"). So I named myself "BusterBlader" which resulted in everyone just calling me "Buster". So I finally ended up with the name "Buster".

    Avatar....I never ever had one :D lack of ideas (maybe anyone has one?)


  6. Hello guys,

    I'm working on a Dingo (I'm using the A2SampleModels) and now want to add some things that make it more beautiful. For example mirrors, collision lights and a camonet which can be hidden by the user.

    So question/problem number one:

    class RenderTargets
    	{
    		class LeftMirror
    		{
    			renderTarget = "rendertarget0";
    			class CameraView1
    			{
    				pointPosition		= "PIP0_pos";
    				pointDirection		= "PIP0_dir";
    				renderQuality 		= 2;
    				renderVisionMode 	= 4;
    				fov 				= 0.7;
    			}; 			
    		};
    };

    I wrote this in my config and added the memoryPoints to the model but it looks like this: 201312230000qzpd2lse53.jpg

    And number two:

    How can I add collision lights to my vehicle?

    And finally number three:

    I wrote this in the model.cfg:

    class camoNetHide
               {
                   type = "hide";
                   source = "user";
                   selection = "camonet";
                   hideValue = 1.0;
                   unhideValue = 0.0;
                   minValue = 0;   
                   maxValue = 1;  
               };

    and this in the config.cpp:

    class UserActions : UserActions
    	{
    		class deploy_camo_net
    		{
    			userActionID = 80;
    			displayName = "Deploy Camonet";
    			displayNameDefault = "";
    			position = "axis_speed";
    			radius = 3.5;
    			animPeriod = 2;
    			onlyForPlayer = false;
    			condition = "Alive (this)";
    			condition = "this animationPhase ""camoNetHide"" > 0.5 AND Alive (this)";
    			statement = "this animate [""camoNetHide"", 0];";
    		};
    		class undeploy_camo_net : deploy_camo_net
    		{
    			userActionID = 81;
    			displayName = "Undeploy Camonet";
    			condition = "Alive (this)";
    			condition = "this animationPhase ""camoNetHide"" < 0.5 AND Alive (this)";
    			statement = "this animate [""camoNetHide"", 1];";
    		};
    	};

    but nothing happens...the action is there but I can't hide the net...

    that's it....for now :D

    Thanks in advance and Merry Christmas :)


  7. Thank you for the hint on his post it is very useful :) but I couldn't fix anything with it so I think the problem is another :/ I looked in the log file the addon builder is giving me and it says that I had been missing 4 axis and I added them so now every animations (hide wheels, dampers, glass and so on) work but it's still filled with helium :/

    config.cpp: http://ideone.com/KcVpmK

    model.cfg: http://ideone.com/bCYdfA

    Thanks in advance :)


  8. Thank you Gnat :) But it happened like before so I commented everything out that had to do with damage (like wheels and so on...) and started ArmA 3...CAR WAS VISIBLE (YAY!!!)...then I started to remove the commentary signs and as soon as I removed the commentary signs from

    class wheel_1_1_destruct

    {

    type="hide";

    selection="wheel_1_1_hide";

    source="HitLFWheel";

    minValue = 0; // upravit na 0.99

    maxValue = 1; // upravit na 1.0

    hidevalue = 0.99999;

    };

    it was invisible again...so something's wrong there but don't know what...maybe it's in my model but didn't find it out. Hopefully someone can help me again :) Here is the model if you need and the script files (config.cpp and model.cfg):

    Model:

    http://www.file-upload.net/download-8389185/Dingo2A2.p3d.html <-- APL (Arma Public License - don't use it anywhere that is not ArmA)

    Config.cpp:

    http://ideone.com/yMHbRi

    Model.cfg:

    http://ideone.com/iPb7s5

    Thanks in advance :)


  9. Sorry! I thought about it but simply forgot it...so here they come:

    Model.cfg first:

    class Rotation;
    
    class CfgSkeletons
    {
    class Default
    {
    	isDiscrete = 1;
    	skeletonInherit = "";
    	skeletonBones[] = {};
    };
    
    class Vehicle : Default {};	
    
    class Car : Vehicle
    {
    	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","",
    		"damageVez","OtocVez",
    		"damageHlaven","OtocHlaven",
    
    		"ukaz_rychlo","",
    		"ukaz_rychlo2","",
    		"ukaz_rpm","",
    		"mph","",
    		"rpm","",
    		"fuel","",
    		"fuel_1","",
    		"fuel_01","",
    		"fuel_2","",
    		"fuel_3","",
    		"prop_01","",
    		"prop_02","",
    		"prop_2","",
    		"prop_1","",
    		"glass1","damageHide",
    		"glass2","damageHide",
    		"glass3","damageHide",
    		"glass4","damageHide",
    	};
    };
    
    class Dingo : Car
    {
    	isDiscrete = 1;
    	skeletonInherit = "Car";
    	skeletonBones[] =
    	{
    		"reverse_light","",
    		"daylights","damageHide",
    		"door1","",
    		"door2","",
    		"glass5","damageHide",
    	};
    };
    };
    
    class CfgModels
    {
    class Default
    {
    	sectionsInherit = "";
    	sections[] = {};
    	skeletonName = "";
    };
    
    class Vehicle : Default
    {
    	sections[] =
    	{
    		"cislo",
    		"grupa",
    		"side",
    		"sektor",
    		"clan",
    		"clan_sign",
    		"podsvit pristroju",
    		"poskozeni",
    		"L svetlo",
    		"P svetlo",
    		"zasleh"
    	};
    }
    
    class Car : Vehicle
    {
    	sections[] =
    	{
    		"brzdove svetlo",
    		"clan",
    		"P svetlo",
    		"L svetlo",
    		"glass1",
    		"glass2",
    		"glass3",
    		"glass4",
    		"glass5",
    	};
    
    	class Animations
    	{
    		class damageHide
    		{
    			type = "hide";
    			source = "damage";
    			selection = "damageHide";
    			hideValue = 1.0;
    		};
    
    		class damageHideVez : damageHide
    		{
    			selection = "OtocVez";
    		};
    
    		class damageHideHlaven : damageHide
    		{
    			selection = "OtocHlaven";
    		};
    
    		class wheel_1_1_destruct
    		{
    			type="hide";
    			selection="wheel_1_1_hide";
    			source="HitLFWheel";
    			minValue = 0; // upravit na 0.99
    			maxValue = 1; // upravit na 1.0
    			hidevalue = 0.99999;
    		};
    		class wheel_1_2_destruct : wheel_1_1_destruct
    		{
    			source="HitLBWheel";
    			selection="wheel_1_2_hide";
    		};
    		class wheel_1_3_destruct : wheel_1_1_destruct
    		{
    			source="HitLMWheel";
    			selection="wheel_1_3_hide";
    		};
    		class wheel_1_4_destruct : wheel_1_1_destruct
    		{
    			source="HitLF2Wheel";
    			selection="wheel_1_4_hide";
    		};
    
    		class wheel_2_1_destruct : wheel_1_1_destruct
    		{
    			source="HitRFWheel";
    			selection="wheel_2_1_hide";
    		};
    		class wheel_2_2_destruct : wheel_1_1_destruct
    		{
    			source="HitRBWheel";
    			selection="wheel_2_2_hide";
    		};
    		class wheel_2_3_destruct : wheel_1_1_destruct
    		{
    			source="HitRMWheel";
    			selection="wheel_2_3_hide";
    		};
    		class wheel_2_4_destruct : wheel_1_1_destruct
    		{
    			source="HitRF2Wheel";
    			selection="wheel_2_4_hide";
    		};
    
    		class wheel_1_1_destruct_unhide
    		{
    			type="hide";
    			selection="wheel_1_1_unhide";
    			source="HitLFWheel";
    			minValue = 0; 
    			maxValue = 1; 
    			hidevalue = 0.00000;
    			UnHidevalue = 1.00000;
    		};
    		class wheel_1_2_destruct_unhide : wheel_1_1_destruct_unhide
    		{
    			source="HitLBWheel";
    			selection="wheel_1_2_unhide";
    		};
    		class wheel_1_3_destruct_unhide : wheel_1_1_destruct_unhide
    		{
    			source="HitLMWheel";
    			selection="wheel_1_3_unhide";
    		};
    		class wheel_1_4_destruct_unhide : wheel_1_1_destruct_unhide
    		{
    			source="HitLF2Wheel";
    			selection="wheel_1_4_unhide";
    		};
    
    		class wheel_2_1_destruct_unhide : wheel_1_1_destruct_unhide
    		{
    			source="HitRFWheel";
    			selection="wheel_2_1_unhide";
    		};
    		class wheel_2_2_destruct_unhide : wheel_1_1_destruct_unhide
    		{
    			source="HitRBWheel";
    			selection="wheel_2_2_unhide";
    		};
    		class wheel_2_3_destruct_unhide : wheel_1_1_destruct_unhide
    		{
    			source="HitRMWheel";
    			selection="wheel_2_3_unhide";
    		};
    		class wheel_2_4_destruct_unhide : wheel_1_1_destruct_unhide
    		{
    			source="HitRF2Wheel";
    			selection="wheel_2_4_unhide";
    		};
    
    		#define DamageOffset 0.2
    
    		class wheel_1_1_Damage : wheel_1_1_destruct
    		{
    			type = "translation";
    			axis = "Basic_Damper_Destruct_Axis";
    			memory = 1;
    			selection = "wheel_1_1_damper";
    			source = "HitLFWheel";
    			minValue = 0.0;
    			maxValue = 1;
    			offset0 = 0;
    			offset1 = DamageOffset;
    		};
    		class wheel_1_2_Damage : wheel_1_1_Damage
    		{
    			source="HitLBWheel";
    			selection="wheel_1_2_damper";
    		};
    		class wheel_1_3_Damage : wheel_1_1_Damage
    		{
    			source="HitLMWheel";
    			selection="wheel_1_3_damper";
    		};
    		class wheel_1_4_Damage : wheel_1_1_Damage
    		{
    			source="HitLF2Wheel";
    			selection="wheel_1_4_damper";
    		};
    
    		class wheel_2_1_Damage : wheel_1_1_Damage
    		{
    			source="HitRFWheel";
    			selection="wheel_2_1_damper";
    		};
    		class wheel_2_2_Damage : wheel_1_1_Damage
    		{
    			source="HitRBWheel";
    			selection="wheel_2_2_damper";
    		};
    		class wheel_2_3_Damage : wheel_1_1_Damage
    		{
    			source="HitRMWheel";
    			selection="wheel_2_3_damper";
    		};
    		class wheel_2_4_Damage : wheel_1_1_Damage
    		{
    			source="HitRF2Wheel";
    			selection="wheel_2_4_damper";
    		};
    
    		class wheel_1_1_Damper_Damage_BackAnim : wheel_1_1_Damage
    		{
    			selection="wheel_1_1_damper";
    			offset1 = -1.2*DamageOffset;
    		};
    		class wheel_1_2_Damper_Damage_BackAnim : wheel_1_1_Damper_Damage_BackAnim
    		{
    			source="HitLBWheel";
    			selection="wheel_1_2_damper";
    		};
    		class wheel_1_3_Damper_Damage_BackAnim : wheel_1_1_Damper_Damage_BackAnim
    		{
    			source="HitLMWheel";
    			selection="wheel_1_3_damper";
    		};
    		class wheel_1_4_Damper_Damage_BackAnim : wheel_1_1_Damper_Damage_BackAnim
    		{
    			source="HitLF2Wheel";
    			selection="wheel_1_4_damper";
    		};
    
    		class wheel_2_1_Damper_Damage_BackAnim : wheel_1_1_Damper_Damage_BackAnim
    		{
    			source="HitRFWheel";
    			selection="wheel_2_1_damper";
    		};
    		class wheel_2_2_Damper_Damage_BackAnim : wheel_1_1_Damper_Damage_BackAnim
    		{
    			source="HitRBWheel";
    			selection="wheel_2_2_damper";
    		};
    		class wheel_2_3_Damper_Damage_BackAnim : wheel_1_1_Damper_Damage_BackAnim
    		{
    			source="HitRMWheel";
    			selection="wheel_2_3_damper";
    		};
    		class wheel_2_4_Damper_Damage_BackAnim : wheel_1_1_Damper_Damage_BackAnim
    		{
    			source="HitRF2Wheel";
    			selection="wheel_2_4_damper";
    		};
    
    		class Glass1_destruct
    		{
    			type="hide";
    			selection="glass1";
    			source="HitGlass1";
    			minValue = 0; 
    			maxValue = 1; 
    			hidevalue = 0.99999;
    		};
    		class Glass2_destruct : Glass1_destruct
    		{
    			selection="glass2";
    			source="HitGlass2";
    		};
    		class Glass3_destruct : Glass1_destruct
    		{
    			selection="glass3";
    			source="HitGlass3";
    		};
    		class Glass4_destruct : Glass1_destruct
    		{
    			selection="glass4";
    			source="HitGlass4";
    		};
    		class Glass5_destruct : Glass1_destruct
    		{
    			selection="glass5";
    			source="HitGlass5";
    		};
    
    		class Fuel : Rotation
    		{
    			source="fuel";
    			selection="fuel";
    			axis="fuel_axis";
    			maxValue=1;
    			memory=1;
    			angle0="rad -110";
    			angle1=0;
    		};
    		class IndicatorSpeed : Rotation
    		{
    			source="speed";
    			selection="mph";
    			axis="mph_axis";
    			memory=1;
    			maxValue=38.900002;
    			angle1="rad -265";
    		};
    		class IndicatorFuel : Rotation
    		{
    			type="rotation";
    			source="fuel";
    			selection="fuel_1";
    			axis="fuel_1_axis";
    			memory=1;
    			minValue=0.000000;
    			maxValue=1.000000;
    			angle0=-0.087266;
    			angle1=-1.658063;
    		};
    		class IndicatorRPM : Rotation
    		{
    			source="rpm";
    			selection="rpm";
    			axis="rpm_axis";
    			memory=1;
    			angle1="rad 80";
    		};
    		class DrivingWheel : Rotation
    		{
    			source="drivingWheel";
    			selection="drivewheel";
    			axis="drivewheel_axis";
    			minValue=-1;
    			maxValue=1;
    			angle0=(rad 80);
    			angle1=(rad -80);
    		};
    		class Steering_1_1
    		{
    			type="rotationY";
    			source="drivingWheel";
    			selection="wheel_1_1_steering";
    			axis="wheel_1_1_steering_axis";
    			memory=1;
    			minValue= -1;
    			maxValue= 1;
    			angle0=1.047198;
    			angle1=-1.047198;
    		};
    		class Steering_2_1 : Steering_1_1
    		{
    			selection="wheel_2_1_steering";
    			axis="wheel_2_1_steering_axis";
    		};
    		class Wheel_1_1
    		{
    			type="rotationX";
    			source="wheel";
    			selection="wheel_1_1";
    			axis="wheel_1_1_axis";
    			memory=1;
    			sourceAddress="loop";
    			minValue=0;
    			maxValue=1;
    			angle0=0;
    			angle1="rad -360";
    		};
    		class wheel_2_1 : Wheel_1_1
    		{
    			selection="wheel_2_1";
    			axis="wheel_2_1_axis";
    		};
    		class wheel_1_2 : Wheel_1_1
    		{
    			selection="wheel_1_2";
    			axis="wheel_1_2_axis";
    		};
    		class wheel_1_3 : Wheel_1_1
    		{
    			selection="wheel_1_3";
    			axis="wheel_1_3_axis";
    		};
    		class Wheel_2_2 : Wheel_1_1
    		{
    			selection="wheel_2_2";
    			axis="wheel_2_2_axis";
    		};
    		class Wheel_2_3 : Wheel_1_1
    		{
    			selection="wheel_2_3";
    			axis="wheel_2_3_axis";
    		};
    		class Wheel_1_4 : Wheel_1_1
    		{
    			selection="wheel_1_4";
    			axis="wheel_1_4_axis";
    		};
    		class Wheel_2_4 : Wheel_1_1
    		{
    			selection="wheel_2_4";
    			axis="wheel_2_4_axis";
    		};
    		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.5";
    			offset1= "-0.5";
    			memory=1;
    		};
    		class wheel_2_1_Damper : Wheel_1_1_Damper
    		{
    			selection="wheel_2_1_damper_land";
    		};
    		class wheel_1_2_Damper : Wheel_1_1_Damper
    		{
    			selection="wheel_1_2_damper_land";
    		};
    		class Wheel_2_2_Damper : Wheel_1_1_Damper
    		{
    			selection="wheel_2_2_damper_land";
    		};
    		class daylights
    		{
    			type="hide";
    			source="rpm";
    			selection="daylights";
    			minValue=-0.8;
    			maxValue=0.2;
    			unhidevalue=1;
    			sourceAddress="clamp";
    		};
    
    		class reverse_light
    		{
    			type="Hide";
    			selection="reverse_light";
    			sourceAddress="clamp";
    			source="Gear";
    			minValue = -1;
    			maxValue = 0;
    			hideValue = "0.2";	
    		};
    	};
    };
    
    class Dingo2A2 : Car
    {
    	skeletonName = "Dingo";
    	sectionsInherit = "Car";
    	sections[] =
    	{
    		"camo1",
    		"camo2",
    		"camo5",
    		"camo6",
    
    	};
    
    	class Animations : Animations
    	{
    		class wheel_1_1_Damage : wheel_1_1_Damage
    		{
    			offset1=0.18000001;
    		};
    		class wheel_1_2_Damage : wheel_1_2_Damage
    		{
    			offset1=0.18000001;
    		};
    		class wheel_2_1_Damage : wheel_2_1_Damage
    		{
    			offset1=0.18000001;
    		};
    		class wheel_2_2_Damage : wheel_2_2_Damage
    		{
    			offset1=0.18000001;
    		};
    
    		class wheel_1_1_Damper_Damage_BackAnim : wheel_1_1_Damper_Damage_BackAnim
    		{
    			offset1=-0.18000001;
    		};
    		class wheel_1_2_Damper_Damage_BackAnim : wheel_1_2_Damper_Damage_BackAnim
    		{
    			offset1=-0.18000001;
    		};
    		class wheel_2_1_Damper_Damage_BackAnim : wheel_2_1_Damper_Damage_BackAnim
    		{
    			offset1=-0.18000001;
    		};
    		class wheel_2_2_Damper_Damage_BackAnim : wheel_2_2_Damper_Damage_BackAnim
    		{
    			offset1=-0.18000001;
    		};
    
    		class DrivingWheel
    		{
    			type="rotation";
    			source="drivingWheel";
    			selection="drivewheel";
    			axis="drivewheel_axis";
    			memory=1;
    			minValue=-1;
    			maxValue=1;
    			angle0=(rad 70);
    			angle1=(rad -70);
    		};
    		class Steering_1_1
    		{
    			type="rotationY";
    			source="drivingWheel";
    			selection="wheel_1_1_steering";
    			axis="wheel_1_1_steering_axis";
    			memory=1;
    			minValue="rad -90";
    			maxValue="rad +90";
    			angle0=1.0471981;
    			angle1=-1.0471981;
    		};
    		class Steering_2_1 : Steering_1_1
    		{
    			selection="wheel_2_1_steering";
    			axis="wheel_2_1_steering_axis";
    			angle0=1.0471981;
    			angle1=-1.0471981;
    		};
    		class IndicatorSpeed : Rotation
    		{
    			source="speed";
    			selection="mph";
    			axis="mph_axis";
    			memory=1;
    			maxValue=28;
    			angle0=0.17453299;
    			angle1=-3.141593;
    		};
    		class IndicatorRPM : Rotation
    		{
    			type="rotation";
    			source="rpm";
    			selection="rpm";
    			axis="rpm_axis";
    			memory=1;
    			minValue=0;
    			maxValue=7500;
    			angle0=(rad 0);
    			angle1=(rad 250);
    		};				
    		class fuel
    		{
    			type="rotation";
    			source="fuel";
    			selection="fuel";
    			axis="fuel_axis";
    			memory=1;
    			minValue=0;
    			maxValue=1;
    			angle0=0;
    			angle1="rad +55";
    		};
    		class prop_01
    		{
    			type="rotation";
    			source="rpm";
    			selection="prop_1";
    			axis="prop_1_axis";
    			memory=1;
    			minValue=1000;
    			maxValue=7000;
    			angle0="rad 30";
    			angle1="rad 35";
    		};
    
    		class daylights
    		{
    			type="hide";
    			source="rpm";
    			selection="daylights";
    			minValue=-0.8;
    			maxValue=0.2;
    			unhidevalue=1;
    			sourceAddress="clamp";
    		};
    
    		class reverse_light
    		{
    			type="Hide";
    			selection="reverse_light";
    			sourceAddress="clamp";
    			source="Gear";
    			minValue = -1;
    			maxValue = 0;
    			hideValue = "0.2";	
    		};
    
    		class damageHidedoor1 : damageHide
    		{
    			selection="door1";
    		};
    		class damageHidedoor2 : damageHide
    		{
    			selection="door2";
    		};	
    
    		class Glass5_destruct
    		{
    			type="hide";
    			selection="glass5";
    			source="HitGlass5";
    			minValue = 0;
    			maxValue = 1;
    			hidevalue = 0.99999;
    		};	
    		class Wheel_1_1_Damper : 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.5";
    			offset1= "-0.5";
    			memory=1;
    		};
    		class wheel_2_1_Damper : Wheel_1_1_Damper
    		{
    			selection="wheel_2_1_damper_land";			
    		};
    		class wheel_1_2_Damper : Wheel_1_1_Damper
    		{
    			selection="wheel_1_2_damper_land";						
    		};
    		class Wheel_2_2_Damper : Wheel_1_1_Damper
    		{
    			selection="wheel_2_2_damper_land";		
    		};			
    	};
    };
    };
    

    And the config.cpp:

    #define TEast 0
    #define TWest 1
    #define TGuerrila 2
    #define TCivilian 3
    #define TSideUnknown 4
    #define TEnemy 5
    #define TFriendly 6
    #define TLogic 7
    #define true 1
    #define false 0
    #define private 0
    #define protected 1
    #define public 2
    
    class DefaultEventhandlers;
    
    class CfgPatches
    {
    class Ares_Dingo
    {
    	units[] = {};
    	weapons[] = {};
    	requiredVersion = 1.50;
    
    	requiredAddons[] = {"A3_Soft_F"};
    };
    };
    
    class WeaponFireGun;
    class WeaponCloudsGun;
    class WeaponFireMGun;
    class WeaponCloudsMGun;
    class RCWSOptics;
    
    class CfgVehicles
    {
    class LandVehicle;	// External class reference
    
    class Car : LandVehicle
    {
    	class NewTurret;	// External class reference
    };
    
    class Car_F : Car
    {
    	class AnimationSources;	// External class reference
    
    	class Turrets
    	{
    		class MainTurret : NewTurret {};
    	};
    
    	class HitPoints
    	{
    		class HitLFWheel;	// External class reference
    		class HitLF2Wheel;	// External class reference
    		class HitRFWheel;	// External class reference
    		class HitRF2Wheel;	// External class reference
    		class HitGlass1;	// External class reference
    		class HitGlass2;	// External class reference
    		class HitGlass3;	// External class reference
    		class HitGlass4;	// External class reference
    		class HitGlass5;	// External class reference
    	};
    };
    
    class Dingo_Base: Car_F
    {
    	mapSize = 5;
    	author = "Ares Military and BIS";
    	displayName = "Dingo2A2";
    	nameSound = "veh_car";
    	scope = private;
    	side = TWest;
    	faction = BLU_F;
    
    	class Library
    	{
    		libTextDesc = "$STR_A3_CfgVehicles_MRAP_01_Base_Library0";
    	};
    
    	model = "Dingo\Dingo2A2.p3d";
    	Picture = "Dingo\data\UI\pictures\Dingo_Picture.paa";
    	Icon = "Dingo\data\UI\icons\Dingo_Icon.paa";
    	transportMaxBackpacks = 6;
    	vehicleClass = "Car";
    	transportSoldier = 5;
    	crewVulnerable = false;
    	crewCrashProtection = 0.15;
    	armor = 40;
    	cost = 100000;
    
    	threat[] = {0.8, 0.6, 0.3};
    
    	class Damage
    	{
    		tex[] = {};
    		mat[] = {};
    	};
    
    	HiddenSelections[] = {camo1,camo2,camo3};
    	HiddenSelectionsTextures[] = {"Dingo/data/TestTexture_co.paa", "Dingo/data/TestTexture_co.paa", "Dingo/data/TestTexture_co.paa"};
    
    	class AnimationSources: AnimationSources
    	{
    		class HitGlass1;
    
    		class HitGlass5 : HitGlass1
    		{
    			hitpoint="HitGlass5";
    		};
    	};
    
    		class HitPoints: HitPoints
    	{
    		class HitEngine
    		{
    			armor=0.5;
    			material=-1;
    			name="engine";
    			visual="";
    			passThrough=1;
    		};
    
    		class HitGlass1 : HitGlass1
    		{
    			armor=1;
    		};
    
    		class HitGlass2 : HitGlass2
    		{
    			armor=1;
    		};
    
    		class HitGlass3 : HitGlass3
    		{
    			armor=1;
    		};
    
    		class HitGlass4 : HitGlass4
    		{
    			armor=1;
    		};
    
    		class HitGlass5 : HitGlass4
    		{
    			name="glass5";
    			visual="glass5";
    		};
    
    		class HitLFWheel : HitLFWheel
    		{
    			armor = 0.12;
    			explosionShielding = 0.8;
    		};
    
    		class HitLF2Wheel : HitLF2Wheel
    		{
    			armor = 0.12;
    			explosionShielding = 0.8;
    		};
    
    		class HitRFWheel : HitRFWheel
    		{
    			armor = 0.12;
    			explosionShielding = 0.8;
    		};
    
    		class HitRF2Wheel : HitRF2Wheel
    		{
    			armor = 0.12;
    			explosionShielding = 0.8;
    		};
    
    		class HitFuel
    		{
    			armor=0.14;
    			material=-1;
    			name="fueltank";
    			visual="";
    			passThrough=1;
    		};
    	};
    
    	wheelDamageThreshold = 0.7;
    	wheelDestroyThreshold = 0.99;
    	wheelDamageRadiusCoef = 0.95;
    	wheelDestroyRadiusCoef = 0.45;
    
    	crew = "B_Soldier_F";
    	typicalCargo[] = {"B_Soldier_F","B_Soldier_F","B_Soldier_F", "B_Soldier_F", "B_Soldier_F"};
    	driverAction = "driver_MRAP_01";
    	cargoAction[] = {"passenger_MRAP_01_front", "passenger_MRAP_01_back", "passenger_generic01_foldhands", "passenger_generic01_foldhands"};
    	cargoIsCoDriver[] = {true,false,false,false,false};
    	getInAction = "GetInMRAP_01";
    	getOutAction = "GetOutMRAP_01";
    	cargoGetInAction[] = {"GetInMRAP_01_cargo"};
    	cargoGetOutAction[] = {"GetOutMRAP_01"};
    	castDriverShadow = false;
    	commanderCanSee = 31;
    	hideWeaponsDriver = true;
    	hideWeaponsCargo = true;
    	driverDoor = "";
    	cargoDoors[] = {};
    
    	terrainCoef = 2.0;
    	turnCoef = 4;
       	steerAheadSimul = 0.4;
    	steerAheadPlan = 0.2;
    	predictTurnPlan = 0.9;
           predictTurnSimul = 0.5;
           precision = 15;
    
    	smokeLauncherGrenadeCount = 8;
    	smokeLauncherVelocity = 14;
    	smokeLauncherOnTurret = 0;
    	smokeLauncherAngle = 360;
    	weapons[] = {"TruckHorn2"};
    	magazines[] = {};
    	attenuationEffectType = "CarAttenuation";
    
    	soundGetIn[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\getin", 0.562341, 1};
    	soundGetOut[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\getout", 0.562341, 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", 1.0, 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", 1.0, 1.0, 200};
    	buildCrash0[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_01", 1.77828, 1, 200};
    	buildCrash1[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_02", 1.77828, 1, 200};
    	buildCrash2[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_03", 1.77828, 1, 200};
    	buildCrash3[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_04", 1.77828, 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.77828, 1, 200};
    	WoodCrash1[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_02", 1.77828, 1, 200};
    	WoodCrash2[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_03", 1.77828, 1, 200};
    	WoodCrash3[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_04", 1.77828, 1, 200};
    	WoodCrash4[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_05", 1.77828, 1, 200};
    	WoodCrash5[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_06", 1.77828, 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.77828, 1, 200};
    	ArmorCrash1[] = {"A3\sounds_f\Vehicles\soft\noises\crash_vehicle_02", 1.77828, 1, 200};
    	ArmorCrash2[] = {"A3\sounds_f\Vehicles\soft\noises\crash_vehicle_03", 1.77828, 1, 200};
    	ArmorCrash3[] = {"A3\sounds_f\Vehicles\soft\noises\crash_vehicle_04", 1.77828, 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", 0.398107, 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", 0.562341, 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", 0.562341, 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", 0.398107, 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", 0.630957, 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", 0.562341, 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 Movement {
    			sound = "soundEnviron";
    			frequency = "1";
    			volume = "0";
    		};
    
    		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", 0.562341, 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])";
    		};
    	};
    
    	thrustDelay = 0.1;
    	brakeIdleSpeed = 1.78;
    	maxSpeed = 115;
    	fuelCapacity = 94;
    	wheelCircumference = 3.5168;
    	antiRollbarForceCoef = 12;
    	antiRollbarForceLimit = 10;
    	antiRollbarSpeedMin = 20;
    	antiRollbarSpeedMax = 50;
    	idleRpm = 800;
    	redRpm = 4500;
    
    	class complexGearbox
    	{
    		GearboxRatios[] = {"R1", -3.182, "N", 0, "D1", 4.182, "D2", 2.318, "D3", 1.85, "D4", 1.65, "D5", 1.45};
    		TransmissionRatios[] = {"High", 5.539};
    		gearBoxMode = "auto";
    		moveOffGear = 1;
    		driveString = "D";
    		neutralString = "N";
    		reverseString = "R";
    	};
    
    	simulation = "carx";
    	dampersBumpCoef = 6.0;
    	differentialType = "all_limited";
    	frontRearSplit = 0.5;
    	frontBias = 1.3;
    	rearBias = 1.3;
    	centreBias = 1.3;
    	clutchStrength = 20.0;
    	enginePower = 276;
    	maxOmega = 471;
    	peakTorque = 1253;
    	dampingRateFullThrottle = 0.08;
    	dampingRateZeroThrottleClutchEngaged = 2.0;
    	dampingRateZeroThrottleClutchDisengaged = 0.35;
    	torqueCurve[] = {{0.0, 0.0}, {0.178, 0.5}, {0.25, 0.85}, {0.4, 0.9}, {0.5, 1.0}, {0.725, 0.95}, {0.85, 0.6}, {1.0, 0.3}};
    	changeGearMinEffectivity[] = {0.95, 0.15, 0.95, 0.95, 0.95, 0.95, 0.95};
    	switchTime = 0.31;
    	latency = 1.0;
    
    	class Wheels
    	{
    		class LF
    		{
    			boneName = "wheel_1_1";
    			steering = 1;
    			side = "left";
    			center = "Wheel_1_1_Axis";
    			boundary = "Wheel_1_1_bound";
    			width = 0.2;
    			mass = 150;
    			MOI = 40;
    			dampingRate = 0.1;
    			dampingRateDamaged = 1.0;
    			dampingRateDestroyed = 1000.0;
    			maxBrakeTorque = 22500;
    			maxHandBrakeTorque = 0;
    			suspTravelDirection[] = {0, -1, 0};
    			suspForceAppPointOffset = "Wheel_1_1_Axis";
    			tireForceAppPointOffset = "Wheel_1_1_Axis";
    			maxCompression = 0.15;
    			mMaxDroop = 0.15;
    			sprungMass = 2066;
    			springStrength = 201234;
    			springDamperRate = 20600.6;
    			longitudinalStiffnessPerUnitGravity = 5000;
    			latStiffX = 25;
    			latStiffY = 180;
    			frictionVsSlipGraph[] = {{0, 1}, {0.5, 1}, {1, 1}};
    		};
    
    		class LR : LF
    		{
    			boneName = "wheel_1_2";
    			steering = 0;
    			center = "Wheel_1_2_Axis";
    			boundary = "Wheel_1_2_bound";
    			suspForceAppPointOffset = "Wheel_1_2_Axis";
    			tireForceAppPointOffset = "Wheel_1_2_Axis";
    			maxHandBrakeTorque = 275000;
    		};
    
    		class RF : LF
    		{
    			boneName = "Wheel_2_1";
    			center = "Wheel_2_1_Axis";
    			boundary = "Wheel_2_1_bound";
    			suspForceAppPointOffset = "Wheel_2_1_Axis";
    			tireForceAppPointOffset = "Wheel_2_1_Axis";
    			steering = 1;
    			side = "right";
    		};
    
    		class RR : RF
    		{
    			boneName = "wheel_2_2";
    			steering = 0;
    			center = "Wheel_2_2_Axis";
    			boundary = "Wheel_2_2_bound";
    			suspForceAppPointOffset = "Wheel_2_2_Axis";
    			tireForceAppPointOffset = "Wheel_2_2_Axis";
    			maxHandBrakeTorque = 275000;
    		};
    	};
    
    	supplyRadius = 5;
    	transportMaxMagazines = 90;
    
    	class TransportMagazines
    	{
    		class _xx_30Rnd_65x39_caseless_mag
    		{
    			magazine = "30Rnd_65x39_caseless_mag";
    			count = 16;
    		};
    
    		class _xx_100Rnd_65x39_caseless_mag
    		{
    			magazine = "100Rnd_65x39_caseless_mag";
    			count = 8;
    		};
    
    		class _xx_HandGrenade
    		{
    			magazine = "HandGrenade";
    			count = 10;
    		};
    
    		class _xx_1Rnd_HE_Grenade_shell
    		{
    			magazine = "1Rnd_HE_Grenade_shell";
    			count = 10;
    		};
    
    		class _xx_1Rnd_Smoke_Grenade_shell
    		{
    			magazine = "1Rnd_Smoke_Grenade_shell";
    			count = 4;
    		};
    
    		class _xx_1Rnd_SmokeGreen_Grenade_shell
    		{
    			magazine = "1Rnd_SmokeGreen_Grenade_shell";
    			count = 4;
    		};
    
    		class _xx_1Rnd_SmokeOrange_Grenade_shell
    		{
    			magazine = "1Rnd_SmokeOrange_Grenade_shell";
    			count = 4;
    		};
    
    		class _xx_1Rnd_SmokeBlue_Grenade_shell
    		{
    			magazine = "1Rnd_SmokeBlue_Grenade_shell";
    			count = 4;
    		};
    
    		class _xx_16Rnd_9x21_Mag
    		{
    			magazine = "16Rnd_9x21_Mag";
    			count = 12;
    		};
    
    		class _xx_SmokeShell
    		{
    			magazine = "SmokeShell";
    			count = 4;
    		};
    
    		class _xx_SmokeShellGreen
    		{
    			magazine = "SmokeShellGreen";
    			count = 4;
    		};
    
    		class _xx_SmokeShellOrange
    		{
    			magazine = "SmokeShellOrange";
    			count = 4;
    		};
    
    		class _xx_SmokeShellBlue
    		{
    			magazine = "SmokeShellBlue";
    			count = 4;
    		};
    
    		class _xx_NLAW_F
    		{
    			magazine = NLAW_F;
    			count = 2;
    		};
    	};
    
    	class TransportItems
    	{
    		class _xx_FirstAidKit
    		{
    			name = "FirstAidKit";
    			count = 10;
    		};
    	};
    
    	class TransportWeapons
    	{
    		class _xx_arifle_MX_F
    		{
    			weapon = "arifle_MX_F";
    			count = 2;
    		};
    	};
    
    	enableGPS = true;
    
    	soundServo[] = {"A3\Sounds_F\vehicles\armor\noises\servo_best", db-40, 1.0,10};
    
    	radarType = 4;
    };
    
    class Dingo_F : Dingo_Base
    {
    	scope = public;
    	class Turrets {};
    };
    };
    

    Thanks in advance for your help :)

×