Jump to content
Sign in to follow this  
aduke823

CargoTurret Inheritance No Worky

Recommended Posts

Hello hello hello,

For some reason when I inherit from the CargoTurret class for enabling FFV in my helicopter config, no properties are inherited.

Despite all of the required settings and values being present in my turret class, I still get errors for additional config entries (selectionFireAnim for example).

So, I believe what is happening is that none of the properties for the CargoTurret parent class are being inherited.

I receive errors as though I have created an incomplete new turret class in my config, which i have not.

Here are just some of the errors that my new sub-class of turret generates...

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.startEngine'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.outGunnerMayFire'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.gunnerOutFireAlsoInInternalCamera'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.inGunnerMayFire'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.gunnerFireAlsoInInternalCamera'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.gunnerForceOptics'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.gunnerOpticsShowCursor'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.gunnerOutForceOptics'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.gunnerOutOpticsShowCursor'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.castGunnerShadow'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.viewGunnerShadow'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.viewGunnerShadowDiff'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.viewGunnerShadowAmb'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.hideWeaponsGunner'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.forceHideGunner'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.canHideGunner'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.viewGunnerInExternal'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.gunnerUsesPilotView'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.stabilizedInAxes'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.gunnerOpticsEffect'.

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.gunnerOutOpticsEffect'.

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.turretFollowFreeLook'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.Turrets'.

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.weapons'.

23:15:42 Warning Message: Size: '/' not an array

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.magazines'.

23:15:42 Warning Message: Size: '/' not an array

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.primaryGunner'.

23:15:42 Warning Message: '/' is not a value

23:15:42 Warning Message: No entry 'config.bin/CfgVehicles/ad_uh1y/Turrets/CargoTurret_01.primaryObserver'.

Here is my config, all ffv-required config entries come straight from the examples in the MH9 config...

   class AllVehicles;
   class Air;
   class Helicopter: Air
   {
       class CargoTurret;
       class Turrets
       {
           class MainTurret;    
       };
       class NewTurret;
       class AnimationSources;
       class HitPoints;
       class ViewPilot;
       class ViewOptics;        
   };
   class Helicopter_Base_F: Helicopter
   {        
       class Turrets;
       class HitPoints: HitPoints
       {
           class HitHull;
           class HitHRotor;
           class HitGlass1;
           class HitGlass2;
           class HitGlass3;
           class HitGlass4;
       };
       class AnimationSources;
       class Eventhandlers;
       class ViewOptics;        
   };
   class ad_uh1y_base: Helicopter //External
   {
       features = "Slingload: Slingloads up to 2000kg";
       slingLoadMaxCargoMass = 2000;
       showNVGCargo[] = {0,0,1};
       destrType = "DestructWreck";        
       scope = 0;
       side = 1;
       picture = "\ad_helos\data\icon_uh1y.paa";
       icon = "\ad_helos\data\icon_uh1y.paa";
       mapSize = 15;
       faction = "BLU_F";
       availableForSupportTypes[] = {};
       cargoCanEject = 1;
       driverCanEject = 1;
       helmetMountedDisplay = 0;
       maxFordingDepth = 0.75;
       mainBladeRadius = 7.5;
       altFullForce = 4000;
       altNoForce = 6000;
       LockDetectionSystem = "2 + 8 + 4";
       incomingMissileDetectionSystem = 16;
       bodyFrictionCoef = 1.4;
       supplyRadius = 0;
       liftForceCoef = 2;
       cyclicAsideForceCoef = 0.4;
       cyclicForwardForceCoef = 1.7;
       enableManualFire = 0;
       class Library
       {
             libTextDesc = "UH1Y";
       };
       fuelCapacity = 250;
       fuelConsumptionRate = 0.138;
       maxSpeed = 293;
       simulation = "helicopterX";
       armor = 40;
       weapons[] = {"CMFlareLauncher"};
       magazines[] = {"168Rnd_CMFlare_Chaff_Magazine"};
       memoryPointLRocket = "Rocket_1";
       memoryPointRRocket = "Rocket_2";
       irScanRangeMin = 0;
       irScanRangeMax = 1000;
       nightVision = 1;
       memoryPointCM[]  = {"flare_launcher1", "flare_launcher2"};
       memoryPointCMDir[] = {"flare_launcher1_dir", "flare_launcher2_dir"};
       radarType = 4;
       threat[] = {0.8, 1, 0.6};
       memoryPointsGetInCargo[] = {"pos codriver", "pos cargo"};
       memoryPointsGetInCargoDir[] = {"pos codriver dir", "pos cargo dir"};
       driverAction = "UH1Y_Pilot";
       driverInAction = "UH1Y_Pilot";
       cargoAction[] = {"UH1Y_Cargo02", "UH1Y_Cargo03", "UH1Y_Cargo03", "UH1Y_Cargo02", "UH1Y_Cargo01", "commander_sdv"};
       cargoIsCoDriver[]={false, false, false, false, false, false};
       driverCanSee = 31;
       gunnerCanSee = 31;
       gunnerUsesPilotView = 1;
       gunnerOpticsModel = "";
       transportSoldier = 6;
       transportAmmo = 9999;
       transportMaxMagazines = 9999;
       transportMaxWeapons = 9999;
       class TransportBackpacks
       {
           class _xx_B_Parachute
           {
               backpack = "B_Parachute";
               count = 0;
           };
       };
       class TransportItems
       {
           class _xx_FirstAidKit
           {
               name = "FirstAidKit";
               count = 20;
           };
           class _xx_Medikit
           {
               name = "Medikit";
               count = 2;
           };
       };
       initCargoAngleY = +10; 
       minCargoAngleY = -60;
       maxCargoAngleY = +120;
       minFireTime = 30;
       driverCompartments = "Compartment1";
       cargoCompartments[] = {"Compartment2"};
       class ViewPilot: ViewPilot
       {
           initFov = 1.4; 
           minFov = 0.6; 
           maxFov = 1.0;
             initAngleX = 0; 
           minAngleX = -65; 
           maxAngleX = +85; 
           initAngleY = 0; 
           minAngleY = -150; 
           maxAngleY = +150;
       };
       class Exhausts
       {
           class Exhaust1
           {
               position = "exhaust1";
               direction = "exhaust1_dir";
               effect = "ExhaustsEffectHeliCom";
           };
           class Exhaust2
           {
               position = "exhaust2";
               direction = "exhaust2_dir";
               effect = "ExhaustsEffectHeliCom";
           };
       };
       class MarkerLights 
       {
           class WhiteStill 
           {
               name = "bily pozicni";
               color[] = {1.0, 1.0, 1.0};
               ambient[] = {0.1, 0.1, 0.1};
               blinking = 1;
               intensity = 75;
               blinkingPattern[] = {0.1, 0.9};
               blinkingPatternGuarantee = 0;
               drawLightSize = 0.2;
               drawLightCenterSize = 0.04;
           };
           class RedStill 
           {
               name = "cerveny pozicni";
               color[] = {0.8, 0.0, 0.0};
               ambient[] = {0.08, 0.0, 0.0};
               intensity = 75;
               drawLight = 1;
               drawLightSize = 0.15;
               drawLightCenterSize = 0.04;
               activeLight = 0;
               blinking = 0;
               dayLight = 0;
               useFlare = 0;
           };
           class GreenStill 
           {
               name = "zeleny pozicni";
               color[] = {0.0, 0.8, 0.0};
               ambient[] = {0.0, 0.08, 0.0};
               intensity = 75;
               drawLight = 1;
               drawLightSize = 0.15;
               drawLightCenterSize = 0.04;
               activeLight = 0;
               blinking = 0;
               dayLight = 0;
               useFlare = 0;
           };
       };
       class Reflectors
       {
           class Middle
           {
               color[] = {7000, 7500, 10000, 1};
               ambient[] = {100, 100, 100, 0};
               position = "svetlo";
               direction = "svetlo konec";
               hitpoint = "svetlo";
               selection = "svetlo";
               size = 1;
               innerAngle = 20;
               outerAngle = 60;
               coneFadeCoef = 10;
               intensity = 50;
               useFlare = 1;
               dayLight = 0;
               FlareSize = 6;
               class Attenuation
               {
                   start = 1;
                   constant = 0;
                   linear = 0;
                   quadratic = 4;
               };
           };
       };
       dammageHalf[] = {};    
       dammageFull[] = {};    
       class Damage
       {
           tex[] = {};
           mat[] =
           {
               "ad_helos\data\uh1y_sklo.rvmat",
               "ad_helos\data\uh1y_sklo_damage.rvmat",
               "ad_helos\data\uh1y_sklo_damage.rvmat",


               "ad_helos\data\uh1y_sklo_in.rvmat",
               "ad_helos\data\uh1y_sklo_in_damage.rvmat",
               "ad_helos\data\uh1y_sklo_in_damage.rvmat",


               "ad_helos\data\uh1y_ext.rvmat",
               "ad_helos\data\uh1y_ext_damage.rvmat",
               "ad_helos\data\uh1y_ext_destruct.rvmat",


               "ad_helos\data\uh1y_int.rvmat",
               "ad_helos\data\uh1y_int_damage.rvmat",
               "ad_helos\data\uh1y_int_destruct.rvmat",


               "ad_helos\data\launcher.rvmat",
               "ad_helos\data\launcher.rvmat",
               "ad_helos\data\launcher_destruct.rvmat",


               "ad_helos\data\uh1y_cockpit.rvmat",
               "ad_helos\data\uh1y_cockpit_damage.rvmat",
               "ad_helos\data\uh1y_cockpit_destruct.rvmat"
           };
       };
       attenuationEffectType = "OpenHeliAttenuation";
       soundGetIn[] = {"ad_helos\sounds\heli_door_01",db-10,1};
       soundGetOut[] = {"ad_helos\sounds\heli_door_01",db-10,1, 40};
       soundEnviron[] = {"", db-30, 1.0};
       soundDammage[] = {"ad_helos\sounds\alarm_loop1", db-10, 1};
       soundEngineOnInt[] = {"ad_helos\sounds\int-start-final", db-7, 1.0};
       soundEngineOnExt[] = {"ad_helos\sounds\ext-motor-start", db-7, 1.0, 700};
       soundEngineOffInt[] =  {"ad_helos\sounds\int-stop-final", db-7, 1.0};
       soundEngineOffExt[] =  {"ad_helos\sounds\ext-motor-stop", db-7, 1.0, 700};
       soundLocked[] = {"\A3\Sounds_F\weapons\Rockets\opfor_lock_1",0.1,1};
       soundIncommingMissile[] = {"\A3\Sounds_F\weapons\Rockets\opfor_lock_2",0.1,1};
       soundGeneralCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_1",1.0,1,100};
       soundGeneralCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_2",1.0,1,100};
       soundGeneralCollision3[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_3",1.0,1,100};
       soundCrashes[] = {"soundGeneralCollision1",0.33,"soundGeneralCollision2",0.33,"soundGeneralCollision3",0.33};
       soundLandCrashes[] = {"emptySound",0};
       soundBuildingCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundArmorCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundWoodCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundBushCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_1",1.0,1,100};
       soundBushCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_2",1.0,1,100};
       soundBushCollision3[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_3",1.0,1,100};
       soundBushCrash[] = {"soundBushCollision1",0.33,"soundBushCollision2",0.33,"soundBushCollision3",0.33};
       soundWaterCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_water_ext_1",1.0,1,100};
       soundWaterCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_water_ext_2",1.0,1,100};
       soundWaterCrashes[] = {"soundWaterCollision1",0.5,"soundWaterCollision2",0.5};        
       rotorDamageInt[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_rotor_int_open_1",1.0,1.0};
       rotorDamageOut[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_rotor_ext_1",2.5118864,1.0,150};
       rotorDamage[] = {"rotorDamageInt","rotorDamageOut"};
       tailDamageInt[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_tail",1.0,1.0};
       tailDamageOut[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_tail",1.0,1.0,300};
       tailDamage[] = {"tailDamageInt","tailDamageOut"};
       landingSoundInt0[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_int1_open",1.0,1.0,100};
       landingSoundInt1[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_int1_open",1.0,1.0,100};
       landingSoundInt[] = {"landingSoundInt0",0.5,"landingSoundInt1",0.5};
       landingSoundOut0[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_ext1",1.7782794,1.0,100};
       landingSoundOut1[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_ext1",1.7782794,1.0,100};
       landingSoundOut[] = {"landingSoundOut0",0.5,"landingSoundOut1",0.5};
       slingCargoAttach0[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpEndINT",1.0,1.0};
       slingCargoAttach1[] = {"A3\Sounds_F\vehicles\air\noises\SL_1hookLock",1.0,1.0,80};
       slingCargoAttach[] = {"slingCargoAttach0","slingCargoAttach1"};
       slingCargoDetach0[] = {"A3\Sounds_F\dummysound",1.0,1.0};
       slingCargoDetach1[] = {"A3\Sounds_F\vehicles\air\noises\SL_1hookUnlock",1.0,1.0,80};
       slingCargoDetach[] = {"slingCargoDetach0","slingCargoDetach1"};
       slingCargoDetachAir0[] = {"A3\Sounds_F\vehicles\air\noises\SL_unhook_air_int",1.0,1.0};
       slingCargoDetachAir1[] = {"A3\Sounds_F\vehicles\air\noises\SL_unhook_air_ext",1.0,1.0,80};
       slingCargoDetachAir[] = {"slingCargoDetach0","slingCargoDetach1"};
       slingCargoRopeBreak0[] = {"A3\Sounds_F\vehicles\air\noises\SL_rope_break_int",1.0,1.0};
       slingCargoRopeBreak1[] = {"A3\Sounds_F\vehicles\air\noises\SL_rope_break_ext",1.0,1.0,80};
       slingCargoRopeBreak[] = {"slingCargoDetach0","slingCargoDetach1"};
       class Sounds
       {
           class Engine
           {
               sound[] = {"ad_helos\sounds\ext-fly-mode2", db8, 1.0, 800};
               frequency = "rotorSpeed";
               volume = "camPos*((rotorSpeed-0.72)*4)";
           };
           class RotorLowOut
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5b", db8, 1.0, 1400};
               frequency = "rotorSpeed";
               volume = "camPos*(0 max (rotorSpeed-0.1))";
               cone[] = {1.6,3.14, 2.0, 0.5};
           };
           class RotorHighOut
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5a", db8, 1.0, 1600};
               frequency = "rotorSpeed";
               volume = "camPos*10*(0 max (rotorThrust-0.9))" ;
               cone[] = {1.6,3.14, 2.0, 0.5};
           };
             class EngineIn
           {
               sound[] = {"ad_helos\sounds\int-fly-mode7", db0, 1.0};
               frequency = "rotorSpeed";
                volume = "(1-camPos)*((rotorSpeed-0.75)*4)";
           };
           class RotorLowIn
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5b", db0, 1.0};
               frequency = "rotorSpeed";
               volume = "2*(1-camPos)*((rotorSpeed factor[0.3, 1.1]) min (rotorSpeed factor[1.1, 0.3]))";
           };
           class RotorHighIn
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5a", db0, 1.0};
               frequency = "rotorSpeed";
               volume = "(1-camPos)*3*(rotorThrust-0.9)" ;
           };
           class scrubTreeExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\scrubTreeExt",1.0,1.0,100};
               frequency = 1;
               volume = "camPos * ((scrubTree) factor [0, 0.01])";
           };
           class RainExt
           {
               sound[] = {"A3\Sounds_F\vehicles\noises\rain1_ext",1.0,1.0,100};
               frequency = 1;
               volume = "camPos * (rain - rotorSpeed/2) * 2";
           };
           class RainInt
           {
               sound[] = {"A3\Sounds_F\vehicles\noises\rain1_int_open",1.0,1.0,100};
               frequency = 1;
               volume = "(1-camPos)*(rain - rotorSpeed/2)*2";
           };
           class SlingLoadDownExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineDownEXT",1.0,1.0,500};
               frequency = 1;
               volume = "camPos*(slingLoadActive factor [0,-1])";
           };
           class SlingLoadUpExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpEXT",1.0,1.0,500};
               frequency = 1;
               volume = "camPos*(slingLoadActive factor [0,1])";
           };
           class SlingLoadDownInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineDownINT",1.0,1.0,500};
               frequency = 1;
               volume = "(1-camPos)*(slingLoadActive factor [0,-1])";
           };
           class SlingLoadUpInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpINT",1.0,1.0,500};
               frequency = 1;
               volume = "(1-camPos)*(slingLoadActive factor [0,1])";
           };
           class damageAlarmInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_bluefor",0.31622776,1.0};
               frequency = 1;
               volume = "engineOn * (1 - camPos) * ( 1 - ((transmissionDamage factor [0.61, 0.60]) * (motorDamage factor [0.61, 0.60]) * (rotorDamage factor [0.51, 0.50]))) * (rotorSpeed factor [0.0, 0.001])";
           };
           class damageAlarmExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_bluefor",0.2238721,1.0,20};
               frequency = 1;
               volume = "engineOn * camPos * ( 1 - ((transmissionDamage factor [0.61, 0.60]) * (motorDamage factor [0.61, 0.60]) * (rotorDamage factor [0.51, 0.50]))) * (rotorSpeed factor [0, 0.001])";
           };
           class rotorLowAlarmInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_rotor_low",0.31622776,1.0};
               frequency = 1;
               volume = "engineOn * (1 - camPos) * (rotorSpeed factor [0.9, 0.8999]) * (rotorSpeed factor [-0.5, 1]) * (speed factor [3, 3.01])";
           };
           class rotorLowAlarmExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_rotor_low",0.2238721,1.0,20};
               frequency = 1;
               volume = "engineOn * camPos * (rotorSpeed factor [0.9, 0.8999]) * (rotorSpeed factor [-0.5, 1]) * (speed factor [3, 3.01])";
           };    
       };    
   };
   class ad_uh1y: ad_uh1y_base
   {
       scope = 2;
       vehicleClass = "ad_helos";
       model = "\ad_helos\uh1y_venom.p3d";
       displayName = "UH-1Y 'Venom'"
       crew = "AD_USMC_Pilot";
       picture = "\ad_helos\data\icon_uh1y.paa";
       icon = "\ad_helos\data\icon_uh1y.paa";
       transportSoldier = 2;
       cargoProxyIndexes[] = {5,6};
       //cargoAction[] = {"UH1Y_Cargo02", "UH1Y_Cargo03", "UH1Y_Cargo03", "UH1Y_Cargo02", "UH1Y_Cargo01", "commander_sdv"};
       cargoAction[] = {"passenger_inside_1", "passenger_inside_2", "passenger_inside_3", "passenger_inside_1", "UH1Y_Cargo01", "commander_sdv"};
       class CargoTurret;
       class Turrets: Turrets
       {
           class CargoTurret_01: CargoTurret
           {        
               gunnerAction = "passenger_inside_1";
               gunnerCompartments = "Compartment2";
               memoryPointsGetInGunner = "pos cargo";
               memoryPointsGetInGunnerDir = "pos cargo dir";
               playerPosition = 4;
               soundAttenuationTurret = "";
               disableSoundAttenuation = 1;
               gunnerGetInAction = "GetInHeli_Light_01bench";
               gunnerName = "Cargo Right Aft";
               proxyIndex = 1;
               maxElev = 15;
               minElev = -30;
               maxTurn = -25;
               minTurn = -100;
               isPersonTurret = 1;
               ejectDeadGunner = 0;
               memoryPointGunnerOptics = "eye";
               class dynamicViewLimits{};
           };
           class CargoTurret_02: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_2";
               gunnerCompartments = "Compartment2";
               memoryPointsGetInGunner = "pos cargo";
               memoryPointsGetInGunnerDir = "pos cargo dir";
               gunnerName = "Cargo Left Aft";
               proxyIndex = 2;
               maxElev = 10;
               minElev = -30;
               maxTurn = 30;
               minTurn = -50;
               isPersonTurret = 1;
               ejectDeadGunner = 0;
               memoryPointGunnerOptics = "eye";
               class dynamicViewLimits{};
           };
           class CargoTurret_03: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_3";
               gunnerCompartments = "Compartment2";
               memoryPointsGetInGunner = "pos cargo";
               memoryPointsGetInGunnerDir = "pos cargo dir";
               gunnerName = "Cargo Right Front";
               proxyIndex = 3;
               maxElev = 10;
               minElev = -30;
               maxTurn = 75;
               minTurn = -35;
               isPersonTurret = 1;
               ejectDeadGunner = 0;
               memoryPointGunnerOptics = "eye";
               class dynamicViewLimits{};
           };
           class CargoTurret_04: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_1";
               gunnerCompartments = "Compartment2";
               memoryPointsGetInGunner = "pos cargo";
               memoryPointsGetInGunnerDir = "pos cargo dir";
               gunnerName = "Cargo Left Front";
               proxyIndex = 3;
               maxElev = 10;
               minElev = -30;
               maxTurn = 55;
               minTurn = -35;
               isPersonTurret = 1;
               ejectDeadGunner = 0;
               memoryPointGunnerOptics = "eye";
               class dynamicViewLimits{};
           };
           class MainTurret: MainTurret 
           {
               isCopilot = 0;
               body = "mainTurret";
               gun = "mainGun";            
               minElev=-60; 
               maxElev=+30; 
               initElev="--15";                
               minTurn=-5; 
               maxTurn=180; 
               initTurn=90;                
               soundServo[] = {,db-40,1.0};
               animationSourceHatch = "";
               animationSourceBody="mainTurret";
               animationSourceGun="mainGun";
               stabilizedInAxes = 0;
               gunBeg = "muzzle_1";
               gunEnd = "chamber_1";
               weapons[]={"HMG_127_APC"};
               magazines[]={"500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red"};
               gunnerName = "Left M2 Gunner";
               memoryPointGun = "machinegun";
               memoryPointGunnerOptics = "gunnerview";
               gunnerOpticsModel = "\ad_helos\uh1y_optics";
               gunnerOutOpticsShowCursor = 1;
               gunnerOpticsShowCursor = 1;
               gunnerAction = "mas_UH1Y_Cargo03";
               gunnerInAction = "gunner_Heli_Transport_01";
               commanding = -2;
               primaryGunner = 0;
               gunnerCompartments = "Compartment2";
               class ViewOptics
               {
                   initAngleX=0; 
                   minAngleX=-30; 
                   maxAngleX=+30;
                   initAngleY=0; 
                   minAngleY=-100; 
                   maxAngleY=+100;
                   initFov=1.0; 
                   minFov=0.25; 
                   maxFov=0.8;
               };
               class OpticsIn
               {
                   class Wide 
                   {
                       opticsDisplayName = "W";
                       initAngleX = 0;
                       minAngleX = -30;
                       maxAngleX = +30;
                       initAngleY = 0;
                       minAngleY = -100;
                       maxAngleY = +100;
                       initFov = 0.466;
                       minFov = 0.466;
                       maxFov = 0.466;
                       visionMode[] = {"Normal","NVG","Ti"};
                       thermalMode[] = {0,1};
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                   };
                   class Narrow: Wide 
                   {
                       opticsDisplayName = "N";
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                       initFov = 0.05;
                       minFov = 0.05;
                       maxFov = 0.05;
                   };
               };
               class OpticsOut
               {
                   class Monocular 
                   {
                       initAngleX = 0; 
                       minAngleX = -30; 
                       maxAngleX = +30;
                       initAngleY = 0; 
                       minAngleY = -100; 
                       maxAngleY = +100;
                       initFov = 1.1; 
                       minFov = 0.133; 
                       maxFov = 1.1;
                       visionMode[] = {"Normal","NVG"};
                       gunnerOpticsModel = "";
                       gunnerOpticsEffect[] = {};
                   };
               };
           };
           class RightDoorGun: MainTurret
           {
               isCopilot = 0;
               body = "Turret2";
               gun = "Gun_2";
               animationSourceBody = "Turret_2";
               animationSourceGun = "Gun_2";
               stabilizedInAxes = 0;
               selectionFireAnim = "zasleh_1";
               proxyIndex = 2;
               gunnerName = "Right M134 Gunner";
               commanding = -3;            
               minElev=-60; 
               maxElev=+30; 
               initElev=-45;                
               minTurn=-180; 
               maxTurn=5; 
               initTurn=-90;        
               weapons[] = {"LMG_Minigun2"};
               magazines[] = {"2000Rnd_65x39_Belt_Tracer_Red"};
               gunBeg = "muzzle_2"; 
               gunEnd = "chamber_2"; 
               primaryGunner = 0;
               memoryPointGun = "machinegun_2";
               memoryPointGunnerOptics = "gunnerview_2";
               hasGunner = true;
               hasCrew = true;
           };
           class CoPilotObs: MainTurret
           {
               isCopilot = 1;
               stabilizedInAxes = "StabilizedInAxesBoth";
               proxyIndex = 3;
               gunnerName = "Co-Pilot"; 
               gunnerAction = "UH1Y_Gunner02";
               gunnerInAction = "UH1Y_Gunner02";
               body = "ObsTurret";
               gun = "ObsGun";
               animationSourceBody = "ObsTurret";
               animationSourceGun = "ObsGun";
               outGunnerMayFire = 1; 
               gunBeg = "gun_end"; 
               gunEnd = "gun_begin"; 
               memoryPointGun = "gun_end";
               commanding = -1;                
               weapons[] = {"Safe","missiles_DAGR"};
               magazines[] = {"12Rnd_PG_missiles"};
               memoryPointLMissile = "Rocket_2";
               memoryPointRMissile = "Rocket_1";    
               primaryGunner = 0;
               minElev = -80;
               maxElev = +25;
               initElev = 0;
               minTurn = -100;  
               maxTurn = 100; 
               initTurn = 0;
               gunnerOpticsModel = "\ad_helos\uh1y_optics";
               memoryPointGunnerOptics = "commanderview";
               gunnerForceOptics = false;
               gunnerOpticsShowCursor = 1;
               class ViewOptics
               {
                   initAngleX = 0; 
                   minAngleX = -30; 
                   maxAngleX = +30;
                   initAngleY = 40; 
                   minAngleY = -100; 
                   maxAngleY = +100;
                   initFov = 1.4; 
                   minFov = 0.3; 
                   maxFov = 1.0;
               };
               gunnerCompartments = "Compartment2";
               startEngine = 0;
               soundServo[] = {,db-40,1.0};
               turretInfoType = "RscOptics_Heli_Attack_01_gunner";
               memoryPointsGetInGunner = "pos codriver";
               memoryPointsGetInGunnerDir = "pos codriver dir";
               selectionFireAnim = "";
               castGunnerShadow = 1;
               viewGunnerShadow = 1;
               class OpticsIn
               {
                   class Wide 
                   {
                       opticsDisplayName = "W";
                       initAngleX = 0;
                       minAngleX = -30;
                       maxAngleX = +30;
                       initAngleY = 0;
                       minAngleY = -100;
                       maxAngleY = +100;
                       initFov = 0.466;
                       minFov = 0.466;
                       maxFov = 0.466;
                       visionMode[] = {"Normal","NVG","Ti"};
                       thermalMode[] = {0,1};
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                   };
                   class Narrow: Wide 
                   {
                       opticsDisplayName = "N";
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                       initFov = 0.05;
                       minFov = 0.05;
                       maxFov = 0.05;
                   };
               };
               class OpticsOut
               {
                   class Monocular 
                   {
                       initAngleX = 0; 
                       minAngleX = -30; 
                       maxAngleX = +30;
                       initAngleY = 0; 
                       minAngleY = -100; 
                       maxAngleY = +100;
                       initFov = 1.1; 
                       minFov = 0.133; 
                       maxFov = 1.1;
                       visionMode[] = {"Normal","NVG"};
                       gunnerOpticsModel = "";
                       gunnerOpticsEffect[] = {};
                   };
               };
           };
       };
       class AnimationSources: AnimationSources
       {
           class Gatling_1
           {
               source="revolving";
               weapon="LMG_Minigun";
           };
           class Gatling_2
           {
               source="revolving";
               weapon="LMG_Minigun2";
           };
       };
   };
};

Note: The turret classes in-question appear in the second and last helicopter class.

I appreciate any help that anyone can give me.

Thanks,

-AD

Edited by ADuke823

Share this post


Link to post
Share on other sites

Hey ADuke,

Looks like you haven't changed your 'ad_uh1y_base' inherit from 'Helicopter' to 'Helicopter_Base_F'. Apart from that your CargoTurret looks ok however if it still causes problems check the A3 tool samples for the FFV config. Also I believe you need to include the right pbos in your cfg patches

class CfgPatches
{
class DG_UKBAF
{
	units[] = 
	{

	};
	weapons[] = 
	{
	};
	requiredVersion = 1;
	[color="red"]requiredAddons[] = {"A3_Air_F", "A3_Weapons_F", "A3_Soft_F", "A3_data_F"};[/color]
};
};

Let me know if that sorts out your problem or not :cool:

Edited by deltagamer

Share this post


Link to post
Share on other sites
Hey ADuke,

Looks like you haven't changed your 'ad_uh1y_base' inherit from 'Helicopter' to 'Helicopter_Base_F'. Apart from that your CargoTurret looks ok however if it still causes problems check the A3 tool samples for the FFV config. Also I believe you need to include the right pbos in your cfg patches

Let me know if that sorts out your problem or not :cool:

Thanks for your reply, I had a lot of hope that this would fix the issue. Unfortunately the problem still persists when the base inheritance is changed to "Helicopter_Base_F".

Back to the drawing board I guess.

Thanks again,

-AD

P.S. requiredAddons will be populated just as soon as I get all of the base functionality working and have a more solid idea of what is required, that's just the work flow I am used to. :) CfgPatches is in there and includes requiredAddons, just not in the part that I posted, I wanted to just post the core of the problem without too much clutter.

Updated Config...

   class AllVehicles;
   class Air;
   class Helicopter: Air
   {
       class CargoTurret;
       class Turrets;
       class NewTurret;
       class MainTurret;
       class AnimationSources;
       class HitPoints;
       class ViewPilot;
       class ViewOptics;        
   };
   class Helicopter_Base_F: Helicopter
   {        
       class CargoTurret;
       class Turrets;
       class MainTurret;
       class HitPoints: HitPoints
       {
           class HitHull;
           class HitHRotor;
           class HitGlass1;
           class HitGlass2;
           class HitGlass3;
           class HitGlass4;
       };
       class AnimationSources;
       class Eventhandlers;
       class ViewOptics;        
   };
   class ad_uh1y_base: Helicopter_Base_F //External
   {
       features = "Slingload: Slingloads up to 2000kg";
       slingLoadMaxCargoMass = 2000;
       showNVGCargo[] = {0,0,1};
       destrType = "DestructWreck";        
       scope = 0;
       side = 1;
       picture = "\ad_helos\data\icon_uh1y.paa";
       icon = "\ad_helos\data\icon_uh1y.paa";
       class CargoTurret;
       class Turrets: Turrets {};
       mapSize = 15;
       faction = "BLU_F";
       availableForSupportTypes[] = {};
       cargoCanEject = 1;
       driverCanEject = 1;
       helmetMountedDisplay = 0;
       maxFordingDepth = 0.75;
       mainBladeRadius = 7.5;
       altFullForce = 4000;
       altNoForce = 6000;
       LockDetectionSystem = "2 + 8 + 4";
       incomingMissileDetectionSystem = 16;
       bodyFrictionCoef = 1.4;
       supplyRadius = 0;
       liftForceCoef = 2;
       cyclicAsideForceCoef = 0.4;
       cyclicForwardForceCoef = 1.7;
       enableManualFire = 0;
       class Library
       {
             libTextDesc = "UH1Y";
       };
       fuelCapacity = 250;
       fuelConsumptionRate = 0.138;
       maxSpeed = 293;
       simulation = "helicopterX";
       armor = 40;
       weapons[] = {"CMFlareLauncher"};
       magazines[] = {"168Rnd_CMFlare_Chaff_Magazine"};
       memoryPointLRocket = "Rocket_1";
       memoryPointRRocket = "Rocket_2";
       irScanRangeMin = 0;
       irScanRangeMax = 1000;
       nightVision = 1;
       memoryPointCM[]  = {"flare_launcher1", "flare_launcher2"};
       memoryPointCMDir[] = {"flare_launcher1_dir", "flare_launcher2_dir"};
       radarType = 4;
       threat[] = {0.8, 1, 0.6};
       memoryPointsGetInCargo[] = {"pos codriver", "pos cargo"};
       memoryPointsGetInCargoDir[] = {"pos codriver dir", "pos cargo dir"};
       driverAction = "UH1Y_Pilot";
       driverInAction = "UH1Y_Pilot";
       cargoAction[] = {"UH1Y_Cargo02", "UH1Y_Cargo03", "UH1Y_Cargo03", "UH1Y_Cargo02", "UH1Y_Cargo01", "commander_sdv"};
       cargoIsCoDriver[]={false, false, false, false, false, false};
       driverCanSee = 31;
       gunnerCanSee = 31;
       transportSoldier = 6;
       transportAmmo = 9999;
       transportMaxMagazines = 9999;
       transportMaxWeapons = 9999;
       class TransportBackpacks
       {
           class _xx_B_Parachute
           {
               backpack = "B_Parachute";
               count = 0;
           };
       };
       class TransportItems
       {
           class _xx_FirstAidKit
           {
               name = "FirstAidKit";
               count = 20;
           };
           class _xx_Medikit
           {
               name = "Medikit";
               count = 2;
           };
       };
       initCargoAngleY = +10; 
       minCargoAngleY = -60;
       maxCargoAngleY = +120;
       minFireTime = 30;
       driverCompartments = "Compartment1";
       cargoCompartments[] = {"Compartment2"};
       class ViewPilot: ViewPilot
       {
           initFov = 1.4; 
           minFov = 0.6; 
           maxFov = 1.0;
             initAngleX = 0; 
           minAngleX = -65; 
           maxAngleX = +85; 
           initAngleY = 0; 
           minAngleY = -150; 
           maxAngleY = +150;
       };
       class Exhausts
       {
           class Exhaust1
           {
               position = "exhaust1";
               direction = "exhaust1_dir";
               effect = "ExhaustsEffectHeliCom";
           };
           class Exhaust2
           {
               position = "exhaust2";
               direction = "exhaust2_dir";
               effect = "ExhaustsEffectHeliCom";
           };
       };
       class MarkerLights 
       {
           class WhiteStill 
           {
               name = "bily pozicni";
               color[] = {1.0, 1.0, 1.0};
               ambient[] = {0.1, 0.1, 0.1};
               blinking = 1;
               intensity = 75;
               blinkingPattern[] = {0.1, 0.9};
               blinkingPatternGuarantee = 0;
               drawLightSize = 0.2;
               drawLightCenterSize = 0.04;
           };
           class RedStill 
           {
               name = "cerveny pozicni";
               color[] = {0.8, 0.0, 0.0};
               ambient[] = {0.08, 0.0, 0.0};
               intensity = 75;
               drawLight = 1;
               drawLightSize = 0.15;
               drawLightCenterSize = 0.04;
               activeLight = 0;
               blinking = 0;
               dayLight = 0;
               useFlare = 0;
           };
           class GreenStill 
           {
               name = "zeleny pozicni";
               color[] = {0.0, 0.8, 0.0};
               ambient[] = {0.0, 0.08, 0.0};
               intensity = 75;
               drawLight = 1;
               drawLightSize = 0.15;
               drawLightCenterSize = 0.04;
               activeLight = 0;
               blinking = 0;
               dayLight = 0;
               useFlare = 0;
           };
       };
       class Reflectors
       {
           class Middle
           {
               color[] = {7000, 7500, 10000, 1};
               ambient[] = {100, 100, 100, 0};
               position = "svetlo";
               direction = "svetlo konec";
               hitpoint = "svetlo";
               selection = "svetlo";
               size = 1;
               innerAngle = 20;
               outerAngle = 60;
               coneFadeCoef = 10;
               intensity = 50;
               useFlare = 1;
               dayLight = 0;
               FlareSize = 6;
               class Attenuation
               {
                   start = 1;
                   constant = 0;
                   linear = 0;
                   quadratic = 4;
               };
           };
       };
       dammageHalf[] = {};    
       dammageFull[] = {};    
       class Damage
       {
           tex[] = {};
           mat[] =
           {
               "ad_helos\data\uh1y_sklo.rvmat",
               "ad_helos\data\uh1y_sklo_damage.rvmat",
               "ad_helos\data\uh1y_sklo_damage.rvmat",


               "ad_helos\data\uh1y_sklo_in.rvmat",
               "ad_helos\data\uh1y_sklo_in_damage.rvmat",
               "ad_helos\data\uh1y_sklo_in_damage.rvmat",


               "ad_helos\data\uh1y_ext.rvmat",
               "ad_helos\data\uh1y_ext_damage.rvmat",
               "ad_helos\data\uh1y_ext_destruct.rvmat",


               "ad_helos\data\uh1y_int.rvmat",
               "ad_helos\data\uh1y_int_damage.rvmat",
               "ad_helos\data\uh1y_int_destruct.rvmat",


               "ad_helos\data\launcher.rvmat",
               "ad_helos\data\launcher.rvmat",
               "ad_helos\data\launcher_destruct.rvmat",


               "ad_helos\data\uh1y_cockpit.rvmat",
               "ad_helos\data\uh1y_cockpit_damage.rvmat",
               "ad_helos\data\uh1y_cockpit_destruct.rvmat"
           };
       };
       attenuationEffectType = "OpenHeliAttenuation";
       soundGetIn[] = {"ad_helos\sounds\heli_door_01",db-10,1};
       soundGetOut[] = {"ad_helos\sounds\heli_door_01",db-10,1, 40};
       soundEnviron[] = {"", db-30, 1.0};
       soundDammage[] = {"ad_helos\sounds\alarm_loop1", db-10, 1};
       soundEngineOnInt[] = {"ad_helos\sounds\int-start-final", db-7, 1.0};
       soundEngineOnExt[] = {"ad_helos\sounds\ext-motor-start", db-7, 1.0, 700};
       soundEngineOffInt[] =  {"ad_helos\sounds\int-stop-final", db-7, 1.0};
       soundEngineOffExt[] =  {"ad_helos\sounds\ext-motor-stop", db-7, 1.0, 700};
       soundLocked[] = {"\A3\Sounds_F\weapons\Rockets\opfor_lock_1",0.1,1};
       soundIncommingMissile[] = {"\A3\Sounds_F\weapons\Rockets\opfor_lock_2",0.1,1};
       soundGeneralCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_1",1.0,1,100};
       soundGeneralCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_2",1.0,1,100};
       soundGeneralCollision3[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_3",1.0,1,100};
       soundCrashes[] = {"soundGeneralCollision1",0.33,"soundGeneralCollision2",0.33,"soundGeneralCollision3",0.33};
       soundLandCrashes[] = {"emptySound",0};
       soundBuildingCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundArmorCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundWoodCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundBushCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_1",1.0,1,100};
       soundBushCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_2",1.0,1,100};
       soundBushCollision3[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_3",1.0,1,100};
       soundBushCrash[] = {"soundBushCollision1",0.33,"soundBushCollision2",0.33,"soundBushCollision3",0.33};
       soundWaterCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_water_ext_1",1.0,1,100};
       soundWaterCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_water_ext_2",1.0,1,100};
       soundWaterCrashes[] = {"soundWaterCollision1",0.5,"soundWaterCollision2",0.5};        
       rotorDamageInt[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_rotor_int_open_1",1.0,1.0};
       rotorDamageOut[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_rotor_ext_1",2.5118864,1.0,150};
       rotorDamage[] = {"rotorDamageInt","rotorDamageOut"};
       tailDamageInt[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_tail",1.0,1.0};
       tailDamageOut[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_tail",1.0,1.0,300};
       tailDamage[] = {"tailDamageInt","tailDamageOut"};
       landingSoundInt0[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_int1_open",1.0,1.0,100};
       landingSoundInt1[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_int1_open",1.0,1.0,100};
       landingSoundInt[] = {"landingSoundInt0",0.5,"landingSoundInt1",0.5};
       landingSoundOut0[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_ext1",1.7782794,1.0,100};
       landingSoundOut1[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_ext1",1.7782794,1.0,100};
       landingSoundOut[] = {"landingSoundOut0",0.5,"landingSoundOut1",0.5};
       slingCargoAttach0[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpEndINT",1.0,1.0};
       slingCargoAttach1[] = {"A3\Sounds_F\vehicles\air\noises\SL_1hookLock",1.0,1.0,80};
       slingCargoAttach[] = {"slingCargoAttach0","slingCargoAttach1"};
       slingCargoDetach0[] = {"A3\Sounds_F\dummysound",1.0,1.0};
       slingCargoDetach1[] = {"A3\Sounds_F\vehicles\air\noises\SL_1hookUnlock",1.0,1.0,80};
       slingCargoDetach[] = {"slingCargoDetach0","slingCargoDetach1"};
       slingCargoDetachAir0[] = {"A3\Sounds_F\vehicles\air\noises\SL_unhook_air_int",1.0,1.0};
       slingCargoDetachAir1[] = {"A3\Sounds_F\vehicles\air\noises\SL_unhook_air_ext",1.0,1.0,80};
       slingCargoDetachAir[] = {"slingCargoDetach0","slingCargoDetach1"};
       slingCargoRopeBreak0[] = {"A3\Sounds_F\vehicles\air\noises\SL_rope_break_int",1.0,1.0};
       slingCargoRopeBreak1[] = {"A3\Sounds_F\vehicles\air\noises\SL_rope_break_ext",1.0,1.0,80};
       slingCargoRopeBreak[] = {"slingCargoDetach0","slingCargoDetach1"};
       class Sounds
       {
           class Engine
           {
               sound[] = {"ad_helos\sounds\ext-fly-mode2", db8, 1.0, 800};
               frequency = "rotorSpeed";
               volume = "camPos*((rotorSpeed-0.72)*4)";
           };
           class RotorLowOut
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5b", db8, 1.0, 1400};
               frequency = "rotorSpeed";
               volume = "camPos*(0 max (rotorSpeed-0.1))";
               cone[] = {1.6,3.14, 2.0, 0.5};
           };
           class RotorHighOut
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5a", db8, 1.0, 1600};
               frequency = "rotorSpeed";
               volume = "camPos*10*(0 max (rotorThrust-0.9))" ;
               cone[] = {1.6,3.14, 2.0, 0.5};
           };
             class EngineIn
           {
               sound[] = {"ad_helos\sounds\int-fly-mode7", db0, 1.0};
               frequency = "rotorSpeed";
                volume = "(1-camPos)*((rotorSpeed-0.75)*4)";
           };
           class RotorLowIn
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5b", db0, 1.0};
               frequency = "rotorSpeed";
               volume = "2*(1-camPos)*((rotorSpeed factor[0.3, 1.1]) min (rotorSpeed factor[1.1, 0.3]))";
           };
           class RotorHighIn
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5a", db0, 1.0};
               frequency = "rotorSpeed";
               volume = "(1-camPos)*3*(rotorThrust-0.9)" ;
           };
           class scrubTreeExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\scrubTreeExt",1.0,1.0,100};
               frequency = 1;
               volume = "camPos * ((scrubTree) factor [0, 0.01])";
           };
           class RainExt
           {
               sound[] = {"A3\Sounds_F\vehicles\noises\rain1_ext",1.0,1.0,100};
               frequency = 1;
               volume = "camPos * (rain - rotorSpeed/2) * 2";
           };
           class RainInt
           {
               sound[] = {"A3\Sounds_F\vehicles\noises\rain1_int_open",1.0,1.0,100};
               frequency = 1;
               volume = "(1-camPos)*(rain - rotorSpeed/2)*2";
           };
           class SlingLoadDownExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineDownEXT",1.0,1.0,500};
               frequency = 1;
               volume = "camPos*(slingLoadActive factor [0,-1])";
           };
           class SlingLoadUpExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpEXT",1.0,1.0,500};
               frequency = 1;
               volume = "camPos*(slingLoadActive factor [0,1])";
           };
           class SlingLoadDownInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineDownINT",1.0,1.0,500};
               frequency = 1;
               volume = "(1-camPos)*(slingLoadActive factor [0,-1])";
           };
           class SlingLoadUpInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpINT",1.0,1.0,500};
               frequency = 1;
               volume = "(1-camPos)*(slingLoadActive factor [0,1])";
           };
           class damageAlarmInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_bluefor",0.31622776,1.0};
               frequency = 1;
               volume = "engineOn * (1 - camPos) * ( 1 - ((transmissionDamage factor [0.61, 0.60]) * (motorDamage factor [0.61, 0.60]) * (rotorDamage factor [0.51, 0.50]))) * (rotorSpeed factor [0.0, 0.001])";
           };
           class damageAlarmExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_bluefor",0.2238721,1.0,20};
               frequency = 1;
               volume = "engineOn * camPos * ( 1 - ((transmissionDamage factor [0.61, 0.60]) * (motorDamage factor [0.61, 0.60]) * (rotorDamage factor [0.51, 0.50]))) * (rotorSpeed factor [0, 0.001])";
           };
           class rotorLowAlarmInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_rotor_low",0.31622776,1.0};
               frequency = 1;
               volume = "engineOn * (1 - camPos) * (rotorSpeed factor [0.9, 0.8999]) * (rotorSpeed factor [-0.5, 1]) * (speed factor [3, 3.01])";
           };
           class rotorLowAlarmExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_rotor_low",0.2238721,1.0,20};
               frequency = 1;
               volume = "engineOn * camPos * (rotorSpeed factor [0.9, 0.8999]) * (rotorSpeed factor [-0.5, 1]) * (speed factor [3, 3.01])";
           };    
       };    
   };
   class ad_uh1y: ad_uh1y_base
   {
       scope = 2;
       vehicleClass = "ad_helos";
       model = "\ad_helos\uh1y_venom.p3d";
       displayName = "UH-1Y 'Venom'";
       crew = "AD_USMC_Pilot";
       picture = "\ad_helos\data\icon_uh1y.paa";
       icon = "\ad_helos\data\icon_uh1y.paa";
       transportSoldier = 2;
       cargoProxyIndexes[] = {5,6};
       //cargoAction[] = {"UH1Y_Cargo02", "UH1Y_Cargo03", "UH1Y_Cargo03", "UH1Y_Cargo02", "UH1Y_Cargo01", "commander_sdv"};
       cargoAction[] = {"passenger_inside_1", "passenger_inside_2", "passenger_inside_3", "passenger_inside_1", "UH1Y_Cargo01", "commander_sdv"};
       class CargoTurret;
       class Turrets: Turrets
       {
           class CargoTurret_01: CargoTurret
           {    
               gunnerAction = "passenger_inside_1";
               gunnerCompartments = "Compartment2";
               memoryPointsGetInGunner = "pos cargo";
               memoryPointsGetInGunnerDir = "pos cargo dir";
               playerPosition = 4;
               soundAttenuationTurret = "";
               disableSoundAttenuation = 1;
               gunnerGetInAction = "GetInHeli_Light_01bench";
               gunnerName = "Cargo Right Aft";
               proxyIndex = 1;
               maxElev = 15;
               minElev = -30;
               maxTurn = -25;
               minTurn = -100;
               isPersonTurret = 1;
               ejectDeadGunner = 0;
               memoryPointGunnerOptics = "eye";
               class dynamicViewLimits{};
           };
           class CargoTurret_02: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_2";
               gunnerName = "Cargo Left Aft";
               proxyIndex = 2;
               maxElev = 10;
               minElev = -30;
               maxTurn = 30;
               minTurn = -50;
           };
           class CargoTurret_03: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_3";
               gunnerName = "Cargo Right Front";
               proxyIndex = 3;
               maxElev = 10;
               minElev = -30;
               maxTurn = 75;
               minTurn = -35;
           };
           class CargoTurret_04: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_1";
               gunnerName = "Cargo Left Front";
               proxyIndex = 3;
               maxElev = 10;
               minElev = -30;
               maxTurn = 55;
               minTurn = -35;
           };
           class MainTurret: MainTurret 
           {
               isCopilot = 0;
               body = "mainTurret";
               gun = "mainGun";            
               minElev=-60; 
               maxElev=+30; 
               initElev="--15";                
               minTurn=-5; 
               maxTurn=180; 
               initTurn=90;                
               soundServo[] = {,db-40,1.0};
               animationSourceHatch = "";
               animationSourceBody="mainTurret";
               animationSourceGun="mainGun";
               stabilizedInAxes = 0;
               gunBeg = "muzzle_1";
               gunEnd = "chamber_1";
               weapons[]={"HMG_127_APC"};
               magazines[]={"500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red"};
               gunnerName = "Left M2 Gunner";
               memoryPointGun = "machinegun";
               memoryPointGunnerOptics = "gunnerview";
               gunnerOpticsModel = "\ad_helos\uh1y_optics";
               gunnerOutOpticsShowCursor = 1;
               gunnerOpticsShowCursor = 1;
               gunnerAction = "mas_UH1Y_Cargo03";
               gunnerInAction = "gunner_Heli_Transport_01";
               commanding = -2;
               primaryGunner = 0;
               gunnerCompartments = "Compartment2";
               class ViewOptics
               {
                   initAngleX=0; 
                   minAngleX=-30; 
                   maxAngleX=+30;
                   initAngleY=0; 
                   minAngleY=-100; 
                   maxAngleY=+100;
                   initFov=1.0; 
                   minFov=0.25; 
                   maxFov=0.8;
               };
               class OpticsIn
               {
                   class Wide 
                   {
                       opticsDisplayName = "W";
                       initAngleX = 0;
                       minAngleX = -30;
                       maxAngleX = +30;
                       initAngleY = 0;
                       minAngleY = -100;
                       maxAngleY = +100;
                       initFov = 0.466;
                       minFov = 0.466;
                       maxFov = 0.466;
                       visionMode[] = {"Normal","NVG","Ti"};
                       thermalMode[] = {0,1};
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                   };
                   class Narrow: Wide 
                   {
                       opticsDisplayName = "N";
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                       initFov = 0.05;
                       minFov = 0.05;
                       maxFov = 0.05;
                   };
               };
               class OpticsOut
               {
                   class Monocular 
                   {
                       initAngleX = 0; 
                       minAngleX = -30; 
                       maxAngleX = +30;
                       initAngleY = 0; 
                       minAngleY = -100; 
                       maxAngleY = +100;
                       initFov = 1.1; 
                       minFov = 0.133; 
                       maxFov = 1.1;
                       visionMode[] = {"Normal","NVG"};
                       gunnerOpticsModel = "";
                       gunnerOpticsEffect[] = {};
                   };
               };
           };
           class RightDoorGun: MainTurret
           {
               isCopilot = 0;
               body = "Turret2";
               gun = "Gun_2";
               animationSourceBody = "Turret_2";
               animationSourceGun = "Gun_2";
               stabilizedInAxes = 0;
               selectionFireAnim = "zasleh_1";
               proxyIndex = 2;
               gunnerName = "Right M134 Gunner";
               commanding = -3;            
               minElev=-60; 
               maxElev=+30; 
               initElev=-45;                
               minTurn=-180; 
               maxTurn=5; 
               initTurn=-90;        
               weapons[] = {"LMG_Minigun2"};
               magazines[] = {"2000Rnd_65x39_Belt_Tracer_Red"};
               gunBeg = "muzzle_2"; 
               gunEnd = "chamber_2"; 
               primaryGunner = 0;
               memoryPointGun = "machinegun_2";
               memoryPointGunnerOptics = "gunnerview_2";
               hasGunner = true;
               hasCrew = true;
           };
           class CoPilotObs: MainTurret
           {
               isCopilot = 1;
               stabilizedInAxes = "StabilizedInAxesBoth";
               proxyIndex = 3;
               gunnerName = "Co-Pilot"; 
               gunnerAction = "UH1Y_Gunner02";
               gunnerInAction = "UH1Y_Gunner02";
               body = "ObsTurret";
               gun = "ObsGun";
               animationSourceBody = "ObsTurret";
               animationSourceGun = "ObsGun";
               outGunnerMayFire = 1; 
               gunBeg = "gun_end"; 
               gunEnd = "gun_begin"; 
               memoryPointGun = "gun_end";
               commanding = -1;                
               weapons[] = {"Safe","missiles_DAGR"};
               magazines[] = {"12Rnd_PG_missiles"};
               memoryPointLMissile = "Rocket_2";
               memoryPointRMissile = "Rocket_1";    
               primaryGunner = 0;
               minElev = -80;
               maxElev = +25;
               initElev = 0;
               minTurn = -100;  
               maxTurn = 100; 
               initTurn = 0;
               gunnerOpticsModel = "\ad_helos\uh1y_optics";
               memoryPointGunnerOptics = "commanderview";
               gunnerForceOptics = false;
               gunnerOpticsShowCursor = 1;
               class ViewOptics
               {
                   initAngleX = 0; 
                   minAngleX = -30; 
                   maxAngleX = +30;
                   initAngleY = 40; 
                   minAngleY = -100; 
                   maxAngleY = +100;
                   initFov = 1.4; 
                   minFov = 0.3; 
                   maxFov = 1.0;
               };
               gunnerCompartments = "Compartment2";
               startEngine = 0;
               soundServo[] = {,db-40,1.0};
               turretInfoType = "RscOptics_Heli_Attack_01_gunner";
               memoryPointsGetInGunner = "pos codriver";
               memoryPointsGetInGunnerDir = "pos codriver dir";
               selectionFireAnim = "";
               castGunnerShadow = 1;
               viewGunnerShadow = 1;
               class OpticsIn
               {
                   class Wide 
                   {
                       opticsDisplayName = "W";
                       initAngleX = 0;
                       minAngleX = -30;
                       maxAngleX = +30;
                       initAngleY = 0;
                       minAngleY = -100;
                       maxAngleY = +100;
                       initFov = 0.466;
                       minFov = 0.466;
                       maxFov = 0.466;
                       visionMode[] = {"Normal","NVG","Ti"};
                       thermalMode[] = {0,1};
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                   };
                   class Narrow: Wide 
                   {
                       opticsDisplayName = "N";
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                       initFov = 0.05;
                       minFov = 0.05;
                       maxFov = 0.05;
                   };
               };
               class OpticsOut
               {
                   class Monocular 
                   {
                       initAngleX = 0; 
                       minAngleX = -30; 
                       maxAngleX = +30;
                       initAngleY = 0; 
                       minAngleY = -100; 
                       maxAngleY = +100;
                       initFov = 1.1; 
                       minFov = 0.133; 
                       maxFov = 1.1;
                       visionMode[] = {"Normal","NVG"};
                       gunnerOpticsModel = "";
                       gunnerOpticsEffect[] = {};
                   };
               };
           };
       };
       class AnimationSources: AnimationSources
       {
           class Gatling_1
           {
               source="revolving";
               weapon="LMG_Minigun";
           };
           class Gatling_2
           {
               source="revolving";
               weapon="LMG_Minigun2";
           };
       };
   };
};

Edited by ADuke823

Share this post


Link to post
Share on other sites

Ok try this, it might have not worked due to the double define you did with the CargoTurret

   class AllVehicles;
   class Air;
   class Helicopter: Air
   {
       class Turrets
       {
           class MainTurret;    
       };
       class NewTurret;
       class AnimationSources;
       class HitPoints;
       class ViewPilot;
       class ViewOptics;        
   };
   class Helicopter_Base_F: Helicopter
   {        
       class Turrets;
       class HitPoints: HitPoints
       {
           class HitHull;
           class HitHRotor;
           class HitGlass1;
           class HitGlass2;
           class HitGlass3;
           class HitGlass4;
       };
       class AnimationSources;
       class Eventhandlers;
       class ViewOptics;        
   };
   class ad_uh1y_base: Helicopter_Base_F //External
   {
       features = "Slingload: Slingloads up to 2000kg";
       slingLoadMaxCargoMass = 2000;
       showNVGCargo[] = {0,0,1};
       destrType = "DestructWreck";        
       scope = 0;
       side = 1;
       picture = "\ad_helos\data\icon_uh1y.paa";
       icon = "\ad_helos\data\icon_uh1y.paa";
       mapSize = 15;
       faction = "BLU_F";
       availableForSupportTypes[] = {};
       cargoCanEject = 1;
       driverCanEject = 1;
       helmetMountedDisplay = 0;
       maxFordingDepth = 0.75;
       mainBladeRadius = 7.5;
       altFullForce = 4000;
       altNoForce = 6000;
       LockDetectionSystem = "2 + 8 + 4";
       incomingMissileDetectionSystem = 16;
       bodyFrictionCoef = 1.4;
       supplyRadius = 0;
       liftForceCoef = 2;
       cyclicAsideForceCoef = 0.4;
       cyclicForwardForceCoef = 1.7;
       enableManualFire = 0;
       class Library
       {
             libTextDesc = "UH1Y";
       };
       fuelCapacity = 250;
       fuelConsumptionRate = 0.138;
       maxSpeed = 293;
       simulation = "helicopterX";
       armor = 40;
       weapons[] = {"CMFlareLauncher"};
       magazines[] = {"168Rnd_CMFlare_Chaff_Magazine"};
       memoryPointLRocket = "Rocket_1";
       memoryPointRRocket = "Rocket_2";
       irScanRangeMin = 0;
       irScanRangeMax = 1000;
       nightVision = 1;
       memoryPointCM[]  = {"flare_launcher1", "flare_launcher2"};
       memoryPointCMDir[] = {"flare_launcher1_dir", "flare_launcher2_dir"};
       radarType = 4;
       threat[] = {0.8, 1, 0.6};
       memoryPointsGetInCargo[] = {"pos codriver", "pos cargo"};
       memoryPointsGetInCargoDir[] = {"pos codriver dir", "pos cargo dir"};
       driverAction = "UH1Y_Pilot";
       driverInAction = "UH1Y_Pilot";
       cargoAction[] = {"UH1Y_Cargo02", "UH1Y_Cargo03", "UH1Y_Cargo03", "UH1Y_Cargo02", "UH1Y_Cargo01", "commander_sdv"};
       cargoIsCoDriver[]={false, false, false, false, false, false};
       driverCanSee = 31;
       gunnerCanSee = 31;
       gunnerUsesPilotView = 1;
       gunnerOpticsModel = "";
       transportSoldier = 6;
       transportAmmo = 9999;
       transportMaxMagazines = 9999;
       transportMaxWeapons = 9999;
       class TransportBackpacks
       {
           class _xx_B_Parachute
           {
               backpack = "B_Parachute";
               count = 0;
           };
       };
       class TransportItems
       {
           class _xx_FirstAidKit
           {
               name = "FirstAidKit";
               count = 20;
           };
           class _xx_Medikit
           {
               name = "Medikit";
               count = 2;
           };
       };
       initCargoAngleY = +10; 
       minCargoAngleY = -60;
       maxCargoAngleY = +120;
       minFireTime = 30;
       driverCompartments = "Compartment1";
       cargoCompartments[] = {"Compartment2"};
       class ViewPilot: ViewPilot
       {
           initFov = 1.4; 
           minFov = 0.6; 
           maxFov = 1.0;
             initAngleX = 0; 
           minAngleX = -65; 
           maxAngleX = +85; 
           initAngleY = 0; 
           minAngleY = -150; 
           maxAngleY = +150;
       };
       class Exhausts
       {
           class Exhaust1
           {
               position = "exhaust1";
               direction = "exhaust1_dir";
               effect = "ExhaustsEffectHeliCom";
           };
           class Exhaust2
           {
               position = "exhaust2";
               direction = "exhaust2_dir";
               effect = "ExhaustsEffectHeliCom";
           };
       };
       class MarkerLights 
       {
           class WhiteStill 
           {
               name = "bily pozicni";
               color[] = {1.0, 1.0, 1.0};
               ambient[] = {0.1, 0.1, 0.1};
               blinking = 1;
               intensity = 75;
               blinkingPattern[] = {0.1, 0.9};
               blinkingPatternGuarantee = 0;
               drawLightSize = 0.2;
               drawLightCenterSize = 0.04;
           };
           class RedStill 
           {
               name = "cerveny pozicni";
               color[] = {0.8, 0.0, 0.0};
               ambient[] = {0.08, 0.0, 0.0};
               intensity = 75;
               drawLight = 1;
               drawLightSize = 0.15;
               drawLightCenterSize = 0.04;
               activeLight = 0;
               blinking = 0;
               dayLight = 0;
               useFlare = 0;
           };
           class GreenStill 
           {
               name = "zeleny pozicni";
               color[] = {0.0, 0.8, 0.0};
               ambient[] = {0.0, 0.08, 0.0};
               intensity = 75;
               drawLight = 1;
               drawLightSize = 0.15;
               drawLightCenterSize = 0.04;
               activeLight = 0;
               blinking = 0;
               dayLight = 0;
               useFlare = 0;
           };
       };
       class Reflectors
       {
           class Middle
           {
               color[] = {7000, 7500, 10000, 1};
               ambient[] = {100, 100, 100, 0};
               position = "svetlo";
               direction = "svetlo konec";
               hitpoint = "svetlo";
               selection = "svetlo";
               size = 1;
               innerAngle = 20;
               outerAngle = 60;
               coneFadeCoef = 10;
               intensity = 50;
               useFlare = 1;
               dayLight = 0;
               FlareSize = 6;
               class Attenuation
               {
                   start = 1;
                   constant = 0;
                   linear = 0;
                   quadratic = 4;
               };
           };
       };
       dammageHalf[] = {};    
       dammageFull[] = {};    
       class Damage
       {
           tex[] = {};
           mat[] =
           {
               "ad_helos\data\uh1y_sklo.rvmat",
               "ad_helos\data\uh1y_sklo_damage.rvmat",
               "ad_helos\data\uh1y_sklo_damage.rvmat",


               "ad_helos\data\uh1y_sklo_in.rvmat",
               "ad_helos\data\uh1y_sklo_in_damage.rvmat",
               "ad_helos\data\uh1y_sklo_in_damage.rvmat",


               "ad_helos\data\uh1y_ext.rvmat",
               "ad_helos\data\uh1y_ext_damage.rvmat",
               "ad_helos\data\uh1y_ext_destruct.rvmat",


               "ad_helos\data\uh1y_int.rvmat",
               "ad_helos\data\uh1y_int_damage.rvmat",
               "ad_helos\data\uh1y_int_destruct.rvmat",


               "ad_helos\data\launcher.rvmat",
               "ad_helos\data\launcher.rvmat",
               "ad_helos\data\launcher_destruct.rvmat",


               "ad_helos\data\uh1y_cockpit.rvmat",
               "ad_helos\data\uh1y_cockpit_damage.rvmat",
               "ad_helos\data\uh1y_cockpit_destruct.rvmat"
           };
       };
       attenuationEffectType = "OpenHeliAttenuation";
       soundGetIn[] = {"ad_helos\sounds\heli_door_01",db-10,1};
       soundGetOut[] = {"ad_helos\sounds\heli_door_01",db-10,1, 40};
       soundEnviron[] = {"", db-30, 1.0};
       soundDammage[] = {"ad_helos\sounds\alarm_loop1", db-10, 1};
       soundEngineOnInt[] = {"ad_helos\sounds\int-start-final", db-7, 1.0};
       soundEngineOnExt[] = {"ad_helos\sounds\ext-motor-start", db-7, 1.0, 700};
       soundEngineOffInt[] =  {"ad_helos\sounds\int-stop-final", db-7, 1.0};
       soundEngineOffExt[] =  {"ad_helos\sounds\ext-motor-stop", db-7, 1.0, 700};
       soundLocked[] = {"\A3\Sounds_F\weapons\Rockets\opfor_lock_1",0.1,1};
       soundIncommingMissile[] = {"\A3\Sounds_F\weapons\Rockets\opfor_lock_2",0.1,1};
       soundGeneralCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_1",1.0,1,100};
       soundGeneralCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_2",1.0,1,100};
       soundGeneralCollision3[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_3",1.0,1,100};
       soundCrashes[] = {"soundGeneralCollision1",0.33,"soundGeneralCollision2",0.33,"soundGeneralCollision3",0.33};
       soundLandCrashes[] = {"emptySound",0};
       soundBuildingCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundArmorCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundWoodCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundBushCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_1",1.0,1,100};
       soundBushCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_2",1.0,1,100};
       soundBushCollision3[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_3",1.0,1,100};
       soundBushCrash[] = {"soundBushCollision1",0.33,"soundBushCollision2",0.33,"soundBushCollision3",0.33};
       soundWaterCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_water_ext_1",1.0,1,100};
       soundWaterCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_water_ext_2",1.0,1,100};
       soundWaterCrashes[] = {"soundWaterCollision1",0.5,"soundWaterCollision2",0.5};        
       rotorDamageInt[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_rotor_int_open_1",1.0,1.0};
       rotorDamageOut[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_rotor_ext_1",2.5118864,1.0,150};
       rotorDamage[] = {"rotorDamageInt","rotorDamageOut"};
       tailDamageInt[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_tail",1.0,1.0};
       tailDamageOut[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_tail",1.0,1.0,300};
       tailDamage[] = {"tailDamageInt","tailDamageOut"};
       landingSoundInt0[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_int1_open",1.0,1.0,100};
       landingSoundInt1[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_int1_open",1.0,1.0,100};
       landingSoundInt[] = {"landingSoundInt0",0.5,"landingSoundInt1",0.5};
       landingSoundOut0[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_ext1",1.7782794,1.0,100};
       landingSoundOut1[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_ext1",1.7782794,1.0,100};
       landingSoundOut[] = {"landingSoundOut0",0.5,"landingSoundOut1",0.5};
       slingCargoAttach0[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpEndINT",1.0,1.0};
       slingCargoAttach1[] = {"A3\Sounds_F\vehicles\air\noises\SL_1hookLock",1.0,1.0,80};
       slingCargoAttach[] = {"slingCargoAttach0","slingCargoAttach1"};
       slingCargoDetach0[] = {"A3\Sounds_F\dummysound",1.0,1.0};
       slingCargoDetach1[] = {"A3\Sounds_F\vehicles\air\noises\SL_1hookUnlock",1.0,1.0,80};
       slingCargoDetach[] = {"slingCargoDetach0","slingCargoDetach1"};
       slingCargoDetachAir0[] = {"A3\Sounds_F\vehicles\air\noises\SL_unhook_air_int",1.0,1.0};
       slingCargoDetachAir1[] = {"A3\Sounds_F\vehicles\air\noises\SL_unhook_air_ext",1.0,1.0,80};
       slingCargoDetachAir[] = {"slingCargoDetach0","slingCargoDetach1"};
       slingCargoRopeBreak0[] = {"A3\Sounds_F\vehicles\air\noises\SL_rope_break_int",1.0,1.0};
       slingCargoRopeBreak1[] = {"A3\Sounds_F\vehicles\air\noises\SL_rope_break_ext",1.0,1.0,80};
       slingCargoRopeBreak[] = {"slingCargoDetach0","slingCargoDetach1"};
       class Sounds
       {
           class Engine
           {
               sound[] = {"ad_helos\sounds\ext-fly-mode2", db8, 1.0, 800};
               frequency = "rotorSpeed";
               volume = "camPos*((rotorSpeed-0.72)*4)";
           };
           class RotorLowOut
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5b", db8, 1.0, 1400};
               frequency = "rotorSpeed";
               volume = "camPos*(0 max (rotorSpeed-0.1))";
               cone[] = {1.6,3.14, 2.0, 0.5};
           };
           class RotorHighOut
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5a", db8, 1.0, 1600};
               frequency = "rotorSpeed";
               volume = "camPos*10*(0 max (rotorThrust-0.9))" ;
               cone[] = {1.6,3.14, 2.0, 0.5};
           };
             class EngineIn
           {
               sound[] = {"ad_helos\sounds\int-fly-mode7", db0, 1.0};
               frequency = "rotorSpeed";
                volume = "(1-camPos)*((rotorSpeed-0.75)*4)";
           };
           class RotorLowIn
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5b", db0, 1.0};
               frequency = "rotorSpeed";
               volume = "2*(1-camPos)*((rotorSpeed factor[0.3, 1.1]) min (rotorSpeed factor[1.1, 0.3]))";
           };
           class RotorHighIn
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5a", db0, 1.0};
               frequency = "rotorSpeed";
               volume = "(1-camPos)*3*(rotorThrust-0.9)" ;
           };
           class scrubTreeExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\scrubTreeExt",1.0,1.0,100};
               frequency = 1;
               volume = "camPos * ((scrubTree) factor [0, 0.01])";
           };
           class RainExt
           {
               sound[] = {"A3\Sounds_F\vehicles\noises\rain1_ext",1.0,1.0,100};
               frequency = 1;
               volume = "camPos * (rain - rotorSpeed/2) * 2";
           };
           class RainInt
           {
               sound[] = {"A3\Sounds_F\vehicles\noises\rain1_int_open",1.0,1.0,100};
               frequency = 1;
               volume = "(1-camPos)*(rain - rotorSpeed/2)*2";
           };
           class SlingLoadDownExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineDownEXT",1.0,1.0,500};
               frequency = 1;
               volume = "camPos*(slingLoadActive factor [0,-1])";
           };
           class SlingLoadUpExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpEXT",1.0,1.0,500};
               frequency = 1;
               volume = "camPos*(slingLoadActive factor [0,1])";
           };
           class SlingLoadDownInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineDownINT",1.0,1.0,500};
               frequency = 1;
               volume = "(1-camPos)*(slingLoadActive factor [0,-1])";
           };
           class SlingLoadUpInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpINT",1.0,1.0,500};
               frequency = 1;
               volume = "(1-camPos)*(slingLoadActive factor [0,1])";
           };
           class damageAlarmInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_bluefor",0.31622776,1.0};
               frequency = 1;
               volume = "engineOn * (1 - camPos) * ( 1 - ((transmissionDamage factor [0.61, 0.60]) * (motorDamage factor [0.61, 0.60]) * (rotorDamage factor [0.51, 0.50]))) * (rotorSpeed factor [0.0, 0.001])";
           };
           class damageAlarmExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_bluefor",0.2238721,1.0,20};
               frequency = 1;
               volume = "engineOn * camPos * ( 1 - ((transmissionDamage factor [0.61, 0.60]) * (motorDamage factor [0.61, 0.60]) * (rotorDamage factor [0.51, 0.50]))) * (rotorSpeed factor [0, 0.001])";
           };
           class rotorLowAlarmInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_rotor_low",0.31622776,1.0};
               frequency = 1;
               volume = "engineOn * (1 - camPos) * (rotorSpeed factor [0.9, 0.8999]) * (rotorSpeed factor [-0.5, 1]) * (speed factor [3, 3.01])";
           };
           class rotorLowAlarmExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_rotor_low",0.2238721,1.0,20};
               frequency = 1;
               volume = "engineOn * camPos * (rotorSpeed factor [0.9, 0.8999]) * (rotorSpeed factor [-0.5, 1]) * (speed factor [3, 3.01])";
           };    
       };    
   };
   class ad_uh1y: ad_uh1y_base
   {
       scope = 2;
       vehicleClass = "ad_helos";
       model = "\ad_helos\uh1y_venom.p3d";
       displayName = "UH-1Y 'Venom'"
       crew = "AD_USMC_Pilot";
       picture = "\ad_helos\data\icon_uh1y.paa";
       icon = "\ad_helos\data\icon_uh1y.paa";
       transportSoldier = 2;
       cargoProxyIndexes[] = {5,6};
       //cargoAction[] = {"UH1Y_Cargo02", "UH1Y_Cargo03", "UH1Y_Cargo03", "UH1Y_Cargo02", "UH1Y_Cargo01", "commander_sdv"};
       cargoAction[] = {"passenger_inside_1", "passenger_inside_2", "passenger_inside_3", "passenger_inside_1", "UH1Y_Cargo01", "commander_sdv"};
       class CargoTurret;
       class Turrets: Turrets
       {
           class CargoTurret_01: CargoTurret
           {        
               gunnerAction = "passenger_inside_1";
               gunnerCompartments = "Compartment2";
               memoryPointsGetInGunner = "pos cargo";
               memoryPointsGetInGunnerDir = "pos cargo dir";
               playerPosition = 4;
               soundAttenuationTurret = "";
               disableSoundAttenuation = 1;
               gunnerGetInAction = "GetInHeli_Light_01bench";
               gunnerName = "Cargo Right Aft";
               proxyIndex = 1;
               maxElev = 15;
               minElev = -30;
               maxTurn = -25;
               minTurn = -100;
               isPersonTurret = 1;
               ejectDeadGunner = 0;
               memoryPointGunnerOptics = "eye";
               class dynamicViewLimits{};
           };
           class CargoTurret_02: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_2";
               gunnerCompartments = "Compartment2";
               memoryPointsGetInGunner = "pos cargo";
               memoryPointsGetInGunnerDir = "pos cargo dir";
               gunnerName = "Cargo Left Aft";
               proxyIndex = 2;
               maxElev = 10;
               minElev = -30;
               maxTurn = 30;
               minTurn = -50;
               isPersonTurret = 1;
               ejectDeadGunner = 0;
               memoryPointGunnerOptics = "eye";
               class dynamicViewLimits{};
           };
           class CargoTurret_03: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_3";
               gunnerCompartments = "Compartment2";
               memoryPointsGetInGunner = "pos cargo";
               memoryPointsGetInGunnerDir = "pos cargo dir";
               gunnerName = "Cargo Right Front";
               proxyIndex = 3;
               maxElev = 10;
               minElev = -30;
               maxTurn = 75;
               minTurn = -35;
               isPersonTurret = 1;
               ejectDeadGunner = 0;
               memoryPointGunnerOptics = "eye";
               class dynamicViewLimits{};
           };
           class CargoTurret_04: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_1";
               gunnerCompartments = "Compartment2";
               memoryPointsGetInGunner = "pos cargo";
               memoryPointsGetInGunnerDir = "pos cargo dir";
               gunnerName = "Cargo Left Front";
               proxyIndex = 3;
               maxElev = 10;
               minElev = -30;
               maxTurn = 55;
               minTurn = -35;
               isPersonTurret = 1;
               ejectDeadGunner = 0;
               memoryPointGunnerOptics = "eye";
               class dynamicViewLimits{};
           };
           class MainTurret: MainTurret 
           {
               isCopilot = 0;
               body = "mainTurret";
               gun = "mainGun";            
               minElev=-60; 
               maxElev=+30; 
               initElev="--15";                
               minTurn=-5; 
               maxTurn=180; 
               initTurn=90;                
               soundServo[] = {,db-40,1.0};
               animationSourceHatch = "";
               animationSourceBody="mainTurret";
               animationSourceGun="mainGun";
               stabilizedInAxes = 0;
               gunBeg = "muzzle_1";
               gunEnd = "chamber_1";
               weapons[]={"HMG_127_APC"};
               magazines[]={"500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red"};
               gunnerName = "Left M2 Gunner";
               memoryPointGun = "machinegun";
               memoryPointGunnerOptics = "gunnerview";
               gunnerOpticsModel = "\ad_helos\uh1y_optics";
               gunnerOutOpticsShowCursor = 1;
               gunnerOpticsShowCursor = 1;
               gunnerAction = "mas_UH1Y_Cargo03";
               gunnerInAction = "gunner_Heli_Transport_01";
               commanding = -2;
               primaryGunner = 0;
               gunnerCompartments = "Compartment2";
               class ViewOptics
               {
                   initAngleX=0; 
                   minAngleX=-30; 
                   maxAngleX=+30;
                   initAngleY=0; 
                   minAngleY=-100; 
                   maxAngleY=+100;
                   initFov=1.0; 
                   minFov=0.25; 
                   maxFov=0.8;
               };
               class OpticsIn
               {
                   class Wide 
                   {
                       opticsDisplayName = "W";
                       initAngleX = 0;
                       minAngleX = -30;
                       maxAngleX = +30;
                       initAngleY = 0;
                       minAngleY = -100;
                       maxAngleY = +100;
                       initFov = 0.466;
                       minFov = 0.466;
                       maxFov = 0.466;
                       visionMode[] = {"Normal","NVG","Ti"};
                       thermalMode[] = {0,1};
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                   };
                   class Narrow: Wide 
                   {
                       opticsDisplayName = "N";
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                       initFov = 0.05;
                       minFov = 0.05;
                       maxFov = 0.05;
                   };
               };
               class OpticsOut
               {
                   class Monocular 
                   {
                       initAngleX = 0; 
                       minAngleX = -30; 
                       maxAngleX = +30;
                       initAngleY = 0; 
                       minAngleY = -100; 
                       maxAngleY = +100;
                       initFov = 1.1; 
                       minFov = 0.133; 
                       maxFov = 1.1;
                       visionMode[] = {"Normal","NVG"};
                       gunnerOpticsModel = "";
                       gunnerOpticsEffect[] = {};
                   };
               };
           };
           class RightDoorGun: MainTurret
           {
               isCopilot = 0;
               body = "Turret2";
               gun = "Gun_2";
               animationSourceBody = "Turret_2";
               animationSourceGun = "Gun_2";
               stabilizedInAxes = 0;
               selectionFireAnim = "zasleh_1";
               proxyIndex = 2;
               gunnerName = "Right M134 Gunner";
               commanding = -3;            
               minElev=-60; 
               maxElev=+30; 
               initElev=-45;                
               minTurn=-180; 
               maxTurn=5; 
               initTurn=-90;        
               weapons[] = {"LMG_Minigun2"};
               magazines[] = {"2000Rnd_65x39_Belt_Tracer_Red"};
               gunBeg = "muzzle_2"; 
               gunEnd = "chamber_2"; 
               primaryGunner = 0;
               memoryPointGun = "machinegun_2";
               memoryPointGunnerOptics = "gunnerview_2";
               hasGunner = true;
               hasCrew = true;
           };
           class CoPilotObs: MainTurret
           {
               isCopilot = 1;
               stabilizedInAxes = "StabilizedInAxesBoth";
               proxyIndex = 3;
               gunnerName = "Co-Pilot"; 
               gunnerAction = "UH1Y_Gunner02";
               gunnerInAction = "UH1Y_Gunner02";
               body = "ObsTurret";
               gun = "ObsGun";
               animationSourceBody = "ObsTurret";
               animationSourceGun = "ObsGun";
               outGunnerMayFire = 1; 
               gunBeg = "gun_end"; 
               gunEnd = "gun_begin"; 
               memoryPointGun = "gun_end";
               commanding = -1;                
               weapons[] = {"Safe","missiles_DAGR"};
               magazines[] = {"12Rnd_PG_missiles"};
               memoryPointLMissile = "Rocket_2";
               memoryPointRMissile = "Rocket_1";    
               primaryGunner = 0;
               minElev = -80;
               maxElev = +25;
               initElev = 0;
               minTurn = -100;  
               maxTurn = 100; 
               initTurn = 0;
               gunnerOpticsModel = "\ad_helos\uh1y_optics";
               memoryPointGunnerOptics = "commanderview";
               gunnerForceOptics = false;
               gunnerOpticsShowCursor = 1;
               class ViewOptics
               {
                   initAngleX = 0; 
                   minAngleX = -30; 
                   maxAngleX = +30;
                   initAngleY = 40; 
                   minAngleY = -100; 
                   maxAngleY = +100;
                   initFov = 1.4; 
                   minFov = 0.3; 
                   maxFov = 1.0;
               };
               gunnerCompartments = "Compartment2";
               startEngine = 0;
               soundServo[] = {,db-40,1.0};
               turretInfoType = "RscOptics_Heli_Attack_01_gunner";
               memoryPointsGetInGunner = "pos codriver";
               memoryPointsGetInGunnerDir = "pos codriver dir";
               selectionFireAnim = "";
               castGunnerShadow = 1;
               viewGunnerShadow = 1;
               class OpticsIn
               {
                   class Wide 
                   {
                       opticsDisplayName = "W";
                       initAngleX = 0;
                       minAngleX = -30;
                       maxAngleX = +30;
                       initAngleY = 0;
                       minAngleY = -100;
                       maxAngleY = +100;
                       initFov = 0.466;
                       minFov = 0.466;
                       maxFov = 0.466;
                       visionMode[] = {"Normal","NVG","Ti"};
                       thermalMode[] = {0,1};
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                   };
                   class Narrow: Wide 
                   {
                       opticsDisplayName = "N";
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                       initFov = 0.05;
                       minFov = 0.05;
                       maxFov = 0.05;
                   };
               };
               class OpticsOut
               {
                   class Monocular 
                   {
                       initAngleX = 0; 
                       minAngleX = -30; 
                       maxAngleX = +30;
                       initAngleY = 0; 
                       minAngleY = -100; 
                       maxAngleY = +100;
                       initFov = 1.1; 
                       minFov = 0.133; 
                       maxFov = 1.1;
                       visionMode[] = {"Normal","NVG"};
                       gunnerOpticsModel = "";
                       gunnerOpticsEffect[] = {};
                   };
               };
           };
       };
       class AnimationSources: AnimationSources
       {
           class Gatling_1
           {
               source="revolving";
               weapon="LMG_Minigun";
           };
           class Gatling_2
           {
               source="revolving";
               weapon="LMG_Minigun2";
           };
       };
   };
};

Edited by deltagamer

Share this post


Link to post
Share on other sites

Made those changes, Addon Builder errors out when it tries to pack the config, error log is no help (does not give specifics).

Trying to troubleshoot it, I might try not binarizing, then ArmA will give me a more detailed error.

EDIT:

OK so... it liked this...

   class Helicopter: Air
   {
               class Turrets;
               class MainTurret;
               class NewTurret;
               class AnimationSources;
               class HitPoints;
               class ViewPilot;
               class ViewOptics;        
   };

and not this...

   class Helicopter: Air
   {
       class Turrets
       {
                class MainTurret;
        };
        class NewTurret;
        class AnimationSources;
        class HitPoints;
        class ViewPilot;
        class ViewOptics;        
   };

Strange...

Still testing.

---------- Post added at 09:14 ---------- Previous post was at 08:53 ----------

OK so,

After some testing the verdict is that it does not seem to matter at which point CargoTurret is referenced or how many times it is referenced in external classes, CargoTurret is still not recognized as a pre-defined classname.

Thanks for your help though deltagamer, I respect and appreciate your persistence. :)

Updated config...

class CfgPatches 
{
   class ad_helos 
   {
       units[] = {};
       weapons[] = {};
       requiredVersion = 1.0;
       requiredAddons[] = {};
   };
};
class CfgVehicleClasses
{
   class ad_helos
   {
       displayName = "ADuke's Helos";
   };
   class ad_units
   {
       displayName = "ADuke's Units";
   };
};
class CfgWeapons
{
   class hlc_rifle_CQBR; //External
   class ad_rifle_cqbr: hlc_rifle_CQBR
   {
       class LinkedItems
       {
           class LinkedItemsOptic
           {
               slot = "CowsSlot";
               item = "CUP_optic_HoloBlack";
           };
           class LinkedItemsAcc
           {
               slot = "PointerSlot";
               item = "acc_pointer_IR";
           };
       };
   };
};
class CfgVehicles
{
   class B_AssaultPack_rgr; //External
   class ad_AssaultPack_rgr: B_AssaultPack_rgr
   {
       scope = 2; 
       class TransportMagazines 
       { 
           class _xx_hlc_30rnd_556x45_EPR 
           { 
               magazine = "hlc_30rnd_556x45_EPR"; 
               count = 6; 
           };
           class _xx_CUP_PipeBomb_M 
           { 
               magazine = "CUP_PipeBomb_M"; 
               count = 1; 
           };
           class _xx_B_IR_Grenade
           { 
               magazine = "B_IR_Grenade"; 
               count = 6; 
           }; 
       }; 
   };
   class B_Helipilot_F //External
   {
       class Eventhandlers; //External
   };
   class AD_USMC_Pilot: B_Helipilot_F
   {
       scope = 2;
       vehicleClass = "ad_units";
       displayName = "USMC Helo Pilot";
       uniformClass = "nomex_tan";
       backpack = "ad_AssaultPack_rgr";
       linkedItems[] = 
       {
           "V_Chestrig_rgr",
           "H_PilotHelmetHeli_O",
           "ItemMap",
           "ItemCompass",
           "ItemWatch",
           "ItemRadio",
           "A3_GPNVG18_F",
           "ItemGPS",
           "FirstAidKit"
       };
       respawnLinkedItems[] = 
       {
           "V_Chestrig_rgr",
           "H_PilotHelmetHeli_O",
           "ItemMap",
           "ItemCompass",
           "ItemWatch",
           "ItemRadio",
           "A3_GPNVG18_F",
           "ItemGPS",
           "FirstAidKit"
       };
       weapons[] = 
       {
           "ad_rifle_cqbr",
           "hgun_P07_F",
           "Laserdesignator",
           "Throw",
           "Put"
       };
       respawnWeapons[] = 
       {
           "ad_rifle_cqbr",
           "hgun_P07_F",
           "Laserdesignator",
           "Throw",
           "Put"
       };
       magazines[] = 
       {
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "SmokeShellYellow",
           "SmokeShellRed",
           "SmokeShellPurple",
           "SmokeShellGreen",
           "SmokeShellBlue",
           "SmokeShellOrange",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_yellow",
           "Chemlight_yellow",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "rhs_mag_m67",
           "Chemlight_yellow"
       };
       respawnMagazines[] = 
       {
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "SmokeShellYellow",
           "SmokeShellRed",
           "SmokeShellPurple",
           "SmokeShellGreen",
           "SmokeShellBlue",
           "SmokeShellOrange",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_yellow",
           "Chemlight_yellow",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "rhs_mag_m67",
           "Chemlight_yellow"
       };
   };
   class AllVehicles;
   class Air;
   class Helicopter: Air
   {
       class Turrets;
       class MainTurret;
       class NewTurret;
       class AnimationSources;
       class HitPoints;
       class ViewPilot;
       class ViewOptics;        
   };
   class Helicopter_Base_F: Helicopter
   {
       class Turrets;    
       class HitPoints: HitPoints
       {
           class HitHull;
           class HitHRotor;
           class HitGlass1;
           class HitGlass2;
           class HitGlass3;
           class HitGlass4;
       };
       class AnimationSources;
       class Eventhandlers;
       class ViewOptics;        
   };
   class ad_uh1y_base: Helicopter_Base_F //External
   {
       features = "Slingload: Slingloads up to 2000kg";
       slingLoadMaxCargoMass = 2000;
       showNVGCargo[] = {0,0,1};
       destrType = "DestructWreck";        
       scope = 0;
       side = 1;
       picture = "\ad_helos\data\icon_uh1y.paa";
       icon = "\ad_helos\data\icon_uh1y.paa";
       class CargoTurret;
       class Turrets: Turrets {};
       mapSize = 15;
       faction = "BLU_F";
       availableForSupportTypes[] = {};
       cargoCanEject = 1;
       driverCanEject = 1;
       helmetMountedDisplay = 0;
       maxFordingDepth = 0.75;
       mainBladeRadius = 7.5;
       altFullForce = 4000;
       altNoForce = 6000;
       LockDetectionSystem = "2 + 8 + 4";
       incomingMissileDetectionSystem = 16;
       bodyFrictionCoef = 1.4;
       supplyRadius = 0;
       liftForceCoef = 2;
       cyclicAsideForceCoef = 0.4;
       cyclicForwardForceCoef = 1.7;
       enableManualFire = 0;
       class Library
       {
             libTextDesc = "UH1Y";
       };
       fuelCapacity = 250;
       fuelConsumptionRate = 0.138;
       maxSpeed = 293;
       simulation = "helicopterX";
       armor = 40;
       weapons[] = {"CMFlareLauncher"};
       magazines[] = {"168Rnd_CMFlare_Chaff_Magazine"};
       memoryPointLRocket = "Rocket_1";
       memoryPointRRocket = "Rocket_2";
       irScanRangeMin = 0;
       irScanRangeMax = 1000;
       nightVision = 1;
       memoryPointCM[]  = {"flare_launcher1", "flare_launcher2"};
       memoryPointCMDir[] = {"flare_launcher1_dir", "flare_launcher2_dir"};
       radarType = 4;
       threat[] = {0.8, 1, 0.6};
       memoryPointsGetInCargo[] = {"pos codriver", "pos cargo"};
       memoryPointsGetInCargoDir[] = {"pos codriver dir", "pos cargo dir"};
       driverAction = "UH1Y_Pilot";
       driverInAction = "UH1Y_Pilot";
       cargoAction[] = {"UH1Y_Cargo02", "UH1Y_Cargo03", "UH1Y_Cargo03", "UH1Y_Cargo02", "UH1Y_Cargo01", "commander_sdv"};
       cargoIsCoDriver[]={false, false, false, false, false, false};
       driverCanSee = 31;
       gunnerCanSee = 31;
       transportSoldier = 6;
       transportAmmo = 9999;
       transportMaxMagazines = 9999;
       transportMaxWeapons = 9999;
       class TransportBackpacks
       {
           class _xx_B_Parachute
           {
               backpack = "B_Parachute";
               count = 0;
           };
       };
       class TransportItems
       {
           class _xx_FirstAidKit
           {
               name = "FirstAidKit";
               count = 20;
           };
           class _xx_Medikit
           {
               name = "Medikit";
               count = 2;
           };
       };
       initCargoAngleY = +10; 
       minCargoAngleY = -60;
       maxCargoAngleY = +120;
       minFireTime = 30;
       driverCompartments = "Compartment1";
       cargoCompartments[] = {"Compartment2"};
       class ViewPilot: ViewPilot
       {
           initFov = 1.4; 
           minFov = 0.6; 
           maxFov = 1.0;
             initAngleX = 0; 
           minAngleX = -65; 
           maxAngleX = +85; 
           initAngleY = 0; 
           minAngleY = -150; 
           maxAngleY = +150;
       };
       class Exhausts
       {
           class Exhaust1
           {
               position = "exhaust1";
               direction = "exhaust1_dir";
               effect = "ExhaustsEffectHeliCom";
           };
           class Exhaust2
           {
               position = "exhaust2";
               direction = "exhaust2_dir";
               effect = "ExhaustsEffectHeliCom";
           };
       };
       class MarkerLights 
       {
           class WhiteStill 
           {
               name = "bily pozicni";
               color[] = {1.0, 1.0, 1.0};
               ambient[] = {0.1, 0.1, 0.1};
               blinking = 1;
               intensity = 75;
               blinkingPattern[] = {0.1, 0.9};
               blinkingPatternGuarantee = 0;
               drawLightSize = 0.2;
               drawLightCenterSize = 0.04;
           };
           class RedStill 
           {
               name = "cerveny pozicni";
               color[] = {0.8, 0.0, 0.0};
               ambient[] = {0.08, 0.0, 0.0};
               intensity = 75;
               drawLight = 1;
               drawLightSize = 0.15;
               drawLightCenterSize = 0.04;
               activeLight = 0;
               blinking = 0;
               dayLight = 0;
               useFlare = 0;
           };
           class GreenStill 
           {
               name = "zeleny pozicni";
               color[] = {0.0, 0.8, 0.0};
               ambient[] = {0.0, 0.08, 0.0};
               intensity = 75;
               drawLight = 1;
               drawLightSize = 0.15;
               drawLightCenterSize = 0.04;
               activeLight = 0;
               blinking = 0;
               dayLight = 0;
               useFlare = 0;
           };
       };
       class Reflectors
       {
           class Middle
           {
               color[] = {7000, 7500, 10000, 1};
               ambient[] = {100, 100, 100, 0};
               position = "svetlo";
               direction = "svetlo konec";
               hitpoint = "svetlo";
               selection = "svetlo";
               size = 1;
               innerAngle = 20;
               outerAngle = 60;
               coneFadeCoef = 10;
               intensity = 50;
               useFlare = 1;
               dayLight = 0;
               FlareSize = 6;
               class Attenuation
               {
                   start = 1;
                   constant = 0;
                   linear = 0;
                   quadratic = 4;
               };
           };
       };
       dammageHalf[] = {};    
       dammageFull[] = {};    
       class Damage
       {
           tex[] = {};
           mat[] =
           {
               "ad_helos\data\uh1y_sklo.rvmat",
               "ad_helos\data\uh1y_sklo_damage.rvmat",
               "ad_helos\data\uh1y_sklo_damage.rvmat",


               "ad_helos\data\uh1y_sklo_in.rvmat",
               "ad_helos\data\uh1y_sklo_in_damage.rvmat",
               "ad_helos\data\uh1y_sklo_in_damage.rvmat",


               "ad_helos\data\uh1y_ext.rvmat",
               "ad_helos\data\uh1y_ext_damage.rvmat",
               "ad_helos\data\uh1y_ext_destruct.rvmat",


               "ad_helos\data\uh1y_int.rvmat",
               "ad_helos\data\uh1y_int_damage.rvmat",
               "ad_helos\data\uh1y_int_destruct.rvmat",


               "ad_helos\data\launcher.rvmat",
               "ad_helos\data\launcher.rvmat",
               "ad_helos\data\launcher_destruct.rvmat",


               "ad_helos\data\uh1y_cockpit.rvmat",
               "ad_helos\data\uh1y_cockpit_damage.rvmat",
               "ad_helos\data\uh1y_cockpit_destruct.rvmat"
           };
       };
       attenuationEffectType = "OpenHeliAttenuation";
       soundGetIn[] = {"ad_helos\sounds\heli_door_01",db-10,1};
       soundGetOut[] = {"ad_helos\sounds\heli_door_01",db-10,1, 40};
       soundEnviron[] = {"", db-30, 1.0};
       soundDammage[] = {"ad_helos\sounds\alarm_loop1", db-10, 1};
       soundEngineOnInt[] = {"ad_helos\sounds\int-start-final", db-7, 1.0};
       soundEngineOnExt[] = {"ad_helos\sounds\ext-motor-start", db-7, 1.0, 700};
       soundEngineOffInt[] =  {"ad_helos\sounds\int-stop-final", db-7, 1.0};
       soundEngineOffExt[] =  {"ad_helos\sounds\ext-motor-stop", db-7, 1.0, 700};
       soundLocked[] = {"\A3\Sounds_F\weapons\Rockets\opfor_lock_1",0.1,1};
       soundIncommingMissile[] = {"\A3\Sounds_F\weapons\Rockets\opfor_lock_2",0.1,1};
       soundGeneralCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_1",1.0,1,100};
       soundGeneralCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_2",1.0,1,100};
       soundGeneralCollision3[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_3",1.0,1,100};
       soundCrashes[] = {"soundGeneralCollision1",0.33,"soundGeneralCollision2",0.33,"soundGeneralCollision3",0.33};
       soundLandCrashes[] = {"emptySound",0};
       soundBuildingCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundArmorCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundWoodCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundBushCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_1",1.0,1,100};
       soundBushCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_2",1.0,1,100};
       soundBushCollision3[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_3",1.0,1,100};
       soundBushCrash[] = {"soundBushCollision1",0.33,"soundBushCollision2",0.33,"soundBushCollision3",0.33};
       soundWaterCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_water_ext_1",1.0,1,100};
       soundWaterCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_water_ext_2",1.0,1,100};
       soundWaterCrashes[] = {"soundWaterCollision1",0.5,"soundWaterCollision2",0.5};        
       rotorDamageInt[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_rotor_int_open_1",1.0,1.0};
       rotorDamageOut[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_rotor_ext_1",2.5118864,1.0,150};
       rotorDamage[] = {"rotorDamageInt","rotorDamageOut"};
       tailDamageInt[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_tail",1.0,1.0};
       tailDamageOut[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_tail",1.0,1.0,300};
       tailDamage[] = {"tailDamageInt","tailDamageOut"};
       landingSoundInt0[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_int1_open",1.0,1.0,100};
       landingSoundInt1[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_int1_open",1.0,1.0,100};
       landingSoundInt[] = {"landingSoundInt0",0.5,"landingSoundInt1",0.5};
       landingSoundOut0[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_ext1",1.7782794,1.0,100};
       landingSoundOut1[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_ext1",1.7782794,1.0,100};
       landingSoundOut[] = {"landingSoundOut0",0.5,"landingSoundOut1",0.5};
       slingCargoAttach0[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpEndINT",1.0,1.0};
       slingCargoAttach1[] = {"A3\Sounds_F\vehicles\air\noises\SL_1hookLock",1.0,1.0,80};
       slingCargoAttach[] = {"slingCargoAttach0","slingCargoAttach1"};
       slingCargoDetach0[] = {"A3\Sounds_F\dummysound",1.0,1.0};
       slingCargoDetach1[] = {"A3\Sounds_F\vehicles\air\noises\SL_1hookUnlock",1.0,1.0,80};
       slingCargoDetach[] = {"slingCargoDetach0","slingCargoDetach1"};
       slingCargoDetachAir0[] = {"A3\Sounds_F\vehicles\air\noises\SL_unhook_air_int",1.0,1.0};
       slingCargoDetachAir1[] = {"A3\Sounds_F\vehicles\air\noises\SL_unhook_air_ext",1.0,1.0,80};
       slingCargoDetachAir[] = {"slingCargoDetach0","slingCargoDetach1"};
       slingCargoRopeBreak0[] = {"A3\Sounds_F\vehicles\air\noises\SL_rope_break_int",1.0,1.0};
       slingCargoRopeBreak1[] = {"A3\Sounds_F\vehicles\air\noises\SL_rope_break_ext",1.0,1.0,80};
       slingCargoRopeBreak[] = {"slingCargoDetach0","slingCargoDetach1"};
       class Sounds
       {
           class Engine
           {
               sound[] = {"ad_helos\sounds\ext-fly-mode2", db8, 1.0, 800};
               frequency = "rotorSpeed";
               volume = "camPos*((rotorSpeed-0.72)*4)";
           };
           class RotorLowOut
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5b", db8, 1.0, 1400};
               frequency = "rotorSpeed";
               volume = "camPos*(0 max (rotorSpeed-0.1))";
               cone[] = {1.6,3.14, 2.0, 0.5};
           };
           class RotorHighOut
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5a", db8, 1.0, 1600};
               frequency = "rotorSpeed";
               volume = "camPos*10*(0 max (rotorThrust-0.9))" ;
               cone[] = {1.6,3.14, 2.0, 0.5};
           };
             class EngineIn
           {
               sound[] = {"ad_helos\sounds\int-fly-mode7", db0, 1.0};
               frequency = "rotorSpeed";
                volume = "(1-camPos)*((rotorSpeed-0.75)*4)";
           };
           class RotorLowIn
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5b", db0, 1.0};
               frequency = "rotorSpeed";
               volume = "2*(1-camPos)*((rotorSpeed factor[0.3, 1.1]) min (rotorSpeed factor[1.1, 0.3]))";
           };
           class RotorHighIn
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5a", db0, 1.0};
               frequency = "rotorSpeed";
               volume = "(1-camPos)*3*(rotorThrust-0.9)" ;
           };
           class scrubTreeExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\scrubTreeExt",1.0,1.0,100};
               frequency = 1;
               volume = "camPos * ((scrubTree) factor [0, 0.01])";
           };
           class RainExt
           {
               sound[] = {"A3\Sounds_F\vehicles\noises\rain1_ext",1.0,1.0,100};
               frequency = 1;
               volume = "camPos * (rain - rotorSpeed/2) * 2";
           };
           class RainInt
           {
               sound[] = {"A3\Sounds_F\vehicles\noises\rain1_int_open",1.0,1.0,100};
               frequency = 1;
               volume = "(1-camPos)*(rain - rotorSpeed/2)*2";
           };
           class SlingLoadDownExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineDownEXT",1.0,1.0,500};
               frequency = 1;
               volume = "camPos*(slingLoadActive factor [0,-1])";
           };
           class SlingLoadUpExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpEXT",1.0,1.0,500};
               frequency = 1;
               volume = "camPos*(slingLoadActive factor [0,1])";
           };
           class SlingLoadDownInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineDownINT",1.0,1.0,500};
               frequency = 1;
               volume = "(1-camPos)*(slingLoadActive factor [0,-1])";
           };
           class SlingLoadUpInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpINT",1.0,1.0,500};
               frequency = 1;
               volume = "(1-camPos)*(slingLoadActive factor [0,1])";
           };
           class damageAlarmInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_bluefor",0.31622776,1.0};
               frequency = 1;
               volume = "engineOn * (1 - camPos) * ( 1 - ((transmissionDamage factor [0.61, 0.60]) * (motorDamage factor [0.61, 0.60]) * (rotorDamage factor [0.51, 0.50]))) * (rotorSpeed factor [0.0, 0.001])";
           };
           class damageAlarmExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_bluefor",0.2238721,1.0,20};
               frequency = 1;
               volume = "engineOn * camPos * ( 1 - ((transmissionDamage factor [0.61, 0.60]) * (motorDamage factor [0.61, 0.60]) * (rotorDamage factor [0.51, 0.50]))) * (rotorSpeed factor [0, 0.001])";
           };
           class rotorLowAlarmInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_rotor_low",0.31622776,1.0};
               frequency = 1;
               volume = "engineOn * (1 - camPos) * (rotorSpeed factor [0.9, 0.8999]) * (rotorSpeed factor [-0.5, 1]) * (speed factor [3, 3.01])";
           };
           class rotorLowAlarmExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_rotor_low",0.2238721,1.0,20};
               frequency = 1;
               volume = "engineOn * camPos * (rotorSpeed factor [0.9, 0.8999]) * (rotorSpeed factor [-0.5, 1]) * (speed factor [3, 3.01])";
           };    
       };    
   };
   class ad_uh1y: ad_uh1y_base
   {
       scope = 2;
       vehicleClass = "ad_helos";
       model = "\ad_helos\uh1y_venom.p3d";
       displayName = "UH-1Y 'Venom'";
       crew = "AD_USMC_Pilot";
       picture = "\ad_helos\data\icon_uh1y.paa";
       icon = "\ad_helos\data\icon_uh1y.paa";
       transportSoldier = 2;
       cargoProxyIndexes[] = {5,6};
       //cargoAction[] = {"UH1Y_Cargo02", "UH1Y_Cargo03", "UH1Y_Cargo03", "UH1Y_Cargo02", "UH1Y_Cargo01", "commander_sdv"};
       cargoAction[] = {"passenger_inside_1", "passenger_inside_2", "passenger_inside_3", "passenger_inside_1", "UH1Y_Cargo01", "commander_sdv"};
       class CargoTurret;
       class Turrets: Turrets
       {
           class CargoTurret_01: CargoTurret
           {    
               gunnerAction = "passenger_inside_1";
               gunnerCompartments = "Compartment2";
               memoryPointsGetInGunner = "pos cargo";
               memoryPointsGetInGunnerDir = "pos cargo dir";
               playerPosition = 4;
               soundAttenuationTurret = "";
               disableSoundAttenuation = 1;
               gunnerGetInAction = "GetInHeli_Light_01bench";
               gunnerName = "Cargo Right Aft";
               proxyIndex = 1;
               maxElev = 15;
               minElev = -30;
               maxTurn = -25;
               minTurn = -100;
               isPersonTurret = 1;
               ejectDeadGunner = 0;
               memoryPointGunnerOptics = "eye";
               class dynamicViewLimits{};
           };
           class CargoTurret_02: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_2";
               gunnerName = "Cargo Left Aft";
               proxyIndex = 2;
               maxElev = 10;
               minElev = -30;
               maxTurn = 30;
               minTurn = -50;
           };
           class CargoTurret_03: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_3";
               gunnerName = "Cargo Right Front";
               proxyIndex = 3;
               maxElev = 10;
               minElev = -30;
               maxTurn = 75;
               minTurn = -35;
           };
           class CargoTurret_04: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_1";
               gunnerName = "Cargo Left Front";
               proxyIndex = 3;
               maxElev = 10;
               minElev = -30;
               maxTurn = 55;
               minTurn = -35;
           };
           class MainTurret: MainTurret 
           {
               isCopilot = 0;
               body = "mainTurret";
               gun = "mainGun";            
               minElev=-60; 
               maxElev=+30; 
               initElev="--15";                
               minTurn=-5; 
               maxTurn=180; 
               initTurn=90;                
               soundServo[] = {,db-40,1.0};
               animationSourceHatch = "";
               animationSourceBody="mainTurret";
               animationSourceGun="mainGun";
               stabilizedInAxes = 0;
               gunBeg = "muzzle_1";
               gunEnd = "chamber_1";
               weapons[]={"HMG_127_APC"};
               magazines[]={"500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red"};
               gunnerName = "Left M2 Gunner";
               memoryPointGun = "machinegun";
               memoryPointGunnerOptics = "gunnerview";
               gunnerOpticsModel = "\ad_helos\uh1y_optics";
               gunnerOutOpticsShowCursor = 1;
               gunnerOpticsShowCursor = 1;
               gunnerAction = "mas_UH1Y_Cargo03";
               gunnerInAction = "gunner_Heli_Transport_01";
               commanding = -2;
               primaryGunner = 0;
               gunnerCompartments = "Compartment2";
               class ViewOptics
               {
                   initAngleX=0; 
                   minAngleX=-30; 
                   maxAngleX=+30;
                   initAngleY=0; 
                   minAngleY=-100; 
                   maxAngleY=+100;
                   initFov=1.0; 
                   minFov=0.25; 
                   maxFov=0.8;
               };
               class OpticsIn
               {
                   class Wide 
                   {
                       opticsDisplayName = "W";
                       initAngleX = 0;
                       minAngleX = -30;
                       maxAngleX = +30;
                       initAngleY = 0;
                       minAngleY = -100;
                       maxAngleY = +100;
                       initFov = 0.466;
                       minFov = 0.466;
                       maxFov = 0.466;
                       visionMode[] = {"Normal","NVG","Ti"};
                       thermalMode[] = {0,1};
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                   };
                   class Narrow: Wide 
                   {
                       opticsDisplayName = "N";
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                       initFov = 0.05;
                       minFov = 0.05;
                       maxFov = 0.05;
                   };
               };
               class OpticsOut
               {
                   class Monocular 
                   {
                       initAngleX = 0; 
                       minAngleX = -30; 
                       maxAngleX = +30;
                       initAngleY = 0; 
                       minAngleY = -100; 
                       maxAngleY = +100;
                       initFov = 1.1; 
                       minFov = 0.133; 
                       maxFov = 1.1;
                       visionMode[] = {"Normal","NVG"};
                       gunnerOpticsModel = "";
                       gunnerOpticsEffect[] = {};
                   };
               };
           };
           class RightDoorGun: MainTurret
           {
               isCopilot = 0;
               body = "Turret2";
               gun = "Gun_2";
               animationSourceBody = "Turret_2";
               animationSourceGun = "Gun_2";
               stabilizedInAxes = 0;
               selectionFireAnim = "zasleh_1";
               proxyIndex = 2;
               gunnerName = "Right M134 Gunner";
               commanding = -3;            
               minElev=-60; 
               maxElev=+30; 
               initElev=-45;                
               minTurn=-180; 
               maxTurn=5; 
               initTurn=-90;        
               weapons[] = {"LMG_Minigun2"};
               magazines[] = {"2000Rnd_65x39_Belt_Tracer_Red"};
               gunBeg = "muzzle_2"; 
               gunEnd = "chamber_2"; 
               primaryGunner = 0;
               memoryPointGun = "machinegun_2";
               memoryPointGunnerOptics = "gunnerview_2";
               hasGunner = true;
               hasCrew = true;
           };
           class CoPilotObs: MainTurret
           {
               isCopilot = 1;
               stabilizedInAxes = "StabilizedInAxesBoth";
               proxyIndex = 3;
               gunnerName = "Co-Pilot"; 
               gunnerAction = "UH1Y_Gunner02";
               gunnerInAction = "UH1Y_Gunner02";
               body = "ObsTurret";
               gun = "ObsGun";
               animationSourceBody = "ObsTurret";
               animationSourceGun = "ObsGun";
               outGunnerMayFire = 1; 
               gunBeg = "gun_end"; 
               gunEnd = "gun_begin"; 
               memoryPointGun = "gun_end";
               commanding = -1;                
               weapons[] = {"Safe","missiles_DAGR"};
               magazines[] = {"12Rnd_PG_missiles"};
               memoryPointLMissile = "Rocket_2";
               memoryPointRMissile = "Rocket_1";    
               primaryGunner = 0;
               minElev = -80;
               maxElev = +25;
               initElev = 0;
               minTurn = -100;  
               maxTurn = 100; 
               initTurn = 0;
               gunnerOpticsModel = "\ad_helos\uh1y_optics";
               memoryPointGunnerOptics = "commanderview";
               gunnerForceOptics = false;
               gunnerOpticsShowCursor = 1;
               class ViewOptics
               {
                   initAngleX = 0; 
                   minAngleX = -30; 
                   maxAngleX = +30;
                   initAngleY = 40; 
                   minAngleY = -100; 
                   maxAngleY = +100;
                   initFov = 1.4; 
                   minFov = 0.3; 
                   maxFov = 1.0;
               };
               gunnerCompartments = "Compartment2";
               startEngine = 0;
               soundServo[] = {,db-40,1.0};
               turretInfoType = "RscOptics_Heli_Attack_01_gunner";
               memoryPointsGetInGunner = "pos codriver";
               memoryPointsGetInGunnerDir = "pos codriver dir";
               selectionFireAnim = "";
               castGunnerShadow = 1;
               viewGunnerShadow = 1;
               class OpticsIn
               {
                   class Wide 
                   {
                       opticsDisplayName = "W";
                       initAngleX = 0;
                       minAngleX = -30;
                       maxAngleX = +30;
                       initAngleY = 0;
                       minAngleY = -100;
                       maxAngleY = +100;
                       initFov = 0.466;
                       minFov = 0.466;
                       maxFov = 0.466;
                       visionMode[] = {"Normal","NVG","Ti"};
                       thermalMode[] = {0,1};
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                   };
                   class Narrow: Wide 
                   {
                       opticsDisplayName = "N";
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                       initFov = 0.05;
                       minFov = 0.05;
                       maxFov = 0.05;
                   };
               };
               class OpticsOut
               {
                   class Monocular 
                   {
                       initAngleX = 0; 
                       minAngleX = -30; 
                       maxAngleX = +30;
                       initAngleY = 0; 
                       minAngleY = -100; 
                       maxAngleY = +100;
                       initFov = 1.1; 
                       minFov = 0.133; 
                       maxFov = 1.1;
                       visionMode[] = {"Normal","NVG"};
                       gunnerOpticsModel = "";
                       gunnerOpticsEffect[] = {};
                   };
               };
           };
       };
       class AnimationSources: AnimationSources
       {
           class Gatling_1
           {
               source="revolving";
               weapon="LMG_Minigun";
           };
           class Gatling_2
           {
               source="revolving";
               weapon="LMG_Minigun2";
           };
       };
   };
};

Edited by ADuke823

Share this post


Link to post
Share on other sites

Hmm, strange....

Have a look through my config and take what you need to try get it working for your aircraft. I know for a fact that mines is working so hopefully it solves your problem.

*Link Removed*

---------- Post added at 17:41 ---------- Previous post was at 17:07 ----------

Also your cfgPatches the thing I mentioned earlier is required for your CargoTurret to work, just add the stuff in red and it will work hopefully this time.

Edited by deltagamer
No longer needed

Share this post


Link to post
Share on other sites

OK ya,

I added entries to the requiredAddons entry for cfgPatches and now the turrets work for the most part.

At first I did not think that adding dependencies would have an effect, but I was wrong.

Thank you for the help, onto the next roadblock. :)

-AD

Share this post


Link to post
Share on other sites

Np, glad I could help. Let me know if you need any more help from me :cool:

Share this post


Link to post
Share on other sites

So, now that I added those dependencies, the MainRotor and TailRotor never change to their blurred proxy models, I think there are some mainRotor settings related to RotorLib that I am missing.

All other animations function correctly.

I added the RotorLibHelicopterProperties from the UH-80 config, that did not seem to fix it.

Current version of my config...

class CfgPatches 
{
   class ad_helos 
   {
       units[] = {};
       weapons[] = {};
       requiredVersion = 1.0;
       requiredAddons[] = {"A3_Air_F", "A3_Weapons_F", "A3_Soft_F", "A3_data_F", "A3_Characters_F"};
   };
};
class CfgVehicleClasses
{
   class ad_helos
   {
       displayName = "ADuke's Helos";
   };
   class ad_units
   {
       displayName = "ADuke's Units";
   };
};
class CfgWeapons
{
   class hlc_rifle_CQBR; //External
   class ad_rifle_cqbr: hlc_rifle_CQBR
   {
       class LinkedItems
       {
           class LinkedItemsOptic
           {
               slot = "CowsSlot";
               item = "CUP_optic_HoloBlack";
           };
           class LinkedItemsAcc
           {
               slot = "PointerSlot";
               item = "acc_pointer_IR";
           };
       };
   };
};
class CfgVehicles
{
   class B_AssaultPack_rgr; //External
   class ad_AssaultPack_rgr: B_AssaultPack_rgr
   {
       scope = 2; 
       class TransportMagazines 
       { 
           class _xx_hlc_30rnd_556x45_EPR 
           { 
               magazine = "hlc_30rnd_556x45_EPR";
               count = 6; 
           };
           class _xx_CUP_PipeBomb_M 
           { 
               magazine = "CUP_PipeBomb_M"; 
               count = 1; 
           };
           class _xx_B_IR_Grenade
           { 
               magazine = "B_IR_Grenade"; 
               count = 6; 
           }; 
       }; 
   };
   class B_Helipilot_F;
   class AD_USMC_Pilot: B_Helipilot_F
   {
       scope = 2;
       vehicleClass = "ad_units";
       displayName = "USMC Helo Pilot";
       uniformClass = "nomex_tan";
       backpack = "ad_AssaultPack_rgr";
       linkedItems[] = 
       {
           "V_Chestrig_rgr",
           "H_PilotHelmetHeli_O",
           "ItemMap",
           "ItemCompass",
           "ItemWatch",
           "ItemRadio",
           "A3_GPNVG18_F",
           "ItemGPS",
           "FirstAidKit"
       };
       respawnLinkedItems[] = 
       {
           "V_Chestrig_rgr",
           "H_PilotHelmetHeli_O",
           "ItemMap",
           "ItemCompass",
           "ItemWatch",
           "ItemRadio",
           "A3_GPNVG18_F",
           "ItemGPS",
           "FirstAidKit"
       };
       weapons[] = 
       {
           "ad_rifle_cqbr",
           "hgun_P07_F",
           "Laserdesignator",
           "Throw",
           "Put"
       };
       respawnWeapons[] = 
       {
           "ad_rifle_cqbr",
           "hgun_P07_F",
           "Laserdesignator",
           "Throw",
           "Put"
       };
       magazines[] = 
       {
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "SmokeShellYellow",
           "SmokeShellRed",
           "SmokeShellPurple",
           "SmokeShellGreen",
           "SmokeShellBlue",
           "SmokeShellOrange",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_yellow",
           "Chemlight_yellow",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "rhs_mag_m67",
           "Chemlight_yellow"
       };
       respawnMagazines[] = 
       {
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "hlc_30rnd_556x45_EPR",
           "SmokeShellYellow",
           "SmokeShellRed",
           "SmokeShellPurple",
           "SmokeShellGreen",
           "SmokeShellBlue",
           "SmokeShellOrange",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_yellow",
           "Chemlight_yellow",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "Chemlight_red",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "SmokeShellOrange",
           "rhs_mag_m67",
           "Chemlight_yellow"
       };
   };
   class AllVehicles;
   class Air: AllVehicles
   {
       class NewTurret;
       class ViewPilot;
   };    
   class Helicopter: Air
   {
       class Turrets;
       class MainTurret;
       class NewTurret;
       class AnimationSources;
       class HitPoints;
       class ViewPilot;
       class ViewOptics;        
   };
   class Helicopter_Base_F: Helicopter
   {
       class Turrets;    
       class HitPoints: HitPoints
       {
           class HitHull;
           class HitHRotor;
           class HitGlass1;
           class HitGlass2;
           class HitGlass3;
           class HitGlass4;
       };
       class AnimationSources;
       class Eventhandlers;
       class ViewOptics;        
   };
   class ad_uh1y_base: Helicopter_Base_F //External
   {
       features = "Slingload: Slingloads up to 2000kg";
       slingLoadMaxCargoMass = 2000;
       showNVGCargo[] = {0,0,1};
       destrType = "DestructWreck";        
       scope = 0;
       side = 1;
       picture = "\ad_helos\data\icon_uh1y.paa";
       icon = "\ad_helos\data\icon_uh1y.paa";
       class CargoTurret;
       class Turrets: Turrets {};
       mapSize = 15;
       faction = "BLU_F";
       availableForSupportTypes[] = {};
       cargoCanEject = 1;
       driverCanEject = 1;
       helmetMountedDisplay = 0;
       maxFordingDepth = 0.75;
       mainBladeRadius = 7.5;
       altFullForce = 4000;
       altNoForce = 6000;
       LockDetectionSystem = "2 + 8 + 4";
       incomingMissileDetectionSystem = 16;
       bodyFrictionCoef = 1.4;
       supplyRadius = 0;
       liftForceCoef = 2;
       cyclicAsideForceCoef = 0.4;
       cyclicForwardForceCoef = 1.7;
       enableManualFire = 0;
       class RotorLibHelicopterProperties
       {
           RTDconfig="A3\Air_F_Beta\Heli_Transport_01\RTD_Heli_Transport_01.xml";
           autoHoverCorrection[]={3,2.45,0};
           defaultCollective=0.625;
           retreatBladeStallWarningSpeed=85.556;
           maxTorque=1100;
           stressDamagePerSec=0.0033333332;
           maxHorizontalStabilizerLeftStress=10000;
           maxHorizontalStabilizerRightStress=10000;
           maxVerticalStabilizerStress=10000;
           horizontalWingsAngleCollMin=0;
           horizontalWingsAngleCollMax=0;
           maxMainRotorStress=200000;
           maxTailRotorStress=25000;
       };
       class Library
       {
             libTextDesc = "UH1Y";
       };
       fuelCapacity = 250;
       fuelConsumptionRate = 0.138;
       maxSpeed = 293;
       simulation = "helicopterX";
       armor = 40;
       weapons[] = {"CMFlareLauncher"};
       magazines[] = {"168Rnd_CMFlare_Chaff_Magazine"};
       memoryPointLRocket = "Rocket_1";
       memoryPointRRocket = "Rocket_2";
       irScanRangeMin = 0;
       irScanRangeMax = 1000;
       nightVision = 1;
       memoryPointCM[]  = {"flare_launcher1", "flare_launcher2"};
       memoryPointCMDir[] = {"flare_launcher1_dir", "flare_launcher2_dir"};
       radarType = 4;
       threat[] = {0.8, 1, 0.6};
       memoryPointsGetInCargo[] = {"pos codriver", "pos cargo"};
       memoryPointsGetInCargoDir[] = {"pos codriver dir", "pos cargo dir"};
       driverAction = "UH1Y_Pilot";
       driverInAction = "UH1Y_Pilot";
       cargoAction[] = {"UH1Y_Cargo02", "UH1Y_Cargo03", "UH1Y_Cargo03", "UH1Y_Cargo02", "UH1Y_Cargo01", "commander_sdv"};
       cargoIsCoDriver[]={false, false, false, false, false, false};
       driverCanSee = 31;
       gunnerCanSee = 31;
       transportSoldier = 6;
       transportAmmo = 9999;
       transportMaxMagazines = 9999;
       transportMaxWeapons = 9999;
       class TransportBackpacks
       {
           class _xx_B_Parachute
           {
               backpack = "B_Parachute";
               count = 0;
           };
       };
       class TransportItems
       {
           class _xx_FirstAidKit
           {
               name = "FirstAidKit";
               count = 20;
           };
           class _xx_Medikit
           {
               name = "Medikit";
               count = 2;
           };
       };
       initCargoAngleY = +10; 
       minCargoAngleY = -60;
       maxCargoAngleY = +120;
       minFireTime = 30;
       driverCompartments = "Compartment1";
       cargoCompartments[] = {"Compartment2"};
       class ViewPilot: ViewPilot
       {
           initFov = 1.4; 
           minFov = 0.6; 
           maxFov = 1.0;
             initAngleX = 0; 
           minAngleX = -65; 
           maxAngleX = +85; 
           initAngleY = 0; 
           minAngleY = -150; 
           maxAngleY = +150;
       };
       class Exhausts
       {
           class Exhaust1
           {
               position = "exhaust1";
               direction = "exhaust1_dir";
               effect = "ExhaustsEffectHeliCom";
           };
           class Exhaust2
           {
               position = "exhaust2";
               direction = "exhaust2_dir";
               effect = "ExhaustsEffectHeliCom";
           };
       };
       class MarkerLights 
       {
           class WhiteStill 
           {
               name = "bily pozicni";
               color[] = {1.0, 1.0, 1.0};
               ambient[] = {0.1, 0.1, 0.1};
               blinking = 1;
               intensity = 75;
               blinkingPattern[] = {0.1, 0.9};
               blinkingPatternGuarantee = 0;
               drawLightSize = 0.2;
               drawLightCenterSize = 0.04;
           };
           class RedStill 
           {
               name = "cerveny pozicni";
               color[] = {0.8, 0.0, 0.0};
               ambient[] = {0.08, 0.0, 0.0};
               intensity = 75;
               drawLight = 1;
               drawLightSize = 0.15;
               drawLightCenterSize = 0.04;
               activeLight = 0;
               blinking = 0;
               dayLight = 0;
               useFlare = 0;
           };
           class GreenStill 
           {
               name = "zeleny pozicni";
               color[] = {0.0, 0.8, 0.0};
               ambient[] = {0.0, 0.08, 0.0};
               intensity = 75;
               drawLight = 1;
               drawLightSize = 0.15;
               drawLightCenterSize = 0.04;
               activeLight = 0;
               blinking = 0;
               dayLight = 0;
               useFlare = 0;
           };
       };
       class Reflectors
       {
           class Middle
           {
               color[] = {7000, 7500, 10000, 1};
               ambient[] = {100, 100, 100, 0};
               position = "svetlo";
               direction = "svetlo konec";
               hitpoint = "svetlo";
               selection = "svetlo";
               size = 1;
               innerAngle = 20;
               outerAngle = 60;
               coneFadeCoef = 10;
               intensity = 50;
               useFlare = 1;
               dayLight = 0;
               FlareSize = 6;
               class Attenuation
               {
                   start = 1;
                   constant = 0;
                   linear = 0;
                   quadratic = 4;
               };
           };
       };
       dammageHalf[] = {};    
       dammageFull[] = {};    
       class Damage
       {
           tex[] = {};
           mat[] =
           {
               "ad_helos\data\uh1y_sklo.rvmat",
               "ad_helos\data\uh1y_sklo_damage.rvmat",
               "ad_helos\data\uh1y_sklo_damage.rvmat",


               "ad_helos\data\uh1y_sklo_in.rvmat",
               "ad_helos\data\uh1y_sklo_in_damage.rvmat",
               "ad_helos\data\uh1y_sklo_in_damage.rvmat",


               "ad_helos\data\uh1y_ext.rvmat",
               "ad_helos\data\uh1y_ext_damage.rvmat",
               "ad_helos\data\uh1y_ext_destruct.rvmat",


               "ad_helos\data\uh1y_int.rvmat",
               "ad_helos\data\uh1y_int_damage.rvmat",
               "ad_helos\data\uh1y_int_destruct.rvmat",


               "ad_helos\data\launcher.rvmat",
               "ad_helos\data\launcher.rvmat",
               "ad_helos\data\launcher_destruct.rvmat",


               "ad_helos\data\uh1y_cockpit.rvmat",
               "ad_helos\data\uh1y_cockpit_damage.rvmat",
               "ad_helos\data\uh1y_cockpit_destruct.rvmat"
           };
       };
       attenuationEffectType = "OpenHeliAttenuation";
       soundGetIn[] = {"ad_helos\sounds\heli_door_01",db-10,1};
       soundGetOut[] = {"ad_helos\sounds\heli_door_01",db-10,1, 40};
       soundEnviron[] = {"", db-30, 1.0};
       soundDammage[] = {"ad_helos\sounds\alarm_loop1", db-10, 1};
       soundEngineOnInt[] = {"ad_helos\sounds\int-start-final", db-7, 1.0};
       soundEngineOnExt[] = {"ad_helos\sounds\ext-motor-start", db-7, 1.0, 700};
       soundEngineOffInt[] =  {"ad_helos\sounds\int-stop-final", db-7, 1.0};
       soundEngineOffExt[] =  {"ad_helos\sounds\ext-motor-stop", db-7, 1.0, 700};
       soundLocked[] = {"\A3\Sounds_F\weapons\Rockets\opfor_lock_1",0.1,1};
       soundIncommingMissile[] = {"\A3\Sounds_F\weapons\Rockets\opfor_lock_2",0.1,1};
       soundGeneralCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_1",1.0,1,100};
       soundGeneralCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_2",1.0,1,100};
       soundGeneralCollision3[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_default_int_3",1.0,1,100};
       soundCrashes[] = {"soundGeneralCollision1",0.33,"soundGeneralCollision2",0.33,"soundGeneralCollision3",0.33};
       soundLandCrashes[] = {"emptySound",0};
       soundBuildingCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundArmorCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundWoodCrash[] = {"soundGeneralCollision1",1,"soundGeneralCollision2",1,"soundGeneralCollision3",1};
       soundBushCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_1",1.0,1,100};
       soundBushCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_2",1.0,1,100};
       soundBushCollision3[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_bush_int_3",1.0,1,100};
       soundBushCrash[] = {"soundBushCollision1",0.33,"soundBushCollision2",0.33,"soundBushCollision3",0.33};
       soundWaterCollision1[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_water_ext_1",1.0,1,100};
       soundWaterCollision2[] = {"A3\Sounds_F\vehicles\crashes\helis\Heli_coll_water_ext_2",1.0,1,100};
       soundWaterCrashes[] = {"soundWaterCollision1",0.5,"soundWaterCollision2",0.5};        
       rotorDamageInt[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_rotor_int_open_1",1.0,1.0};
       rotorDamageOut[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_rotor_ext_1",2.5118864,1.0,150};
       rotorDamage[] = {"rotorDamageInt","rotorDamageOut"};
       tailDamageInt[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_tail",1.0,1.0};
       tailDamageOut[] = {"A3\Sounds_F\vehicles\air\noises\heli_damage_tail",1.0,1.0,300};
       tailDamage[] = {"tailDamageInt","tailDamageOut"};
       landingSoundInt0[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_int1_open",1.0,1.0,100};
       landingSoundInt1[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_int1_open",1.0,1.0,100};
       landingSoundInt[] = {"landingSoundInt0",0.5,"landingSoundInt1",0.5};
       landingSoundOut0[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_ext1",1.7782794,1.0,100};
       landingSoundOut1[] = {"A3\Sounds_F\vehicles\air\noises\landing_skids_ext1",1.7782794,1.0,100};
       landingSoundOut[] = {"landingSoundOut0",0.5,"landingSoundOut1",0.5};
       slingCargoAttach0[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpEndINT",1.0,1.0};
       slingCargoAttach1[] = {"A3\Sounds_F\vehicles\air\noises\SL_1hookLock",1.0,1.0,80};
       slingCargoAttach[] = {"slingCargoAttach0","slingCargoAttach1"};
       slingCargoDetach0[] = {"A3\Sounds_F\dummysound",1.0,1.0};
       slingCargoDetach1[] = {"A3\Sounds_F\vehicles\air\noises\SL_1hookUnlock",1.0,1.0,80};
       slingCargoDetach[] = {"slingCargoDetach0","slingCargoDetach1"};
       slingCargoDetachAir0[] = {"A3\Sounds_F\vehicles\air\noises\SL_unhook_air_int",1.0,1.0};
       slingCargoDetachAir1[] = {"A3\Sounds_F\vehicles\air\noises\SL_unhook_air_ext",1.0,1.0,80};
       slingCargoDetachAir[] = {"slingCargoDetach0","slingCargoDetach1"};
       slingCargoRopeBreak0[] = {"A3\Sounds_F\vehicles\air\noises\SL_rope_break_int",1.0,1.0};
       slingCargoRopeBreak1[] = {"A3\Sounds_F\vehicles\air\noises\SL_rope_break_ext",1.0,1.0,80};
       slingCargoRopeBreak[] = {"slingCargoDetach0","slingCargoDetach1"};
       class Sounds
       {
           class Engine
           {
               sound[] = {"ad_helos\sounds\ext-fly-mode2", db8, 1.0, 800};
               frequency = "rotorSpeed";
               volume = "camPos*((rotorSpeed-0.72)*4)";
           };
           class RotorLowOut
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5b", db8, 1.0, 1400};
               frequency = "rotorSpeed";
               volume = "camPos*(0 max (rotorSpeed-0.1))";
               cone[] = {1.6,3.14, 2.0, 0.5};
           };
           class RotorHighOut
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5a", db8, 1.0, 1600};
               frequency = "rotorSpeed";
               volume = "camPos*10*(0 max (rotorThrust-0.9))" ;
               cone[] = {1.6,3.14, 2.0, 0.5};
           };
             class EngineIn
           {
               sound[] = {"ad_helos\sounds\int-fly-mode7", db0, 1.0};
               frequency = "rotorSpeed";
                volume = "(1-camPos)*((rotorSpeed-0.75)*4)";
           };
           class RotorLowIn
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5b", db0, 1.0};
               frequency = "rotorSpeed";
               volume = "2*(1-camPos)*((rotorSpeed factor[0.3, 1.1]) min (rotorSpeed factor[1.1, 0.3]))";
           };
           class RotorHighIn
           {
               sound[] = {"ad_helos\sounds\int-rotor-single5a", db0, 1.0};
               frequency = "rotorSpeed";
               volume = "(1-camPos)*3*(rotorThrust-0.9)" ;
           };
           class scrubTreeExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\scrubTreeExt",1.0,1.0,100};
               frequency = 1;
               volume = "camPos * ((scrubTree) factor [0, 0.01])";
           };
           class RainExt
           {
               sound[] = {"A3\Sounds_F\vehicles\noises\rain1_ext",1.0,1.0,100};
               frequency = 1;
               volume = "camPos * (rain - rotorSpeed/2) * 2";
           };
           class RainInt
           {
               sound[] = {"A3\Sounds_F\vehicles\noises\rain1_int_open",1.0,1.0,100};
               frequency = 1;
               volume = "(1-camPos)*(rain - rotorSpeed/2)*2";
           };
           class SlingLoadDownExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineDownEXT",1.0,1.0,500};
               frequency = 1;
               volume = "camPos*(slingLoadActive factor [0,-1])";
           };
           class SlingLoadUpExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpEXT",1.0,1.0,500};
               frequency = 1;
               volume = "camPos*(slingLoadActive factor [0,1])";
           };
           class SlingLoadDownInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineDownINT",1.0,1.0,500};
               frequency = 1;
               volume = "(1-camPos)*(slingLoadActive factor [0,-1])";
           };
           class SlingLoadUpInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\SL_engineUpINT",1.0,1.0,500};
               frequency = 1;
               volume = "(1-camPos)*(slingLoadActive factor [0,1])";
           };
           class damageAlarmInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_bluefor",0.31622776,1.0};
               frequency = 1;
               volume = "engineOn * (1 - camPos) * ( 1 - ((transmissionDamage factor [0.61, 0.60]) * (motorDamage factor [0.61, 0.60]) * (rotorDamage factor [0.51, 0.50]))) * (rotorSpeed factor [0.0, 0.001])";
           };
           class damageAlarmExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_bluefor",0.2238721,1.0,20};
               frequency = 1;
               volume = "engineOn * camPos * ( 1 - ((transmissionDamage factor [0.61, 0.60]) * (motorDamage factor [0.61, 0.60]) * (rotorDamage factor [0.51, 0.50]))) * (rotorSpeed factor [0, 0.001])";
           };
           class rotorLowAlarmInt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_rotor_low",0.31622776,1.0};
               frequency = 1;
               volume = "engineOn * (1 - camPos) * (rotorSpeed factor [0.9, 0.8999]) * (rotorSpeed factor [-0.5, 1]) * (speed factor [3, 3.01])";
           };
           class rotorLowAlarmExt
           {
               sound[] = {"A3\Sounds_F\vehicles\air\noises\heli_alarm_rotor_low",0.2238721,1.0,20};
               frequency = 1;
               volume = "engineOn * camPos * (rotorSpeed factor [0.9, 0.8999]) * (rotorSpeed factor [-0.5, 1]) * (speed factor [3, 3.01])";
           };    
       };    
   };
   class ad_uh1y: ad_uh1y_base
   {
       scope = 2;
       vehicleClass = "ad_helos";
       model = "\ad_helos\uh1y_venom.p3d";
       displayName = "UH-1Y 'Venom'";
       crew = "AD_USMC_Pilot";
       picture = "\ad_helos\data\icon_uh1y.paa";
       icon = "\ad_helos\data\icon_uh1y.paa";
       transportSoldier = 2;
       cargoProxyIndexes[] = {5,6};
       //cargoAction[] = {"UH1Y_Cargo02", "UH1Y_Cargo03", "UH1Y_Cargo03", "UH1Y_Cargo02", "UH1Y_Cargo01", "commander_sdv"};
       cargoAction[] = {"passenger_inside_1", "passenger_inside_2", "passenger_inside_3", "passenger_inside_1", "UH1Y_Cargo01", "commander_sdv"};
       class CargoTurret;
       class Turrets: Turrets
       {
           class CargoTurret_01: CargoTurret
           {    
               gunnerAction = "passenger_inside_1";
               gunnerCompartments = "";
               memoryPointsGetInGunner = "pos cargo";
               memoryPointsGetInGunnerDir = "pos cargo dir";
               gunnerName = "Cargo Right Aft";
               proxyIndex = 1;
               maxElev = 15;
               minElev = -30;
               maxTurn = -25;
               minTurn = -100;
               isPersonTurret = 1;
               ejectDeadGunner = 0;
               enabledByAnimationSource = "";
               usepip = 0;    
               gunnerOutOpticsModel = "";
               gunnerOpticsModel = "";
               startEngine = 0;
               outGunnerMayFire = 1;
               inGunnerMayFire = 0;
               commanding=-2;
               memoryPointGunnerOptics="";
           };
           class CargoTurret_02: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_2";
               gunnerName = "Cargo Left Aft";
               proxyIndex = 2;
               maxElev = 10;
               minElev = -30;
               maxTurn = 30;
               minTurn = -50;
           };
           class CargoTurret_03: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_3";
               gunnerName = "Cargo Right Front";
               proxyIndex = 3;
               maxElev = 10;
               minElev = -30;
               maxTurn = 75;
               minTurn = -35;
           };
           class CargoTurret_04: CargoTurret_01
           {        
               gunnerAction = "passenger_inside_1";
               gunnerName = "Cargo Left Front";
               proxyIndex = 3;
               maxElev = 10;
               minElev = -30;
               maxTurn = 55;
               minTurn = -35;
           };
           class MainTurret: MainTurret 
           {
               isCopilot = 0;
               body = "mainTurret";
               gun = "mainGun";            
               minElev=-60; 
               maxElev=+30; 
               initElev="--15";                
               minTurn=-5; 
               maxTurn=180; 
               initTurn=90;                
               soundServo[] = {,db-40,1.0};
               animationSourceHatch = "";
               animationSourceBody="mainTurret";
               animationSourceGun="mainGun";
               stabilizedInAxes = 0;
               gunBeg = "muzzle_1";
               gunEnd = "chamber_1";
               weapons[]={"HMG_127_APC"};
               magazines[]={"500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red", "500Rnd_127x99_mag_Tracer_Red"};
               gunnerName = "Left M2 Gunner";
               memoryPointGun = "machinegun";
               memoryPointGunnerOptics = "gunnerview";
               gunnerOpticsModel = "\ad_helos\uh1y_optics";
               gunnerOutOpticsShowCursor = 1;
               gunnerOpticsShowCursor = 1;
               gunnerAction = "mas_UH1Y_Cargo03";
               gunnerInAction = "gunner_Heli_Transport_01";
               commanding = -2;
               primaryGunner = 0;
               gunnerCompartments = "Compartment2";
               class ViewOptics
               {
                   initAngleX=0; 
                   minAngleX=-30; 
                   maxAngleX=+30;
                   initAngleY=0; 
                   minAngleY=-100; 
                   maxAngleY=+100;
                   initFov=1.0; 
                   minFov=0.25; 
                   maxFov=0.8;
               };
               class OpticsIn
               {
                   class Wide 
                   {
                       opticsDisplayName = "W";
                       initAngleX = 0;
                       minAngleX = -30;
                       maxAngleX = +30;
                       initAngleY = 0;
                       minAngleY = -100;
                       maxAngleY = +100;
                       initFov = 0.466;
                       minFov = 0.466;
                       maxFov = 0.466;
                       visionMode[] = {"Normal","NVG","Ti"};
                       thermalMode[] = {0,1};
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                   };
                   class Narrow: Wide 
                   {
                       opticsDisplayName = "N";
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                       initFov = 0.05;
                       minFov = 0.05;
                       maxFov = 0.05;
                   };
               };
               class OpticsOut
               {
                   class Monocular 
                   {
                       initAngleX = 0; 
                       minAngleX = -30; 
                       maxAngleX = +30;
                       initAngleY = 0; 
                       minAngleY = -100; 
                       maxAngleY = +100;
                       initFov = 1.1; 
                       minFov = 0.133; 
                       maxFov = 1.1;
                       visionMode[] = {"Normal","NVG"};
                       gunnerOpticsModel = "";
                       gunnerOpticsEffect[] = {};
                   };
               };
           };
           class RightDoorGun: MainTurret
           {
               isCopilot = 0;
               body = "Turret2";
               gun = "Gun_2";
               animationSourceBody = "Turret_2";
               animationSourceGun = "Gun_2";
               stabilizedInAxes = 0;
               selectionFireAnim = "zasleh_1";
               proxyIndex = 2;
               gunnerName = "Right M134 Gunner";
               commanding = -3;            
               minElev=-60; 
               maxElev=+30; 
               initElev=-45;                
               minTurn=-180; 
               maxTurn=5; 
               initTurn=-90;        
               weapons[] = {"LMG_Minigun2"};
               magazines[] = {"2000Rnd_65x39_Belt_Tracer_Red"};
               gunBeg = "muzzle_2"; 
               gunEnd = "chamber_2"; 
               primaryGunner = 0;
               memoryPointGun = "machinegun_2";
               memoryPointGunnerOptics = "gunnerview_2";
               hasGunner = true;
               hasCrew = true;
           };
           class CoPilotObs: MainTurret
           {
               isCopilot = 1;
               stabilizedInAxes = "StabilizedInAxesBoth";
               proxyIndex = 3;
               gunnerName = "Co-Pilot"; 
               gunnerAction = "UH1Y_Gunner02";
               gunnerInAction = "UH1Y_Gunner02";
               body = "ObsTurret";
               gun = "ObsGun";
               animationSourceBody = "ObsTurret";
               animationSourceGun = "ObsGun";
               outGunnerMayFire = 1; 
               gunBeg = "gun_end"; 
               gunEnd = "gun_begin"; 
               memoryPointGun = "gun_end";
               commanding = -1;                
               weapons[] = {"Safe","missiles_DAGR"};
               magazines[] = {"12Rnd_PG_missiles"};
               memoryPointLMissile = "Rocket_2";
               memoryPointRMissile = "Rocket_1";    
               primaryGunner = 0;
               minElev = -80;
               maxElev = +25;
               initElev = 0;
               minTurn = -100;  
               maxTurn = 100; 
               initTurn = 0;
               gunnerOpticsModel = "\ad_helos\uh1y_optics";
               memoryPointGunnerOptics = "commanderview";
               gunnerForceOptics = false;
               gunnerOpticsShowCursor = 1;
               class ViewOptics
               {
                   initAngleX = 0; 
                   minAngleX = -30; 
                   maxAngleX = +30;
                   initAngleY = 40; 
                   minAngleY = -100; 
                   maxAngleY = +100;
                   initFov = 1.4; 
                   minFov = 0.3; 
                   maxFov = 1.0;
               };
               gunnerCompartments = "Compartment2";
               startEngine = 0;
               soundServo[] = {,db-40,1.0};
               turretInfoType = "RscOptics_Heli_Attack_01_gunner";
               memoryPointsGetInGunner = "pos codriver";
               memoryPointsGetInGunnerDir = "pos codriver dir";
               selectionFireAnim = "";
               castGunnerShadow = 1;
               viewGunnerShadow = 1;
               class OpticsIn
               {
                   class Wide 
                   {
                       opticsDisplayName = "W";
                       initAngleX = 0;
                       minAngleX = -30;
                       maxAngleX = +30;
                       initAngleY = 0;
                       minAngleY = -100;
                       maxAngleY = +100;
                       initFov = 0.466;
                       minFov = 0.466;
                       maxFov = 0.466;
                       visionMode[] = {"Normal","NVG","Ti"};
                       thermalMode[] = {0,1};
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                   };
                   class Narrow: Wide 
                   {
                       opticsDisplayName = "N";
                       gunnerOpticsModel = "\ad_helos\uh1y_optics";
                       initFov = 0.05;
                       minFov = 0.05;
                       maxFov = 0.05;
                   };
               };
               class OpticsOut
               {
                   class Monocular 
                   {
                       initAngleX = 0; 
                       minAngleX = -30; 
                       maxAngleX = +30;
                       initAngleY = 0; 
                       minAngleY = -100; 
                       maxAngleY = +100;
                       initFov = 1.1; 
                       minFov = 0.133; 
                       maxFov = 1.1;
                       visionMode[] = {"Normal","NVG"};
                       gunnerOpticsModel = "";
                       gunnerOpticsEffect[] = {};
                   };
               };
           };
       };
       class AnimationSources: AnimationSources
       {
           class Gatling_1
           {
               source="revolving";
               weapon="LMG_Minigun";
           };
           class Gatling_2
           {
               source="revolving";
               weapon="LMG_Minigun2";
           };
       };
   };
};

Edited by ADuke823

Share this post


Link to post
Share on other sites

Try this

	selectionHRotorStill = "velka vrtule staticka";
	selectionHRotorMove = "velka vrtule blur";
	selectionVRotorStill = "mala vrtule staticka";
	selectionVRotorMove = "mala vrtule blur";

add it like this

   class ad_uh1y_base: Helicopter_Base_F //External
   {
       features = "Slingload: Slingloads up to 2000kg";
       slingLoadMaxCargoMass = 2000;
       showNVGCargo[] = {0,0,1};
       destrType = "DestructWreck";        
       scope = 0;
       side = 1;
[color="red"]
       selectionHRotorStill = "velka vrtule staticka";
selectionHRotorMove = "velka vrtule blur";
selectionVRotorStill = "mala vrtule staticka";
selectionVRotorMove = "mala vrtule blur";
[/color]

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×