config.cpp 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. #include "config_macros.hpp"
  2. #include "..\RD501_main\config_macros.hpp"
  3. class CfgPatches
  4. {
  5. class macro_patch_name(units)
  6. {
  7. author=DANKAUTHORS
  8. requiredAddons[]=
  9. {
  10. macro_lvl2_req
  11. };
  12. requiredVersion=0.1;
  13. units[]={
  14. };
  15. weapons[]={};
  16. };
  17. };
  18. class Extended_Init_EventHandlers
  19. {
  20. //class name of the object
  21. class macro_new_unit_class(civ,random_civ)
  22. {
  23. //doesnt matter wat this is
  24. class randomize
  25. {
  26. init = [_this select 0] spawn macro_fnc_name(random_starwars_civ);
  27. };
  28. };
  29. class SWOP_CIS_superdroid_B2
  30. {
  31. class set_walk
  32. {
  33. init = [_this select 0] spawn macro_fnc_name(force_b2_walk);
  34. exclude[]={macro_quote(macro_new_unit_class(opfor,B2_super_droid_Rocket)) };
  35. };
  36. class apply_armor
  37. {
  38. init = [_this select 0] spawn macro_fnc_name(b2_apply_armor);
  39. }
  40. };
  41. class macro_new_unit_class(opfor,IG_88)
  42. {
  43. class apply_skills
  44. {
  45. init = [_this select 0] spawn macro_fnc_name(ig88_apply_skill);
  46. };
  47. };
  48. class macro_new_unit_class(opfor,magna_guard_blackop)
  49. {
  50. class apply_skills
  51. {
  52. init = [_this select 0] spawn macro_fnc_name(magna_apply_skill);
  53. };
  54. };
  55. };
  56. class Extended_Respawn_EventHandlers
  57. {
  58. class SWOP_CIS_superdroid_B2
  59. {
  60. class set_walk
  61. {
  62. respawn = [_this select 0] spawn macro_fnc_name(force_b2_walk);
  63. exclude[]={macro_quote(macro_new_unit_class(opfor,B2_super_droid_Rocket)) };
  64. };
  65. };
  66. };
  67. class cfgWeapons
  68. {
  69. class SWOP_jedi_vest_invisible;
  70. class macro_new_weapon(equipment,Water_Filtration): SWOP_jedi_vest_invisible
  71. {
  72. displayname = "Water Filtration Device";
  73. scope=2;
  74. picture = "\SWOP_droids\data\ico\B2ico.paa";
  75. OxygenCapacity=6969;
  76. };
  77. };
  78. class CfgVehicles
  79. {
  80. class Bag_Base;
  81. class SWOP_B_Droid_camo_backpack;
  82. class B_UAV_01_backpack_F;
  83. class SWOP_snowpackFO;
  84. class SWOP_FlameBFO;
  85. class SWOP_B_ImDVSnowBackpack_Base;
  86. class SWOP_B_ImMedicSnowBackpack_Base;
  87. class SWOP_B_ImSnowBackpack_Base;
  88. class SWOP_B_BlackBackpack_Base;
  89. class SWOP_B_SnowBackpack_Base;
  90. class SWOP_resistance_backpack_b;
  91. class SWOP_resistance_backpack2_b;
  92. class SWOP_resistance_BigBackpack_b;
  93. class SWOP_resistance_BigBackpack2_b;
  94. class b_Parachute;
  95. class JLTS_Clone_backpack;
  96. class JLTS_Clone_backpack_s;
  97. class JLTS_Clone_backpack_medic;
  98. class JLTS_Clone_backpack_eod;
  99. class JLTS_Clone_backpack_bomb;
  100. class JLTS_Clone_backpack_RTO;
  101. class JLTS_Clone_backpack_s_RTO;
  102. class JLTS_Clone_belt_bag;
  103. class JLTS_Clone_RTO_pack;
  104. class JLTS_Clone_LR_attachment;
  105. class JLTS_Clone_ARC_backpack;
  106. class EWEB_Bag: B_UAV_01_backpack_F
  107. {
  108. class assembleInfo;
  109. };
  110. #include "_backpacks/b1_at.hpp"
  111. #include "_backpacks/b1_aa.hpp"
  112. class macro_new_backpack_class(blufor,eweb_bag): EWEB_Bag
  113. {
  114. scope = 2;
  115. displayName = "[PROTOTYPE] E-WEB Cannon Bag";
  116. descriptionShort = "E-WEB Cannon Bag";
  117. side = 1;
  118. //faction = "RD501FactionOpfor";
  119. picture = "\SWOP_empire\ImpBackpack\data\ico\icon_iwhite.paa";
  120. model = "\SWOP_empire\ImpBackpack\impB.p3d";
  121. hiddenSelectionsTextures[] = {""};
  122. maximumLoad = 200;
  123. mass = 300;
  124. class assembleInfo: assembleInfo
  125. {
  126. base = "";
  127. displayName = "[PROTOTYPE] E-WEB Cannon";
  128. assembleTo = macro_new_vehicle(e_web,heavy);
  129. };
  130. };
  131. class macro_new_backpack_class(opfor,b1_aqua_bag): macro_new_backpack_class(opfor,B1_AT_Camo_Bag)
  132. {
  133. scope = 2;
  134. author = "RD501";
  135. picture = "\SWOP_droids\data\ico\ico_backpack.paa";
  136. model = "SWOP_Droids\Pack.p3d";
  137. hiddenSelections[] = {"Camo1"};
  138. hiddenSelectionsTextures[] = {macro_unit_skin_textures\CIS\B1\aqua\ReskinB1_chest_camo.paa};
  139. displayName = "Droid control backpack (Underwater)";
  140. maximumload = 600;
  141. mass = 30;
  142. };
  143. #include "_backpacks/legacy_backpacks.hpp"
  144. };