config.cpp 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. #include "..\RD501_main\config_macros.hpp"
  2. #include "script_macros.hpp"
  3. #define macro_jp_ver 1.1 Endgame
  4. #define name_jumppack_f JT-21 (Version ##macro_jp_ver##)
  5. class CfgPatches
  6. {
  7. class RD501_patch_jumppack
  8. {
  9. author=DANKAUTHORS;
  10. requiredAddons[]=
  11. {
  12. MACRO_QUOTE(RD501_patch_particle_effects)
  13. };
  14. requiredVersion=0.1;
  15. units[]={
  16. };
  17. weapons[]={};
  18. vehicles[]={
  19. MACRO_QUOTE(macro_jumppackClass(neutral,base)),
  20. MACRO_QUOTE(macro_jumppackClass(neutral,rto))
  21. };
  22. };
  23. };
  24. class CfgVehicles
  25. {
  26. class B_AssaultPack_blk;
  27. class JLTS_Clone_jumppack_mc;
  28. class JLTS_Clone_jumppack;
  29. class JLTS_Clone_jumppack_JT12;
  30. class RD501_JLTS_Clone_jumppack_mc: JLTS_Clone_jumppack_JT12
  31. {
  32. scope=2;
  33. displayname = "[501st] AB Jumppack 01";
  34. tf_dialog="JLTS_clone_lr_programmer_radio_dialog";
  35. tf_dialogUpdate="call TFAR_fnc_updateLRDialogToChannel;";
  36. tf_encryptionCode="tf_west_radio_code";
  37. tf_subtype="digital_lr";
  38. tf_range=35000;
  39. tf_hasLRradio=1;
  40. maximumLoad=700;
  41. JLTS_isJumppack = 0;
  42. RD501_jumppack_is_jumppack=1;
  43. RD501_jumppack_spam_delay=1;
  44. RD501_jumppack_energy_capacity=100;
  45. RD501_jumppack_recharge=4;
  46. RD501_jumppack_jump_effect_script="RD501_jumppack_fnc_effect_jt_21";
  47. RD501_jumppack_effect_points[]=
  48. {
  49. {
  50. "spine3",
  51. {0,-0.30000001,-0.1}
  52. }
  53. };
  54. RD501_jumppack_sound_ignite[]=
  55. {
  56. "RD501_Jumppack\sounds\cdv21Start.ogg"
  57. };
  58. RD501_jumppack_sound_land[]=
  59. {
  60. "RD501_Jumppack\sounds\cdv21End.ogg"
  61. };
  62. RD501_jumppack_sound_idle[]=
  63. {
  64. "RD501_Jumppack\sounds\cdv21Idle.ogg"
  65. };
  66. RD501_jumppack_skin_group[]=
  67. {
  68. "default_texture_group"
  69. };
  70. RD501_jumppack_jump_types[]=
  71. {
  72. {
  73. "Forward Jump",
  74. {12,20,50,0,0,0}
  75. },
  76. {
  77. "Short Jump",
  78. {12,5,30,0,1,0}
  79. }
  80. };
  81. };
  82. class RD501_JLTS_Clone_jumppack_mc2: JLTS_Clone_jumppack_mc
  83. {
  84. scope=2;
  85. displayname = "[501st] Jumppack CDV";
  86. tf_encryptionCode="tf_west_radio_code";
  87. tf_subtype="digital_lr";
  88. tf_range=35000;
  89. tf_hasLRradio=1;
  90. maximumLoad=700;
  91. JLTS_isJumppack = 0;
  92. RD501_jumppack_is_jumppack=1;
  93. RD501_jumppack_spam_delay=1;
  94. RD501_jumppack_energy_capacity=100;
  95. RD501_jumppack_recharge=4;
  96. RD501_jumppack_jump_effect_script="RD501_jumppack_fnc_effect_jt_21";
  97. RD501_jumppack_effect_points[]=
  98. {
  99. {
  100. "spine3",
  101. {0,-0.30000001,-0.1}
  102. }
  103. };
  104. RD501_jumppack_sound_ignite[]=
  105. {
  106. "RD501_Jumppack\sounds\cdv21Start.ogg"
  107. };
  108. RD501_jumppack_sound_land[]=
  109. {
  110. "RD501_Jumppack\sounds\cdv21End.ogg"
  111. };
  112. RD501_jumppack_sound_idle[]=
  113. {
  114. "RD501_Jumppack\sounds\cdv21Idle.ogg"
  115. };
  116. RD501_jumppack_skin_group[]=
  117. {
  118. "default_texture_group"
  119. };
  120. RD501_jumppack_jump_types[]=
  121. {
  122. {
  123. "Forward Jump",
  124. {12,20,50,0,0,0}
  125. },
  126. {
  127. "Short Jump",
  128. {12,5,30,0,1,0}
  129. }
  130. };
  131. };
  132. class macro_jumppackClass(neutral,jt21_LTU):RD501_JLTS_Clone_jumppack_mc
  133. {
  134. scope=2;
  135. displayname= "[501st] JT21 Droppack";
  136. macro_energyCap=4;
  137. macro_rechargeRate=0;
  138. maximumload = 50;
  139. macro_types_of_jumps =
  140. {
  141. {"Short Jump",{12,5,1,0,1,0}}
  142. };
  143. model="\MRC\JLTS\characters\CloneArmor\CloneJumppack.p3d";
  144. hiddenSelections[]=
  145. {
  146. "camo1"
  147. };
  148. hiddenSelectionsTextures[]=
  149. {
  150. "\MRC\JLTS\characters\CloneArmor\data\Clone_jumppack_co.paa"
  151. };
  152. };
  153. class macro_jumppackClass(neutral,titan_mkII):RD501_JLTS_Clone_jumppack_mc2
  154. {
  155. scope=2;
  156. displayname= "[501st] Jumppack Titan Mk.II";
  157. macro_energyCap=100;
  158. macro_rechargeRate=8;
  159. macro_types_of_jumps =
  160. {
  161. {"Short Jump",{25,7,20,0,1,1}}
  162. };
  163. maximumload = 900;
  164. tf_encryptionCode = "tf_west_radio_code";
  165. tf_dialog = "anarc210_radio_dialog";
  166. tf_subtype = "digital_lr";
  167. tf_range = 30000;
  168. tf_dialogUpdate = "call TFAR_fnc_updateLRDialogToChannel;";
  169. tf_hasLRradio = 1;
  170. };
  171. class macro_jumppackClass(neutral,titan_mkIII):macro_jumppackClass(neutral,titan_mkII)
  172. {
  173. displayname= "[501st] Titan Mk.III";
  174. macro_rechargeRate=30;
  175. macro_types_of_jumps =
  176. {
  177. {"LEET Jump",{1337,7,1,0,1,1}}
  178. };
  179. };
  180. class RD501_JLTS_Clone_jumppack_mc_2 : RD501_JLTS_Clone_jumppack_mc {
  181. displayname = "[501st] AB Jumppack 02";
  182. hiddenSelectionsTextures[] = { "\MRC\JLTS\characters\CloneLegions\data\Clone_501stTrooper_jumppack_JT12_co.paa" };
  183. };
  184. class RD501_JLTS_Clone_jumppack_mc_hq_1 : RD501_JLTS_Clone_jumppack_mc {
  185. displayname = "[501st] AB Jumppack (HQ 1)";
  186. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_1HQ.paa" };
  187. };
  188. class RD501_JLTS_Clone_jumppack_mc_hq_2 : RD501_JLTS_Clone_jumppack_mc {
  189. displayname = "[501st] AB Jumppack (HQ 2)";
  190. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_2HQ.paa" };
  191. };
  192. class RD501_JLTS_Clone_jumppack_mc_6 : RD501_JLTS_Clone_jumppack_mc {
  193. displayname = "[501st] AB Jumppack (HQ 6)";
  194. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_6HQ.paa" };
  195. };
  196. class RD501_JLTS_Clone_jumppack_mc_1_1 : RD501_JLTS_Clone_jumppack_mc {
  197. displayname = "[501st] AB Jumppack (1-1)";
  198. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_1-1.paa" };
  199. };
  200. class RD501_JLTS_Clone_jumppack_mc_1_2 : RD501_JLTS_Clone_jumppack_mc {
  201. displayname = "[501st] AB Jumppack (1-2)";
  202. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_1-2.paa" };
  203. };
  204. class RD501_JLTS_Clone_jumppack_mc_1_3 : RD501_JLTS_Clone_jumppack_mc {
  205. displayname = "[501st] AB Jumppack (1-3)";
  206. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_1-3.paa" };
  207. };
  208. class RD501_JLTS_Clone_jumppack_mc_2_1 : RD501_JLTS_Clone_jumppack_mc {
  209. displayname = "[501st] AB Jumppack (2-1)";
  210. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_2-1.paa" };
  211. };
  212. class RD501_JLTS_Clone_jumppack_mc_2_2 : RD501_JLTS_Clone_jumppack_mc {
  213. displayname = "[501st] AB Jumppack (2-2)";
  214. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_2-2.paa" };
  215. };
  216. class RD501_JLTS_Clone_jumppack_mc_2_3 : RD501_JLTS_Clone_jumppack_mc {
  217. displayname = "[501st] AB Jumppack (2-3)";
  218. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_2-3.paa" };
  219. };
  220. class RD501_JLTS_Clone_jumppack_mc_avi : RD501_JLTS_Clone_jumppack_mc2 {
  221. displayname = "[501st] AVI Jumppack";
  222. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\razor.paa" };
  223. };
  224. };
  225. class CfgAmmo
  226. {
  227. class TermMineA;
  228. class SmokeShell;
  229. class macro_new_ammo(jumppack_blue_pulse): TermMineA
  230. {
  231. ExplosionEffects = macro_new_complex_effect(jumppack_pulse);
  232. effectsSmoke = macro_new_complex_effect(jumppack_pulse);
  233. CraterEffects = "";
  234. craterWaterEffects = "";
  235. effectFlare = "FlareShell";
  236. effectFly = "";
  237. effectsFire = "";
  238. effectsMissile = "";
  239. SoundSetExplosion[] = {};
  240. hit =0;
  241. indirectHit = 0;
  242. indirectHitRange = 0;
  243. soundHit[] = {"", 0, 1, 1500};
  244. explosionForceCoef = 0;
  245. model = "";
  246. mineModelDisabled = "";
  247. soundTrigger[] = {"", 0.562341, 1, 30};
  248. soundActivation[] = {"", 0.562341, 1, 30};
  249. soundDeactivation[] = {"", 1.99526, 1, 20};
  250. class CamShakeFire
  251. {
  252. power = 0;
  253. duration = 0.0;
  254. frequency = 0;
  255. distance = 0;
  256. };
  257. class CamShakePlayerFire
  258. {
  259. power = 0.0;
  260. duration = 0;
  261. frequency = 0;
  262. };
  263. class CamShakeHit
  264. {
  265. power = 0;
  266. duration = 0;
  267. frequency = 0;
  268. };
  269. class CamShakeExplode
  270. {
  271. power = 0;
  272. duration = 0;
  273. frequency = 0;
  274. };
  275. };
  276. // class macro_new_ammo(jumppack_blue_trial): macro_new_ammo(jumppack_blue_pulse)
  277. // {
  278. // };
  279. // class macro_new_ammo(jumppack_blue_trial): SmokeShell
  280. // {
  281. // ExplosionEffects = macro_new_complex_effect(jumppack_blue_trail)
  282. // effectsSmoke = macro_new_complex_effect(jumppack_blue_trail)
  283. // timeToLive=6;
  284. // CraterEffects = "";
  285. // SoundSetExplosion[] = {};
  286. // hit =0;
  287. // indirectHit = 0;
  288. // indirectHitRange = 0;
  289. // soundHit[] = {"", 0, 1, 1500};
  290. // explosionForceCoef = 0;
  291. // explosionTime = -1;
  292. // SmokeShellSoundHit1[] = {"", 1.25893, 1, 100};
  293. // SmokeShellSoundHit2[] = {"", 1.25893, 1, 100};
  294. // SmokeShellSoundHit3[] = {"", 1.25893, 1, 100};
  295. // SmokeShellSoundLoop1[] = {"", 0.125893, 1, 70};
  296. // SmokeShellSoundLoop2[] = {"", 0.125893, 1, 70};
  297. // grenadeFireSound[] = {"", 1};
  298. // grenadeBurningSound[] = {"", 1};
  299. // simulationStep = 0.001;
  300. // };
  301. };
  302. //runs certain functions
  303. // class Extended_Init_EventHandlers
  304. // {
  305. // class CAManBase
  306. // {
  307. // class init
  308. // {
  309. // init = [_this select 0] spawn macro_fnc_name(jumppack_init);
  310. // };
  311. // };
  312. // };
  313. class Extended_Deleted_EventHandlers
  314. {
  315. class CAManBase
  316. {
  317. class remove_effects
  318. {
  319. init = [_this select 0] spawn macro_grp_fnc_name(jumppack,remove_effects);
  320. };
  321. };
  322. };