Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define true 1
- #define false 0
- #define private 0
- #define protected 1
- #define public 2
- #define TEast 0
- #define TWest 1
- #define TGuerrila 2
- #define TCivilian 3
- #define TSideUnknown 4
- #define TEnemy 5
- #define TFriendly 6
- #define TLogic 7
- enum {
- DESTRUCTENGINE = 2,
- DESTRUCTDEFAULT = 6,
- DESTRUCTWRECK = 7,
- DESTRUCTTREE = 3,
- DESTRUCTTENT = 4,
- STABILIZEDINAXISX = 1,
- STABILIZEDINAXESXYZ = 4,
- STABILIZEDINAXISY = 2,
- STABILIZEDINAXESBOTH = 3,
- DESTRUCTNO = 0,
- STABILIZEDINAXESNONE = 0,
- DESTRUCTMAN = 5,
- DESTRUCTBUILDING = 1,
- };
- class CfgPatches {
- class svk_a3_aligator {
- requiredAddons[] = {"A3_Soft_F"};
- requiredVersion = 0.1;
- units[] = {"SVK_Aligator_01"};
- weapons[] = {};
- };
- };
- class DefaultEventHandlers; // External class reference
- class WeaponFireGun; // External class reference
- class WeaponCloudsGun; // External class reference
- class WeaponFireMGun; // External class reference
- class WeaponCloudsMGun; // External class reference
- class RCWSOptics; // External class reference
- 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 Components; // External class reference
- class ViewGunner; // External class reference
- };
- };
- class HitPoints {
- class HitLFWheel; // External class reference
- class HitLBWheel; // External class reference
- class HitRFWheel; // External class reference
- class HitRBWheel; // 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 HitGlass6; // External class reference
- class HitBody;
- };
- class ViewCargo; // External class reference
- };
- class SVK_Aligator_Base_F : Car_F {
- features = "Randomization: No <br />Camo selections: 2 - the body, wheels and cover <br />Script door sources: Door_LF, Door_RF, Door_LB, Door_RB <br />Script animations: None <br />Executed scripts: None <br />Firing from vehicles: No <br />Slingload: Slingloadable <br />Cargo proxy indexes: 1 to 3";
- author = "SVK Mod";
- dlc = "SVK_Mod";
- mapSize = 9.42;
- _generalMacro = "SVK_Aligator_Base_F";
- displayName = "Aligator 4x4";
- model = "\svk_a3_aligator\Aligator.p3d";
- Icon = "\svk_a3_aligator\icon.paa";
- Picture = "\svk_a3_aligator\icon.paa";
- transportMaxBackpacks = 5;
- vehicleClass = "Car";
- transportSoldier = 3;
- crewVulnerable = false;
- crewCrashProtection = 1.35;
- crewExplosionProtection = 0.9999;
- maxFordingDepth = -0.1;
- enableRadio = 1;
- enableGPS = 1;
- armor = 200;
- armorStructural = 5;
- cost = 500000;
- // threat (VSoft, VArmor, VAir), how threatening vehicle is to unit types
- threat[] = {0.8, 0.6, 0.3};
- slingLoadCargoMemoryPoints[] = {"SlingLoadCargo1", "SlingLoadCargo2", "SlingLoadCargo3", "SlingLoadCargo4"};
- 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.0;
- class Attenuation {
- start = 1.0;
- constant = 0;
- linear = 0;
- quadratic = 0.25;
- hardLimitStart = 30;
- hardLimitEnd = 60;
- };
- };
- class Right : Left {
- position = "P svetlo";
- direction = "Konec P svetla";
- hitpoint = "P svetlo";
- selection = "P svetlo";
- };
- class Right2 : Right {
- position = "P svetlo";
- useFlare = 1;
- };
- class Left2 : Left {
- position = "L svetlo";
- useFlare = 1;
- };
- };
- aggregateReflectors[] = {{"Left", "Right", "Left2", "Right2"}};
- selectionBrakeLights="brzdove svetlo";
- selectionBackLights="zadni svetlo";
- class Exhausts {
- class Exhaust1 {
- position = "vyfuk start";
- direction = "vyfuk konec";
- effect = "ExhaustEffectHTruck";
- };
- };
- class Damage {
- tex[] = {};
- mat[] = {"A3\Data_F\Glass_veh_armored_damage.rvmat", "A3\Data_F\Glass_veh_armored_damage.rvmat", "A3\Data_F\Glass_veh_int.rvmat", "A3\Data_F\Glass_veh_armored_damage.rvmat", "A3\Data_F\Glass_veh_armored_damage.rvmat"};
- };
- HiddenSelections[] = {"camo1","camo2","camo3","camo4","camo5","camo6","camo7","camo8","camo9","camo10","camo11"};
- class AnimationSources{
- class HitGlass1_health //this is the "source" name we specified in model.cfg
- //3 properties are needed...
- {
- source = "Hit"; //this appears to be an (undocumented) preset source for a local damage value
- hitpoint = "HitGlass1"; //this is the name of the HitPoints class (above) whose damage value we are making the animation source
- raw = 1; //this appears to be a boolean property telling the game to use the local damage value independent of global damage(?)
- };
- class HitGlass2_health //this is the "source" name we specified in model.cfg
- //3 properties are needed...
- {
- source = "Hit"; //this appears to be an (undocumented) preset source for a local damage value
- hitpoint = "HitGlass2"; //this is the name of the HitPoints class (above) whose damage value we are making the animation source
- raw = 1; //this appears to be a boolean property telling the game to use the local damage value independent of global damage(?)
- };
- class HitGlass3_health //this is the "source" name we specified in model.cfg
- //3 properties are needed...
- {
- source = "Hit"; //this appears to be an (undocumented) preset source for a local damage value
- hitpoint = "HitGlass3"; //this is the name of the HitPoints class (above) whose damage value we are making the animation source
- raw = 1; //this appears to be a boolean property telling the game to use the local damage value independent of global damage(?)
- };
- class HitGlass4_health //this is the "source" name we specified in model.cfg
- //3 properties are needed...
- {
- source = "Hit"; //this appears to be an (undocumented) preset source for a local damage value
- hitpoint = "HitGlass4"; //this is the name of the HitPoints class (above) whose damage value we are making the animation source
- raw = 1; //this appears to be a boolean property telling the game to use the local damage value independent of global damage(?)
- };
- class HitGlass5_health //this is the "source" name we specified in model.cfg
- //3 properties are needed...
- {
- source = "Hit"; //this appears to be an (undocumented) preset source for a local damage value
- hitpoint = "HitGlass5"; //this is the name of the HitPoints class (above) whose damage value we are making the animation source
- raw = 1; //this appears to be a boolean property telling the game to use the local damage value independent of global damage(?)
- };
- class HitGlass6_health //this is the "source" name we specified in model.cfg
- //3 properties are needed...
- {
- source = "Hit"; //this appears to be an (undocumented) preset source for a local damage value
- hitpoint = "HitGlass6"; //this is the name of the HitPoints class (above) whose damage value we are making the animation source
- raw = 1; //this appears to be a boolean property telling the game to use the local damage value independent of global damage(?)
- };
- class HitGlass7_health //this is the "source" name we specified in model.cfg
- //3 properties are needed...
- {
- source = "Hit"; //this appears to be an (undocumented) preset source for a local damage value
- hitpoint = "HitGlass7"; //this is the name of the HitPoints class (above) whose damage value we are making the animation source
- raw = 1; //this appears to be a boolean property telling the game to use the local damage value independent of global damage(?)
- };
- };
- class HitPoints: HitPoints
- {
- class HitEngine {
- armor = 0.8;
- material = -1;
- name = "engine_hit";
- visual = "";
- passThrough = 0;
- minimalHit = 0.2;
- explosionShielding = 0.2;
- radius = 0.45;
- };
- class HitGlass1: HitGlass1 {armor=0.25;}; /// it is pretty easy to puncture the glass but not so easy to remove it
- class HitGlass2: HitGlass2 {armor=0.25;};
- class HitGlass3: HitGlass3 {armor=0.25;};
- class HitGlass4: HitGlass4 {armor=0.25;};
- class HitGlass5: HitGlass5 {armor=0.25;};
- class HitGlass6: HitGlass6 {armor=0.25;};
- class HitGlass7: HitGlass7 {armor=0.25;};
- class HitBody: HitBody {name = "body"; visual="camo1"; passThrough=1;};
- class HitLFWheel: HitLFWheel
- {
- armor = 0.25;
- explosionShielding = 4;
- radius = 0.25;
- };
- class HitLBWheel: HitLBWheel
- {
- armor = 0.25;
- explosionShielding = 4;
- radius = 0.25;
- };
- class HitRFWheel: HitRFWheel
- {
- armor = 0.25;
- explosionShielding = 4;
- radius = 0.25;
- };
- class HitRBWheel: HitRBWheel
- {
- armor = 0.25;
- explosionShielding = 4;
- radius = 0.25;
- };
- class HitFuel {
- armor = 0.6;
- material = -1;
- name = "fuel_hit";
- visual = "";
- passThrough = 1;
- minimalHit = 0.2;
- explosionShielding = 0.2;
- radius = 0.25;
- };
- };
- wheelDamageThreshold = 0.7;
- wheelDestroyThreshold = 0.99;
- wheelDamageRadiusCoef = 0.95;
- wheelDestroyRadiusCoef = 0.45;
- driverAction = "Driver_Low01";
- cargoAction[] = {"passenger_low01", "passenger_apc_narrow_generic01", "passenger_generic01_foldhands"};
- getInAction = "GetInMRAP_01";
- getOutAction = "GetOutMRAP_01";
- cargoGetInAction[] = {"GetInMRAP_01_cargo"};
- cargoGetOutAction[] = {"GetOutMRAP_01"};
- commanderCanSee = 31;
- hideWeaponsDriver = true;
- hideWeaponsCargo = true;
- driverDoor = "";
- cargoDoors[] = {};
- terrainCoef = 1.5;
- turnCoef = 3;
- precision = 15;
- driverHasFlares = true;
- smokeLauncherGrenadeCount = 6;
- smokeLauncherVelocity = 14;
- smokeLauncherOnTurret = 0;
- smokeLauncherAngle = 180;
- weapons[] = {"TruckHorn2","SmokeLauncher"};
- magazines[] = {"SmokeLauncherMag"};
- 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", 0.707946, 1.0, 200};
- soundEngineOffInt[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_stop", 0.354813, 1.0};
- soundEngineOffExt[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_stop", 0.707946, 1.0, 200};
- buildCrash0[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_1", 1.0, 1, 500};
- buildCrash1[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_2", 1.0, 1, 500};
- buildCrash2[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_3", 1.0, 1, 500};
- buildCrash3[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_4", 1.0, 1, 500};
- soundBuildingCrash[] = {"buildCrash0", 0.25, "buildCrash1", 0.25, "buildCrash2", 0.25, "buildCrash3", 0.25};
- WoodCrash0[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_wood_ext_1", 1.0, 1, 500};
- WoodCrash1[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_wood_ext_2", 1.0, 1, 500};
- WoodCrash2[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_wood_ext_3", 1.0, 1, 500};
- WoodCrash3[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_wood_ext_4", 1.0, 1, 500};
- soundWoodCrash[] = {"woodCrash0", 0.25, "woodCrash1", 0.25, "woodCrash2", 0.25, "woodCrash3", 0.25};
- armorCrash0[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_1", 1.0, 1, 500};
- armorCrash1[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_2", 1.0, 1, 500};
- armorCrash2[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_3", 1.0, 1, 500};
- armorCrash3[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_4", 1.0, 1, 500};
- soundArmorCrash[] = {"ArmorCrash0", 0.25, "ArmorCrash1", 0.25, "ArmorCrash2", 0.25, "ArmorCrash3", 0.25};
- Crash0[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_1", 1.0, 1, 500};
- Crash1[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_2", 1.0, 1, 500};
- Crash2[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_3", 1.0, 1, 500};
- Crash3[] = {"A3\Sounds_F\vehicles\crashes\cars\cars_coll_big_default_ext_4", 1.0, 1, 500};
- soundCrashes[] = {"Crash0", 0.25, "Crash1", 0.25, "Crash2", 0.25, "Crash3", 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", 0.354813, 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 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", 0.630957, 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", 0.630957, 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", 0.630957, 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", 0.630957, 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", 0.630957, 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", 0.630957, 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", 0.630957, 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", 0.630957, 1};
- frequency = 1;
- volume = "engineOn*(1-asphalt)*(1-camPos)*(latSlipDrive factor[-0.15, -0.3])*(Speed factor[0, 10])";
- };
- class Waternoise_ext {
- sound[] = {"A3\Sounds_F\vehicles\noises\soft_driving_in_water", db-6, 1, 300};
- frequency = "1";
- volume = "(Speed factor[0, 10]) * water * camPos + (Speed factor[-0.1, -10]) * water * camPos";
- };
- class Waternoise_int {
- sound[] = {"A3\Sounds_F\vehicles\noises\soft_driving_in_water_int", 0.354813, 1, 100};
- frequency = "1";
- volume = "(Speed factor[0, 10]) * water * (1-camPos)* 0.8 + (Speed factor[-0.1, -10]) * water * (1-camPos) *0.8";
- };
- class RainExt {
- sound[] = {"A3\Sounds_F\vehicles\noises\rain1_ext", db0, 1.0, 100};
- frequency = 1;
- volume = "camPos * (rain - rotorSpeed/2) * 2";
- };
- class RainInt {
- sound[] = {"A3\Sounds_F\vehicles\noises\rain1_int", db0, 1.0, 100};
- frequency = 1;
- volume = "(1-camPos)*(rain - rotorSpeed/2)*2";
- };
- };
- class RenderTargets {
- class mirrors_Left {
- renderTarget = "rendertarget0";
- class CameraView1 {
- pointPosition = "PIP0_pos";
- pointDirection = "PIP0_dir";
- renderVisionMode = 4;
- renderQuality = 2;
- fov = 0.7;
- };
- };
- class mirrors_Right {
- renderTarget = "rendertarget1";
- class CameraView1 {
- pointPosition = "PIP1_pos";
- pointDirection = "PIP1_dir";
- renderVisionMode = 4;
- renderQuality = 2;
- fov = 0.7;
- };
- };
- };
- thrustDelay = 0.1;
- brakeIdleSpeed = 1.78;
- maxSpeed = 115; // max speed on level road, km/h
- fuelCapacity = 94;
- wheelCircumference = 3.924;
- 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_damper";
- steering = 1;
- side = "left";
- center = "wheel_1_1_axis";
- boundary = "wheel_1_1_bound";
- width = 0.35;
- mass = 150;
- MOI = 40;
- dampingRate = 0.1;
- dampingRateDamaged = 1.0;
- dampingRateDestroyed = 1000.0;
- maxBrakeTorque = 22500;
- maxHandBrakeTorque = 0;
- suspTravelDirection[] = {-0.125, -1, 0};
- suspForceAppPointOffset = "wheel_1_1_axis";
- tireForceAppPointOffset = "wheel_1_1_axis";
- maxCompression = 0.15;
- maxDroop = 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_damper";
- 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 {
- side = "right";
- suspTravelDirection[] = {0.125, -1, 0};
- boneName = "wheel_2_1_damper";
- center = "wheel_2_1_axis";
- boundary = "wheel_2_1_bound";
- suspForceAppPointOffset = "wheel_2_1_axis";
- tireForceAppPointOffset = "wheel_2_1_axis";
- };
- class RR : RF {
- boneName = "wheel_2_2_damper";
- steering = 0;
- center = "wheel_2_2_axis";
- boundary = "wheel_2_2_bound";
- suspForceAppPointOffset = "wheel_2_2_axis";
- tireForceAppPointOffset = "wheel_2_2_axis";
- maxHandBrakeTorque = 275000;
- };
- };
- class TransportMagazines {
- class _xx_30Rnd_762x39mm_Savz58 {
- magazine = "rhs_30Rnd_762x39mm_Savz58";
- count = 12*1;
- };
- class _xx_HandGrenade {
- magazine = "HandGrenade";
- count = 6;
- };
- class _xx_SmokeShell {
- magazine = "SmokeShell";
- count = 4;
- };
- class _xx_SmokeShellGreen {
- magazine = "SmokeShellGreen";
- count = 2;
- };
- class _xx_SmokeShellOrange {
- magazine = "SmokeShellOrange";
- count = 2;
- };
- class _xx_SmokeShellBlue {
- magazine = "SmokeShellBlue";
- count = 2;
- };
- class _xx_Titan_AT {
- magazine = "rhs_rpg7_PG7V_mag";
- count = 2;
- };
- };
- class TransportItems {
- class _xx_FirstAidKit {
- name = "FirstAidKit";
- count = 10;
- };
- class _xx_Medikit {
- name = "Medikit";
- count = 1;
- };
- class _xx_Toolkit {
- name = "Toolkit";
- count = 1;
- };
- };
- class TransportBackpacks {
- class _xx_svk_fast {
- backpack = "svk_a3_backpack_fast";
- count = 4;
- };
- };
- class TransportWeapons {
- class _xx_savz58v {
- weapon = "rhs_weap_savz58v";
- count = 3;
- };
- class _xx_rhs_weap_rpg7 {
- weapon = "rhs_weap_rpg7";
- count = 1;
- };
- };
- class Components; // External class reference
- };
- class SVK_Aligator_01: SVK_Aligator_base_F {
- author = "SVK Mod";
- dlc = "SVK Mod";
- mapSize = 6.71;
- class SimpleObject {
- eden = 1;
- animate[] = {{"damagehide", 0}, {"damagehidevez", 0}, {"damagehidehlaven", 0}, {"wheel_1_1_destruct", 0}, {"wheel_1_2_destruct", 0}, {"wheel_1_3_destruct", 0}, {"wheel_1_4_destruct", 0}, {"wheel_2_1_destruct", 0}, {"wheel_2_2_destruct", 0}, {"wheel_2_3_destruct", 0}, {"wheel_2_4_destruct", 0}, {"wheel_1_1_destruct_unhide", 0}, {"wheel_1_2_destruct_unhide", 0}, {"wheel_1_3_destruct_unhide", 0}, {"wheel_1_4_destruct_unhide", 0}, {"wheel_2_1_destruct_unhide", 0}, {"wheel_2_2_destruct_unhide", 0}, {"wheel_2_3_destruct_unhide", 0}, {"wheel_2_4_destruct_unhide", 0}, {"wheel_1_3_damage", 0}, {"wheel_1_4_damage", 0}, {"wheel_2_3_damage", 0}, {"wheel_2_4_damage", 0}, {"wheel_1_3_damper_damage_backanim", 0}, {"wheel_1_4_damper_damage_backanim", 0}, {"wheel_2_3_damper_damage_backanim", 0}, {"wheel_2_4_damper_damage_backanim", 0}, {"glass1_destruct", 0}, {"glass2_destruct", 0}, {"glass3_destruct", 0}, {"glass4_destruct", 0}, {"glass5_destruct", 0}, {"glass6_destruct", 0}, {"fuel", 1}, {"wheel_1_1", 0}, {"wheel_2_1", 0}, {"wheel_1_2", 0}, {"wheel_2_2", 0}, {"wheel_1_1_damper", 0.48}, {"wheel_2_1_damper", 0.53}, {"wheel_1_2_damper", 0.47}, {"wheel_2_2_damper", 0.62}, {"daylights", 0}, {"pedal_thrust", 0}, {"pedal_brake", 1}, {"wheel_1_1_damage", 0}, {"wheel_1_2_damage", 0}, {"wheel_2_1_damage", 0}, {"wheel_2_2_damage", 0}, {"wheel_1_1_damper_damage_backanim", 0}, {"wheel_1_2_damper_damage_backanim", 0}, {"wheel_2_1_damper_damage_backanim", 0}, {"wheel_2_2_damper_damage_backanim", 0}, {"vehicletransported_antenna_hide", 0}, {"drivingwheel", 0}, {"steering_1_1", 0}, {"steering_2_1", 0}, {"indicatorspeed", 0}, {"indicatorfuel", 1}, {"indicatorrpm", 0}, {"indicatortemp", 0}, {"indicatortemp_move", 0}, {"indicatortemp2", 0}, {"indicatortemp2_move", 0}, {"reverse_light", 0}, {"door_lf", 0}, {"door_rf", 0}, {"door_lb", 0}, {"door_rb", 0}};
- verticalOffset = 2.063;
- verticalOffsetWorld = -0.143;
- init = "''";
- };
- _generalMacro = SVK_Aligator_01;
- scope = public;
- crew = "SVK_A3_Soldier_F_light";
- typicalCargo[] = {"SVK_A3_Soldier_F_light"};
- side = TWest;
- faction = svk_a3;
- unitInfoType = "RscUnitInfoNoWeapon";
- class Turrets {};
- HiddenSelections[] = {"camo1","camo2","camo3","camo4","camo5","camo6","camo7","camo8","camo9","camo10","camo11"};
- HiddenSelectionsTextures[] = {"\svk_a3_aligator\data\aligator_svk_hull_co.paa","\svk_a3_aligator\data\aligator_svk_hull2_co.paa","\svk_a3_aligator\data\aligator_svk_hull3_co.paa","\svk_a3_aligator\data\aligator_svk_ext_co.paa","\svk_a3_aligator\data\insignia_co.paa","\svk_a3_aligator\data\bumper_co.paa","\svk_a3_aligator\data\aligator_svk_int1_co.paa","\svk_a3_aligator\data\aligator_svk_int2_co.paa","\svk_a3_aligator\data\aligator_svk_int3_co.paa","\svk_a3_aligator\data\aligator_svk_int4_co.paa","\svk_a3_aligator\data\aligator_svk_int5_co.paa"};
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement