Advertisement
Guest User

Config.cpp

a guest
Apr 27th, 2013
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 35.52 KB | None | 0 0
  1.                                       ///////////////////\\\\\\\\\\\\\\\\\\\
  2.                                      ///// LIFE PROJECT RPG © 2013-2014 \\\\\
  3.                                     // BY: RAMIREZ (FOR LIFE PROJECT RPG ©) \\
  4.                             ////////////////////////| CREDITS |\\\\\\\\\\\\\\\\\\\\\\\\\\
  5.                             // PIERCE QUANTUM BY: TIM BRANCH                           \\
  6.                             // CONFIG.CPP AND MODEL.CFG BY: RAMIREZ, FUZZY, TIM BRANCH \\
  7.                             // PORT TO ARMA 3 BY: RAMIREZ                              \\
  8.                             // SOME SHIT: FUZZY, HORNER                                \\
  9.                             // MORAL SUPPORT: GUNNY                                    \\
  10.                             // PAIN IN THE ASSES: HORNER & POLARIS (FIRE TRUCK HATERS) \\
  11.                             // ORIGINAL CONCEPT: PIERCE MFG                            \\
  12.                             // MISC. SOUNDS AND CONFIG PARTS: BOHEMIA INTERACTIVE      \\
  13.                             // CONFIG BEST VIEWED IN NOTEPAD++ WITH THE DEFAULT THEME  \\
  14.                             /////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  15.  
  16. ////////////////////////////////////////////////| CONFIG PATCHES |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  17.  
  18. class CfgPatches {
  19.     class quantum {
  20.         units[] = {"rescue","engine", "ladder"};
  21.         weapons[] = {};
  22.         requiredVersion = 1.0;
  23.     };
  24. };
  25.  
  26. /////////////////////////////////////////////////| CONFIG SOUNDS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  27.  
  28. class cfgsounds {
  29.    
  30.     class dooropen1 {
  31.         sound[] = {"\fs_init\sounds\dooropen.wav", 0.1, 1}; //TAKE THE ONES FROM THE CONTENDER
  32.         name = "Door Open";
  33.         titles[] = {};
  34.     };
  35.    
  36.     class doorclose1 {
  37.         sound[] = {"\fs_init\sounds\doorclose.wav", 0.1, 1}; //TAKE THE ONES FROM THE CONTENDER
  38.         name = "Door Close";
  39.         titles[] = {};
  40.     };
  41.    
  42.     class whelensiren1 {
  43.         sound[] = {"\fs_init\sounds\whelensiren1.wav", 0.6, 1}; //FEDERAL SIGNAL Q AND POWERCALL
  44.         name = "Whelen Siren";
  45.         titles[] = {};
  46.     };
  47.    
  48.     class whelensiren2 {
  49.         sound[] = {"\fs_init\sounds\whelensiren2.wav", 0.6, 1}; //FEDERAL SIGNAL Q
  50.         name = "Whelen Siren 2";
  51.         titles[] = {};
  52.     };
  53.    
  54.     class whelensiren3 {
  55.         sound[] = {"\fs_init\sounds\whelensiren2.wav", 0.6, 1}; //FEDERAL SIGNAL Q AND WHELEN WAIL
  56.         name = "Whelen Siren 2";
  57.         titles[] = {};
  58.     };
  59. };
  60.  
  61. //////////////////////////////////////////////////////| CONFIG AMMO |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  62.  
  63. class CfgAmmo {}; //MANUAL AIR HORN!
  64.  
  65. ////////////////////////////////////////////////////| CONFIG MAGAZINES |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  66.  
  67. class CfgMagazines {}; //MORE MANUAL AIR HORN!
  68.  
  69. ////////////////////////////////////////////////////| CONFIG WEAPONS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  70.  
  71. class CfgWeapons {
  72.     class Default;
  73.     class CarHorn;
  74.     class SportCarHorn;
  75.    
  76.     class AirHornShort : SportcarHorn {
  77.     scope = 2;
  78.     displayname = "Airhorn Short";
  79.     drysound[] = {"\fs_init\Sounds\HORN23.wav", 1.25, 1};
  80.     };
  81.    
  82.     class AirHornLong : SportcarHorn {
  83.     scope = 2;
  84.     displayname = "Airhorn Long";
  85.     drysound[] = {"\fs_init\Sounds\HORN34.wav", 1.25, 1};
  86.     };
  87.    
  88.     class AirHornInter : SportcarHorn {
  89.     scope = 2;
  90.     displayname = "Intersection Air Horn";
  91.     drysound[] = {"\fs_init\Sounds\HORN34.wav", 1.25, 1};
  92.     };
  93. };
  94.  
  95. ////////////////////////////////////////////////| CONFIG VEHICLE CLASSES |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  96.  
  97. class CfgVehicleClasses {
  98.     class lp_firetrucks {
  99.         displayName = "Life Project Fire Apparatus";
  100.     };
  101. };
  102.  
  103. ////////////////////////////////////////////////////| CONFIG VEHICLES |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  104.  
  105. class CfgVehicles {
  106.  
  107.     class LandVehicle;
  108.    
  109.     class Car: LandVehicle {
  110.         class NewTurret;
  111.     };
  112.    
  113.     class Car_F: Car {
  114.        
  115.         class Turrets {
  116.             class MainTurret: NewTurret {};
  117.         };
  118.        
  119.         class HitPoints {
  120.             class HitLFWheel;
  121.             class HitLBWheel;
  122.             class HitRFWheel;
  123.             class HitRBWheel;
  124.             class HitGlass1;
  125.             class HitGlass2;
  126.             class HitGlass3;
  127.             class HitGlass4;
  128.         };
  129.         class AnimationSources {
  130.             class Zeroanimation {
  131.                 source = "user";
  132.                 animPeriod = 0;
  133.                 initPhase = 0;
  134.             };
  135.            
  136.             class OneSecondAnim {
  137.                 source = "user";
  138.                 animPeriod = 1;
  139.                 initPhase = 0;
  140.             };
  141.            
  142.             class FiveSecondAnim {
  143.                 source = "user";
  144.                 animPeriod = 5;
  145.                 initPhase = 0;
  146.             };
  147.             class LightHide {
  148.                 source = "user";
  149.                 animPeriod = 1;
  150.                 initPhase = 1;
  151.             };
  152.             class WiperAnim {
  153.                 source = "user";
  154.                 animPeriod = 2;
  155.                 initPhase = 0;
  156.             };
  157.         };
  158.         class WeaponCloudsMGun;
  159.     };
  160.    
  161. //////////////////////////////////////////////////////| CLASS: RESCUE |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 
  162.    
  163.     class rescue : Car_F {
  164.    
  165.         commanderCanSee = 31;
  166.         driverAction = "driver_hunter";
  167.         cargoAction[] = {"passenger_hunter_front","passenger_hunter_back","passenger_generic01_foldhands"};
  168.         getInAction = "GetInHunter";
  169.         getOutAction = "GetOutHunter";
  170.         cargoGetInAction[] = {"GetInHunter_cargo"};
  171.         cargoGetOutAction[] = {"GetOutHunter"};
  172.         transportMaxBackpacks = 3;
  173.         mapSize = 6.87;
  174.         _generalMacro = "Hunter_Base";
  175.         nameSound = "car";
  176.         accuracy = 0.9;
  177.         canlock = 1;
  178.         scope = 2;
  179.         side = 1;
  180.         type = 1;
  181.         typicalCargo[] = {};
  182.         cargoIsCoDriver[] = {1, 0};
  183.         weapons[] = {"HORN23","HORN34"};
  184.         unloadInCombat = 1;
  185.         class TransportWeapons {};
  186.         transportSoldier = 6;
  187.         transportMaxMagazines = 1000;
  188.         transportMaxWeapons = 50;
  189.         viewCargoShadow = 1;
  190.         maxSpeed = 100;
  191.         vehicleclass ="fd_veh_class";
  192.         turnCoef = 3.2;
  193.         terrainCoef = 1.5;
  194.         brakeDistance = 25.0;
  195.         cost = 1000;
  196.         fuelCapacity = 50;
  197.         armorWheels = 0.14;
  198.         armor = 30;
  199.         armorStructural = 8.0;
  200.         armorEngine = 2.2;
  201.         displayName = "Pierce Quantum (Rescue)";
  202.         model = "\lp_quantum\rescue";
  203.         threat[] = {0.8,0.6,0.3};
  204.         hiddenSelections[] = {body, Unit2, "Backuplight", LB1F, LB1B, LB2F, LB2B, LB3F, LB3B, LB4F, LB4B, LB5F, LB5B, LB6F, LB6B, LB7F, LB7B, LB8F, LB8B, DA1, DA2, DA3, DA4, DA5, DA6, DL1, DL2, DL3, DL4, DL5, DL6, MDTPG1, MDTPG2, MDTPG3, SPD1, SPD2, SPD3, SPD4, SPD5, SPD6, SPD7, SPD8, SPD9, LB9, LB10, door1_1, door2_1,door3_1, door4_1};
  205.         hiddenSelectionsTextures[] = {"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "","","",""};
  206.         soundGetIn[] = {"A3\Sounds_F\vehicles\soft\hunter\getin.wav",0.056234132,1};
  207.         soundGetOut[] = {"A3\Sounds_F\vehicles\soft\hunter\getout.wav",0.056234132,1,40};
  208.         soundDammage[] = {"",0.56234133,1};
  209.         soundEngineOnInt[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_start.wav",1.0,1.0};
  210.         soundEngineOnExt[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_start.wav",1.0,1.0,200};
  211.         soundEngineOffInt[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_stop.wav",1.0,1.0};
  212.         soundEngineOffExt[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_stop.wav",1.0,1.0,200};
  213.         buildCrash0[] = {"A3\sounds_f\Vehicles\Crash\crash_building_01",0.70794576,1,200};
  214.         buildCrash1[] = {"A3\sounds_f\Vehicles\Crash\crash_building_02",0.70794576,1,200};
  215.         buildCrash2[] = {"A3\sounds_f\Vehicles\Crash\crash_building_03",0.70794576,1,200};
  216.         buildCrash3[] = {"A3\sounds_f\Vehicles\Crash\crash_building_04",0.70794576,1,200};
  217.         soundBuildingCrash[] = {"buildCrash0",0.25,"buildCrash1",0.25,"buildCrash2",0.25,"buildCrash3",0.25};
  218.         WoodCrash0[] = {"A3\sounds_f\Vehicles\Crash\crash_mix_wood_01",0.70794576,1,200};
  219.         WoodCrash1[] = {"A3\sounds_f\Vehicles\Crash\crash_mix_wood_02",0.70794576,1,200};
  220.         WoodCrash2[] = {"A3\sounds_f\Vehicles\Crash\crash_mix_wood_03",0.70794576,1,200};
  221.         WoodCrash3[] = {"A3\sounds_f\Vehicles\Crash\crash_mix_wood_04",0.70794576,1,200};
  222.         WoodCrash4[] = {"A3\sounds_f\Vehicles\Crash\crash_mix_wood_05",0.70794576,1,200};
  223.         WoodCrash5[] = {"A3\sounds_f\Vehicles\Crash\crash_mix_wood_06",0.70794576,1,200};
  224.         soundWoodCrash[] = {"woodCrash0",0.166,"woodCrash1",0.166,"woodCrash2",0.166,"woodCrash3",0.166,"woodCrash4",0.166,"woodCrash5",0.166};
  225.         ArmorCrash0[] = {"A3\sounds_f\Vehicles\Crash\crash_vehicle_01",0.70794576,1,200};
  226.         ArmorCrash1[] = {"A3\sounds_f\Vehicles\Crash\crash_vehicle_02",0.70794576,1,200};
  227.         ArmorCrash2[] = {"A3\sounds_f\Vehicles\Crash\crash_vehicle_03",0.70794576,1,200};
  228.         ArmorCrash3[] = {"A3\sounds_f\Vehicles\Crash\crash_vehicle_04",0.70794576,1,200};
  229.         soundArmorCrash[] = {"ArmorCrash0",0.25,"ArmorCrash1",0.25,"ArmorCrash2",0.25,"ArmorCrash3",0.25};
  230.        
  231. //////////////////////////////////////////////////////////| LIBRARY |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\     
  232.        
  233.         class Library {
  234.             libTextDesc = "The Pierce Quantum is Pierce Manufacturing's finest apparatus. It has stock features that are considered deluxe for other brands such as folding steps and a PAK-3 independent suspension.";
  235.         };
  236.        
  237. //////////////////////////////////////////////////////////| EXAUSTS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\     
  238.        
  239.         class Exhausts {
  240.             class Exhaust1 {
  241.                 position = "exhaust_pos";
  242.                 direction = "exhaust_dir";
  243.                 effect = "ExhaustEffectHTruck";
  244.             };
  245.         };
  246.        
  247. //////////////////////////////////////////////////////| ANIMATION SOURCES |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\     
  248.    
  249.         class AnimationSources : AnimationSources {
  250.             class Zeroanimation {
  251.                 source = "user";
  252.                 animPeriod = 0;
  253.                 initPhase = 0;
  254.             };
  255.            
  256.             class OneSecondAnim {
  257.                 source = "user";
  258.                 animPeriod = 1;
  259.                 initPhase = 0;
  260.             };
  261.            
  262.             class SceneAnim {
  263.                 source = "user";
  264.                 animPeriod = 1;
  265.                 initPhase = 1;
  266.             };
  267.            
  268.             class FiveSecondAnim {
  269.                 source = "user";
  270.                 animPeriod = 5;
  271.                 initPhase = 0;
  272.             };
  273.         };
  274.        
  275. ///////////////////////////////////////////////////////////| WHEELS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 
  276.        
  277.         class Wheels {
  278.             class LF {
  279.                 boneName = "wheel_1";
  280.                 steering = 1;
  281.                 side = "left";
  282.                 center = "wheel_1_axis";
  283.                 boundary = "wheel_1_bound";
  284.                 width = "0.2";
  285.                 mass = 150;
  286.                 MOI = 40;
  287.                 dampingRate = 0.1;
  288.                 maxBrakeTorque = 22500;
  289.                 maxHandBrakeTorque = 0;
  290.                 suspTravelDirection[] = {0,-1,0};
  291.                 suspForceAppPointOffset = "wheel_1_axis";
  292.                 tireForceAppPointOffset = "wheel_1_axis";
  293.                 maxCompression = 0.15;
  294.                 mMaxDroop = 0.15;
  295.                 sprungMass = 834;
  296.                 springStrength = 20850;
  297.                 springDamperRate = 16680;
  298.                 longitudinalStiffnessPerUnitGravity = 5000;
  299.                 latStiffX = 25;
  300.                 latStiffY = 180;
  301.                 frictionVsSlipGraph[] = {
  302.                     { 0,1 },
  303.                     { 0.5,1 },
  304.                     { 1,1 }};
  305.             };
  306.             class LR: LF {
  307.                 boneName = "wheel_3";
  308.                 steering = 0;
  309.                 center = "wheel_3_axis";
  310.                 boundary = "wheel_3_bound";
  311.                 suspForceAppPointOffset = "wheel_3_axis";
  312.                 tireForceAppPointOffset = "wheel_3_axis";
  313.                 maxHandBrakeTorque = 275000;
  314.                 sprungMass = 1634;
  315.                 springStrength = 40850;
  316.                 springDamperRate = 26680;
  317.                 maxCompression = 0;
  318.             };
  319.             class RF: LF {
  320.                 boneName = "wheel_2";
  321.                 center = "wheel_2_axis";
  322.                 boundary = "wheel_2_bound";
  323.                 suspForceAppPointOffset = "wheel_2_axis";
  324.                 tireForceAppPointOffset = "wheel_2_axis";
  325.                 steering = 1;
  326.                 side = "right";
  327.                 sprungMass = 834;
  328.                 springStrength = 20850;
  329.                 springDamperRate = 16680;
  330.             };
  331.             class RR: RF {
  332.                 boneName = "wheel_4";
  333.                 steering = 0;
  334.                 center = "wheel_4_axis";
  335.                 boundary = "wheel_4_bound";
  336.                 suspForceAppPointOffset = "wheel_4_axis";
  337.                 tireForceAppPointOffset = "wheel_4_axis";
  338.                 maxHandBrakeTorque = 275000;
  339.                 sprungMass = 1634;
  340.                 springStrength = 40850;
  341.                 springDamperRate = 26680;
  342.                 maxCompression = 0;
  343.             };
  344.             class RR1: RR {
  345.                 boneName = "wheel_5";
  346.                 steering = 0;
  347.                 center = "wheel_5_axis";
  348.                 boundary = "wheel_5_bound";
  349.                 suspForceAppPointOffset = "wheel_5_axis";
  350.                 tireForceAppPointOffset = "wheel_5_axis";
  351.                 maxHandBrakeTorque = 275000;
  352.                 sprungMass = 1634;
  353.                 springStrength = 40850;
  354.                 springDamperRate = 26680;
  355.                 maxCompression = 0;
  356.             };
  357.             class RR2: RR1 {
  358.                 boneName = "wheel_6";
  359.                 steering = 0;
  360.                 center = "wheel_6_axis";
  361.                 boundary = "wheel_6_bound";
  362.                 suspForceAppPointOffset = "wheel_6_axis";
  363.                 tireForceAppPointOffset = "wheel_6_axis";
  364.                 maxHandBrakeTorque = 275000;
  365.                 sprungMass = 1634;
  366.                 springStrength = 40850;
  367.                 springDamperRate = 26680;
  368.             };
  369.         };
  370.        
  371. ///////////////////////////////////////////////////////| RENDER TARGETS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\     
  372.        
  373.         class RenderTargets{
  374.             class Backupcam {
  375.                 renderTarget = "screen1";
  376.                 class Backupcamera {
  377.                     pointPosition = "backupcam_pos";
  378.                     pointDirection = "backupcam_dir";
  379.                     renderVisionMode = 0;
  380.                     renderQuality = 1;
  381.                     fov = 1;
  382.                 };
  383.             };
  384.             class LeftMirror {
  385.                 renderTarget = "LeftMirror";
  386.                 class leftmirror1 {
  387.                     pointPosition = "leftmirror_pos";
  388.                     pointDirection = "leftmirror_dir";
  389.                     renderVisionMode = 4;
  390.                     renderQuality = 1;
  391.                     fov = .7;
  392.                 };
  393.             };
  394.             class RightMirror {
  395.                 renderTarget = "RightMirror";
  396.                 class rightmirror1 {
  397.                     pointPosition = "rightmirror_pos";
  398.                     pointDirection = "rightmirror_dir";
  399.                     renderVisionMode = 4;
  400.                     renderQuality = 1;
  401.                     fov = .7;
  402.                 };
  403.             };
  404.             class ThermalCam {
  405.                 renderTarget = "screen2";
  406.                 class thermalcam1 {
  407.                     pointPosition = "thermal_pos";
  408.                     pointDirection = "thermal_dir";
  409.                     renderVisionMode = 2;
  410.                     renderQuality = 1;
  411.                     fov = 1;
  412.                 };
  413.             };
  414.         };
  415.        
  416. ///////////////////////////////////////////////////////| REFLECTORS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 
  417.        
  418.         class Reflectors {
  419.             class Left {
  420.                 color[] = {0.75,0.75,0.75};
  421.                 ambient[] = {0.0005,0.0005,0.0005};
  422.                 position = "L svetlo";
  423.                 direction = "konec L svetla";
  424.                 hitpoint = "L svetlo";
  425.                 selection = "L svetlo";
  426.                 size = 1;
  427.                 innerAngle = 30;
  428.                 outerAngle = 160;
  429.                 coneFadeCoef = 8;
  430.                 intensity = 500;
  431.                 useFlare = 0;
  432.                 dayLight = 0;
  433.                 flareSize = 0.75;
  434.                 class Attenuation {
  435.                     start = 1.0;
  436.                     constant = 2;
  437.                     linear = 0;
  438.                     quadratic = 15.0;
  439.                 };
  440.             };
  441.             class Right: Left {
  442.                 position = "P svetlo";
  443.                 direction = "konec P svetla";
  444.                 hitpoint = "P svetlo";
  445.                 selection = "P svetlo";
  446.             };
  447.             class Right2: Right {
  448.                 position = "R_light_flare";
  449.                 useFlare = 1;
  450.             };
  451.             class Left2: Left {
  452.                 position = "L_light_flare";
  453.                 useFlare = 1;
  454.             };
  455.             class Right3: Right2 {
  456.                 position = "R_light_flare2";
  457.                 flareSize = 0.45;
  458.                 hitpoint = "P svetlo2";
  459.                 selection = "P svetlo2";
  460.             };
  461.             class Left3: Left2 {
  462.                 position = "L_light_flare2";
  463.                 flareSize = 0.45;
  464.                 hitpoint = "L svetlo2";
  465.                 selection = "L svetlo2";
  466.             };
  467.         };
  468.        
  469. ////////////////////////////////////////////////////////| USER ACTIONS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  470.        
  471.         class UserActions {
  472.  
  473.             class Opendoor1 {
  474.                 displayName = "Open Driver Door";
  475.                 position = "pos_door_1";
  476.                 radius = 3;
  477.                 onlyForplayer = 1;
  478.                 condition = "this animationPhase ""ani_door_1"" < 0.5 && speed this < 5";
  479.                 statement = "this  animate [""ani_door_1"", 1], this animate [""ani_step_1"", 1]";
  480.             };
  481.            
  482.             class closedoor1 {
  483.                 displayName = "Close Driver Door";
  484.                 position = "pos_door_1";
  485.                 radius = 3;
  486.                 onlyForplayer = 1;
  487.                 condition = "this animationPhase ""ani_door_1"" == 1";
  488.                 statement = "this animate [""ani_door_1"", 0], this animate [""ani_step_1"", 0]";
  489.             };
  490.            
  491.             class Opendoor2 {
  492.                 displayName = "Open Officer Door";
  493.                 position = "pos_door_2";
  494.                 radius = 3;
  495.                 onlyForplayer = 1;
  496.                 condition = "this animationPhase ""ani_door_2"" < 0.5 && speed this < 5";
  497.                 statement = "this  animate [""ani_door_2"", 1], this animate [""ani_step_2"", 1]";
  498.             };
  499.            
  500.             class closedoor2 {
  501.                 displayName = "Close Officer Door";
  502.                 position = "pos_door_2";
  503.                 radius = 3;
  504.                 onlyForplayer = 1;
  505.                 condition = "this animationPhase ""ani_door_2"" == 1";
  506.                 statement = "this animate [""ani_door_2"", 0], this animate [""ani_step_2"", 0]";
  507.             };
  508.            
  509.             class Opendoor3 {
  510.                 displayName = "Open Rear Door";
  511.                 position = "pos_door_3";
  512.                 radius = 3;
  513.                 onlyForplayer = 1;
  514.                 condition = "this animationPhase ""ani_door_3"" < 0.5 && speed this < 5";
  515.                 statement = "this  animate [""ani_door_3"", 1], this animate [""ani_step_3"", 1]";
  516.             };
  517.            
  518.             class closedoor3 {
  519.                 displayName = "Close Rear Door";
  520.                 position = "pos_door_3";
  521.                 radius = 3;
  522.                 onlyForplayer = 1;
  523.                 condition = "this animationPhase ""ani_door_3"" == 1";
  524.                 statement = "this animate [""ani_door_3"", 0], this animate [""ani_step_3"", 0]";
  525.             };
  526.            
  527.             class Opendoor4 {
  528.                 displayName = "Open Rear Door";
  529.                 position = "pos_door_4";
  530.                 radius = 3;
  531.                 onlyForplayer = 1;
  532.                 condition = "this animationPhase ""ani_door_4"" < 0.5 && speed this < 5";
  533.                 statement = "this  animate [""ani_door_4"", 1], this animate [""ani_step_4"", 1]";
  534.             };
  535.            
  536.             class closedoor4 {
  537.                 displayName = "Close Rear Door";
  538.                 position = "pos_door_4";
  539.                 radius = 3;
  540.                 onlyForplayer = 1;
  541.                 condition = "this animationPhase ""ani_door_4"" == 1";
  542.                 statement = "this animate [""ani_door_4"", 0], this animate [""ani_step_1"", 0]";
  543.             };
  544.            
  545.             class flasherson2 {
  546.                 displayName = "Code 2";
  547.                 position = "drivewheel";
  548.                 radius = 6;
  549.                 onlyForplayer = 1;
  550.                 condition = "driver this == player && this animationPhase ""ani_siren"" > 0.5 && this animationPhase ""ani_lights"" != 0";
  551.                 statement = "this animate [""ani_siren"", 0]";
  552.             };
  553.        
  554.             class sirenoff {
  555.                 displayName = "Code 1";
  556.                 position = "drivewheel";
  557.                 radius = 6;
  558.                 onlyForplayer = 1;
  559.                 condition = "driver this == player  && this animationPhase ""ani_lights"" != 0";
  560.                 statement = "this animate [""ani_siren"", 0], this animate [""ani_lights"", 0]";
  561.             };
  562.            
  563.             class flasherson {
  564.                 displayName = "Code 2";
  565.                 position = "drivewheel";
  566.                 radius = 6;
  567.                 onlyForplayer = 1;
  568.                 condition = "driver this == player && this animationPhase ""ani_lights"" == 0";
  569.                 statement = "this animate [""ani_siren"", 0], this animate [""ani_lights"", 0.1]";
  570.             };
  571.            
  572.             class sirenon {
  573.                 displayName = "Code 3";
  574.                 position = "drivewheel";
  575.                 radius = 6;
  576.                 onlyForplayer = 1;
  577.                 condition = "driver this == player && this animationPhase ""ani_siren"" < 1 && this animationPhase ""ani_lights"" == 0";
  578.                 statement = "this animate [""ani_siren"", 1], this animate [""ani_lights"", 0.1]";
  579.             };
  580.  
  581.             class sirenon2 {
  582.                 displayName = "Code 3";
  583.                 position = "drivewheel";
  584.                 radius = 6;
  585.                 onlyForplayer = 1;
  586.                 condition = "driver this == player && this animationPhase ""ani_siren"" < 1 && this animationPhase ""ani_lights"" != 0";
  587.                 statement = "this animate [""ani_siren"", 1]";
  588.             };
  589.             class sirentoggle1 {
  590.                 displayName = "Toggle Siren";
  591.                 position = "drivewheel";
  592.                 radius = 6;
  593.                 onlyForplayer = 1;
  594.                 condition = "driver this == player  && this animationPhase ""ani_siren"" == 1";
  595.                 statement = "this animate [""ani_siren"", 2]";
  596.             };
  597.            
  598.             class sirentoggle2 {
  599.                 displayName = "Toggle Siren";
  600.                 position = "drivewheel";
  601.                 radius = 6;
  602.                 onlyForplayer = 1;
  603.                 condition = "driver this == player  && this animationPhase ""ani_siren""==2";
  604.                 statement = "this animate [""ani_siren"", 3]";
  605.             };
  606.            
  607.             class sirentoggle3 {
  608.                 displayName = "Toggle Siren";
  609.                 position = "drivewheel";
  610.                 radius = 6;
  611.                 onlyForplayer = 1;
  612.                 condition = "driver this == player  && this animationPhase ""ani_siren""==3";
  613.                 statement = "this animate [""ani_siren"", 1]";
  614.             };
  615.            
  616.             class scenefronton {
  617.                 displayName = "Front Scene Light On";
  618.                 position = "drivewheel";
  619.                 radius = 6;
  620.                 onlyForplayer = 1;
  621.                 condition = "driver this == player  && this animationPhase ""ani_sceneright1"" == 1";
  622.                 statement = "this animate [""ani_sceneright1"", 0]";
  623.             };
  624.             class scenefrontoff {
  625.                 displayName = "Front Scene Light Off";
  626.                 position = "drivewheel";
  627.                 radius = 6;
  628.                 onlyForplayer = 1;
  629.                 condition = "driver this == player  && this animationPhase ""ani_sceneright1"" == 0";
  630.                 statement = "this animate [""ani_sceneright1"", 1]";
  631.             };
  632.                        
  633.             class scenerightrearon {
  634.                 displayName = "Rear Right Scene Light On";
  635.                 position = "drivewheel";
  636.                 radius = 6;
  637.                 onlyForplayer = 1;
  638.                 condition = "driver this == player  && this animationPhase ""ani_sceneright"" == 1";
  639.                 statement = "this animate [""ani_sceneright"", 0]";
  640.             };
  641.             class scenerightrearoff {
  642.                 displayName = "Rear Right Scene Light Off";
  643.                 position = "drivewheel";
  644.                 radius = 6;
  645.                 onlyForplayer = 1;
  646.                 condition = "driver this == player  && this animationPhase ""ani_sceneright"" == 0";
  647.                 statement = "this animate [""ani_sceneright"", 1]";
  648.         };
  649.                    
  650.             class sceneleftfronton {
  651.                 displayName = "Front Left Scene Light On";
  652.                 position = "drivewheel";
  653.                 radius = 6;
  654.                 onlyForplayer = 1;
  655.                 condition = "driver this == player  && this animationPhase ""ani_sceneleft1"" == 1";
  656.                 statement = "this animate [""ani_sceneleft1"", 0]";
  657.             };
  658.             class sceneleftfrontoff {
  659.                 displayName = "Front Left Scene Light Off";
  660.                 position = "drivewheel";
  661.                 radius = 6;
  662.                 onlyForplayer = 1;
  663.                 condition = "driver this == player  && this animationPhase ""ani_sceneleft1"" == 0";
  664.                 statement = "this animate [""ani_sceneleft1"", 1]";
  665.             };
  666.                        
  667.             class sceneleftrearon {
  668.                 displayName = "Rear Left Scene Light On";
  669.                 position = "drivewheel";
  670.                 radius = 6;
  671.                 onlyForplayer = 1;
  672.                 condition = "driver this == player  && this animationPhase ""ani_sceneleft"" == 1";
  673.                 statement = "this animate [""ani_sceneleft"", 0]";
  674.             };
  675.             class sceneleftrearoff {
  676.                 displayName = "Rear Left Scene Light Off";
  677.                 position = "drivewheel";
  678.                 radius = 6;
  679.                 onlyForplayer = 1;
  680.                 condition = "driver this == player  && this animationPhase ""ani_sceneleft"" == 0";
  681.                 statement = "this animate [""ani_sceneleft"", 1]";
  682.             };
  683.         };
  684.        
  685. /////////////////////////////////////////////////////| EVENTHANDLERS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  686.        
  687.         class eventhandlers {
  688.             init = "_this execVM ""\fs_init\scripts\fd\init_fd.sqf"";"; //MAKE HORNER'S LB SCRIPT FLASH RED AND WHITE
  689.         };
  690.        
  691. ////////////////////////////////////////////////////////| SOUNDS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  692.    
  693.         class Sounds {
  694.             class Idle_ext {
  695.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_idle.wav",0.031622775,1,200};
  696.                 frequency = "0.95   +   ((rpm/  4500) factor[(800/  4500),(1400/    4500)])*0.15";
  697.                 volume = "engineOn*camPos*(((rpm/   4500) factor[(600/  4500),(1100/    4500)]) *   ((rpm/  4500) factor[(1800/ 4500),(1300/    4500)]))";
  698.             };
  699.             class Engine {
  700.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_low1.wav",0.1,1,250};
  701.                 frequency = "0.9    +   ((rpm/  4500) factor[(1400/ 4500),(2100/    4500)])*0.2";
  702.                 volume = "engineOn*camPos*(((rpm/   4500) factor[(1400/ 4500),(1800/    4500)]) *   ((rpm/  4500) factor[(2300/ 4500),(2000/    4500)]))";
  703.             };
  704.             class Engine1_ext {
  705.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_low2.wav",0.1,1,300};
  706.                 frequency = "0.9    +       ((rpm/  4500) factor[(2100/ 4500),(2800/    4500)])*0.2";
  707.                 volume = "engineOn*camPos*(((rpm/   4500) factor[(1900/ 4500),(2300/    4500)]) *   ((rpm/  4500) factor[(3000/ 4500),(2500/    4500)]))";
  708.             };
  709.             class Engine2_ext {
  710.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_mid.wav",0.1,1,350};
  711.                 frequency = "0.9    +   ((rpm/  4500) factor[(2800/ 4500),(3600/    4500)])*0.2";
  712.                 volume = "engineOn*camPos*(((rpm/   4500) factor[(2500/ 4500),(3100/    4500)]) *   ((rpm/  4500) factor[(4500/ 4500),(3700/    4500)]))";
  713.             };
  714.             class Engine3_ext {
  715.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_high.wav",0.1,1,400};
  716.                 frequency = "0.95   +   ((rpm/  4500) factor[(3600/ 4500),(4500/    4500)])*0.1";
  717.                 volume = "engineOn*camPos*((rpm/    4500) factor[(3800/ 4500),(4500/    4500)])";
  718.             };
  719.             class IdleThrust {
  720.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_exhaust_idle.wav",1.0,1,300};
  721.                 frequency = "0.95   +   ((rpm/  4500) factor[(800/  4500),(1400/    4500)])*0.15";
  722.                 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)]))";
  723.             };
  724.             class EngineThrust {
  725.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_exhaust_low1.wav",1.0,1,350};
  726.                 frequency = "0.9    +   ((rpm/  4500) factor[(1400/ 4500),(2100/    4500)])*0.2";
  727.                 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)]))";
  728.             };
  729.             class Engine1_Thrust_ext {
  730.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_exhaust_low2.wav",1.0,1,400};
  731.                 frequency = "0.9    +       ((rpm/  4500) factor[(2100/ 4500),(2800/    4500)])*0.2";
  732.                 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)]))";
  733.             };
  734.             class Engine2_Thrust_ext {
  735.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_exhaust_mid.wav",1.0,1,450};
  736.                 frequency = "0.9    +   ((rpm/  4500) factor[(2800/ 4500),(3600/    4500)])*0.2";
  737.                 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)]))";
  738.             };
  739.             class Engine3_Thrust_ext {
  740.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_exhaust_high.wav",1.0,1,500};
  741.                 frequency = "0.95   +   ((rpm/  4500) factor[(3600/ 4500),(4500/    4500)])*0.1";
  742.                 volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 4500) factor[(3800/ 4500),(4500/    4500)])";
  743.             };
  744.             class Idle_int {
  745.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_idle.wav",0.031622775,1};
  746.                 frequency = "0.95   +   ((rpm/  4500) factor[(800/  4500),(1400/    4500)])*0.15";
  747.                 volume = "engineOn*(1-camPos)*(((rpm/   4500) factor[(600/  4500),(1100/    4500)]) *   ((rpm/  4500) factor[(1800/ 4500),(1300/    4500)]))";
  748.             };
  749.             class Engine_int {
  750.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_low1.wav",0.1,1};
  751.                 frequency = "0.9    +   ((rpm/  4500) factor[(1400/ 4500),(2100/    4500)])*0.2";
  752.                 volume = "engineOn*(1-camPos)*(((rpm/   4500) factor[(1400/ 4500),(1800/    4500)]) *   ((rpm/  4500) factor[(2300/ 4500),(2000/    4500)]))";
  753.             };
  754.             class Engine1_int {
  755.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_low2.wav",0.1,1};
  756.                 frequency = "0.9    +       ((rpm/  4500) factor[(2100/ 4500),(2800/    4500)])*0.2";
  757.                 volume = "engineOn*(1-camPos)*(((rpm/   4500) factor[(1900/ 4500),(2300/    4500)]) *   ((rpm/  4500) factor[(3000/ 4500),(2500/    4500)]))";
  758.             };
  759.             class Engine2_int {
  760.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_mid.wav",0.1,1};
  761.                 frequency = "0.9    +   ((rpm/  4500) factor[(2800/ 4500),(3600/    4500)])*0.2";
  762.                 volume = "engineOn*(1-camPos)*(((rpm/   4500) factor[(2500/ 4500),(3100/    4500)]) *   ((rpm/  4500) factor[(4500/ 4500),(3700/    4500)]))";
  763.             };
  764.             class Engine3_int {
  765.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_high.wav",0.1,1};
  766.                 frequency = "0.95   +   ((rpm/  4500) factor[(3600/ 4500),(4500/    4500)])*0.1";
  767.                 volume = "engineOn*(1-camPos)*((rpm/    4500) factor[(3800/ 4500),(4500/    4500)])";
  768.             };
  769.             class IdleThrust_int {
  770.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_exhaust_idle.wav",1.0,1};
  771.                 frequency = "0.95   +   ((rpm/  4500) factor[(800/  4500),(1400/    4500)])*0.15";
  772.                 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)]))";
  773.             };
  774.             class EngineThrust_int {
  775.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_exhaust_low1.wav",1.0,1};
  776.                 frequency = "0.9    +   ((rpm/  4500) factor[(1400/ 4500),(2100/    4500)])*0.2";
  777.                 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)]))";
  778.             };
  779.             class Engine1_Thrust_int {
  780.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_exhaust_low2.wav",1.0,1};
  781.                 frequency = "0.9    +       ((rpm/  4500) factor[(2100/ 4500),(2800/    4500)])*0.2";
  782.                 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)]))";
  783.             };
  784.             class Engine2_Thrust_int {
  785.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_exhaust_mid.wav",1.0,1};
  786.                 frequency = "0.9    +   ((rpm/  4500) factor[(2800/ 4500),(3600/    4500)])*0.2";
  787.                 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)]))";
  788.             };
  789.             class Engine3_Thrust_int {
  790.                 sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_exhaust_high.wav",1.0,1};
  791.                 frequency = "0.95   +   ((rpm/  4500) factor[(3600/ 4500),(4500/    4500)])*0.1";
  792.                 volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 4500) factor[(3800/ 4500),(4500/    4500)])";
  793.             };
  794.             class Movement {
  795.                 sound = "soundEnviron";
  796.                 frequency = "1";
  797.                 volume = "0";
  798.             };
  799.             class TiresRockOut {
  800.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_rock_final_2.wav",0.1,1.0,120};
  801.                 frequency = "1";
  802.                 volume = "camPos*rock*(speed factor[2, 20])";
  803.             };
  804.             class TiresSandOut {
  805.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-sand1.wav",0.1,1.0,120};
  806.                 frequency = "1";
  807.                 volume = "camPos*sand*(speed factor[2, 20])";
  808.             };
  809.             class TiresGrassOut {
  810.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_road_final_1.wav",0.1,1.0,120};
  811.                 frequency = "1";
  812.                 volume = "camPos*grass*(speed factor[2, 20])";
  813.             };
  814.             class TiresMudOut {
  815.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-mud2.wav",0.1,1.0,120};
  816.                 frequency = "1";
  817.                 volume = "camPos*mud*(speed factor[2, 20])";
  818.             };
  819.             class TiresGravelOut {
  820.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_rock_final_2.wav",0.31622776,1.0,120};
  821.                 frequency = "1";
  822.                 volume = "camPos*gravel*(speed factor[2, 20])";
  823.             };
  824.             class TiresAsphaltOut {
  825.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_road_final_1.wav",0.2818383,1.0,120};
  826.                 frequency = "1";
  827.                 volume = "camPos*asphalt*(speed factor[2, 20])";
  828.             };
  829.             class NoiseOut {
  830.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_soft_ext_1.wav",0.1,1.0,120};
  831.                 frequency = "1";
  832.                 volume = "camPos*(damper0 max 0.02)*(speed factor[0, 8])";
  833.             };
  834.             class TiresRockIn {
  835.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_rock_final_2.wav",0.017782794,1.0};
  836.                 frequency = "1";
  837.                 volume = "(1-camPos)*rock*(speed factor[2, 20])";
  838.             };
  839.             class TiresSandIn {
  840.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\int-tires-sand2.wav",0.017782794,1.0};
  841.                 frequency = "1";
  842.                 volume = "(1-camPos)*sand*(speed factor[2, 20])";
  843.             };
  844.             class TiresGrassIn {
  845.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_road_final_1.wav",0.017782794,1.0};
  846.                 frequency = "1";
  847.                 volume = "(1-camPos)*grass*(speed factor[2, 20])";
  848.             };
  849.             class TiresMudIn {
  850.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\int-tires-mud2.wav",0.017782794,1.0};
  851.                 frequency = "1";
  852.                 volume = "(1-camPos)*mud*(speed factor[2, 20])";
  853.             };
  854.             class TiresGravelIn {
  855.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_rock_final_2.wav",0.014125375,1.0};
  856.                 frequency = "1";
  857.                 volume = "(1-camPos)*gravel*(speed factor[2, 20])";
  858.             };
  859.             class TiresAsphaltIn {
  860.                 sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_road_final_1.wav",0.017782794,1.0};
  861.                 frequency = "1";
  862.                 volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
  863.             };
  864.             class NoiseIn {
  865.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_soft_int_1.wav",0.017782794,1.0};
  866.                 frequency = "1";
  867.                 volume = "(damper0 max 0.03)*(speed factor[0, 8])*(1-camPos)";
  868.             };
  869.             class breaking_ext_road {
  870.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04.wav",1.0,1,100};
  871.                 frequency = 1;
  872.                 volume = "engineOn*camPos*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 10])";
  873.             };
  874.             class acceleration_ext_road {
  875.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
  876.                 frequency = 1;
  877.                 volume = "engineOn*camPos*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
  878.             };
  879.             class turn_left_ext_road {
  880.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
  881.                 frequency = 1;
  882.                 volume = "engineOn*camPos*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
  883.             };
  884.             class turn_right_ext_road {
  885.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
  886.                 frequency = 1;
  887.                 volume = "engineOn*camPos*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
  888.             };
  889.             class breaking_ext_dirt {
  890.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04.wav",1.0,1,100};
  891.                 frequency = 1;
  892.                 volume = "engineOn*camPos*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 10])";
  893.             };
  894.             class acceleration_ext_dirt {
  895.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
  896.                 frequency = 1;
  897.                 volume = "engineOn*camPos*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
  898.             };
  899.             class turn_left_ext_dirt {
  900.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
  901.                 frequency = 1;
  902.                 volume = "engineOn*camPos*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
  903.             };
  904.             class turn_right_ext_dirt {
  905.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
  906.                 frequency = 1;
  907.                 volume = "engineOn*camPos*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
  908.             };
  909.             class breaking_int_road {
  910.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04_int.wav",1.0,1};
  911.                 frequency = 1;
  912.                 volume = "engineOn*(1-camPos)*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 6])";
  913.             };
  914.             class acceleration_int_road {
  915.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
  916.                 frequency = 1;
  917.                 volume = "engineOn*(1-camPos)*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
  918.             };
  919.             class turn_left_int_road {
  920.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
  921.                 frequency = 1;
  922.                 volume = "engineOn*(1-camPos)*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
  923.             };
  924.             class turn_right_int_road {
  925.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
  926.                 frequency = 1;
  927.                 volume = "engineOn*(1-camPos)*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
  928.             };
  929.             class breaking_int_dirt {
  930.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04_int.wav",1.0,1};
  931.                 frequency = 1;
  932.                 volume = "engineOn*(1-camPos)*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 6])";
  933.             };
  934.             class acceleration_int_dirt {
  935.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
  936.                 frequency = 1;
  937.                 volume = "engineOn*(1-camPos)*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
  938.             };
  939.             class turn_left_int_dirt {
  940.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
  941.                 frequency = 1;
  942.                 volume = "engineOn*(1-camPos)*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
  943.             };
  944.             class turn_right_int_dirt {
  945.                 sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
  946.                 frequency = 1;
  947.                 volume = "engineOn*(1-camPos)*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
  948.             };         
  949.         }; //Sounds
  950.     };
  951.     class engine : rescue {
  952.         model = "/lp_quantum/engine.p3d"
  953.         displayname = "Pierce Quantum Engine"
  954.     };
  955. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement