class UH60MG: Helicopter { armor = 80 * ACE_ARMOR_HELI; //90 CAVS displayName = $STR_ACE_VDN_UH60MG; fuelCapacity = 150; maxSpeed = 340; soundEngine[] = {"\ace_sounds_usa\usa_rotor\UH60_Engine.wss", db+25, 1}; //UH60engine.wss", 10, 1}; soundEnviron[] = {"\ace_sounds_usa\usa_rotor\UH60_Environ.wss", db-6, 1}; insideSoundCoef = 0.25; supplyRadius = 10; class Turrets: Turrets { class MainTurret: MainTurret { initElev = -110; minTurn = 20; maxTurn = 160; weapons[] = {"ACE_M134"}; magazines[] = { ACE_M_VMAGS_01("ACE_M134_4000"), }; gunnerName = "Port Side Gunner"; /* class ViewOptics { initAngleX = 0; minAngleX = -60; maxAngleX = 45; initAngleY = 0; minAngleY = -110; maxAngleY = 110; initFov = 0.75; minFov = 0.75; maxFov = 0.75; }; */ }; class RightDoorGun: MainTurret { gunnerName = "Starboard Side Gunner"; weapons[] = {"ACE_M134_2"}; body = "Turret_2"; gun = "Gun_2"; minTurn = -150; maxTurn = -30; initTurn = -90; gunBeg = "muzzle_2"; gunEnd = "chamber_2"; primaryGunner = 0; memoryPointGun = "machinegun_2"; memoryPointGunnerOptics = "gunnerview_2"; animationSourceBody = "Turret_2"; animationSourceGun = "Gun_2"; animationSourceHatch = ""; selectionFireAnim = "zasleh_1"; proxyIndex = 2; commanding = -2; }; }; class UserActions //allows to use selective rate of fire on M134 { class ACE_UH60MG_HIGHROF { displayName = "Switch to 4000 RPM"; position = ""; radius = 5; condition = "(isPlayer (gunner this))&&(local (gunner this))&&(this hasweapon ""ACE_M134"")"; statement = "this removeWeapon ""ACE_M134"";this addWeapon ""ACE_M134_HI"";this selectWeapon ""ACE_M134_HI"" "; onlyforplayer = 1; }; class ACE_UH60MG_LOWROF { displayName = "Switch to 2000 RPM"; position = ""; radius = 5; condition = "(isPlayer (gunner this))&&(local (gunner this))&&(this hasweapon ""ACE_M134_HI"")"; statement = "this removeWeapon ""ACE_M134_HI"";this addWeapon ""ACE_M134"";this selectWeapon ""ACE_M134"" "; onlyforplayer = 1; }; }; class AnimationSources { class Gatling_1 { source = "reload"; weapon = "ACE_M134"; }; class Gatling_2 { source = "reload"; weapon = "ACE_M134_2"; }; }; };