123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411 |
- #include "../../RD501_main/config_macros.hpp"
- #include "../droid_macros.hpp"
- class CfgPatches
- {
- class macro_patch_name(B1)
- {
- addonRootClass=macro_patch_name(droids_config);
- requiredAddons[] = {
- macro_patch_name(droids_config),
- "JLTS_characters_DroidArmor",
- "JLTS_weapons_RPS6",
- "JLTS_weapons_E5",
- "JLTS_weapons_E5S",
- "JLTS_weapons_E60R"
- };
- requiredVersion = 0.1;
- units[] = {
- macro_new_unit_class(opfor,B1),
- macro_new_unit_class(opfor,B1_marine),
- macro_new_unit_class(opfor,B1_security),
- macro_new_unit_class(opfor,B1_commander),
- macro_new_unit_class(opfor,B1_pilot),
- macro_new_unit_class(opfor,B1_crew),
- macro_new_unit_class(opfor,B1_prototype),
- macro_new_unit_class(opfor,B1_heavy),
- macro_new_unit_class(opfor,B1_AT_heavy),
- macro_new_unit_class(opfor,B1_AT_light),
- macro_new_unit_class(opfor,B1_AA),
- macro_new_unit_class(opfor,B1_shotgun),
- macro_new_unit_class(opfor,B1_marksman),
- macro_new_unit_class(opfor,B1_jammer),
- macro_new_unit_class(opfor,B1_E_Web),
- macro_new_unit_class(opfor,B1_grenadier)
- };
- };
- };
- class CfgWeapons
- {
- class UniformItem;
- class JLTS_DroidB1;
- // custom uniforms
- class macro_new_uniform_class(opfor,B1_jammer): JLTS_DroidB1
- {
- displayName="RD501 B1 (Jammer)";
- class ItemInfo: UniformItem
- {
- uniformModel="-";
- uniformClass=macro_new_unit_class(opfor,B1_jammer);
- containerClass="Supply150";
- mass=40;
- };
- };
- };
- class CfgVehicles
- {
- #include "backpacks.hpp"
- class JLTS_Droid_B1_E5;
- class JLTS_Droid_B1_Marine;
- class JLTS_Droid_B1_Security;
- class JLTS_Droid_B1_Commander;
- class JLTS_Droid_B1_Pilot;
- class JLTS_Droid_B1_Crew;
- class JLTS_Droid_B1_Prototype;
- // base droids
- class macro_new_unit_class(opfor,B1): JLTS_Droid_B1_E5
- {
- displayName = "B1 Battledroid";
- editorSubcategory = macro_editor_cat(B1);
- #include "b1_common.hpp"
- macro_e5_loadout
- backpack=macro_new_backpack_class(opfor,B1);
- cost=1;
- };
- class macro_new_unit_class(opfor,B1_marine): JLTS_Droid_B1_Marine
- {
- displayName="B1 Battledroid (Marine)";
- editorSubcategory = macro_editor_cat(B1);
- #include "b1_common.hpp"
- macro_e5_loadout
- backpack=macro_new_backpack_class(opfor,B1);
- cost=1;
- };
- class macro_new_unit_class(opfor,B1_security): JLTS_Droid_B1_Security
- {
- displayName="B1 Battledroid (Security)";
- editorSubcategory = macro_editor_cat(B1);
- #include "b1_common.hpp"
- macro_e5_loadout
- backpack=macro_new_backpack_class(opfor,B1);
- cost=1;
- };
- class macro_new_unit_class(opfor,B1_commander): JLTS_Droid_B1_Commander
- {
- displayName="B1 Battledroid (Commander)";
- editorSubcategory = macro_editor_cat(B1);
- #include "b1_common.hpp"
- macro_e5_loadout
- backpack=macro_new_backpack_class(opfor,B1_antenna);
- cost=5;
- };
- class macro_new_unit_class(opfor,B1_pilot): JLTS_Droid_B1_Pilot
- {
- displayName="B1 Battledroid (Pilot)";
- editorSubcategory = macro_editor_cat(B1);
- #include "b1_common.hpp"
- macro_e5_loadout
- backpack=macro_new_backpack_class(opfor,B1);
- cost=2;
- };
- class macro_new_unit_class(opfor,B1_crew): JLTS_Droid_B1_Crew
- {
- displayName="B1 Battledroid (Crew)";
- editorSubcategory = macro_editor_cat(B1);
- #include "b1_common.hpp"
- macro_e5_loadout
- backpack=macro_new_backpack_class(opfor,B1);
- cost=1;
- };
- class macro_new_unit_class(opfor,B1_prototype): JLTS_Droid_B1_Prototype
- {
- displayName="B1 Battledroid (SpecOps)";
- editorSubcategory = macro_editor_cat(CIS_SpecOps);
- #include "b1_common.hpp"
- weapons[]=
- {
- macro_spec_ops_gun,
- "Throw",
- "Put"
- };
- respawnWeapons[]=
- {
- macro_spec_ops_gun,
- "Throw",
- "Put"
- };
- magazines[]=
- {
- macro_spec_ops_gun_mags,
- macro_thermal_imp,
- macro_thermal_imp,
- macro_smoke,
- macro_smoke,
- macro_flashbang,
- macro_flashbang,
- macro_dioxis_grenade
- };
- respawnMagazines[]=
- {
- macro_spec_ops_gun_mags,
- macro_thermal_imp,
- macro_thermal_imp,
- macro_smoke,
- macro_smoke,
- macro_flashbang,
- macro_flashbang,
- macro_dioxis_grenade
- };
- items[]={
- _3(macro_zip_tie)
- };
- respawnItems[]={
- _3(macro_zip_tie)
- };
- backpack=macro_new_backpack_class(opfor,B1_prototype);
- cost=3;
- };
- // fancy droids
- class macro_new_unit_class(opfor,B1_heavy): macro_new_unit_class(opfor,B1_security)
- {
- displayName="B1 Battledroid (Heavy)";
- weapons[]=
- {
- macro_lmg,
- "Throw",
- "Put"
- };
- respawnWeapons[]=
- {
- macro_lmg,
- "Throw",
- "Put"
- };
- magazines[]=
- {
- macro_lmg_mags,
- macro_thermal_det,
- macro_thermal_det,
- macro_smoke
- };
- respawnMagazines[]=
- {
- macro_lmg_mags,
- macro_thermal_det,
- macro_thermal_det,
- macro_smoke
- };
- cost=2;
- };
- class macro_new_unit_class(opfor,B1_AT_heavy): macro_new_unit_class(opfor,B1_pilot)
- {
- displayName="B1 Battledroid (AT heavy)";
- threat[]={0.2,1,0.3};
- weapons[]=
- {
- macro_e5,
- macro_at_heavy,
- "Throw",
- "Put"
- };
- respawnWeapons[]=
- {
- macro_e5,
- macro_at_heavy,
- "Throw",
- "Put"
- };
- magazines[]=
- {
- macro_e5_mags,
- macro_at_heavy_mag,
- macro_thermal_det,
- macro_smoke
- };
- respawnMagazines[]=
- {
- macro_e5_mags,
- macro_at_heavy_mag,
- macro_thermal_det,
- macro_smoke
- };
- backpack=macro_new_backpack_class(opfor,B1_AT_heavy);
- cost=2;
- };
- class macro_new_unit_class(opfor,B1_AT_light): macro_new_unit_class(opfor,B1_pilot)
- {
- displayName="B1 Battledroid (AT light)";
- threat[]={0.6,1,0.3};
- weapons[]=
- {
- macro_e5,
- macro_at_light,
- "Throw",
- "Put"
- };
- respawnWeapons[]=
- {
- macro_e5,
- macro_at_light,
- "Throw",
- "Put"
- };
- magazines[]=
- {
- macro_e5_mags,
- macro_at_light_mag,
- macro_thermal_det,
- macro_smoke
- };
- respawnMagazines[]=
- {
- macro_e5_mags,
- macro_at_light_mag,
- macro_thermal_det,
- macro_smoke
- };
- backpack=macro_new_backpack_class(opfor,B1_AT_light);
- cost=2;
- };
- class macro_new_unit_class(opfor,B1_AA): macro_new_unit_class(opfor,B1_pilot)
- {
- displayName="B1 Battledroid (AA)";
- threat[]={0.2,0.1,1};
- weapons[]=
- {
- macro_e5,
- macro_aa,
- "Throw",
- "Put"
- };
- respawnWeapons[]=
- {
- macro_e5,
- macro_aa,
- "Throw",
- "Put"
- };
- magazines[]=
- {
- macro_e5_mags,
- macro_aa_mag,
- macro_thermal_det,
- macro_smoke
- };
- respawnMagazines[]=
- {
- macro_e5_mags,
- macro_aa_mag,
- macro_thermal_det,
- macro_smoke
- };
- backpack=macro_new_backpack_class(opfor,B1_AA);
- cost=2;
- };
- class macro_new_unit_class(opfor,B1_shotgun): macro_new_unit_class(opfor,B1_security)
- {
- displayName="B1 Battledroid (Shotgun)";
- weapons[]=
- {
- macro_scattergun,
- "Throw",
- "Put"
- };
- respawnWeapons[]=
- {
- macro_scattergun,
- "Throw",
- "Put"
- };
- magazines[]=
- {
- macro_scattergun_mags,
- macro_thermal_det,
- macro_thermal_det,
- macro_smoke
- };
- respawnMagazines[]=
- {
- macro_scattergun_mags,
- macro_thermal_det,
- macro_thermal_det,
- macro_smoke
- };
- cost=2;
- };
- class macro_new_unit_class(opfor,B1_marksman): macro_new_unit_class(opfor,B1_marine)
- {
- displayName="B1 Battledroid (Marksman)";
- weapons[]=
- {
- macro_marksman_rifle,
- "Throw",
- "Put"
- };
- respawnWeapons[]=
- {
- macro_marksman_rifle,
- "Throw",
- "Put"
- };
- magazines[]=
- {
- macro_marksman_rifle_mags,
- macro_thermal_det,
- macro_smoke
- };
- respawnMagazines[]=
- {
- macro_marksman_rifle_mags,
- macro_thermal_det,
- macro_smoke
- };
- cost=2;
- };
- class macro_new_unit_class(opfor,B1_jammer): macro_new_unit_class(opfor,B1)
- {
- displayName="B1 Battledroid (Jammer)";
- backpack="tf_rt1523g_big_bwmod_tropen";
- uniformClass=macro_new_uniform_class(opfor,B1_jammer);
- hiddenSelectionsTextures[]=
- {
- "\RD501_Droids\data\b1_jammer.paa"
- };
- cost=3;
- };
- class macro_new_unit_class(opfor,B1_E_Web): macro_new_unit_class(opfor,B1)
- {
- displayName="B1 Battledroid (E-Web Carrier)";
- backpack = macro_backpack_eweb;
- cost=3;
- };
- class macro_new_unit_class(opfor,B1_grenadier): macro_new_unit_class(opfor,B1_security)
- {
- displayName="B1 Battledroid (Grenadier)";
- weapons[]=
- {
- macro_grenade_launcher
- };
- respawnWeapons[]=
- {
- macro_grenade_launcher
- };
- magazines[]=
- {
- macro_grenade_launcher_mags
- };
- respawnMagazines[]=
- {
- macro_grenade_launcher_mags
- };
- cost=2;
- };
- };
|