Advertisement
Gamenator

CUP MI-8 new base for personal boss chopper

Mar 16th, 2023
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 18.69 KB | None | 0 0
  1.  
  2. class components;
  3. class SensorTemplateActiveRadar;
  4. class SensorTemplateAntiRadiation;
  5. class SensorTemplateIR;
  6. class SensorTemplateLaser;
  7. class SensorTemplateMan;
  8. class SensorTemplateNV;
  9. class SensorTemplatePassiveRadar;
  10. class SensorTemplateVisual;
  11. class DefaultVehicleSystemsDisplayManagerRight;
  12. class DefaultVehicleSystemsDisplayManagerLeft;
  13. class VehicleSystemsTemplateLeftPilot: DefaultVehicleSystemsDisplayManagerLeft
  14. {
  15.     class Components;
  16. };
  17. class VehicleSystemsTemplateRightPilot: DefaultVehicleSystemsDisplayManagerRight
  18. {
  19.     class Components;
  20. };
  21. class VehicleSystemsTemplateLeftGunner: DefaultVehicleSystemsDisplayManagerLeft
  22. {
  23.     class Components;
  24. };
  25. class VehicleSystemsTemplateRightGunner: DefaultVehicleSystemsDisplayManagerRight
  26. {
  27.     class Components;
  28. };
  29.  
  30.  
  31. class cfgVehicles{
  32.  
  33.     class Air;
  34.     class Helicopter: Air
  35.     {
  36.         class HitPoints;
  37.     };
  38. class Helicopter_Base_F: Helicopter
  39.     {
  40.         class Turrets;
  41.     };
  42.     class Helicopter_Base_H: Helicopter_Base_F
  43.     {
  44.         class Turrets: Turrets
  45.         {
  46.             class MainTurret;
  47.             class CopilotTurret;
  48.         };
  49.     };
  50.  
  51.     class cup_mi8_base:Helicopter_Base_H{
  52.         class Turrets: Turrets
  53.         {
  54.             class MainTurret;
  55.             class CopilotTurret;
  56.             class BackTurret;
  57.         };
  58.     };
  59.  
  60.     class CUP_Mi8_MTV3_base:cup_mi8_base{
  61.         class Turrets:Turrets{
  62.             class MainTurret;
  63.             class CopilotTurret;
  64.             class sideTurret;
  65.         };
  66.  
  67.  
  68.     };
  69.  
  70.  
  71. class PW_FLPMC_B_MI8_RKT2 : CUP_Mi8_MTV3_base{
  72.  
  73.  
  74.         scope = 2;
  75.         side = 1;
  76.         faction = "B_FLPMC";
  77.         displayName="Mi-8MTV4 Hip C";
  78.         crew = "B_FLPMC_Helicopter_Crew_01";
  79.         typicalCargo[]=
  80.         {
  81.             "B_FLPMC_Helicopter_Crew_01",
  82.             "B_FLPMC_Helicopter_Crew_01",
  83.             "B_FLPMC_Helicopter_Crew_01",
  84.             "B_FLPMC_Helicopter_Crew_01"
  85.         };
  86.         editorPreview="MI8\ARM.jpg";
  87.     hiddenSelectionsTextures[]=
  88.         {
  89.             "MI8\data\mi8_green_1_co.paa",
  90.             "MI8\data\mi8_green_2_co.paa"
  91.         };
  92.          class TextureSources
  93.         {
  94.         class Green
  95.             {
  96.                 displayName="Green";
  97.                 author="Gamenator";
  98.                 textures[]=
  99.                 {
  100.                     "MI8\data\mi8_green_1_co.paa",
  101.                     "MI8\data\mi8_green_2_co.paa"
  102.                    
  103.                 };
  104.                 factions[]=
  105.                 {
  106.                     "B_FLPMC",
  107.                     "O_FLPMC",
  108.                     "I_FLPMC"
  109.                    
  110.                 };
  111.             };
  112.            
  113.             class Desert
  114.             {
  115.                 displayName="Desert";
  116.                 author="Gamenator";
  117.                 textures[]=
  118.                 {
  119.                     "MI8\data\mi8_desert_1_co.paa",
  120.                     "MI8\data\mi8_desert_2_co.paa"
  121.                    
  122.                 };
  123.                 factions[]=
  124.                 {
  125.                     "B_FLPMC",
  126.                     "O_FLPMC",
  127.                     "I_FLPMC"
  128.                 };
  129.             };
  130.            
  131.            
  132.                 class Black
  133.             {
  134.                 displayName="Black";
  135.                 author="Gamenator";
  136.                 textures[]=
  137.                 {
  138.                     "MI8\data\mi8_black_1_co.paa",
  139.                     "MI8\data\mi8_black_2_co.paa"
  140.                    
  141.                 };
  142.                 factions[]=
  143.                 {
  144.                     "B_FLPMC",
  145.                     "O_FLPMC",
  146.                     "I_FLPMC"
  147.                    
  148.                 };
  149.             };
  150.            
  151.             class Grey
  152.             {
  153.                 displayName="Grey";
  154.                 author="Gamenator";
  155.                 textures[]=
  156.                 {
  157.                     "MI8\data\mi8_grey_1_co.paa",
  158.                     "MI8\data\mi8_grey_2_co.paa"
  159.                
  160.                 };
  161.                 factions[]=
  162.                 {
  163.                     "B_FLPMC",
  164.                     "O_FLPMC",
  165.                     "I_FLPMC"
  166.                 };
  167.             };
  168.         };
  169.         class pilotCamera // A class that creates a turret-like slewable secondary optics for the pilot. Used to simulate Targeting Pods.
  170.         {
  171.             class OpticsIn
  172.             {
  173.                 class Wide
  174.                 {
  175.                     initAngleX          = 0; minAngleX=0; maxAngleX=0;
  176.                     initAngleY          = 0; minAngleY=0; maxAngleY=0;
  177.                     initFov             = 0.25;             // Zoom level of the magnification mode. In this case discrete - min/max/init set to the same value
  178.                     minFov              = 0.25;
  179.                     maxFov              = 0.25;
  180.                     directionStabilized = 1;                // Allows stabilization of the turret
  181.                     visionMode[]        = {"Normal","Ti","NVG"};    // Available spectrum modes - in this case visible and thermal
  182.                     thermalMode[]       = {0,1};            // TI modes - in this case WHOT and BHOT
  183.                     gunnerOpticsModel   = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_wide_F.p3d"; // model used for the reticle
  184.                     opticsPPEffects[]   = {};               // post-process effects used in the optics
  185.                 };
  186.                 class Medium : Wide
  187.                 {
  188.                     opticsDisplayName   = "MFOV";
  189.                     initFov             = A3_FOV_DEG(6);
  190.                     minFov              = A3_FOV_DEG(6);
  191.                     maxFov              = A3_FOV_DEG(6);
  192.                     gunnerOpticsModel   = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_medium_F.p3d";
  193.                 };
  194.                 class Narrow : Wide
  195.                 {
  196.                     initFov             = 0.125;
  197.                     minFov              = 0.125;
  198.                     maxFov              = 0.125;
  199.                     gunnerOpticsModel   = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  200.                 };
  201.                 showMiniMapInOptics             = true;
  202.                 showUAVViewInOptics             = false;
  203.                 showSlingLoadManagerInOptics    = false;
  204.             };
  205.  
  206.             minTurn                 = -180;     // yaw limits
  207.             maxTurn                 = +180;     // yaw limits
  208.             initTurn                = 0;        // initial yaw angle
  209.             minElev                 = 8;        // pitch limits
  210.             maxElev                 = 90;       // pitch limits
  211.             initElev                = 0;        // initial pitch angle
  212.             maxXRotSpeed            = 0.3;      // yawing speed
  213.             maxYRotSpeed            = 0.3;      // pitching speed
  214.             maxMouseXRotSpeed       = 0.5;      // yawing speed for mouse
  215.             maxMouseYRotSpeed       = 0.5;      // pitching speed for mouse
  216.             pilotOpticsShowCursor   = 1;        // aimCursor is display inside optics (is useful to see plane direction)
  217.             controllable            = true;     // camera can be slewed, set to 0 to have static camera
  218.         };
  219.         memoryPointDriverOptics = "konec l svetla";
  220.         //unitInfoType          = "RscOptics_CAS_Pilot";    //rsc with DriverOptics elements
  221.         driverWeaponsInfoType   = "RscOptics_CAS_01_TGP";   //resource with Weapon UI elements that will be used when looking through the pilotCamera
  222.  
  223.         class Turrets:Turrets
  224.         {
  225.             class SideTurret: MainTurret
  226.             {
  227.                 proxyIndex=2;
  228.                 commanding=-1;
  229.                 primaryGunner=0;
  230.                 gunnerName="$STR_A3_LEFT_GUNNER";
  231.             };
  232.             class BackTurret: BackTurret
  233.             {
  234.                 gunnerName="$STR_A3_REAR_GUNNER";
  235.                 primaryGunner=0;
  236.                 commanding=-3;
  237.                 proxyIndex=3;
  238.             };
  239.             class FrontTurret: MainTurret
  240.             {
  241.                 proxyIndex=1;
  242.                 gunnerName="$STR_CUP_POSITION_Core_CC";
  243.                 body="Turret_3";
  244.                 gun="Gun_3";
  245.                 animationSourceBody="Turret_3";
  246.                 animationSourceGun="Gun_3";
  247.                 minElev=-80;
  248.                 maxElev=25;
  249.                 initElev=-10;
  250.                 minTurn=-44;
  251.                 maxTurn=44;
  252.                 initTurn=0;
  253.                 weapons[]=
  254.                 {
  255.                     "CUP_Vhmg_PKT_veh3"
  256.                 };
  257.                 stabilizedInAxes=0;
  258.                 gunBeg="muzzle_3";
  259.                 gunEnd="chamber_3";
  260.                 gunnerAction="CUP_Mi8_Gunner";
  261.                 gunnerInAction="CUP_Mi8_Gunner";
  262.                 memoryPointGun="muzzle_3";
  263.                 memoryPointGunnerOptics="gunnerview3";
  264.                 selectionFireAnim="zasleh3";
  265.                 primaryGunner=1;
  266.                 commanding=-1;
  267.             };
  268.                class CopilotTurret: MainTurret
  269.             {
  270.                 isCopilot=1;
  271.                 weapons[]=
  272.                 {
  273.                     "Laserdesignator_mounted"
  274.                 };
  275.                 magazines[]=
  276.                 {
  277.                     "Laserbatteries"
  278.                 };
  279.                
  280.                 memoryPointGunnerOptics="konec l svetla";
  281.                 gunnerOpticsEffect[]={};
  282.                 gunnerOpticsModel="";
  283.             body="Turret_3";
  284.                 gun="Gun_3";
  285.                 animationSourceBody="Turret_3";
  286.                 animationSourceGun="Gun_3";
  287.                 gunBeg="muzzle_3";
  288.                 gunEnd="chamber_3";
  289.                 turretInfoType="RscOptics_UAV_gunner";
  290.                 minTurn=-180;
  291.                 maxTurn=180;
  292.                 initTurn=0;
  293.                 minElev=7;
  294.                 maxElev=90;
  295.                 initElev=0;
  296.                 enableManualFire=1;
  297.                 stabilizedInAxes=0;
  298.                 usePip=1;
  299.                 class Components
  300.                 {
  301.                     class VehicleSystemsDisplayManagerComponentLeft: DefaultVehicleSystemsDisplayManagerLeft
  302.                     {
  303.                         defaultDisplay="EmptyDisplay";
  304.                         class Components
  305.                         {
  306.                             class SensorsDisplay
  307.                             {
  308.                                 componentType="SensorsDisplayComponent";
  309.                                 range[]={16000,8000,4000,2000};
  310.                                 resource="RscCustomInfoSensors";
  311.                             };
  312.                             class CrewDisplay
  313.                             {
  314.                                 componentType="CrewDisplayComponent";
  315.                                 resource="RscCustomInfoCrew";
  316.                             };
  317.                             class MinimapDisplay
  318.                             {
  319.                                 componentType="MinimapDisplayComponent";
  320.                                 resource="RscCustomInfoMiniMap";
  321.                             };
  322.                             class EmptyDisplay
  323.                             {
  324.                                 componentType="EmptyDisplayComponent";
  325.                             };
  326.                         };
  327.                     };
  328.                     class VehicleSystemsDisplayManagerComponentRight: DefaultVehicleSystemsDisplayManagerRight
  329.                     {
  330.                         defaultDisplay="SensorsDisplay";
  331.                         class Components
  332.                         {
  333.                             class SensorsDisplay
  334.                             {
  335.                                 componentType="SensorsDisplayComponent";
  336.                                 range[]={16000,8000,4000,2000};
  337.                                 resource="RscCustomInfoSensors";
  338.                             };
  339.                             class CrewDisplay
  340.                             {
  341.                                 componentType="CrewDisplayComponent";
  342.                                 resource="RscCustomInfoCrew";
  343.                             };
  344.                             class MinimapDisplay
  345.                             {
  346.                                 componentType="MinimapDisplayComponent";
  347.                                 resource="RscCustomInfoMiniMap";
  348.                             };
  349.                             class EmptyDisplay
  350.                             {
  351.                                 componentType="EmptyDisplayComponent";
  352.                             };
  353.                         };
  354.                     };
  355.                 };
  356.                 class OpticsIn
  357.                 {
  358.                     class WideNGS
  359.                     {
  360.                         opticsDisplayName="W";
  361.                         initAngleX=0;
  362.                         minAngleX=-35;
  363.                         maxAngleX=10;
  364.                         initAngleY=0;
  365.                         minAngleY=-100;
  366.                         maxAngleY=100;
  367.                         initFov=0.46599999;
  368.                         minFov=0.46599999;
  369.                         maxFov=0.46599999;
  370.                         visionMode[]=
  371.                         {
  372.                             "Normal",
  373.                             "NVG",
  374.                             "Ti"
  375.                         };
  376.                         thermalMode[]={0,1};
  377.                         gunnerOpticsColor[]={0.15000001,1,0.15000001,1};
  378.                         gunnerOpticsModel="A3\Weapons_F\Reticle\Optics_Gunner_MBT_03_w_F.p3d";
  379.                         directionStabilized=0;
  380.                         opticsPPEffects[]=
  381.                         {
  382.                             "OpticsCHAbera2",
  383.                             "OpticsBlur2"
  384.                         };
  385.                     };
  386.                     class Wide
  387.                     {
  388.                         opticsDisplayName="W";
  389.                         initAngleX=0;
  390.                         minAngleX=-35;
  391.                         maxAngleX=10;
  392.                         initAngleY=0;
  393.                         minAngleY=-100;
  394.                         maxAngleY=100;
  395.                         initFov=0.46599999;
  396.                         minFov=0.46599999;
  397.                         maxFov=0.46599999;
  398.                         visionMode[]=
  399.                         {
  400.                             "Normal",
  401.                             "NVG",
  402.                             "Ti"
  403.                         };
  404.                         thermalMode[]={0,1};
  405.                         gunnerOpticsColor[]={0.15000001,1,0.15000001,1};
  406.                         gunnerOpticsModel="A3\Weapons_F\Reticle\Optics_Gunner_MBT_02_w_F.p3d";
  407.                         directionStabilized=1;
  408.                         opticsPPEffects[]=
  409.                         {
  410.                             "OpticsCHAbera2",
  411.                             "OpticsBlur2"
  412.                         };
  413.                         gunnerOpticsEffect[]=
  414.                         {
  415.                             "TankCommanderOptics1"
  416.                         };
  417.                     };
  418.                     class WideL: Wide
  419.                     {
  420.                         opticsDisplayName="WL";
  421.                         initFov=0.2;
  422.                         minFov=0.2;
  423.                         maxFov=0.2;
  424.                         gunnerOpticsModel="A3\Weapons_F\Reticle\Optics_Gunner_MBT_02_m_F.p3d";
  425.                         gunnerOpticsColor[]={0,0,0,1};
  426.                         directionStabilized=1;
  427.                         opticsPPEffects[]=
  428.                         {
  429.                             "OpticsCHAbera2",
  430.                             "OpticsBlur2"
  431.                         };
  432.                     };
  433.                     class Medium: Wide
  434.                     {
  435.                         opticsDisplayName="M";
  436.                         initFov=0.1;
  437.                         minFov=0.1;
  438.                         maxFov=0.1;
  439.                         directionStabilized=1;
  440.                         gunnerOpticsColor[]={0,0,0,1};
  441.                         gunnerOpticsModel="A3\Weapons_F\Reticle\Optics_Gunner_MBT_02_m_F.p3d";
  442.                     };
  443.                     class Narrow: Wide
  444.                     {
  445.                         opticsDisplayName="N";
  446.                         gunnerOpticsColor[]={0,0,0,1};
  447.                         gunnerOpticsModel="A3\Weapons_F\Reticle\Optics_Gunner_MBT_02_n_F.p3d";
  448.                         directionStabilized=1;
  449.                         initFov=0.02;
  450.                         minFov=0.02;
  451.                         maxFov=0.02;
  452.                     };
  453.                     class Narrower: Wide
  454.                     {
  455.                         opticsDisplayName="N";
  456.                         gunnerOpticsColor[]={0,0,0,1};
  457.                         gunnerOpticsModel="A3\Weapons_F\Reticle\Optics_Gunner_MBT_02_n_F.p3d";
  458.                         directionStabilized=1;
  459.                         initFov=0.013157895;
  460.                         minFov=0.013157895;
  461.                         maxFov=0.013157895;
  462.                     };
  463.                 };
  464.                 class OpticsOut
  465.                 {
  466.                     class Monocular
  467.                     {
  468.                         initAngleX=0;
  469.                         minAngleX=-100;
  470.                         maxAngleX=100;
  471.                         initAngleY=0;
  472.                         minAngleY=-89;
  473.                         maxAngleY=89;
  474.                         initFov=1.1;
  475.                         minFov=0.133;
  476.                         maxFov=1.1;
  477.                         visionMode[]=
  478.                         {
  479.                             "Normal",
  480.                             "NVG"
  481.                         };
  482.                         gunnerOpticsModel="\A3\weapons_f\reticle\optics_empty";
  483.                         gunnerOpticsEffect[]={};
  484.                     };
  485.                 };
  486.                 gunnerAction="CUP_Mi8_Pilot";
  487.                 gunnerInAction="CUP_Mi8_Pilot";
  488.                 precisegetinout=1;
  489.                 gunnerGetInAction="copilot_Heli_Light_02_Enter";
  490.                 gunnerGetOutAction="copilot_Heli_Light_02_Exit";
  491.                 memoryPointsGetInCargo="pos codriver";
  492.                 memoryPointsGetInCargoDir="pos codriver dir";
  493.                 canEject=0;
  494.                 maxHorizontalRotSpeed=3;
  495.                 maxVerticalRotSpeed=3;
  496.                 gunnerName="Copilot";
  497.                 proxyType="CPGunner";
  498.                 proxyIndex=4;
  499.                 controllable= true;     // camera can be slewed, set to 0 to have static camera
  500.             };
  501.         };
  502.         class Components: Components
  503.         {
  504.             class VehicleSystemsDisplayManagerComponentLeft: DefaultVehicleSystemsDisplayManagerLeft
  505.             {
  506.                 defaultDisplay="EmptyDisplay";
  507.                 class Components
  508.                 {
  509.                     class MissileDisplay
  510.                     {
  511.                         componentType="TransportFeedDisplayComponent";
  512.                         source="Missile";
  513.                     };
  514.                     class SensorsDisplay
  515.                     {
  516.                         componentType="SensorsDisplayComponent";
  517.                         range[]={16000,8000,4000,2000};
  518.                         resource="RscCustomInfoSensors";
  519.                     };
  520.                     class CrewDisplay
  521.                     {
  522.                         componentType="CrewDisplayComponent";
  523.                         resource="RscCustomInfoCrew";
  524.                     };
  525.                     class MinimapDisplay
  526.                     {
  527.                         componentType="MinimapDisplayComponent";
  528.                         resource="RscCustomInfoMiniMap";
  529.                     };
  530.                     class EmptyDisplay
  531.                     {
  532.                         componentType="EmptyDisplayComponent";
  533.                     };
  534.                 };
  535.             };
  536.             class VehicleSystemsDisplayManagerComponentRight: DefaultVehicleSystemsDisplayManagerRight
  537.             {
  538.                 defaultDisplay="SensorsDisplay";
  539.                 class Components
  540.                 {
  541.                     class MissileDisplay
  542.                     {
  543.                         componentType="TransportFeedDisplayComponent";
  544.                         source="Missile";
  545.                     };
  546.                     class SensorsDisplay
  547.                     {
  548.                         componentType="SensorsDisplayComponent";
  549.                         range[]={16000,8000,4000,2000};
  550.                         resource="RscCustomInfoSensors";
  551.                     };
  552.                     class CrewDisplay
  553.                     {
  554.                         componentType="CrewDisplayComponent";
  555.                         resource="RscCustomInfoCrew";
  556.                     };
  557.                     class MinimapDisplay
  558.                     {
  559.                         componentType="MinimapDisplayComponent";
  560.                         resource="RscCustomInfoMiniMap";
  561.                     };
  562.                     class EmptyDisplay
  563.                     {
  564.                         componentType="EmptyDisplayComponent";
  565.                     };
  566.                 };
  567.             };
  568.             class SensorsManagerComponent
  569.             {
  570.                 class Components
  571.                 {
  572.                     class IRSensorComponent: SensorTemplateIR
  573.                     {
  574.                         aimDown=0;
  575.                         angleRangeHorizontal=360;
  576.                         angleRangeVertical=360;
  577.                         typeRecognitionDistance=1500;
  578.                         class AirTarget
  579.                         {
  580.                             maxRange=3000;
  581.                             minRange=50;
  582.                             objectDistanceLimitCoef=1;
  583.                             viewDistanceLimitCoef=1;
  584.                         };
  585.                         class GroundTarget
  586.                         {
  587.                             maxRange=3000;
  588.                             minRange=50;
  589.                             objectDistanceLimitCoef=1;
  590.                             viewDistanceLimitCoef=1;
  591.                         };
  592.                     };
  593.                     class PassiveRadarComponent: SensorTemplatePassiveRadar
  594.                     {
  595.                     };
  596.                     class ActiveRadarComponent: SensorTemplateActiveRadar
  597.                     {
  598.                         aimDown=0;
  599.                         angleRangeHorizontal=90;
  600.                         angleRangeVertical=90;
  601.                         typeRecognitionDistance=3500;
  602.                         class AirTarget
  603.                         {
  604.                             maxRange=7000;
  605.                             minRange=0;
  606.                             objectDistanceLimitCoef=-1;
  607.                             viewDistanceLimitCoef=-1;
  608.                         };
  609.                         class GroundTarget
  610.                         {
  611.                             maxRange=5000;
  612.                             minRange=0;
  613.                             objectDistanceLimitCoef=-1;
  614.                             viewDistanceLimitCoef=-1;
  615.                         };
  616.                     };
  617.                     class VisualSensorComponent: SensorTemplateVisual
  618.                     {
  619.                         aimDown=0;
  620.                         angleRangeHorizontal=360;
  621.                         angleRangeVertical=360;
  622.                         maxTrackableSpeed=110;
  623.                         typeRecognitionDistance=1000;
  624.                         class AirTarget
  625.                         {
  626.                             maxRange=2500;
  627.                             minRange=50;
  628.                             objectDistanceLimitCoef=1;
  629.                             viewDistanceLimitCoef=1;
  630.                         };
  631.                         class GroundTarget
  632.                         {
  633.                             maxRange=2500;
  634.                             minRange=50;
  635.                             objectDistanceLimitCoef=1;
  636.                             viewDistanceLimitCoef=1;
  637.                         };
  638.                     };
  639.                     class NVSensorComponent: SensorTemplateNV
  640.                     {
  641.                         aimDown=0;
  642.                         angleRangeHorizontal=360;
  643.                         angleRangeVertical=360;
  644.                         typeRecognitionDistance=1500;
  645.                         class AirTarget
  646.                         {
  647.                             maxRange=3000;
  648.                             minRange=50;
  649.                             objectDistanceLimitCoef=1;
  650.                             viewDistanceLimitCoef=1;
  651.                         };
  652.                         class GroundTarget
  653.                         {
  654.                             maxRange=3000;
  655.                             minRange=50;
  656.                             objectDistanceLimitCoef=1;
  657.                             viewDistanceLimitCoef=1;
  658.                         };
  659.                     };
  660.                     class LaserSensorComponent: SensorTemplateLaser
  661.                     {
  662.                     };
  663.                 };
  664.             };
  665.  
  666.             class TransportPylonsComponent
  667.             {
  668.                 UIPicture="\CUP\AirVehicles\CUP_AirVehicles_Mi8\data\ui\CUP_Mi8_3DEN_ca.paa";
  669.                 class presets
  670.                 {
  671.                     class Empty
  672.                     {
  673.                         displayName="$STR_EMPTY";
  674.                         attachment[]={};
  675.                     };
  676.                     class Default
  677.                     {
  678.                         displayName="$STR_VEHICLE_DEFAULT";
  679.                         attachment[]=
  680.                         {
  681.                             "PylonRack_4Rnd_LG_scalpel",
  682.                             "CUP_PylonPod_32Rnd_S5_M",
  683.                             "CUP_PylonPod_32Rnd_S5_M",
  684.                             "PylonRack_4Rnd_LG_scalpel"
  685.                         };
  686.                     };
  687.                         class AT
  688.                     {
  689.                         displayName="AT";
  690.                         attachment[]=
  691.                         {
  692.                             "PylonRack_4Rnd_LG_scalpel",
  693.                             "PylonRack_4Rnd_LG_scalpel",
  694.                             "PylonRack_4Rnd_LG_scalpel",
  695.                             "PylonRack_4Rnd_LG_scalpel"
  696.                         };
  697.                     };
  698.                     class HAT
  699.                     {
  700.                         displayName="Heavy AT";
  701.                         attachment[]=
  702.                         {
  703.                             "PylonRack_4Rnd_LG_scalpel",
  704.                             "PylonRack_1Rnd_Missile_AGM_01_F",
  705.                             "PylonRack_1Rnd_Missile_AGM_01_F",
  706.                             "PylonRack_4Rnd_LG_scalpel"
  707.                         };
  708.                     };
  709.                     class CAS
  710.                     {
  711.                         displayName="CAS";
  712.                         attachment[]=
  713.                         {
  714.                             "PylonRack_19Rnd_Rocket_Skyfire",
  715.                             "PylonMissile_1Rnd_Bomb_03_F",
  716.                             "PylonMissile_1Rnd_Bomb_03_F",
  717.                             "PylonRack_19Rnd_Rocket_Skyfire"
  718.                         };
  719.                     };
  720.                     class Guns
  721.                     {
  722.                         displayName="Guns";
  723.                         attachment[]=
  724.                         {
  725.                             "CUP_PylonPod_32Rnd_S5_M",
  726.                             "PylonWeapon_300Rnd_20mm_shells",
  727.                             "PylonWeapon_300Rnd_20mm_shells",
  728.                             "CUP_PylonPod_32Rnd_S5_M"
  729.                         };
  730.                     };
  731.                 };
  732.                 class pylons
  733.                 {
  734.                     class pylons1
  735.                     {
  736.                         hardpoints[]=
  737.                         {
  738.                             "CUP_EAST_HELO_SMALL",
  739.                             "CUP_EAST_HELO_LARGE",
  740.                             "CUP_EAST_HELO_MI8",
  741.                             "CUP_GSh23",
  742.                             "O_BOMB_PYLON_HELI",
  743.                             "O_MISSILE_PYLON",
  744.                             "UNI_SCALPEL",
  745.                             "20MM_TWIN_CANNON",
  746.                             "O_SKYFIRE",
  747.                         };
  748.                         attachment="PylonRack_4Rnd_LG_scalpel";
  749.                         bay=-1;
  750.                         priority=5;
  751.                         UIposition[]={0.059999999,0.34999999};
  752.                         turret[]={};
  753.                     };
  754.                     class pylons2: pylons1
  755.                     {
  756.                         priority=4;
  757.                         UIposition[]={0.079999998,0.40000001};
  758.                         attachment="CUP_PylonPod_32Rnd_S5_M";
  759.                     };
  760.                     class pylons3: pylons1
  761.                     {
  762.                         priority=4;
  763.                         UIposition[]={0.56999999,0.40000001};
  764.                         mirroredMissilePos=2;
  765.                         attachment="CUP_PylonPod_32Rnd_S5_M";
  766.                     };
  767.                     class pylons4: pylons1
  768.                     {
  769.                         priority=5;
  770.                         UIposition[]={0.58999997,0.34999999};
  771.                         mirroredMissilePos=1;
  772.                         attachment="PylonRack_4Rnd_LG_scalpel";
  773.                     };
  774.                 };
  775.             };
  776.  
  777.         };
  778.        
  779.  
  780.     };
  781.  
  782. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement