Advertisement
Guest User

Untitled

a guest
Jul 16th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 29.11 KB | None | 0 0
  1. #define _ARMA_
  2. class CfgPatches
  3. {
  4.     class Skry_AMV2016
  5.     {
  6.         units[] = {"Skry_AMV2016"};
  7.         weapons[] = {};
  8.         requiredVersion = 0.1;
  9.         requiredAddons[] = {"A3_Soft_F"};
  10.     };
  11. };
  12. class WeaponFireGun;
  13. class WeaponCloudsGun;
  14. class WeaponFireMGun;
  15. class WeaponCloudsMGun;
  16. class CfgVehicles
  17. {
  18.     class Car;
  19.     class Car_F: Car
  20.     {
  21.         class HitPoints
  22.         {
  23.             class HitLFWheel;
  24.             class HitLF2Wheel;
  25.             class HitRFWheel;
  26.             class HitRF2Wheel;
  27.             class HitBody;
  28.             class HitGlass1;
  29.             class HitGlass2;
  30.             class HitGlass3;
  31.             class HitGlass4;
  32.         };
  33.     };
  34.     class Skry_AMV2016: Car_F
  35.     {
  36.         model = "\Skry#_AMV2016\Skry#_AMV2016";
  37.         author = "Skry#";
  38.         scope = 2;
  39.         crew = "C_man_1";
  40.         side = 3;
  41.         faction = "CIV_F";
  42.         displayName = "Aston Martin - Vulcan";
  43.         hiddenSelections[] = {"camo1"};
  44.         hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0.172549,0.172549,0.172549,1.0,CO)"};
  45.         terrainCoef = 1;
  46.         turnCoef = 2.5;
  47.         precision = 10;
  48.         armor = 60;
  49.         cost = 50000;
  50.         transportMaxBackpacks = 10;
  51.         transportSoldier = 1;
  52.         wheelDamageRadiusCoef = 0.9;
  53.         wheelDestroyRadiusCoef = 0.4;
  54.         maxFordingDepth = 0.5;
  55.         waterResistance = 1;
  56.         driverLeftHandAnimName = "drivewheel";
  57.         driverRightHandAnimName = "drivewheel";
  58.         class TransportItems
  59.         {
  60.             class _xx_FirstAidKit
  61.             {
  62.                 name = "FirstAidKit";
  63.                 count = 4;
  64.             };
  65.         };
  66.         class Turrets{};
  67.         class HitPoints: HitPoints
  68.         {
  69.             class HitLFWheel: HitLFWheel
  70.             {
  71.                 armor = 0.25;
  72.                 passThrough = 0;
  73.             };
  74.             class HitLF2Wheel: HitLF2Wheel
  75.             {
  76.                 armor = 0.25;
  77.                 passThrough = 0;
  78.             };
  79.             class HitRFWheel: HitRFWheel
  80.             {
  81.                 armor = 0.25;
  82.                 passThrough = 0;
  83.             };
  84.             class HitRF2Wheel: HitRF2Wheel
  85.             {
  86.                 armor = 0.25;
  87.                 passThrough = 0;
  88.             };
  89.             class HitFuel
  90.             {
  91.                 armor = 0.6;
  92.                 material = -1;
  93.                 name = "palivo";
  94.                 visual = "";
  95.                 passThrough = 1;
  96.             };
  97.             class HitEngine
  98.             {
  99.                 armor = 0.5;
  100.                 material = -1;
  101.                 name = "engine";
  102.                 visual = "";
  103.                 passThrough = 1;
  104.             };
  105.             class HitBody: HitBody
  106.             {
  107.                 name = "karoserie";
  108.                 visual = "camo1";
  109.                 passThrough = 1;
  110.             };
  111.             class HitGlass1: HitGlass1
  112.             {
  113.                 armor = 0.125;
  114.             };
  115.             class HitGlass2: HitGlass2
  116.             {
  117.                 armor = 0.125;
  118.             };
  119.             class HitGlass3: HitGlass3
  120.             {
  121.                 armor = 0.125;
  122.             };
  123.             class HitGlass4: HitGlass4
  124.             {
  125.                 armor = 0.125;
  126.             };
  127.         };
  128.         driverAction = "driver_low01";
  129.         cargoAction[] = {"passenger_low01"};
  130.         getInAction = "GetInLow";
  131.         getOutAction = "GetOutLow";
  132.         cargoGetInAction[] = {"GetInLow"};
  133.         cargoGetOutAction[] = {"GetOutLow"};
  134.         attenuationEffectType = "CarAttenuation";
  135.         soundGetIn[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_door",0.56234133,1};
  136.         soundGetOut[] = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_door",0.56234133,1,40};
  137.         soundDammage[] = {"",0.56234133,1};
  138.         soundEngineOnInt[] = {"Skry#_AMV2016\sounds\int_start",0.39810717,1};
  139.         soundEngineOnExt[] = {"Skry#_AMV2016\sounds\ext_start",0.4466836,1,200};
  140.         soundEngineOffInt[] = {"Skry#_AMV2016\sounds\int_stop",0.39810717,1};
  141.         soundEngineOffExt[] = {"Skry#_AMV2016\sounds\ext_stop",0.4466836,1,200};
  142.         buildCrash0[] = {"A3\Sounds_F\vehicles\soft\noises\crash_building_01",0.70794576,1,200};
  143.         buildCrash1[] = {"A3\Sounds_F\vehicles\soft\noises\crash_building_02",0.70794576,1,200};
  144.         buildCrash2[] = {"A3\Sounds_F\vehicles\soft\noises\crash_building_03",0.70794576,1,200};
  145.         buildCrash3[] = {"A3\Sounds_F\vehicles\soft\noises\crash_building_04",0.70794576,1,200};
  146.         soundBuildingCrash[] = {"buildCrash0",0.25,"buildCrash1",0.25,"buildCrash2",0.25,"buildCrash3",0.25};
  147.         WoodCrash0[] = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_01",0.70794576,1,200};
  148.         WoodCrash1[] = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_02",0.70794576,1,200};
  149.         WoodCrash2[] = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_03",0.70794576,1,200};
  150.         WoodCrash3[] = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_04",0.70794576,1,200};
  151.         WoodCrash4[] = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_05",0.70794576,1,200};
  152.         WoodCrash5[] = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_06",0.70794576,1,200};
  153.         soundWoodCrash[] = {"woodCrash0",0.166,"woodCrash1",0.166,"woodCrash2",0.166,"woodCrash3",0.166,"woodCrash4",0.166,"woodCrash5",0.166};
  154.         ArmorCrash0[] = {"A3\Sounds_F\vehicles\soft\noises\crash_vehicle_01",0.70794576,1,200};
  155.         ArmorCrash1[] = {"A3\Sounds_F\vehicles\soft\noises\crash_vehicle_02",0.70794576,1,200};
  156.         ArmorCrash2[] = {"A3\Sounds_F\vehicles\soft\noises\crash_vehicle_03",0.70794576,1,200};
  157.         ArmorCrash3[] = {"A3\Sounds_F\vehicles\soft\noises\crash_vehicle_04",0.70794576,1,200};
  158.         soundArmorCrash[] = {"ArmorCrash0",0.25,"ArmorCrash1",0.25,"ArmorCrash2",0.25,"ArmorCrash3",0.25};
  159.         class Sounds {
  160.             class Idle_ext {
  161.                 sound[] = {"Skry#_AMV2016\sounds\ext_idle", db-13, 1, 150};
  162.                 frequency = "0.9    +   ((rpm/  6900) factor[(400/  6900),(1150/    6900)])*0.2";
  163.                 volume = "engineOn*camPos*(((rpm/   6900) factor[(400/  6900),(700/ 6900)]) *   ((rpm/  6900) factor[(1100/ 6900),(900/ 6900)]))";
  164.             };
  165.  
  166.             class Engine {
  167.                 sound[] = {"Skry#_AMV2016\sounds\ext_1000", 0.281838, 1, 200};
  168.                 frequency = "0.8    +   ((rpm/  6900) factor[(900/  6900),(2100/    6900)])*0.2";
  169.                 volume = "engineOn*camPos*(((rpm/   6900) factor[(870/  6900),(1100/    6900)]) *   ((rpm/  6900) factor[(2100/ 6900),(1300/    6900)]))";
  170.             };
  171.  
  172.             class Engine1_ext {
  173.                 sound[] = {"Skry#_AMV2016\sounds\ext_2000", db-9, 1, 240};
  174.                 frequency = "0.8    +       ((rpm/  6900) factor[(1300/ 6900),(3100/    6900)])*0.2";
  175.                 volume = "engineOn*camPos*(((rpm/   6900) factor[(1250/ 6900),(2050/    6900)]) *   ((rpm/  6900) factor[(3100/ 6900),(2300/    6900)]))";
  176.             };
  177.  
  178.             class Engine2_ext {
  179.                 sound[] = {"Skry#_AMV2016\sounds\ext_3000", 0.398107, 1, 280};
  180.                 frequency = "0.8    +   ((rpm/  6900) factor[(2200/ 6900),(4100/    6900)])*0.2";
  181.                 volume = "engineOn*camPos*(((rpm/   6900) factor[(2250/ 6900),(3050/    6900)]) *   ((rpm/  6900) factor[(4100/ 6900),(3300/    6900)]))";
  182.             };
  183.  
  184.             class Engine3_ext {
  185.                 sound[] = {"Skry#_AMV2016\sounds\ext_4000", db-7, 1, 320};
  186.                 frequency = "0.8    +   ((rpm/  6900) factor[(3300/ 6900),(4900/    6900)])*0.2";
  187.                 volume = "engineOn*camPos*(((rpm/   6900) factor[(3250/ 6900),(4050/    6900)]) *   ((rpm/  6900) factor[(4870/ 6900),(4200/    6900)]))";
  188.             };
  189.  
  190.             class Engine4_ext {
  191.                 sound[] = {"Skry#_AMV2016\sounds\ext_5000", db-6, 1, 360};
  192.                 frequency = "0.8    +   ((rpm/  6900) factor[(4200/ 6900),(6200/    6900)])*0.2";
  193.                 volume = "engineOn*camPos*(((rpm/   6900) factor[(4150/ 6900),(4800/    6900)]) *   ((rpm/  6900) factor[(6150/ 6900),(5150/    6900)]))";
  194.             };
  195.  
  196.             class Engine5_ext {
  197.                 sound[] = {"Skry#_AMV2016\sounds\ext_6000", 0.562341, 1, 420};
  198.                 frequency = "0.95   +   ((rpm/  6900) factor[(5100/ 6900),(6900/    6900)])*0.15";
  199.                 volume = "engineOn*camPos*((rpm/    6900) factor[(5100/ 6900),(6100/    6900)])";
  200.             };
  201.  
  202.             class IdleThrust {
  203.                 sound[] = {"Skry#_AMV2016\sounds\ext_1000", db-6, 1, 200};
  204.                 frequency = "0.9    +   ((rpm/  6900) factor[(400/  6900),(1150/    6900)])*0.2";
  205.                 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)]))";
  206.             };
  207.  
  208.             class EngineThrust {
  209.                 sound[] = {"Skry#_AMV2016\sounds\ext_2000", 0.562341, 1, 250};
  210.                 frequency = "0.8    +   ((rpm/  6900) factor[(900/  6900),(2100/    6900)])*0.2";
  211.                 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)]))";
  212.             };
  213.  
  214.             class Engine1_Thrust_ext {
  215.                 sound[] = {"Skry#_AMV2016\sounds\ext_3000", 0.630957, 1, 280};
  216.                 frequency = "0.8    +       ((rpm/  6900) factor[(1300/ 6900),(3100/    6900)])*0.2";
  217.                 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)]))";
  218.             };
  219.  
  220.             class Engine2_Thrust_ext {
  221.                 sound[] = {"Skry#_AMV2016\sounds\ext_4000", db-3, 1, 320};
  222.                 frequency = "0.8    +   ((rpm/  6900) factor[(2200/ 6900),(4100/    6900)])*0.2";
  223.                 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)]))";
  224.             };
  225.  
  226.             class Engine3_Thrust_ext {
  227.                 sound[] = {"Skry#_AMV2016\sounds\ext_5000", db-2, 1, 360};
  228.                 frequency = "0.8    +   ((rpm/  6900) factor[(3300/ 6900),(4900/    6900)])*0.2";
  229.                 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)]))";
  230.             };
  231.  
  232.             class Engine4_Thrust_ext {
  233.                 sound[] = {"Skry#_AMV2016\sounds\ext_6000", db0, 1, 400};
  234.                 frequency = "0.8    +   ((rpm/  6900) factor[(4200/ 6900),(6200/    6900)])*0.3";
  235.                 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)]))";
  236.             };
  237.  
  238.             class Engine5_Thrust_ext {
  239.                 sound[] = {"Skry#_AMV2016\sounds\ext_7000", db2, 1, 450};
  240.                 frequency = "0.9    +   ((rpm/  6900) factor[(5100/ 6900),(6900/    6900)])*0.2";
  241.                 volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 6900) factor[(5100/ 6900),(6100/    6900)])";
  242.             };
  243.  
  244.             class Idle_int {
  245.                 sound[] = {"Skry#_AMV2016\sounds\int_idle", db-15, 1};
  246.                 frequency = "0.9    +   ((rpm/  6900) factor[(400/  6900),(1150/    6900)])*0.2";
  247.                 volume = "engineOn*(1-camPos)*(((rpm/   6900) factor[(400/  6900),(700/ 6900)]) *   ((rpm/  6900) factor[(1100/ 6900),(900/ 6900)]))";
  248.             };
  249.  
  250.             class Engine_int {
  251.                 sound[] = {"Skry#_AMV2016\sounds\int_1000", 0.199526, 1};
  252.                 frequency = "0.8    +   ((rpm/  6900) factor[(900/  6900),(2100/    6900)])*0.2";
  253.                 volume = "engineOn*(1-camPos)*(((rpm/   6900) factor[(870/  6900),(1100/    6900)]) *   ((rpm/  6900) factor[(2100/ 6900),(1300/    6900)]))";
  254.             };
  255.  
  256.             class Engine1_int {
  257.                 sound[] = {"Skry#_AMV2016\sounds\int_2000", db-12, 1};
  258.                 frequency = "0.8    +       ((rpm/  6900) factor[(1300/ 6900),(3100/    6900)])*0.2";
  259.                 volume = "engineOn*(1-camPos)*(((rpm/   6900) factor[(1250/ 6900),(2050/    6900)]) *   ((rpm/  6900) factor[(3100/ 6900),(2300/    6900)]))";
  260.             };
  261.  
  262.             class Engine2_int {
  263.                 sound[] = {"Skry#_AMV2016\sounds\int_3000", 0.281838, 1};
  264.                 frequency = "0.8    +   ((rpm/  6900) factor[(2200/ 6900),(4100/    6900)])*0.2";
  265.                 volume = "engineOn*(1-camPos)*(((rpm/   6900) factor[(2250/ 6900),(3050/    6900)]) *   ((rpm/  6900) factor[(4100/ 6900),(3300/    6900)]))";
  266.             };
  267.  
  268.             class Engine3_int {
  269.                 sound[] = {"Skry#_AMV2016\sounds\int_4000", db-10, 1};
  270.                 frequency = "0.8    +   ((rpm/  6900) factor[(3300/ 6900),(4900/    6900)])*0.2";
  271.                 volume = "engineOn*(1-camPos)*(((rpm/   6900) factor[(3250/ 6900),(4050/    6900)]) *   ((rpm/  6900) factor[(4870/ 6900),(4200/    6900)]))";
  272.             };
  273.  
  274.             class Engine4_int {
  275.                 sound[] = {"Skry#_AMV2016\sounds\int_5000", db-9, 1};
  276.                 frequency = "0.8    +   ((rpm/  6900) factor[(4200/ 6900),(6200/    6900)])*0.2";
  277.                 volume = "engineOn*(1-camPos)*(((rpm/   6900) factor[(4150/ 6900),(4800/    6900)]) *   ((rpm/  6900) factor[(6150/ 6900),(5150/    6900)]))";
  278.             };
  279.  
  280.             class Engine5_int {
  281.                 sound[] = {"Skry#_AMV2016\sounds\int_6000", db-6, 1};
  282.                 frequency = "0.95   +   ((rpm/  6900) factor[(5100/ 6900),(6900/    6900)])*0.15";
  283.                 volume = "engineOn*(1-camPos)*((rpm/    6900) factor[(5100/ 6900),(6100/    6900)])";
  284.             };
  285.  
  286.             class IdleThrust_int {
  287.                 sound[] = {"Skry#_AMV2016\sounds\int_1000", db-10, 1};
  288.                 frequency = "0.9    +   ((rpm/  6900) factor[(400/  6900),(1150/    6900)])*0.2";
  289.                 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)]))";
  290.             };
  291.  
  292.             class EngineThrust_int {
  293.                 sound[] = {"Skry#_AMV2016\sounds\int_2000", db-9, 1};
  294.                 frequency = "0.8    +   ((rpm/  6900) factor[(900/  6900),(2100/    6900)])*0.2";
  295.                 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)]))";
  296.             };
  297.  
  298.             class Engine1_Thrust_int {
  299.                 sound[] = {"Skry#_AMV2016\sounds\int_3000", 0.398107, 1};
  300.                 frequency = "0.8    +       ((rpm/  6900) factor[(1300/ 6900),(3100/    6900)])*0.2";
  301.                 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)]))";
  302.             };
  303.  
  304.             class Engine2_Thrust_int {
  305.                 sound[] = {"Skry#_AMV2016\sounds\int_4000", db-7, 1};
  306.                 frequency = "0.8    +   ((rpm/  6900) factor[(2200/ 6900),(4100/    6900)])*0.2";
  307.                 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)]))";
  308.             };
  309.  
  310.             class Engine3_Thrust_int {
  311.                 sound[] = {"Skry#_AMV2016\sounds\int_5000", db-6, 1};
  312.                 frequency = "0.8    +   ((rpm/  6900) factor[(3300/ 6900),(4900/    6900)])*0.2";
  313.                 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)]))";
  314.             };
  315.  
  316.             class Engine4_Thrust_int {
  317.                 sound[] = {"Skry#_AMV2016\sounds\int_6000", 0.562341, 1};
  318.                 frequency = "0.8    +   ((rpm/  6900) factor[(4200/ 6900),(6200/    6900)])*0.3";
  319.                 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)]))";
  320.             };
  321.  
  322.             class Engine5_Thrust_int {
  323.                 sound[] = {"Skry#_AMV2016\sounds\int_7000", 0.630957, 1};
  324.                 frequency = "0.9    +   ((rpm/  6900) factor[(5100/ 6900),(6900/    6900)])*0.2";
  325.                 volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 6900) factor[(5100/ 6900),(6100/    6900)])";
  326.             };
  327.  
  328.             class Movement {
  329.                 sound = "soundEnviron";
  330.                 frequency = "1";
  331.                 volume = "0";
  332.             };
  333.  
  334.             class TiresRockOut {
  335.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_dirt_soft_1", db-6, 1.0, 60};
  336.                 frequency = "1";
  337.                 volume = "camPos*rock*(speed factor[2, 20])";
  338.             };
  339.  
  340.             class TiresSandOut {
  341.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-sand1", db-6, 1.0, 60};
  342.                 frequency = "1";
  343.                 volume = "camPos*sand*(speed factor[2, 20])";
  344.             };
  345.  
  346.             class TiresGrassOut {
  347.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_dirt_soft_2", db-6, 1.0, 60};
  348.                 frequency = "1";
  349.                 volume = "camPos*grass*(speed factor[2, 20])";
  350.             };
  351.  
  352.             class TiresMudOut {
  353.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-mud2", db-6, 1.0, 60};
  354.                 frequency = "1";
  355.                 volume = "camPos*mud*(speed factor[2, 20])";
  356.             };
  357.  
  358.             class TiresGravelOut {
  359.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_gravel_1", db-6, 1.0, 60};
  360.                 frequency = "1";
  361.                 volume = "camPos*gravel*(speed factor[2, 20])";
  362.             };
  363.  
  364.             class TiresAsphaltOut {
  365.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_asfalt_2", db-6, 1.0, 60};
  366.                 frequency = "1";
  367.                 volume = "camPos*asphalt*(speed factor[2, 20])";
  368.             };
  369.  
  370.             class NoiseOut {
  371.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_ext_car_3", 0.398107, 1.0, 90};
  372.                 frequency = "1";
  373.                 volume = "camPos*(damper0 max 0.02)*(speed factor[0, 8])";
  374.             };
  375.  
  376.             class TiresRockIn {
  377.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_dirt_soft_1", db-6, 1.0};
  378.                 frequency = "1";
  379.                 volume = "(1-camPos)*rock*(speed factor[2, 20])";
  380.             };
  381.  
  382.             class TiresSandIn {
  383.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\int-tires-sand2", db-6, 1.0};
  384.                 frequency = "1";
  385.                 volume = "(1-camPos)*sand*(speed factor[2, 20])";
  386.             };
  387.  
  388.             class TiresGrassIn {
  389.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_dirt_soft_2", db-6, 1.0};
  390.                 frequency = "1";
  391.                 volume = "(1-camPos)*grass*(speed factor[2, 20])";
  392.             };
  393.  
  394.             class TiresMudIn {
  395.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\int-tires-mud2", db-6, 1.0};
  396.                 frequency = "1";
  397.                 volume = "(1-camPos)*mud*(speed factor[2, 20])";
  398.             };
  399.  
  400.             class TiresGravelIn {
  401.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_gravel_1", db-6, 1.0};
  402.                 frequency = "1";
  403.                 volume = "(1-camPos)*gravel*(speed factor[2, 20])";
  404.             };
  405.  
  406.             class TiresAsphaltIn {
  407.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_asfalt_2", db-6, 1.0};
  408.                 frequency = "1";
  409.                 volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
  410.             };
  411.  
  412.             class NoiseIn {
  413.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_int_car_3", db-12, 1.0};
  414.                 frequency = "1";
  415.                 volume = "(damper0 max 0.1)*(speed factor[0, 8])*(1-camPos)";
  416.             };
  417.  
  418.             class breaking_ext_road {
  419.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04", db-3, 1, 80};
  420.                 frequency = 1;
  421.                 volume = "engineOn*camPos*asphalt*(LongSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
  422.             };
  423.  
  424.             class acceleration_ext_road {
  425.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02", db-3, 1, 80};
  426.                 frequency = 1;
  427.                 volume = "engineOn*camPos*asphalt*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 2])";
  428.             };
  429.  
  430.             class turn_left_ext_road {
  431.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02", db-3, 1, 80};
  432.                 frequency = 1;
  433.                 volume = "engineOn*camPos*asphalt*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[2, 15])";
  434.             };
  435.  
  436.             class turn_right_ext_road {
  437.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02", db-3, 1, 80};
  438.                 frequency = 1;
  439.                 volume = "engineOn*camPos*asphalt*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
  440.             };
  441.  
  442.             class breaking_ext_dirt {
  443.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_14_dirt_breaking", db-3, 1, 60};
  444.                 frequency = 1;
  445.                 volume = "engineOn*camPos*(1-asphalt)*(LongSlipDrive Factor[-0.1, -0.4])*(Speed Factor[1, 15])";
  446.             };
  447.  
  448.             class acceleration_ext_dirt {
  449.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_16_dirt_acceleration", db-3, 1, 60};
  450.                 frequency = 1;
  451.                 volume = "engineOn*camPos*(1-asphalt)*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 1])";
  452.             };
  453.  
  454.             class turn_left_ext_dirt {
  455.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt", db-3, 1, 60};
  456.                 frequency = 1;
  457.                 volume = "engineOn*camPos*(1-asphalt)*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[1, 15])";
  458.             };
  459.  
  460.             class turn_right_ext_dirt {
  461.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt", db-3, 1, 60};
  462.                 frequency = 1;
  463.                 volume = "engineOn*camPos*(1-asphalt)*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[1, 15])";
  464.             };
  465.  
  466.             class breaking_int_road {
  467.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04_int", db-10, 1};
  468.                 frequency = 1;
  469.                 volume = "engineOn*asphalt*(1-camPos)*(LongSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
  470.             };
  471.  
  472.             class acceleration_int_road {
  473.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int", db-10, 1};
  474.                 frequency = 1;
  475.                 volume = "engineOn*asphalt*(1-camPos)*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 2])";
  476.             };
  477.  
  478.             class turn_left_int_road {
  479.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int", db-10, 1};
  480.                 frequency = 1;
  481.                 volume = "engineOn*asphalt*(1-camPos)*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[2, 15])";
  482.             };
  483.  
  484.             class turn_right_int_road {
  485.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int", db-10, 1};
  486.                 frequency = 1;
  487.                 volume = "engineOn*asphalt*(1-camPos)*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
  488.             };
  489.  
  490.             class breaking_int_dirt {
  491.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_14_dirt_breaking_int", db-10, 1};
  492.                 frequency = 1;
  493.                 volume = "engineOn*(1-asphalt)*(1-camPos)*(LongSlipDrive Factor[-01, -0.4])*(Speed Factor[2, 15])";
  494.             };
  495.  
  496.             class acceleration_int_dirt {
  497.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_16_dirt_acceleration_int", db-10, 1};
  498.                 frequency = 1;
  499.                 volume = "engineOn*(1-asphalt)*(1-camPos)*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 2])";
  500.             };
  501.  
  502.             class turn_left_int_dirt {
  503.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt_int", db-10, 1};
  504.                 frequency = 1;
  505.                 volume = "engineOn*(1-asphalt)*(1-camPos)*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[2, 15])";
  506.             };
  507.  
  508.             class turn_right_int_dirt {
  509.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt_int", db-10, 1};
  510.                 frequency = 1;
  511.                 volume = "engineOn*(1-asphalt)*(1-camPos)*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
  512.             };
  513.         };
  514.         class RenderTargets
  515.         {
  516.             class LeftMirror
  517.             {
  518.                 renderTarget = "rendertarget0";
  519.                 class CameraView1
  520.                 {
  521.                     pointPosition = "PIP0_pos";
  522.                     pointDirection = "PIP0_dir";
  523.                     renderQuality = 5;
  524.                     renderVisionMode = 3;
  525.                     fov = 0.7;
  526.                 };
  527.             };
  528.             class RearCam
  529.             {
  530.                 renderTarget = "rendertarget1";
  531.                 class CameraView1
  532.                 {
  533.                     pointPosition = "PIP1_pos";
  534.                     pointDirection = "PIP1_dir";
  535.                     renderQuality = 5;
  536.                     renderVisionMode = 3;
  537.                     fov = 0.7;
  538.                 };
  539.             };
  540.             class FrontCam
  541.             {
  542.                 renderTarget = "rendertarget2";
  543.                 class CameraView1
  544.                 {
  545.                     pointPosition = "PIP2_pos";
  546.                     pointDirection = "PIP2_dir";
  547.                     renderQuality = 5;
  548.                     renderVisionMode = 3;
  549.                     fov = 0.7;
  550.                 };
  551.             };
  552.             class BackCam
  553.             {
  554.                 renderTarget = "rendertarget3";
  555.                 class CameraView1
  556.                 {
  557.                     pointPosition = "PIP3_pos";
  558.                     pointDirection = "PIP3_dir";
  559.                     renderQuality = 5;
  560.                     renderVisionMode = 0;
  561.                     fov = 0.7;
  562.                 };
  563.             };
  564.         };
  565.         brakeDistance = 5;
  566.         thrustDelay = 0.1;
  567.         brakeIdleSpeed = 1.78;
  568.         maxSpeed = 360;
  569.         fuelCapacity = 45;
  570.         wheelCircumference = 2.277;
  571.         antiRollbarForceCoef = 1;
  572.         antiRollbarForceLimit = 10;
  573.         antiRollbarSpeedMin = 10;
  574.         antiRollbarSpeedMax = 330;
  575.         acceleration = 15;
  576.         idleRpm = 1000;
  577.         redRpm = 8000;
  578.         class complexGearbox
  579.         {
  580.             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};
  581.             TransmissionRatios[] = {"High",4.111};
  582.             gearBoxMode = "full-auto";
  583.             moveOffGear = 1;
  584.             driveString = "D";
  585.             neutralString = "N";
  586.             reverseString = "R";
  587.             transmissionDelay = 0.01;
  588.         };
  589.         simulation = "carx";
  590.         dampersBumpCoef = 0.01;
  591.         differentialType = "all_limited";
  592.         frontRearSplit = 0.3;
  593.         frontBias = 1.5;
  594.         rearBias = 1.5;
  595.         centreBias = 2.5;
  596.         clutchStrength = 55;
  597.         enginePower = 625;
  598.         maxOmega = 700;
  599.         peakTorque = 800;
  600.         dampingRateFullThrottle = 0.03;
  601.         dampingRateZeroThrottleClutchEngaged = 0.35;
  602.         dampingRateZeroThrottleClutchDisengaged = 0.05;
  603.         torqueCurve[] = {{ 0,0 },{ 0.2,0.65 },{ 0.3,0.8 },{ 0.4,0.95 },{ 0.6,1 },{ 0.7,0.95 },{ 0.9,0.9 },{ 1,0.5 }};
  604.         changeGearMinEffectivity[] = {0.95,0.15,0.98,0.98,0.98,0.98,0.97,0.95,0.95};
  605.         switchTime = 0.11;
  606.         latency = 1;
  607.         class Wheels
  608.         {
  609.             class LF
  610.             {
  611.                 boneName = "wheel_1_1_damper";
  612.                 steering = 1;
  613.                 side = "left";
  614.                 center = "wheel_1_1_axis";
  615.                 boundary = "wheel_1_1_bound";
  616.                 width = 0.2;
  617.                 mass = 20;
  618.                 MOI = 5.3;
  619.                 dampingRate = 0.5;
  620.                 maxBrakeTorque = 5000;
  621.                 maxHandBrakeTorque = 0;
  622.                 suspTravelDirection[] = {0,-1,0};
  623.                 suspForceAppPointOffset = "wheel_1_1_axis";
  624.                 tireForceAppPointOffset = "wheel_1_1_axis";
  625.                 maxCompression = 0.1;
  626.                 mMaxDroop = 0.05;
  627.                 sprungMass = 272.5;
  628.                 springStrength = 27250;
  629.                 springDamperRate = 6725;
  630.                 longitudinalStiffnessPerUnitGravity = 100000;
  631.                 latStiffX = 25;
  632.                 latStiffY = 18000;
  633.                 frictionVsSlipGraph[] = {{ 0,1 },{ 0.5,1 },{ 1,1 }};
  634.             };
  635.             class LR: LF
  636.             {
  637.                 boneName = "wheel_1_2_damper";
  638.                 steering = 0;
  639.                 center = "wheel_1_2_axis";
  640.                 boundary = "wheel_1_2_bound";
  641.                 suspForceAppPointOffset = "wheel_1_2_axis";
  642.                 tireForceAppPointOffset = "wheel_1_2_axis";
  643.                 maxHandBrakeTorque = 4000;
  644.             };
  645.             class RF: LF
  646.             {
  647.                 boneName = "wheel_2_1_damper";
  648.                 center = "wheel_2_1_axis";
  649.                 boundary = "wheel_2_1_bound";
  650.                 suspForceAppPointOffset = "wheel_2_1_axis";
  651.                 tireForceAppPointOffset = "wheel_2_1_axis";
  652.                 steering = 1;
  653.                 side = "right";
  654.             };
  655.             class RR: RF
  656.             {
  657.                 boneName = "wheel_2_2_damper";
  658.                 steering = 0;
  659.                 center = "wheel_2_2_axis";
  660.                 boundary = "wheel_2_2_bound";
  661.                 suspForceAppPointOffset = "wheel_2_2_axis";
  662.                 tireForceAppPointOffset = "wheel_2_2_axis";
  663.                 maxHandBrakeTorque = 4000;
  664.             };
  665.         };
  666.         memoryPointTrackFLL = "TrackFLL";
  667.         memoryPointTrackFLR = "TrackFLR";
  668.         memoryPointTrackBLL = "TrackBLL";
  669.         memoryPointTrackBLR = "TrackBLR";
  670.         memoryPointTrackFRL = "TrackFRL";
  671.         memoryPointTrackFRR = "TrackFRR";
  672.         memoryPointTrackBRL = "TrackBRL";
  673.         memoryPointTrackBRR = "TrackBRR";
  674.         class Library
  675.         {
  676.             libTextDesc = "";
  677.         };
  678.         class Exhausts
  679.         {
  680.             class Exhaust1
  681.             {
  682.                 position = "exhaust1_pos";
  683.                 direction = "exhaust1_dir";
  684.                 effect = "ExhaustsEffectOffroad";
  685.             };
  686.             class Exhaust2
  687.             {
  688.                 position = "exhaust2_pos";
  689.                 direction = "exhaust2_dir";
  690.                 effect = "ExhaustsEffectOffroad";
  691.             };
  692.         };
  693.         class Damage
  694.         {
  695.             tex[] = {};
  696.             mat[] =
  697.             {
  698.                 "Skry#_AMV2016\data\carroserie.rvmat",
  699.                 "Skry#_AMV2016\data\car_damage.rvmat",
  700.                 "Skry#_AMV2016\data\car_destruct.rvmat",
  701.  
  702.                 "Skry#_AMV2016\data\reflective_glass.rvmat",
  703.                 "A3\data_f\Glass_veh_damage.rvmat",
  704.                 "A3\data_f\Glass_veh_damage.rvmat"
  705.             };
  706.         };
  707.         class Reflectors
  708.         {
  709.             class LightCarHeadL01
  710.             {
  711.                 color[] = {1900,1800,1700};
  712.                 ambient[] = {5,5,5};
  713.                 position = "LightCarHeadL01";
  714.                 direction = "LightCarHeadL01_end";
  715.                 hitpoint = "Light_L";
  716.                 selection = "Light_L";
  717.                 size = 1;
  718.                 innerAngle = 100;
  719.                 outerAngle = 179;
  720.                 coneFadeCoef = 10;
  721.                 intensity = 1;
  722.                 useFlare = 1;
  723.                 dayLight = 0;
  724.                 flareSize = 1;
  725.                 class Attenuation
  726.                 {
  727.                     start = 1;
  728.                     constant = 0;
  729.                     linear = 0;
  730.                     quadratic = 0.25;
  731.                     hardLimitStart = 30;
  732.                     hardLimitEnd = 60;
  733.                 };
  734.             };
  735.             class LightCarHeadL02: LightCarHeadL01
  736.             {
  737.                 position = "LightCarHeadL02";
  738.                 direction = "LightCarHeadL02_end";
  739.                 FlareSize = 0.5;
  740.             };
  741.             class LightCarHeadR01: LightCarHeadL01
  742.             {
  743.                 position = "LightCarHeadR01";
  744.                 direction = "LightCarHeadR01_end";
  745.                 hitpoint = "Light_R";
  746.                 selection = "Light_R";
  747.             };
  748.             class LightCarHeadR02: LightCarHeadR01
  749.             {
  750.                 position = "LightCarHeadR02";
  751.                 direction = "LightCarHeadR02_end";
  752.                 FlareSize = 0.5;
  753.             };
  754.         };
  755.         aggregateReflectors[] = {{ "LightCarHeadL01","LightCarHeadL02" },{ "LightCarHeadR01","LightCarHeadR02" }};
  756.     };
  757.     class Skry_AMV2016_noir: Skry_AMV2016
  758.     {
  759.         scope = 2;
  760.         forceInGarage = 1;
  761.         displayName = "Aston Martin - Vulcan (Noir)";
  762.         hiddenSelectionsTextures[] = {"#(rgb,8,8,3)color(0.1,0.1,0.1,0.6)"};
  763.     };
  764.  
  765.     class Skry_AMV2016_grissombre: Skry_AMV2016
  766.     {
  767.         scope = 2;
  768.         forceInGarage = 1;
  769.         displayName = "Aston Martin - Vulcan (Gris Sombre)";
  770.         hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0.1,0.1,0.1,0.7)"};
  771.     };
  772.  
  773.     class Skry_AMV2016_gris: Skry_AMV2016
  774.     {
  775.         scope = 2;
  776.         forceInGarage = 1;
  777.         displayName = "Aston Martin - Vulcan (Gris)";
  778.         hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0.5,0.5,0.5,0.1)"};
  779.     };
  780.  
  781.     class Skry_AMV2016_grisclair: Skry_AMV2016
  782.     {
  783.         scope = 2;
  784.         forceInGarage = 1;
  785.         displayName = "Aston Martin - Vulcan (Gris Clair)";
  786.         hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0.3,0.3,0.3,0.8)"};
  787.     };
  788.  
  789.     class Skry_AMV2016_blanc: Skry_AMV2016
  790.     {
  791.         scope = 2;
  792.         forceInGarage = 1;
  793.         displayName = "Aston Martin - Vulcan (Blanc)";
  794.         hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(1,1,1,1)"};
  795.     };
  796.  
  797.     class Skry_AMV2016_sable: Skry_AMV2016
  798.     {
  799.         scope = 2;
  800.         forceInGarage = 1;
  801.         displayName = "Aston Martin - Vulcan (Sable)";
  802.         hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(1.5,1.6,0.9,0.2)"};
  803.     };
  804.  
  805.     class Skry_AMV2016_bordeau: Skry_AMV2016
  806.     {
  807.         scope = 2;
  808.         forceInGarage = 1;
  809.         displayName = "Aston Martin - Vulcan (Bordeau)";
  810.         hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(1,0,0,0.1)"};
  811.     };
  812.  
  813.     class Skry_AMV2016_bleu: Skry_AMV2016
  814.     {
  815.         scope = 2;
  816.         forceInGarage = 1;
  817.         displayName = "Aston Martin - Vulcan (Bleu)";
  818.         hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0.01,0.6,1,0.1)"};
  819.     };
  820.  
  821.     class Skry_AMV2016_bleunuit: Skry_AMV2016
  822.     {
  823.         scope = 2;
  824.         forceInGarage = 1;
  825.         displayName = "Aston Martin - Vulcan (Bleu Nuit)";
  826.         hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0,0,0.5,0.1)"};
  827.     };
  828.  
  829.     class Skry_AMV2016_mauvenuit: Skry_AMV2016
  830.     {
  831.         scope = 2;
  832.         forceInGarage = 1;
  833.         displayName = "Aston Martin - Vulcan (Mauve Nuit)";
  834.         hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0.6,0,1,0.01)"};
  835.     };
  836.  
  837.     class Skry_AMV2016_vert: Skry_AMV2016
  838.     {
  839.         scope = 2;
  840.         forceInGarage = 1;
  841.         displayName = "Aston Martin - Vulcan (Vert)";
  842.         hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0.5,1,0.5,0.05)"};
  843.     };
  844.  
  845.     class Skry_AMV2016_rouge: Skry_AMV2016
  846.     {
  847.         scope = 2;
  848.         forceInGarage = 1;
  849.         displayName = "Aston Martin - Vulcan (Rouge)";
  850.         hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(1,0,0,1)"};
  851.     };
  852.  
  853.     class Skry_AMV2016_jaune: Skry_AMV2016
  854.     {
  855.         scope = 2;
  856.         forceInGarage = 1;
  857.         displayName = "Aston Martin - Vulcan (Jaune)";
  858.         hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0.6,0.3,0.01,1)"};
  859.     };
  860.  
  861.     class Skry_AMV2016_orange: Skry_AMV2016
  862.     {
  863.         scope = 2;
  864.         forceInGarage = 1;
  865.         displayName = "Aston Martin - Vulcan (Orange)";
  866.         hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(1,0.3,0.01,0.6)"};
  867.     };
  868. };
  869. class cfgMods
  870. {
  871.     author = "Skry#";
  872.     timepacked = "1436701948";
  873. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement