Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///////////////////\\\\\\\\\\\\\\\\\\\
- ///// LIFE PROJECT RPG © 2013-2014 \\\\\
- // BY: RAMIREZ (FOR LIFE PROJECT RPG ©) \\
- ////////////////////////| CREDITS |\\\\\\\\\\\\\\\\\\\\\\\\\\
- // PIERCE QUANTUM BY: TIM BRANCH \\
- // CONFIG.CPP AND MODEL.CFG BY: RAMIREZ, FUZZY, TIM BRANCH \\
- // PORT TO ARMA 3 BY: RAMIREZ \\
- // SOME SHIT: FUZZY, HORNER \\
- // MORAL SUPPORT: GUNNY \\
- // PAIN IN THE ASSES: HORNER & POLARIS (FIRE TRUCK HATERS) \\
- // ORIGINAL CONCEPT: PIERCE MFG \\
- // MISC. SOUNDS AND CONFIG PARTS: BOHEMIA INTERACTIVE \\
- // CONFIG BEST VIEWED IN NOTEPAD++ WITH THE DEFAULT THEME \\
- /////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- ////////////////////////////////////////////////| CONFIG PATCHES |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class CfgPatches {
- class quantum {
- units[] = {"rescue","engine", "ladder"};
- weapons[] = {};
- requiredVersion = 1.0;
- };
- };
- /////////////////////////////////////////////////| CONFIG SOUNDS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class cfgsounds {
- class dooropen1 {
- sound[] = {"\fs_init\sounds\dooropen.wav", 0.1, 1}; //TAKE THE ONES FROM THE CONTENDER
- name = "Door Open";
- titles[] = {};
- };
- class doorclose1 {
- sound[] = {"\fs_init\sounds\doorclose.wav", 0.1, 1}; //TAKE THE ONES FROM THE CONTENDER
- name = "Door Close";
- titles[] = {};
- };
- class whelensiren1 {
- sound[] = {"\fs_init\sounds\whelensiren1.wav", 0.6, 1}; //FEDERAL SIGNAL Q AND POWERCALL
- name = "Whelen Siren";
- titles[] = {};
- };
- class whelensiren2 {
- sound[] = {"\fs_init\sounds\whelensiren2.wav", 0.6, 1}; //FEDERAL SIGNAL Q
- name = "Whelen Siren 2";
- titles[] = {};
- };
- class whelensiren3 {
- sound[] = {"\fs_init\sounds\whelensiren2.wav", 0.6, 1}; //FEDERAL SIGNAL Q AND WHELEN WAIL
- name = "Whelen Siren 2";
- titles[] = {};
- };
- };
- //////////////////////////////////////////////////////| CONFIG AMMO |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class CfgAmmo {}; //MANUAL AIR HORN!
- ////////////////////////////////////////////////////| CONFIG MAGAZINES |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class CfgMagazines {}; //MORE MANUAL AIR HORN!
- ////////////////////////////////////////////////////| CONFIG WEAPONS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class CfgWeapons {
- class Default;
- class CarHorn;
- class SportCarHorn;
- class AirHornShort : SportcarHorn {
- scope = 2;
- displayname = "Airhorn Short";
- drysound[] = {"\fs_init\Sounds\HORN23.wav", 1.25, 1};
- };
- class AirHornLong : SportcarHorn {
- scope = 2;
- displayname = "Airhorn Long";
- drysound[] = {"\fs_init\Sounds\HORN34.wav", 1.25, 1};
- };
- class AirHornInter : SportcarHorn {
- scope = 2;
- displayname = "Intersection Air Horn";
- drysound[] = {"\fs_init\Sounds\HORN34.wav", 1.25, 1};
- };
- };
- ////////////////////////////////////////////////| CONFIG VEHICLE CLASSES |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class CfgVehicleClasses {
- class lp_firetrucks {
- displayName = "Life Project Fire Apparatus";
- };
- };
- ////////////////////////////////////////////////////| CONFIG VEHICLES |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class CfgVehicles {
- class LandVehicle;
- class Car: LandVehicle {
- class NewTurret;
- };
- class Car_F: Car {
- class Turrets {
- class MainTurret: NewTurret {};
- };
- class HitPoints {
- class HitLFWheel;
- class HitLBWheel;
- class HitRFWheel;
- class HitRBWheel;
- class HitGlass1;
- class HitGlass2;
- class HitGlass3;
- class HitGlass4;
- };
- class AnimationSources {
- class Zeroanimation {
- source = "user";
- animPeriod = 0;
- initPhase = 0;
- };
- class OneSecondAnim {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- };
- class FiveSecondAnim {
- source = "user";
- animPeriod = 5;
- initPhase = 0;
- };
- class LightHide {
- source = "user";
- animPeriod = 1;
- initPhase = 1;
- };
- class WiperAnim {
- source = "user";
- animPeriod = 2;
- initPhase = 0;
- };
- };
- class WeaponCloudsMGun;
- };
- //////////////////////////////////////////////////////| CLASS: RESCUE |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class rescue : Car_F {
- commanderCanSee = 31;
- driverAction = "driver_hunter";
- cargoAction[] = {"passenger_hunter_front","passenger_hunter_back","passenger_generic01_foldhands"};
- getInAction = "GetInHunter";
- getOutAction = "GetOutHunter";
- cargoGetInAction[] = {"GetInHunter_cargo"};
- cargoGetOutAction[] = {"GetOutHunter"};
- transportMaxBackpacks = 3;
- mapSize = 6.87;
- _generalMacro = "Hunter_Base";
- nameSound = "car";
- accuracy = 0.9;
- canlock = 1;
- scope = 2;
- side = 1;
- type = 1;
- typicalCargo[] = {};
- cargoIsCoDriver[] = {1, 0};
- weapons[] = {"HORN23","HORN34"};
- unloadInCombat = 1;
- class TransportWeapons {};
- transportSoldier = 6;
- transportMaxMagazines = 1000;
- transportMaxWeapons = 50;
- viewCargoShadow = 1;
- maxSpeed = 100;
- vehicleclass ="fd_veh_class";
- turnCoef = 3.2;
- terrainCoef = 1.5;
- brakeDistance = 25.0;
- cost = 1000;
- fuelCapacity = 50;
- armorWheels = 0.14;
- armor = 30;
- armorStructural = 8.0;
- armorEngine = 2.2;
- displayName = "Pierce Quantum (Rescue)";
- model = "\lp_quantum\rescue";
- threat[] = {0.8,0.6,0.3};
- 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};
- hiddenSelectionsTextures[] = {"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "","","",""};
- soundGetIn[] = {"A3\Sounds_F\vehicles\soft\hunter\getin.wav",0.056234132,1};
- soundGetOut[] = {"A3\Sounds_F\vehicles\soft\hunter\getout.wav",0.056234132,1,40};
- soundDammage[] = {"",0.56234133,1};
- soundEngineOnInt[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_start.wav",1.0,1.0};
- soundEngineOnExt[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_start.wav",1.0,1.0,200};
- soundEngineOffInt[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_stop.wav",1.0,1.0};
- soundEngineOffExt[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_stop.wav",1.0,1.0,200};
- buildCrash0[] = {"A3\sounds_f\Vehicles\Crash\crash_building_01",0.70794576,1,200};
- buildCrash1[] = {"A3\sounds_f\Vehicles\Crash\crash_building_02",0.70794576,1,200};
- buildCrash2[] = {"A3\sounds_f\Vehicles\Crash\crash_building_03",0.70794576,1,200};
- buildCrash3[] = {"A3\sounds_f\Vehicles\Crash\crash_building_04",0.70794576,1,200};
- soundBuildingCrash[] = {"buildCrash0",0.25,"buildCrash1",0.25,"buildCrash2",0.25,"buildCrash3",0.25};
- WoodCrash0[] = {"A3\sounds_f\Vehicles\Crash\crash_mix_wood_01",0.70794576,1,200};
- WoodCrash1[] = {"A3\sounds_f\Vehicles\Crash\crash_mix_wood_02",0.70794576,1,200};
- WoodCrash2[] = {"A3\sounds_f\Vehicles\Crash\crash_mix_wood_03",0.70794576,1,200};
- WoodCrash3[] = {"A3\sounds_f\Vehicles\Crash\crash_mix_wood_04",0.70794576,1,200};
- WoodCrash4[] = {"A3\sounds_f\Vehicles\Crash\crash_mix_wood_05",0.70794576,1,200};
- WoodCrash5[] = {"A3\sounds_f\Vehicles\Crash\crash_mix_wood_06",0.70794576,1,200};
- soundWoodCrash[] = {"woodCrash0",0.166,"woodCrash1",0.166,"woodCrash2",0.166,"woodCrash3",0.166,"woodCrash4",0.166,"woodCrash5",0.166};
- ArmorCrash0[] = {"A3\sounds_f\Vehicles\Crash\crash_vehicle_01",0.70794576,1,200};
- ArmorCrash1[] = {"A3\sounds_f\Vehicles\Crash\crash_vehicle_02",0.70794576,1,200};
- ArmorCrash2[] = {"A3\sounds_f\Vehicles\Crash\crash_vehicle_03",0.70794576,1,200};
- ArmorCrash3[] = {"A3\sounds_f\Vehicles\Crash\crash_vehicle_04",0.70794576,1,200};
- soundArmorCrash[] = {"ArmorCrash0",0.25,"ArmorCrash1",0.25,"ArmorCrash2",0.25,"ArmorCrash3",0.25};
- //////////////////////////////////////////////////////////| LIBRARY |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class Library {
- 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.";
- };
- //////////////////////////////////////////////////////////| EXAUSTS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class Exhausts {
- class Exhaust1 {
- position = "exhaust_pos";
- direction = "exhaust_dir";
- effect = "ExhaustEffectHTruck";
- };
- };
- //////////////////////////////////////////////////////| ANIMATION SOURCES |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class AnimationSources : AnimationSources {
- class Zeroanimation {
- source = "user";
- animPeriod = 0;
- initPhase = 0;
- };
- class OneSecondAnim {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- };
- class SceneAnim {
- source = "user";
- animPeriod = 1;
- initPhase = 1;
- };
- class FiveSecondAnim {
- source = "user";
- animPeriod = 5;
- initPhase = 0;
- };
- };
- ///////////////////////////////////////////////////////////| WHEELS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class Wheels {
- class LF {
- boneName = "wheel_1";
- steering = 1;
- side = "left";
- center = "wheel_1_axis";
- boundary = "wheel_1_bound";
- width = "0.2";
- mass = 150;
- MOI = 40;
- dampingRate = 0.1;
- maxBrakeTorque = 22500;
- maxHandBrakeTorque = 0;
- suspTravelDirection[] = {0,-1,0};
- suspForceAppPointOffset = "wheel_1_axis";
- tireForceAppPointOffset = "wheel_1_axis";
- maxCompression = 0.15;
- mMaxDroop = 0.15;
- sprungMass = 834;
- springStrength = 20850;
- springDamperRate = 16680;
- longitudinalStiffnessPerUnitGravity = 5000;
- latStiffX = 25;
- latStiffY = 180;
- frictionVsSlipGraph[] = {
- { 0,1 },
- { 0.5,1 },
- { 1,1 }};
- };
- class LR: LF {
- boneName = "wheel_3";
- steering = 0;
- center = "wheel_3_axis";
- boundary = "wheel_3_bound";
- suspForceAppPointOffset = "wheel_3_axis";
- tireForceAppPointOffset = "wheel_3_axis";
- maxHandBrakeTorque = 275000;
- sprungMass = 1634;
- springStrength = 40850;
- springDamperRate = 26680;
- maxCompression = 0;
- };
- class RF: LF {
- boneName = "wheel_2";
- center = "wheel_2_axis";
- boundary = "wheel_2_bound";
- suspForceAppPointOffset = "wheel_2_axis";
- tireForceAppPointOffset = "wheel_2_axis";
- steering = 1;
- side = "right";
- sprungMass = 834;
- springStrength = 20850;
- springDamperRate = 16680;
- };
- class RR: RF {
- boneName = "wheel_4";
- steering = 0;
- center = "wheel_4_axis";
- boundary = "wheel_4_bound";
- suspForceAppPointOffset = "wheel_4_axis";
- tireForceAppPointOffset = "wheel_4_axis";
- maxHandBrakeTorque = 275000;
- sprungMass = 1634;
- springStrength = 40850;
- springDamperRate = 26680;
- maxCompression = 0;
- };
- class RR1: RR {
- boneName = "wheel_5";
- steering = 0;
- center = "wheel_5_axis";
- boundary = "wheel_5_bound";
- suspForceAppPointOffset = "wheel_5_axis";
- tireForceAppPointOffset = "wheel_5_axis";
- maxHandBrakeTorque = 275000;
- sprungMass = 1634;
- springStrength = 40850;
- springDamperRate = 26680;
- maxCompression = 0;
- };
- class RR2: RR1 {
- boneName = "wheel_6";
- steering = 0;
- center = "wheel_6_axis";
- boundary = "wheel_6_bound";
- suspForceAppPointOffset = "wheel_6_axis";
- tireForceAppPointOffset = "wheel_6_axis";
- maxHandBrakeTorque = 275000;
- sprungMass = 1634;
- springStrength = 40850;
- springDamperRate = 26680;
- };
- };
- ///////////////////////////////////////////////////////| RENDER TARGETS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class RenderTargets{
- class Backupcam {
- renderTarget = "screen1";
- class Backupcamera {
- pointPosition = "backupcam_pos";
- pointDirection = "backupcam_dir";
- renderVisionMode = 0;
- renderQuality = 1;
- fov = 1;
- };
- };
- class LeftMirror {
- renderTarget = "LeftMirror";
- class leftmirror1 {
- pointPosition = "leftmirror_pos";
- pointDirection = "leftmirror_dir";
- renderVisionMode = 4;
- renderQuality = 1;
- fov = .7;
- };
- };
- class RightMirror {
- renderTarget = "RightMirror";
- class rightmirror1 {
- pointPosition = "rightmirror_pos";
- pointDirection = "rightmirror_dir";
- renderVisionMode = 4;
- renderQuality = 1;
- fov = .7;
- };
- };
- class ThermalCam {
- renderTarget = "screen2";
- class thermalcam1 {
- pointPosition = "thermal_pos";
- pointDirection = "thermal_dir";
- renderVisionMode = 2;
- renderQuality = 1;
- fov = 1;
- };
- };
- };
- ///////////////////////////////////////////////////////| REFLECTORS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class Reflectors {
- class Left {
- color[] = {0.75,0.75,0.75};
- ambient[] = {0.0005,0.0005,0.0005};
- position = "L svetlo";
- direction = "konec L svetla";
- hitpoint = "L svetlo";
- selection = "L svetlo";
- size = 1;
- innerAngle = 30;
- outerAngle = 160;
- coneFadeCoef = 8;
- intensity = 500;
- useFlare = 0;
- dayLight = 0;
- flareSize = 0.75;
- class Attenuation {
- start = 1.0;
- constant = 2;
- linear = 0;
- quadratic = 15.0;
- };
- };
- class Right: Left {
- position = "P svetlo";
- direction = "konec P svetla";
- hitpoint = "P svetlo";
- selection = "P svetlo";
- };
- class Right2: Right {
- position = "R_light_flare";
- useFlare = 1;
- };
- class Left2: Left {
- position = "L_light_flare";
- useFlare = 1;
- };
- class Right3: Right2 {
- position = "R_light_flare2";
- flareSize = 0.45;
- hitpoint = "P svetlo2";
- selection = "P svetlo2";
- };
- class Left3: Left2 {
- position = "L_light_flare2";
- flareSize = 0.45;
- hitpoint = "L svetlo2";
- selection = "L svetlo2";
- };
- };
- ////////////////////////////////////////////////////////| USER ACTIONS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class UserActions {
- class Opendoor1 {
- displayName = "Open Driver Door";
- position = "pos_door_1";
- radius = 3;
- onlyForplayer = 1;
- condition = "this animationPhase ""ani_door_1"" < 0.5 && speed this < 5";
- statement = "this animate [""ani_door_1"", 1], this animate [""ani_step_1"", 1]";
- };
- class closedoor1 {
- displayName = "Close Driver Door";
- position = "pos_door_1";
- radius = 3;
- onlyForplayer = 1;
- condition = "this animationPhase ""ani_door_1"" == 1";
- statement = "this animate [""ani_door_1"", 0], this animate [""ani_step_1"", 0]";
- };
- class Opendoor2 {
- displayName = "Open Officer Door";
- position = "pos_door_2";
- radius = 3;
- onlyForplayer = 1;
- condition = "this animationPhase ""ani_door_2"" < 0.5 && speed this < 5";
- statement = "this animate [""ani_door_2"", 1], this animate [""ani_step_2"", 1]";
- };
- class closedoor2 {
- displayName = "Close Officer Door";
- position = "pos_door_2";
- radius = 3;
- onlyForplayer = 1;
- condition = "this animationPhase ""ani_door_2"" == 1";
- statement = "this animate [""ani_door_2"", 0], this animate [""ani_step_2"", 0]";
- };
- class Opendoor3 {
- displayName = "Open Rear Door";
- position = "pos_door_3";
- radius = 3;
- onlyForplayer = 1;
- condition = "this animationPhase ""ani_door_3"" < 0.5 && speed this < 5";
- statement = "this animate [""ani_door_3"", 1], this animate [""ani_step_3"", 1]";
- };
- class closedoor3 {
- displayName = "Close Rear Door";
- position = "pos_door_3";
- radius = 3;
- onlyForplayer = 1;
- condition = "this animationPhase ""ani_door_3"" == 1";
- statement = "this animate [""ani_door_3"", 0], this animate [""ani_step_3"", 0]";
- };
- class Opendoor4 {
- displayName = "Open Rear Door";
- position = "pos_door_4";
- radius = 3;
- onlyForplayer = 1;
- condition = "this animationPhase ""ani_door_4"" < 0.5 && speed this < 5";
- statement = "this animate [""ani_door_4"", 1], this animate [""ani_step_4"", 1]";
- };
- class closedoor4 {
- displayName = "Close Rear Door";
- position = "pos_door_4";
- radius = 3;
- onlyForplayer = 1;
- condition = "this animationPhase ""ani_door_4"" == 1";
- statement = "this animate [""ani_door_4"", 0], this animate [""ani_step_1"", 0]";
- };
- class flasherson2 {
- displayName = "Code 2";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_siren"" > 0.5 && this animationPhase ""ani_lights"" != 0";
- statement = "this animate [""ani_siren"", 0]";
- };
- class sirenoff {
- displayName = "Code 1";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_lights"" != 0";
- statement = "this animate [""ani_siren"", 0], this animate [""ani_lights"", 0]";
- };
- class flasherson {
- displayName = "Code 2";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_lights"" == 0";
- statement = "this animate [""ani_siren"", 0], this animate [""ani_lights"", 0.1]";
- };
- class sirenon {
- displayName = "Code 3";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_siren"" < 1 && this animationPhase ""ani_lights"" == 0";
- statement = "this animate [""ani_siren"", 1], this animate [""ani_lights"", 0.1]";
- };
- class sirenon2 {
- displayName = "Code 3";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_siren"" < 1 && this animationPhase ""ani_lights"" != 0";
- statement = "this animate [""ani_siren"", 1]";
- };
- class sirentoggle1 {
- displayName = "Toggle Siren";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_siren"" == 1";
- statement = "this animate [""ani_siren"", 2]";
- };
- class sirentoggle2 {
- displayName = "Toggle Siren";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_siren""==2";
- statement = "this animate [""ani_siren"", 3]";
- };
- class sirentoggle3 {
- displayName = "Toggle Siren";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_siren""==3";
- statement = "this animate [""ani_siren"", 1]";
- };
- class scenefronton {
- displayName = "Front Scene Light On";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_sceneright1"" == 1";
- statement = "this animate [""ani_sceneright1"", 0]";
- };
- class scenefrontoff {
- displayName = "Front Scene Light Off";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_sceneright1"" == 0";
- statement = "this animate [""ani_sceneright1"", 1]";
- };
- class scenerightrearon {
- displayName = "Rear Right Scene Light On";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_sceneright"" == 1";
- statement = "this animate [""ani_sceneright"", 0]";
- };
- class scenerightrearoff {
- displayName = "Rear Right Scene Light Off";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_sceneright"" == 0";
- statement = "this animate [""ani_sceneright"", 1]";
- };
- class sceneleftfronton {
- displayName = "Front Left Scene Light On";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_sceneleft1"" == 1";
- statement = "this animate [""ani_sceneleft1"", 0]";
- };
- class sceneleftfrontoff {
- displayName = "Front Left Scene Light Off";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_sceneleft1"" == 0";
- statement = "this animate [""ani_sceneleft1"", 1]";
- };
- class sceneleftrearon {
- displayName = "Rear Left Scene Light On";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_sceneleft"" == 1";
- statement = "this animate [""ani_sceneleft"", 0]";
- };
- class sceneleftrearoff {
- displayName = "Rear Left Scene Light Off";
- position = "drivewheel";
- radius = 6;
- onlyForplayer = 1;
- condition = "driver this == player && this animationPhase ""ani_sceneleft"" == 0";
- statement = "this animate [""ani_sceneleft"", 1]";
- };
- };
- /////////////////////////////////////////////////////| EVENTHANDLERS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class eventhandlers {
- init = "_this execVM ""\fs_init\scripts\fd\init_fd.sqf"";"; //MAKE HORNER'S LB SCRIPT FLASH RED AND WHITE
- };
- ////////////////////////////////////////////////////////| SOUNDS |\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- class Sounds {
- class Idle_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_idle.wav",0.031622775,1,200};
- frequency = "0.95 + ((rpm/ 4500) factor[(800/ 4500),(1400/ 4500)])*0.15";
- volume = "engineOn*camPos*(((rpm/ 4500) factor[(600/ 4500),(1100/ 4500)]) * ((rpm/ 4500) factor[(1800/ 4500),(1300/ 4500)]))";
- };
- class Engine {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_low1.wav",0.1,1,250};
- frequency = "0.9 + ((rpm/ 4500) factor[(1400/ 4500),(2100/ 4500)])*0.2";
- volume = "engineOn*camPos*(((rpm/ 4500) factor[(1400/ 4500),(1800/ 4500)]) * ((rpm/ 4500) factor[(2300/ 4500),(2000/ 4500)]))";
- };
- class Engine1_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_low2.wav",0.1,1,300};
- frequency = "0.9 + ((rpm/ 4500) factor[(2100/ 4500),(2800/ 4500)])*0.2";
- volume = "engineOn*camPos*(((rpm/ 4500) factor[(1900/ 4500),(2300/ 4500)]) * ((rpm/ 4500) factor[(3000/ 4500),(2500/ 4500)]))";
- };
- class Engine2_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_mid.wav",0.1,1,350};
- frequency = "0.9 + ((rpm/ 4500) factor[(2800/ 4500),(3600/ 4500)])*0.2";
- volume = "engineOn*camPos*(((rpm/ 4500) factor[(2500/ 4500),(3100/ 4500)]) * ((rpm/ 4500) factor[(4500/ 4500),(3700/ 4500)]))";
- };
- class Engine3_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_high.wav",0.1,1,400};
- frequency = "0.95 + ((rpm/ 4500) factor[(3600/ 4500),(4500/ 4500)])*0.1";
- volume = "engineOn*camPos*((rpm/ 4500) factor[(3800/ 4500),(4500/ 4500)])";
- };
- class IdleThrust {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_exhaust_idle.wav",1.0,1,300};
- frequency = "0.95 + ((rpm/ 4500) factor[(800/ 4500),(1400/ 4500)])*0.15";
- volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 4500) factor[(600/ 4500),(1100/ 4500)]) * ((rpm/ 4500) factor[(1800/ 4500),(1300/ 4500)]))";
- };
- class EngineThrust {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_exhaust_low1.wav",1.0,1,350};
- frequency = "0.9 + ((rpm/ 4500) factor[(1400/ 4500),(2100/ 4500)])*0.2";
- volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 4500) factor[(1400/ 4500),(1800/ 4500)]) * ((rpm/ 4500) factor[(2300/ 4500),(2000/ 4500)]))";
- };
- class Engine1_Thrust_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_exhaust_low2.wav",1.0,1,400};
- frequency = "0.9 + ((rpm/ 4500) factor[(2100/ 4500),(2800/ 4500)])*0.2";
- volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 4500) factor[(1900/ 4500),(2300/ 4500)]) * ((rpm/ 4500) factor[(3000/ 4500),(2500/ 4500)]))";
- };
- class Engine2_Thrust_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_exhaust_mid.wav",1.0,1,450};
- frequency = "0.9 + ((rpm/ 4500) factor[(2800/ 4500),(3600/ 4500)])*0.2";
- volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 4500) factor[(2500/ 4500),(3100/ 4500)]) * ((rpm/ 4500) factor[(4500/ 4500),(3700/ 4500)]))";
- };
- class Engine3_Thrust_ext {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_ext_exhaust_high.wav",1.0,1,500};
- frequency = "0.95 + ((rpm/ 4500) factor[(3600/ 4500),(4500/ 4500)])*0.1";
- volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 4500) factor[(3800/ 4500),(4500/ 4500)])";
- };
- class Idle_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_idle.wav",0.031622775,1};
- frequency = "0.95 + ((rpm/ 4500) factor[(800/ 4500),(1400/ 4500)])*0.15";
- volume = "engineOn*(1-camPos)*(((rpm/ 4500) factor[(600/ 4500),(1100/ 4500)]) * ((rpm/ 4500) factor[(1800/ 4500),(1300/ 4500)]))";
- };
- class Engine_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_low1.wav",0.1,1};
- frequency = "0.9 + ((rpm/ 4500) factor[(1400/ 4500),(2100/ 4500)])*0.2";
- volume = "engineOn*(1-camPos)*(((rpm/ 4500) factor[(1400/ 4500),(1800/ 4500)]) * ((rpm/ 4500) factor[(2300/ 4500),(2000/ 4500)]))";
- };
- class Engine1_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_low2.wav",0.1,1};
- frequency = "0.9 + ((rpm/ 4500) factor[(2100/ 4500),(2800/ 4500)])*0.2";
- volume = "engineOn*(1-camPos)*(((rpm/ 4500) factor[(1900/ 4500),(2300/ 4500)]) * ((rpm/ 4500) factor[(3000/ 4500),(2500/ 4500)]))";
- };
- class Engine2_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_mid.wav",0.1,1};
- frequency = "0.9 + ((rpm/ 4500) factor[(2800/ 4500),(3600/ 4500)])*0.2";
- volume = "engineOn*(1-camPos)*(((rpm/ 4500) factor[(2500/ 4500),(3100/ 4500)]) * ((rpm/ 4500) factor[(4500/ 4500),(3700/ 4500)]))";
- };
- class Engine3_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_high.wav",0.1,1};
- frequency = "0.95 + ((rpm/ 4500) factor[(3600/ 4500),(4500/ 4500)])*0.1";
- volume = "engineOn*(1-camPos)*((rpm/ 4500) factor[(3800/ 4500),(4500/ 4500)])";
- };
- class IdleThrust_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_exhaust_idle.wav",1.0,1};
- frequency = "0.95 + ((rpm/ 4500) factor[(800/ 4500),(1400/ 4500)])*0.15";
- volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 4500) factor[(600/ 4500),(1100/ 4500)]) * ((rpm/ 4500) factor[(1800/ 4500),(1300/ 4500)]))";
- };
- class EngineThrust_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_exhaust_low1.wav",1.0,1};
- frequency = "0.9 + ((rpm/ 4500) factor[(1400/ 4500),(2100/ 4500)])*0.2";
- volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 4500) factor[(1400/ 4500),(1800/ 4500)]) * ((rpm/ 4500) factor[(2300/ 4500),(2000/ 4500)]))";
- };
- class Engine1_Thrust_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_exhaust_low2.wav",1.0,1};
- frequency = "0.9 + ((rpm/ 4500) factor[(2100/ 4500),(2800/ 4500)])*0.2";
- volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 4500) factor[(1900/ 4500),(2300/ 4500)]) * ((rpm/ 4500) factor[(3000/ 4500),(2500/ 4500)]))";
- };
- class Engine2_Thrust_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_exhaust_mid.wav",1.0,1};
- frequency = "0.9 + ((rpm/ 4500) factor[(2800/ 4500),(3600/ 4500)])*0.2";
- volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 4500) factor[(2500/ 4500),(3100/ 4500)]) * ((rpm/ 4500) factor[(4500/ 4500),(3700/ 4500)]))";
- };
- class Engine3_Thrust_int {
- sound[] = {"A3\Sounds_F\vehicles\soft\hunter\hunter2_int_exhaust_high.wav",1.0,1};
- frequency = "0.95 + ((rpm/ 4500) factor[(3600/ 4500),(4500/ 4500)])*0.1";
- volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 4500) factor[(3800/ 4500),(4500/ 4500)])";
- };
- class Movement {
- sound = "soundEnviron";
- frequency = "1";
- volume = "0";
- };
- class TiresRockOut {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_rock_final_2.wav",0.1,1.0,120};
- frequency = "1";
- volume = "camPos*rock*(speed factor[2, 20])";
- };
- class TiresSandOut {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-sand1.wav",0.1,1.0,120};
- frequency = "1";
- volume = "camPos*sand*(speed factor[2, 20])";
- };
- class TiresGrassOut {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_road_final_1.wav",0.1,1.0,120};
- frequency = "1";
- volume = "camPos*grass*(speed factor[2, 20])";
- };
- class TiresMudOut {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-mud2.wav",0.1,1.0,120};
- frequency = "1";
- volume = "camPos*mud*(speed factor[2, 20])";
- };
- class TiresGravelOut {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_rock_final_2.wav",0.31622776,1.0,120};
- frequency = "1";
- volume = "camPos*gravel*(speed factor[2, 20])";
- };
- class TiresAsphaltOut {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_road_final_1.wav",0.2818383,1.0,120};
- frequency = "1";
- volume = "camPos*asphalt*(speed factor[2, 20])";
- };
- class NoiseOut {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_soft_ext_1.wav",0.1,1.0,120};
- frequency = "1";
- volume = "camPos*(damper0 max 0.02)*(speed factor[0, 8])";
- };
- class TiresRockIn {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_rock_final_2.wav",0.017782794,1.0};
- frequency = "1";
- volume = "(1-camPos)*rock*(speed factor[2, 20])";
- };
- class TiresSandIn {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\int-tires-sand2.wav",0.017782794,1.0};
- frequency = "1";
- volume = "(1-camPos)*sand*(speed factor[2, 20])";
- };
- class TiresGrassIn {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_road_final_1.wav",0.017782794,1.0};
- frequency = "1";
- volume = "(1-camPos)*grass*(speed factor[2, 20])";
- };
- class TiresMudIn {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\int-tires-mud2.wav",0.017782794,1.0};
- frequency = "1";
- volume = "(1-camPos)*mud*(speed factor[2, 20])";
- };
- class TiresGravelIn {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_rock_final_2.wav",0.014125375,1.0};
- frequency = "1";
- volume = "(1-camPos)*gravel*(speed factor[2, 20])";
- };
- class TiresAsphaltIn {
- sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_road_final_1.wav",0.017782794,1.0};
- frequency = "1";
- volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
- };
- class NoiseIn {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_soft_int_1.wav",0.017782794,1.0};
- frequency = "1";
- volume = "(damper0 max 0.03)*(speed factor[0, 8])*(1-camPos)";
- };
- class breaking_ext_road {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04.wav",1.0,1,100};
- frequency = 1;
- volume = "engineOn*camPos*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 10])";
- };
- class acceleration_ext_road {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
- frequency = 1;
- volume = "engineOn*camPos*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
- };
- class turn_left_ext_road {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
- frequency = 1;
- volume = "engineOn*camPos*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
- };
- class turn_right_ext_road {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
- frequency = 1;
- volume = "engineOn*camPos*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
- };
- class breaking_ext_dirt {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04.wav",1.0,1,100};
- frequency = 1;
- volume = "engineOn*camPos*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 10])";
- };
- class acceleration_ext_dirt {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
- frequency = 1;
- volume = "engineOn*camPos*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
- };
- class turn_left_ext_dirt {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
- frequency = 1;
- volume = "engineOn*camPos*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
- };
- class turn_right_ext_dirt {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
- frequency = 1;
- volume = "engineOn*camPos*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
- };
- class breaking_int_road {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04_int.wav",1.0,1};
- frequency = 1;
- volume = "engineOn*(1-camPos)*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 6])";
- };
- class acceleration_int_road {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
- frequency = 1;
- volume = "engineOn*(1-camPos)*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
- };
- class turn_left_int_road {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
- frequency = 1;
- volume = "engineOn*(1-camPos)*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
- };
- class turn_right_int_road {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
- frequency = 1;
- volume = "engineOn*(1-camPos)*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
- };
- class breaking_int_dirt {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04_int.wav",1.0,1};
- frequency = 1;
- volume = "engineOn*(1-camPos)*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 6])";
- };
- class acceleration_int_dirt {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
- frequency = 1;
- volume = "engineOn*(1-camPos)*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
- };
- class turn_left_int_dirt {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
- frequency = 1;
- volume = "engineOn*(1-camPos)*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
- };
- class turn_right_int_dirt {
- sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
- frequency = 1;
- volume = "engineOn*(1-camPos)*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
- };
- }; //Sounds
- };
- class engine : rescue {
- model = "/lp_quantum/engine.p3d"
- displayname = "Pierce Quantum Engine"
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement