123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467 |
- //get generlized macros
- #include "../../../RD501_main/config_macros.hpp"
- //General name of the vehicle
- #define vehicle_addon nuclass
- class CfgPatches
- {
- class RD501_patch_nuclass
- {
- addonRootClass=MACRO_QUOTE(RD501_patch_vehicles);
- requiredAddons[]=
- {
- RD501_patch_vehicles
- };
- requiredVersion=0.1;
- units[]=
- {
- macro_new_vehicle(nuclass,mk1)
- };
- weapons[]=
- {
-
- };
- };
- };
- class CfgVehicles
- {
- class 3as_nuclass_base;
- class 3as_nuclass_f: 3as_nuclass_base
- {
- class ViewPilot;
- class UserActions;
- };
- class 3AS_Nuclass : 3as_nuclass_f
- {
- class ViewPilot: ViewPilot{};
- class UserActions: UserActions
- {
- class rampOpen;
- class rampClose;
- class frontrampOpen;
- class frontrampClose;
- };
- };
- class macro_new_vehicle(nuclass,mk1) : 3AS_Nuclass
- {
- scope=2;
- displayName="Republic NuClass Mk.I";
- armor=2300;
- faction = MACRO_QUOTE(macro_faction(republic));
- editorSubcategory = MACRO_QUOTE(macro_editor_cat_air(Republic_heli));
- vehicleClass = MACRO_QUOTE(macro_editor_vehicle_type_air(Republic));
- transportSoldier=35;
-
- #include "../../common/common_pilotCamera.hpp"
- RD501_magclamp_large[] = {0.0,1.5,-0.5};
- RD501_magclamp_small_forbidden=1;
- RD501_magclamp_large_offset[]={0.0,0.0,-10.0};
- weapons[]=
- {
- "ParticleBeamCannon_Nu",
- "CMFlareLauncher",
- "missiles_DAR",
- macro_new_weapon(generic,kannon),
- "Laserdesignator_pilotCamera"
- };
- magazines[]=
- {
- "240Rnd_CMFlare_Chaff_Magazine",
- "240Rnd_CMFlare_Chaff_Magazine",
- "240Rnd_CMFlare_Chaff_Magazine",
- "240Rnd_CMFlare_Chaff_Magazine",
- "Laser_Battery_F",
- "Laser_Battery_F",
- "Laser_Battery_F",
- "24Rnd_missiles",
- "24Rnd_missiles",
- "24Rnd_missiles",
- "24Rnd_missiles",
- macro_new_mag(Kannon,100),
- macro_new_mag(Kannon,100),
- "Laserbatteries"
- };
- class UserActions:UserActions
- {
- class ThrusterEngage
- {
- displayName = "";
- displayNameDefault = "";
- textToolTip = "";
- position = "pilotview";
- radius = 20;
- priority = 0;
- onlyForPlayer = 1;
- condition = "((player == driver this) AND (alive this))";
- statement = "this execVM ""\RD501_Main\functions\impulse\fnc_impulseIncrease.sqf""";
- shortcut="User19";
- };
- class ThrusterDisengage: ThrusterEngage
- {
- priority = 0;
- displayName = "";
- displayNameDefault = "";
- textToolTip = "";
- condition = "((player == driver this) AND (alive this))";
- statement = "this execVM ""\RD501_Main\functions\impulse\fnc_impulseDecrease.sqf""";
- shortcut="User20";
- };
- class rampOpen: rampOpen
- {
- condition="(this animationSourcePhase 'ramp' == 0) AND (alive this) AND (player in [gunner this, driver this])";
- };
- class rampClose: rampClose
- {
- condition="(this animationSourcePhase 'ramp' == 1) AND (alive this) AND (player in [gunner this, driver this])";
- };
- class frontrampOpen: frontrampOpen
- {
- condition="(this animationSourcePhase 'rampfront' == 0) AND (alive this) AND (player in [gunner this, driver this])";
- };
- class frontrampClose: frontrampClose
- {
- condition="(this animationSourcePhase 'rampfront' == 1) AND (alive this) AND (player in [gunner this, driver this])";
- };
- };
- class ACE_SelfActions
- {
- class ACE_Passengers
- {
- condition = "alive _target";
- displayName = "Passengers";
- insertChildren = "_this call ace_interaction_fnc_addPassengersActions";
- statement = "";
- };
- #include "../../common/universal_hud_color_changer.hpp"
- };
- class ViewPilot: ViewPilot
- {
- initAngleX = 0;
- };
- class TransportWeapons
- {
- class _transport_dc15a
- {
- weapon = MACRO_QUOTE(macro_new_weapon(DC,15a));
- count = 5;
- };
- class _transport_dc15s
- {
- weapon = MACRO_QUOTE(macro_new_weapon(DC,r15s));
- count = 5;
- };
- class _transport_dc15c
- {
- weapon = MACRO_QUOTE(macro_new_weapon(DC,15c));
- count = 5;
- };
- class _transport_dc15l
- {
- weapon = MACRO_QUOTE(macro_new_weapon(DC,15l));
- count = 2;
- };
- class _transport_z6
- {
- weapon = MACRO_QUOTE(macro_new_weapon_nofam(rz6));
- count = 2;
- };
- class _transport_dc15gl
- {
- weapon = MACRO_QUOTE(macro_new_weapon(DC,15cgl));
- count = 2;
- };
- class _transport_valken38x
- {
- weapon = MACRO_QUOTE(macro_new_weapon_nofam(valken38x));
- count = 2;
- };
- class _transport_rps6
- {
- weapon = MACRO_QUOTE(macro_new_weapon(launcher,rps6));
- count = 2;
- };
- class _transport_rps1
- {
- weapon = MACRO_QUOTE(macro_new_weapon(launcher,rps1));
- count = 2;
- };
- class _transport_rps4
- {
- weapon = MACRO_QUOTE(macro_new_weapon(launcher,RPS4));
- count = 2;
- };
- class _transport_plx
- {
- weapon = MACRO_QUOTE(macro_new_weapon(Launcher,PLX1));
- count = 1;
- };
- class _transport_z1000
- {
- weapon = MACRO_QUOTE(macro_new_weapon_nofam(z1000));
- count = 1;
- };
- class _transport_dc15x
- {
- weapon = MACRO_QUOTE(macro_new_weapon(DC,r15x));
- count = 1;
- };
- class _transport_rgl6
- {
- weapon = MACRO_QUOTE(macro_new_weapon_nofam(rgl6));
- count = 1;
- };
- };
- class TransportMagazines
- {
- class transport_2mw30
- {
- magazine = MACRO_QUOTE(macro_new_mag(2mw,30));
- count = 15;
- };
- class transport_5mw15
- {
- magazine = MACRO_QUOTE(macro_new_mag(5mw,10));
- count = 15;
- };
- class transport_5mw60
- {
- magazine = MACRO_QUOTE(macro_new_mag(5mw,60));
- count = 60;
- };
- class transport_10mw30
- {
- magazine = MACRO_QUOTE(macro_new_mag(10mw,30));
- count = 60;
- };
- class transport_10mw400
- {
- magazine = MACRO_QUOTE(macro_new_mag(10mw,400));
- count = 15;
- };
- class _transport_20mw20
- {
- magazine = MACRO_QUOTE(macro_new_mag(20mw,20));
- count = 20;
- };
- class _transport_20mwup20
- {
- magazine = MACRO_QUOTE(macro_new_mag(20mwup,20));
- count = 40;
- };
- class _transport_20mwdp20
- {
- magazine = MACRO_QUOTE(macro_new_mag(20mwdp,20));
- count = 40;
- };
- class _transport_20mw240
- {
- magazine = MACRO_QUOTE(macro_new_mag(20mw,240));
- count = 20;
- };
- class _transport_30mw10
- {
- magazine = MACRO_QUOTE(macro_new_mag(30mw,10));
- count = 15;
- };
- class _transport_30mw7
- {
- magazine = MACRO_QUOTE(macro_new_mag(30mw,7));
- count = 15;
- };
- class _transport_40mw5
- {
- magazine = MACRO_QUOTE(macro_new_mag(40mw,5));
- count = 10;
- };
- class _transport_stun5
- {
- magazine = MACRO_QUOTE(macro_new_mag(stun,5));
- count = 20;
- };
- class _transport_launcher_AT_mags
- {
- magazine = MACRO_QUOTE(macro_new_mag(RPS_AT,1));
- count = 20;
- };
- class _transport_launcher_AA_mags
- {
- magazine = MACRO_QUOTE(macro_new_mag(RPS_AA,1));
- count = 20;
- };
- class _transport_launcher_RPS4AT_mags
- {
- magazine = MACRO_QUOTE(macro_new_mag(rps4heat,1));
- count = 20;
- };
- class _transport_launcher_ARPS4HE_mags
- {
- magazine = MACRO_QUOTE(macro_new_mag(rps4he,1));
- count = 20;
- };
- class _transport_launcher_PLXAT_mags
- {
- magazine = "JLTS_PLX1_AT_mag";
- count = 10;
- };
- class _transport_launcher_PLXAP_mags
- {
- magazine = "JLTS_PLX1_AP_mag";
- count = 10;
- };
- class _transport_he3
- {
- magazine = MACRO_QUOTE(macro_new_mag(UGL_HE,3));
- count = 15;
- };
- class _transport_ap2
- {
- magazine = MACRO_QUOTE(macro_new_mag(UGL_AP,2));
- count = 15;
- };
- class _transport_emp1
- {
- magazine = MACRO_QUOTE(macro_new_mag(UGL_EMP,1));
- count = 3;
- };
- class _transport_HuntIR_M203
- {
- magazine = "ACE_HuntIR_M203";
- count = 15;
- };
- class _transport_C12_Remote_Mag
- {
- magazine = "C12_Remote_Mag";
- count = 2;
- };
- class _transport_RGLHE
- {
- magazine = MACRO_QUOTE(macro_new_mag(UGL_HE,6));
- count = 10;
- };
- class _transport_RGLAP
- {
- magazine = MACRO_QUOTE(macro_new_mag(UGL_AP,6));
- count = 10;
- };
- class _transport_RGPEMP
- {
- magazine = MACRO_QUOTE(macro_new_mag(UGL_EMP,6));
- count = 5;
- };
- class _transport_ShotgunSP
- {
- magazine = MACRO_QUOTE(macro_new_mag(shotgun_scatter,6));
- count = 20;
- };
- class _transport_ShotgunUO
- {
- magazine = MACRO_QUOTE(macro_new_mag(shotgun_HE,6));
- count = 20;
- };
- class _transport_ShotgunEMP
- {
- magazine = MACRO_QUOTE(macro_new_mag(shotgun_EMP,2));
- count = 10;
- };
- class _transport_StaticEweb
- {
- magazine = MACRO_QUOTE(macro_new_mag(eweb,1000));
- count = 10;
- };
- class _transport_StaticStriker
- {
- magazine = MACRO_QUOTE(macro_new_mag(ragl40he,40));
- count = 10;
- };
- class _transport_StaticBoomer
- {
- magazine = MACRO_QUOTE(macro_new_mag(aap,4));
- count = 10;
- };
- class _transport_StaticDriver
- {
- magazine = MACRO_QUOTE(macro_new_mag(mar,1));
- count = 10;
- };
- };
- class TransportItems
- {
- class _xx_RD_SquadShield_Mag
- {
- name = MACRO_QUOTE(macro_new_mag(squad_shield_sigma,1));
- count = 2;
- };
- class _xx_ACE_HuntIR_monitor
- {
- name = "ACE_HuntIR_monitor";
- count = 1;
- };
- class _xx_ACE_tourniquet
- {
- name = "ACE_tourniquet";
- count = 15;
- };
- class _xx_ACE_splint
- {
- name = "ACE_splint";
- count = 15;
- };
- class _xx_ACE_plasmaIV_250
- {
- name = "ACE_plasmaIV_250";
- count = 15;
- };
- class _xx_ACE_plasmaIV_500
- {
- name = "ACE_plasmaIV_500";
- count = 15;
- };
- class _xx_ACE_plasmaIV
- {
- name = "ACE_plasmaIV";
- count = 15;
- };
- class _xx_ACE_elasticBandage
- {
- name = "ACE_elasticBandage";
- count = 80;
- };
- class _xx_ACE_quikclot
- {
- name = "ACE_quikclot";
- count = 80;
- };
- class _xx_ACE_packingBandage
- {
- name = "ACE_packingBandage";
- count = 80;
- };
- class _xx_ACE_morphine
- {
- name = "ACE_morphine";
- count = 30;
- };
- class _xx_ACE_painkiller
- {
- name = "RD501_Painkiller";
- count = 30;
- };
- class _xx_ACE_epinephrine
- {
- name = "ACE_epinephrine";
- count = 20;
- };
- class _xx_SmokeShellPurple
- {
- name = "SmokeShellPurple";
- count = 5;
- };
- };
- };
- };
|