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 CfgVehicleClasses {
- class SHOUNKA_vehicule_civil
- {
- displayName = "[Mrshounka AltisLife] Voiture civil";
- };
- };
- class DefaultEventhandlers; // External class reference
- class CfgPatches {
- class Mrshounka_207_p {
- units[] = {"Mrshounka_207_p"};
- weapons[] = {};
- requiredVersion = 0.1;
- requiredAddons[] = {"shounka_a3_base"};
- };
- };
- class WeaponFireGun; // External class reference
- class WeaponCloudsGun; // External class reference
- class WeaponFireMGun; // External class reference
- class WeaponCloudsMGun; // External class reference
- class CfgVehicles {
- class LandVehicle; // External class reference
- class Car : LandVehicle {
- class HitPoints; // External class reference
- };
- class Car_F : Car {
- class HitPoints {
- class HitLFWheel; // External class reference
- class HitLF2Wheel; // External class reference
- class HitRFWheel; // External class reference
- class HitRF2Wheel; // External class reference
- class HitBody; // External class reference
- class HitGlass1; // External class reference
- class HitGlass2; // External class reference
- class HitGlass3; // External class reference
- class HitGlass4; // External class reference
- };
- class EventHandlers; // External class reference
- };
- class Mrshounka_207_base : Car_F {
- mapSize = 5.33;
- author = "Quiet";
- _generalMacro = "Mrshounka_207_base";
- model = "\Mrshounka_207_p\Mrshounka_207_p";
- picture = "\A3\soft_f_gamma\Hatchback_01\Data\UI\portrait_car_CA.paa";
- Icon = "\A3\soft_f_gamma\Hatchback_01\Data\UI\map_car_CA.paa";
- displayName = "Mrshounka_207_p";
- class Library {};
- htMin = 600;
- htMax = 1800;
- afMax = 100;
- mfMax = 20;
- mFact = 0;
- tBody = 0;
- hiddenSelections[] = {"camo1"};
- terrainCoef = 6.5;
- turnCoef = 2.5;
- precision = 10;
- brakeDistance = 3.0; // vehicle movement precision
- acceleration = 15;
- fireResistance = 5;
- armor = 32;
- armorLights = 0.01;
- cost = 50000;
- transportMaxBackpacks = 0;
- transportSoldier = 1;
- class TransportItems {
- class _xx_FirstAidKit {
- name = "FirstAidKit";
- count = 0;
- };
- };
- class AnimationSources; // External class reference
- class Turrets {};
- class HitPoints : HitPoints {
- class HitLFWheel : HitLFWheel {
- armor = 0.125;
- passThrough = false;
- };
- class HitLF2Wheel : HitLF2Wheel {
- armor = 0.125;
- passThrough = false;
- };
- class HitRFWheel : HitRFWheel {
- armor = 0.125;
- passThrough = false;
- };
- class HitRF2Wheel : HitRF2Wheel {
- armor = 0.125;
- passThrough = false;
- };
- class HitFuel {
- armor = 0.5;
- material = -1;
- name = "fueltank";
- visual = "";
- passThrough = 0.2;
- };
- class HitEngine {
- armor = 0.5;
- material = -1;
- name = "engine";
- visual = "";
- passThrough = 0.2;
- };
- class HitBody : HitBody {
- visual = "camo1";
- passThrough = true;
- };
- class HitGlass1 : HitGlass1 {
- armor = 0.25;
- };
- class HitGlass2 : HitGlass2 {
- armor = 0.25;
- };
- class HitGlass3 : HitGlass3 {
- armor = 0.25;
- };
- class HitGlass4 : HitGlass4 {
- armor = 0.25;
- };
- };
- driverAction = "driver_offroad01";
- cargoAction[] = {"passenger_low01", "passenger_generic01_leanleft", "passenger_generic01_foldhands"};
- getInAction = "GetInLow";
- getOutAction = "GetOutLow";
- cargoGetInAction[] = {"GetInLow"};
- cargoGetOutAction[] = {"GetOutLow"};
- attenuationEffectType = "CarAttenuation";
- soundGetIn[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_door", 0.562341, 1};
- soundGetOut[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_door", 0.562341, 1, 40};
- soundDammage[] = {"", 0.562341, 1};
- soundEngineOnInt[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_start", 0.398107, 1.0};
- soundEngineOnExt[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_start", 0.446684, 1.0, 200};
- soundEngineOffInt[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_stop", 0.398107, 1.0};
- soundEngineOffExt[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_stop", 0.446684, 1.0, 200};
- buildCrash0[] = {"A3\Sounds_F\vehicles\soft\noises\crash_building_01", 0.707946, 1, 200};
- buildCrash1[] = {"A3\Sounds_F\vehicles\soft\noises\crash_building_02", 0.707946, 1, 200};
- buildCrash2[] = {"A3\Sounds_F\vehicles\soft\noises\crash_building_03", 0.707946, 1, 200};
- buildCrash3[] = {"A3\Sounds_F\vehicles\soft\noises\crash_building_04", 0.707946, 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", 0.707946, 1, 200};
- WoodCrash1[] = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_02", 0.707946, 1, 200};
- WoodCrash2[] = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_03", 0.707946, 1, 200};
- WoodCrash3[] = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_04", 0.707946, 1, 200};
- WoodCrash4[] = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_05", 0.707946, 1, 200};
- WoodCrash5[] = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_06", 0.707946, 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", 0.707946, 1, 200};
- ArmorCrash1[] = {"A3\Sounds_F\vehicles\soft\noises\crash_vehicle_02", 0.707946, 1, 200};
- ArmorCrash2[] = {"A3\Sounds_F\vehicles\soft\noises\crash_vehicle_03", 0.707946, 1, 200};
- ArmorCrash3[] = {"A3\Sounds_F\vehicles\soft\noises\crash_vehicle_04", 0.707946, 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\Hatchback_01\Hatchback_01_ext_idle", db-13, 1, 150};
- frequency = "0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
- volume = "engineOn*camPos*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
- };
- class Engine {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_1400rpm", 0.281838, 1, 200};
- frequency = "0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
- volume = "engineOn*camPos*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
- };
- class Engine1_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_2000rpm", db-9, 1, 240};
- frequency = "0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
- volume = "engineOn*camPos*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
- };
- class Engine2_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_2600rpm", 0.398107, 1, 280};
- frequency = "0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
- volume = "engineOn*camPos*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
- };
- class Engine3_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_3200rpm", db-7, 1, 320};
- frequency = "0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
- volume = "engineOn*camPos*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
- };
- class Engine4_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_3600rpm", db-6, 1, 360};
- frequency = "0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.2";
- volume = "engineOn*camPos*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
- };
- class Engine5_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_4000rpm", 0.562341, 1, 420};
- frequency = "0.95 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.15";
- volume = "engineOn*camPos*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
- };
- class IdleThrust {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_idle_exhaust", db-6, 1, 200};
- frequency = "0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
- volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
- };
- class EngineThrust {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_1400rpm_exhaust", 0.562341, 1, 250};
- frequency = "0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
- volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
- };
- class Engine1_Thrust_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_2000rpm_exhaust", 0.630957, 1, 280};
- frequency = "0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
- volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
- };
- class Engine2_Thrust_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_2600rpm_exhaust", db-3, 1, 320};
- frequency = "0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
- volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
- };
- class Engine3_Thrust_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_3200rpm_exhaust", db-2, 1, 360};
- frequency = "0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
- volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
- };
- class Engine4_Thrust_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_3600rpm_exhaust", db0, 1, 400};
- frequency = "0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.3";
- volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
- };
- class Engine5_Thrust_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_4000rpm_exhaust", db2, 1, 450};
- frequency = "0.9 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.2";
- volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
- };
- class Idle_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_idle", db-15, 1};
- frequency = "0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
- volume = "engineOn*(1-camPos)*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
- };
- class Engine_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_1000rpm", 0.199526, 1};
- frequency = "0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
- volume = "engineOn*(1-camPos)*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
- };
- class Engine1_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_2000rpm", db-12, 1};
- frequency = "0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
- volume = "engineOn*(1-camPos)*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
- };
- class Engine2_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_2600rpm", 0.281838, 1};
- frequency = "0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
- volume = "engineOn*(1-camPos)*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
- };
- class Engine3_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_3200rpm", db-10, 1};
- frequency = "0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
- volume = "engineOn*(1-camPos)*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
- };
- class Engine4_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_4000rpm", db-9, 1};
- frequency = "0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.2";
- volume = "engineOn*(1-camPos)*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
- };
- class Engine5_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_5000rpm", db-6, 1};
- frequency = "0.95 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.15";
- volume = "engineOn*(1-camPos)*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
- };
- class IdleThrust_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_idle_exhaust", db-10, 1};
- frequency = "0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
- volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
- };
- class EngineThrust_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_1000rpm_exhaust", db-9, 1};
- frequency = "0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
- volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
- };
- class Engine1_Thrust_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_2000rpm_exhaust", 0.398107, 1};
- frequency = "0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
- volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
- };
- class Engine2_Thrust_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_2600rpm_exhaust", db-7, 1};
- frequency = "0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
- volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
- };
- class Engine3_Thrust_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_3200rpm_exhaust", db-6, 1};
- frequency = "0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
- volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
- };
- class Engine4_Thrust_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_4000rpm_exhaust", 0.562341, 1};
- frequency = "0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.3";
- volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
- };
- class Engine5_Thrust_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_5000rpm_exhaust", 0.630957, 1};
- frequency = "0.9 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.2";
- volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
- };
- class Movement {
- sound = "soundEnviron";
- frequency = "1";
- volume = "0";
- };
- class TiresRockOut {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_dirt_soft_1", db-6, 1.0, 60};
- frequency = "1";
- volume = "camPos*rock*(speed factor[2, 20])";
- };
- class TiresSandOut {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-sand1", db-6, 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", db-6, 1.0, 60};
- frequency = "1";
- volume = "camPos*grass*(speed factor[2, 20])";
- };
- class TiresMudOut {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-mud2", db-6, 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", db-6, 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", db-6, 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", 0.398107, 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-6, 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-6, 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-6, 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-6, 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-6, 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-6, 1.0};
- frequency = "1";
- volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
- };
- class NoiseIn {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_int_car_3", db-12, 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.1, -0.4])*(Speed Factor[2, 15])";
- };
- 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.1, 0.4])*(Speed Factor[15, 2])";
- };
- 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.1, 0.4])*(Speed Factor[2, 15])";
- };
- 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.1, -0.4])*(Speed Factor[2, 15])";
- };
- 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.1, -0.4])*(Speed Factor[1, 15])";
- };
- class acceleration_ext_dirt {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_16_dirt_acceleration", db-3, 1, 60};
- frequency = 1;
- volume = "engineOn*camPos*(1-asphalt)*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 1])";
- };
- 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.1, 0.4])*(Speed Factor[1, 15])";
- };
- 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.1, -0.4])*(Speed Factor[1, 15])";
- };
- 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.1, -0.4])*(Speed Factor[2, 15])";
- };
- 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.1, 0.4])*(Speed Factor[15, 2])";
- };
- 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.1, 0.4])*(Speed Factor[2, 15])";
- };
- 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.1, -0.4])*(Speed Factor[2, 15])";
- };
- 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[-01, -0.4])*(Speed Factor[2, 15])";
- };
- class acceleration_int_dirt {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_16_dirt_acceleration_int", db-10, 1};
- frequency = 1;
- volume = "engineOn*(1-asphalt)*(1-camPos)*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 2])";
- };
- 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.1, 0.4])*(Speed Factor[2, 15])";
- };
- 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.1, -0.4])*(Speed Factor[2, 15])";
- };
- };
- class RenderTargets {
- class LeftMirror {
- renderTarget = "rendertarget0";
- class CameraView1 {
- pointPosition = "PIP0_pos";
- pointDirection = "PIP0_dir";
- renderQuality = 2;
- renderVisionMode = 0;
- fov = 0.7;
- };
- };
- class RearCam {
- renderTarget = "rendertarget1";
- class CameraView1 {
- pointPosition = "PIP1_pos";
- pointDirection = "PIP1_dir";
- renderQuality = 2;
- renderVisionMode = 0;
- fov = 0.7;
- };
- };
- class FrontCam {
- renderTarget = "rendertarget2";
- class CameraView1 {
- pointPosition = "PIP2_pos";
- pointDirection = "PIP2_dir";
- renderQuality = 2;
- renderVisionMode = 0;
- fov = 0.7;
- };
- };
- };
- thrustDelay = 0.1;
- brakeIdleSpeed = 1.78;
- maxSpeed = 220; // max speed on level road, km/h
- fuelCapacity = 45;
- wheelCircumference = 2.277;
- antiRollbarForceCoef = 0;
- antiRollbarForceLimit = 0;
- antiRollbarSpeedMin = 0;
- antiRollbarSpeedMax = 0;
- idleRpm = 900;
- redRpm = 6900;
- class complexGearbox {
- GearboxRatios[] = {"R1", -3.231, "N", 0, "D1", 4.462, "D2", 3.57, "D3", 2.571, "D4", 1.97, "D5", 1.601, "D6", 0.9, "D7", 0.65};
- TransmissionRatios[] = {"High", 4.111};
- gearBoxMode = "auto";
- moveOffGear = 1;
- driveString = "D";
- neutralString = "N";
- reverseString = "R";
- transmissionDelay = 0.01;
- };
- simulation = "carx";
- dampersBumpCoef = 0.01;
- differentialType = "all_limited";
- frontRearSplit = 0.3;
- frontBias = 1.5;
- rearBias = 1.5;
- centreBias = 2.5;
- clutchStrength = 55.0;
- enginePower = 350;
- maxOmega = 720;
- peakTorque = 800;
- dampingRateFullThrottle = 0.03;
- dampingRateZeroThrottleClutchEngaged = 0.35;
- dampingRateZeroThrottleClutchDisengaged = 0.05;
- torqueCurve[] = {{0.0, 0.0}, {0.2, 0.65}, {0.3, 0.8}, {0.4, 0.95}, {0.6, 1.0}, {0.7, 0.95}, {0.9, 0.9}, {1.0, 0.5}};
- changeGearMinEffectivity[] = {0.95, 0.15, 0.98, 0.98, 0.98, 0.98, 0.97, 0.95, 0.95};
- switchTime = 0.11;
- 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.2";
- mass = 20;
- MOI = 5.3;
- dampingRate = 0.5;
- maxBrakeTorque = 2000;
- maxHandBrakeTorque = 0;
- suspTravelDirection[] = {0,-1,0};
- suspForceAppPointOffset = "wheel_1_1_axis";
- tireForceAppPointOffset = "wheel_1_1_axis";
- maxCompression = 0.1;
- mMaxDroop = 0.05;
- sprungMass = 272.5;
- springStrength = 27250;
- springDamperRate = 6725;
- longitudinalStiffnessPerUnitGravity = 100000;
- latStiffX = 25;
- latStiffY = 18000;
- 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 = 4000;
- };
- class RF: LF
- {
- boneName = "wheel_2_1_damper";
- center = "wheel_2_1_axis";
- boundary = "wheel_2_1_bound";
- suspForceAppPointOffset = "wheel_2_1_axis";
- tireForceAppPointOffset = "wheel_2_1_axis";
- steering = 1;
- side = "right";
- };
- 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 = 4000;
- };
- };
- class Damage {
- tex[] = {};
- mat[] = {"A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_mlod.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_mlod.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_lod1.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_LOD1.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_mlod.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_wheel_rim.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_wheel_rubber.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_destruct.rvmat", "A3\data_f\glass_veh_int.rvmat", "A3\data_f\Glass_veh_damage.rvmat", "A3\data_f\Glass_veh_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_glass_window_mlod.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_glass_window_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_glass_window_damage.rvmat", "A3\data_f\glass_veh.rvmat", "A3\data_f\Glass_veh_damage.rvmat", "A3\data_f\Glass_veh_damage.rvmat"};
- };
- class Exhausts {
- class Exhaust1 {
- position = "exhaust";
- direction = "exhaust_dir";
- effect = "ExhaustsEffect";
- };
- class Exhaust2 {
- position = "exhaust2_pos";
- direction = "exhaust2_dir";
- effect = "ExhaustsEffect";
- };
- };
- class Reflectors {
- class LightCarHeadL01 {
- color[] = {1900, 1800, 1700};
- ambient[] = {5, 5, 5};
- position = "LightCarHeadL01";
- direction = "LightCarHeadL01_end";
- hitpoint = "Light_L";
- selection = "Light_L";
- 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 LightCarHeadL02 : LightCarHeadL01 {
- position = "LightCarHeadL02";
- direction = "LightCarHeadL02_end";
- FlareSize = 0.5;
- };
- class LightCarHeadR01 : LightCarHeadL01 {
- position = "LightCarHeadR01";
- direction = "LightCarHeadR01_end";
- hitpoint = "Light_R";
- selection = "Light_R";
- };
- class LightCarHeadR02 : LightCarHeadR01 {
- position = "LightCarHeadR02";
- direction = "LightCarHeadR02_end";
- FlareSize = 0.5;
- };
- };
- aggregateReflectors[] = {{"LightCarHeadL01", "LightCarHeadL02"}, {"LightCarHeadR01", "LightCarHeadR02"}};
- };
- class Mrshounka_207_civ: Mrshounka_207_base /// some class that is going to be visible in editor
- {
- scope = 2; /// makes the car visible in editor
- crew = "C_man_1"; /// we need someone to fit into the car
- side = 3; /// civilian car should be on civilian side
- faction = CIV_F; /// and with civilian faction
- displayName = "Peugeot 207 RC"; /// displayed in Editor
- vehicleClass = "SHOUNKA_vehicule_civil";
- author = "MrShounka";
- hiddenSelectionsTextures[] = {"shounka_a3_base\couleurs\rouge.paa"};
- };
- class Mrshounka_207_noir: Mrshounka_207_base /// some class that is going to be visible in editor
- {
- scope = 2; /// makes the car visible in editor
- crew = "C_man_1"; /// we need someone to fit into the car
- side = 3; /// civilian car should be on civilian side
- faction = CIV_F; /// and with civilian faction
- displayName = "Peugeot 207 RC Noir"; /// displayed in Editor
- vehicleClass = "SHOUNKA_vehicule_civil";
- author = "MrShounka";
- hiddenSelectionsTextures[] = {"shounka_a3_base\couleurs\noir.paa"};
- };
- class Mrshounka_207_bleufonce: Mrshounka_207_base /// some class that is going to be visible in editor
- {
- scope = 2; /// makes the car visible in editor
- crew = "C_man_1"; /// we need someone to fit into the car
- side = 3; /// civilian car should be on civilian side
- faction = CIV_F; /// and with civilian faction
- displayName = "Peugeot 207 RC Bleu fonce"; /// displayed in Editor
- vehicleClass = "SHOUNKA_vehicule_civil";
- author = "MrShounka";
- hiddenSelectionsTextures[] = {"shounka_a3_base\couleurs\bleufonce.paa"};
- };
- class Mrshounka_207_rouge: Mrshounka_207_base /// some class that is going to be visible in editor
- {
- scope = 2; /// makes the car visible in editor
- crew = "C_man_1"; /// we need someone to fit into the car
- side = 3; /// civilian car should be on civilian side
- faction = CIV_F; /// and with civilian faction
- displayName = "Peugeot 207 RC Rouge"; /// displayed in Editor
- vehicleClass = "SHOUNKA_vehicule_civil";
- author = "MrShounka";
- hiddenSelectionsTextures[] = {"shounka_a3_base\couleurs\rouge.paa"};
- };
- class Mrshounka_207_jaune: Mrshounka_207_base /// some class that is going to be visible in editor
- {
- scope = 2; /// makes the car visible in editor
- crew = "C_man_1"; /// we need someone to fit into the car
- side = 3; /// civilian car should be on civilian side
- faction = CIV_F; /// and with civilian faction
- displayName = "Peugeot 207 RC Jaune"; /// displayed in Editor
- vehicleClass = "SHOUNKA_vehicule_civil";
- author = "MrShounka";
- hiddenSelectionsTextures[] = {"shounka_a3_base\couleurs\jaune.paa"};
- };
- class Mrshounka_207_rose: Mrshounka_207_base /// some class that is going to be visible in editor
- {
- scope = 2; /// makes the car visible in editor
- crew = "C_man_1"; /// we need someone to fit into the car
- side = 3; /// civilian car should be on civilian side
- faction = CIV_F; /// and with civilian faction
- displayName = "Peugeot 207 RC Rose"; /// displayed in Editor
- vehicleClass = "SHOUNKA_vehicule_civil";
- author = "MrShounka";
- hiddenSelectionsTextures[] = {"shounka_a3_base\couleurs\rose.paa"};
- };
- class Mrshounka_207_grise: Mrshounka_207_base /// some class that is going to be visible in editor
- {
- scope = 2; /// makes the car visible in editor
- crew = "C_man_1"; /// we need someone to fit into the car
- side = 3; /// civilian car should be on civilian side
- faction = CIV_F; /// and with civilian faction
- displayName = "Peugeot 207 RC Grise"; /// displayed in Editor
- vehicleClass = "SHOUNKA_vehicule_civil";
- author = "MrShounka";
- hiddenSelectionsTextures[] = {"shounka_a3_base\couleurs\gris.paa"};
- };
- class Mrshounka_207_violet: Mrshounka_207_base /// some class that is going to be visible in editor
- {
- scope = 2; /// makes the car visible in editor
- crew = "C_man_1"; /// we need someone to fit into the car
- side = 3; /// civilian car should be on civilian side
- faction = CIV_F; /// and with civilian faction
- displayName = "Peugeot 207 RC Violette"; /// displayed in Editor
- vehicleClass = "SHOUNKA_vehicule_civil";
- author = "MrShounka";
- hiddenSelectionsTextures[] = {"shounka_a3_base\couleurs\violet.paa"};
- };
- class Mrshounka_207_orange: Mrshounka_207_base /// some class that is going to be visible in editor
- {
- scope = 2; /// makes the car visible in editor
- crew = "C_man_1"; /// we need someone to fit into the car
- side = 3; /// civilian car should be on civilian side
- faction = CIV_F; /// and with civilian faction
- displayName = "Peugeot 207 RC Orange"; /// displayed in Editor
- vehicleClass = "SHOUNKA_vehicule_civil";
- author = "MrShounka";
- hiddenSelectionsTextures[] = {"shounka_a3_base\couleurs\orange.paa"};
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement