config.cpp 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  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 macro_patch_name(jumppack)
  8. {
  9. author=DANKAUTHORS
  10. requiredAddons[]=
  11. {
  12. //macro_lvl1_req,
  13. //"A3_Data_F_Enoch_Loadorder"
  14. macro_patch_name(particle_effects)
  15. };
  16. requiredVersion=0.1;
  17. units[]={
  18. };
  19. weapons[]={};
  20. vehicles[]={
  21. macro_jumppackClass(neutral,base),
  22. macro_jumppackClass(neutral,rto)
  23. };
  24. };
  25. };
  26. class CfgVehicles
  27. {
  28. class B_AssaultPack_blk;
  29. class JLTS_Clone_jumppack_mc;
  30. class JLTS_Clone_jumppack;
  31. class JLTS_Clone_jumppack_JT12;
  32. class RD501_JLTS_Clone_jumppack_mc: JLTS_Clone_jumppack_JT12
  33. {
  34. scope=2;
  35. displayname = "[501st] AB Jumppack 01";
  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_mc_noLR : JLTS_Clone_jumppack_JT12
  83. {
  84. scope = 2;
  85. displayname = "[501st] AB Jumppack 01 no LR";
  86. maximumLoad = 700;
  87. JLTS_isJumppack = 0;
  88. RD501_jumppack_is_jumppack = 1;
  89. RD501_jumppack_spam_delay = 1;
  90. RD501_jumppack_energy_capacity = 100;
  91. RD501_jumppack_recharge = 4;
  92. RD501_jumppack_jump_effect_script = "RD501_jumppack_fnc_effect_jt_21";
  93. RD501_jumppack_effect_points[] =
  94. {
  95. {
  96. "spine3",
  97. {0, -0.30000001, -0.1}
  98. }
  99. };
  100. RD501_jumppack_sound_ignite[] =
  101. {
  102. "RD501_Jumppack\sounds\cdv21Start.ogg"
  103. };
  104. RD501_jumppack_sound_land[] =
  105. {
  106. "RD501_Jumppack\sounds\cdv21End.ogg"
  107. };
  108. RD501_jumppack_sound_idle[] =
  109. {
  110. "RD501_Jumppack\sounds\cdv21Idle.ogg"
  111. };
  112. RD501_jumppack_skin_group[] =
  113. {
  114. "default_texture_group"
  115. };
  116. RD501_jumppack_jump_types[] =
  117. {
  118. {
  119. "Forward Jump",
  120. {12, 20, 50, 0, 0, 0}
  121. },
  122. {
  123. "Short Jump",
  124. {12, 5, 30, 0, 1, 0}
  125. }
  126. };
  127. };
  128. class RD501_JLTS_Clone_jumppack_mc2: JLTS_Clone_jumppack_mc
  129. {
  130. scope=2;
  131. displayname = "[501st] Jumppack CDV";
  132. tf_encryptionCode="tf_west_radio_code";
  133. tf_subtype="digital_lr";
  134. tf_range=35000;
  135. tf_hasLRradio=1;
  136. maximumLoad=700;
  137. JLTS_isJumppack = 0;
  138. RD501_jumppack_is_jumppack=1;
  139. RD501_jumppack_spam_delay=1;
  140. RD501_jumppack_energy_capacity=100;
  141. RD501_jumppack_recharge=4;
  142. RD501_jumppack_jump_effect_script="RD501_jumppack_fnc_effect_jt_21";
  143. RD501_jumppack_effect_points[]=
  144. {
  145. {
  146. "spine3",
  147. {0,-0.30000001,-0.1}
  148. }
  149. };
  150. RD501_jumppack_sound_ignite[]=
  151. {
  152. "RD501_Jumppack\sounds\cdv21Start.ogg"
  153. };
  154. RD501_jumppack_sound_land[]=
  155. {
  156. "RD501_Jumppack\sounds\cdv21End.ogg"
  157. };
  158. RD501_jumppack_sound_idle[]=
  159. {
  160. "RD501_Jumppack\sounds\cdv21Idle.ogg"
  161. };
  162. RD501_jumppack_skin_group[]=
  163. {
  164. "default_texture_group"
  165. };
  166. RD501_jumppack_jump_types[]=
  167. {
  168. {
  169. "Forward Jump",
  170. {12,20,50,0,0,0}
  171. },
  172. {
  173. "Short Jump",
  174. {12,5,30,0,1,0}
  175. }
  176. };
  177. };
  178. class macro_jumppackClass(neutral,titan_mkII):RD501_JLTS_Clone_jumppack_mc2
  179. {
  180. scope=2;
  181. displayname= "[501st] Jumppack Titan Mk.II";
  182. macro_energyCap=100;
  183. macro_rechargeRate=8;
  184. macro_types_of_jumps =
  185. {
  186. {"Short Jump",{25,7,20,0,1,1}}
  187. };
  188. maximumload = 900;
  189. tf_encryptionCode = "tf_west_radio_code";
  190. tf_dialog = "anarc210_radio_dialog";
  191. tf_subtype = "digital_lr";
  192. tf_range = 30000;
  193. tf_dialogUpdate = "call TFAR_fnc_updateLRDialogToChannel;";
  194. tf_hasLRradio = 1;
  195. };
  196. class macro_jumppackClass(neutral,titan_mkIII):macro_jumppackClass(neutral,titan_mkII)
  197. {
  198. displayname= "[501st] Titan Mk.III";
  199. macro_rechargeRate=30;
  200. macro_types_of_jumps =
  201. {
  202. {"LEET Jump",{1337,7,1,0,1,1}}
  203. };
  204. };
  205. class RD501_JLTS_Clone_jumppack_hq_1_noLR: RD501_JLTS_Clone_jumppack_mc_noLR
  206. {
  207. displayname = "[501st] AB Jumppack (HQ 1) no LR";
  208. hiddenSelectionsTextures[] = {"RD501_Jumppack\textures\acklay_skin_set\JT-12_1HQ.paa"};
  209. };
  210. class RD501_JLTS_Clone_jumppack_mc_hq_2_noLR: RD501_JLTS_Clone_jumppack_mc_noLR
  211. {
  212. displayname = "[501st] AB Jumppack (HQ 2) no LR";
  213. hiddenSelectionsTextures[] = {"RD501_Jumppack\textures\acklay_skin_set\JT-12_2HQ.paa.paa"};
  214. };
  215. class RD501_JLTS_Clone_jumppack_mc_6_noLR : RD501_JLTS_Clone_jumppack_mc_noLR
  216. {
  217. displayname = "[501st] AB Jumppack (HQ 6) no LR";
  218. hiddenSelectionsTextures[] = {"RD501_Jumppack\textures\acklay_skin_set\JT-12_6HQ.paa"};
  219. };
  220. class RD501_JLTS_Clone_jumppack_mc_1_1_noLR : RD501_JLTS_Clone_jumppack_mc_noLR
  221. {
  222. displayname = "[501st] AB Jumppack (1-1) no LR";
  223. hiddenSelectionsTextures[] = {"RD501_Jumppack\textures\acklay_skin_set\JT-12_1-1.paa"};
  224. };
  225. class RD501_JLTS_Clone_jumppack_mc_1_2_noLR : RD501_JLTS_Clone_jumppack_mc_noLR
  226. {
  227. displayname = "[501st] AB Jumppack (1-2) no LR";
  228. hiddenSelectionsTextures[] = {"RD501_Jumppack\textures\acklay_skin_set\JT-12_1-2.paa"};
  229. };
  230. class RD501_JLTS_Clone_jumppack_mc_1_3_noLR : RD501_JLTS_Clone_jumppack_mc_noLR
  231. {
  232. displayname = "[501st] AB Jumppack (1-3) no LR";
  233. hiddenSelectionsTextures[] = {"RD501_Jumppack\textures\acklay_skin_set\JT-12_1-3.paa"};
  234. };
  235. class RD501_JLTS_Clone_jumppack_mc_2_1_noLR : RD501_JLTS_Clone_jumppack_mc_noLR
  236. {
  237. displayname = "[501st] AB Jumppack (2-1) no LR";
  238. hiddenSelectionsTextures[] = {"RD501_Jumppack\textures\acklay_skin_set\JT-12_2-1.paa"};
  239. };
  240. class RD501_JLTS_Clone_jumppack_mc_2_2_noLR : RD501_JLTS_Clone_jumppack_mc_noLR
  241. {
  242. displayname = "[501st] AB Jumppack (2-2) no LR";
  243. hiddenSelectionsTextures[] = {"RD501_Jumppack\textures\acklay_skin_set\JT-12_2-2.paa"};
  244. };
  245. class RD501_JLTS_Clone_jumppack_mc_2_3_noLR : RD501_JLTS_Clone_jumppack_mc_noLR
  246. {
  247. displayname = "[501st] AB Jumppack (2-3) no LR";
  248. hiddenSelectionsTextures[] = {"RD501_Jumppack\textures\acklay_skin_set\JT-12_2-3.paa"};
  249. };
  250. class RD501_JLTS_Clone_jumppack_mc_2 : RD501_JLTS_Clone_jumppack_mc {
  251. displayname = "[501st] AB Jumppack 02";
  252. hiddenSelectionsTextures[] = { "\MRC\JLTS\characters\CloneLegions\data\Clone_501stTrooper_jumppack_JT12_co.paa" };
  253. };
  254. class RD501_JLTS_Clone_jumppack_mc_hq_1 : RD501_JLTS_Clone_jumppack_mc {
  255. displayname = "[501st] AB Jumppack (HQ 1)";
  256. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_1HQ.paa" };
  257. };
  258. class RD501_JLTS_Clone_jumppack_mc_hq_2 : RD501_JLTS_Clone_jumppack_mc {
  259. displayname = "[501st] AB Jumppack (HQ 2)";
  260. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_2HQ.paa" };
  261. };
  262. class RD501_JLTS_Clone_jumppack_mc_6 : RD501_JLTS_Clone_jumppack_mc {
  263. displayname = "[501st] AB Jumppack (HQ 6)";
  264. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_6HQ.paa" };
  265. };
  266. class RD501_JLTS_Clone_jumppack_mc_1_1 : RD501_JLTS_Clone_jumppack_mc {
  267. displayname = "[501st] AB Jumppack (1-1)";
  268. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_1-1.paa" };
  269. };
  270. class RD501_JLTS_Clone_jumppack_mc_1_2 : RD501_JLTS_Clone_jumppack_mc {
  271. displayname = "[501st] AB Jumppack (1-2)";
  272. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_1-2.paa" };
  273. };
  274. class RD501_JLTS_Clone_jumppack_mc_1_3 : RD501_JLTS_Clone_jumppack_mc {
  275. displayname = "[501st] AB Jumppack (1-3)";
  276. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_1-3.paa" };
  277. };
  278. class RD501_JLTS_Clone_jumppack_mc_2_1 : RD501_JLTS_Clone_jumppack_mc {
  279. displayname = "[501st] AB Jumppack (2-1)";
  280. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_2-1.paa" };
  281. };
  282. class RD501_JLTS_Clone_jumppack_mc_2_2 : RD501_JLTS_Clone_jumppack_mc {
  283. displayname = "[501st] AB Jumppack (2-2)";
  284. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_2-2.paa" };
  285. };
  286. class RD501_JLTS_Clone_jumppack_mc_2_3 : RD501_JLTS_Clone_jumppack_mc {
  287. displayname = "[501st] AB Jumppack (2-3)";
  288. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\acklay_skin_set\JT-12_2-3.paa" };
  289. };
  290. class RD501_JLTS_Clone_jumppack_mc_avi : RD501_JLTS_Clone_jumppack_mc2 {
  291. displayname = "[501st] AVI Jumppack";
  292. hiddenSelectionsTextures[] = { "RD501_Jumppack\textures\razor.paa" };
  293. };
  294. };
  295. class CfgAmmo
  296. {
  297. class TermMineA;
  298. class SmokeShell;
  299. class macro_new_ammo(jumppack_blue_pulse): TermMineA
  300. {
  301. ExplosionEffects = macro_new_complex_effect(jumppack_pulse)
  302. effectsSmoke = macro_new_complex_effect(jumppack_pulse)
  303. CraterEffects = "";
  304. craterWaterEffects = "";
  305. effectFlare = "FlareShell";
  306. effectFly = "";
  307. effectsFire = "";
  308. effectsMissile = "";
  309. SoundSetExplosion[] = {};
  310. hit =0;
  311. indirectHit = 0;
  312. indirectHitRange = 0;
  313. soundHit[] = {"", 0, 1, 1500};
  314. explosionForceCoef = 0;
  315. model = "";
  316. mineModelDisabled = "";
  317. soundTrigger[] = {"", 0.562341, 1, 30};
  318. soundActivation[] = {"", 0.562341, 1, 30};
  319. soundDeactivation[] = {"", 1.99526, 1, 20};
  320. class CamShakeFire
  321. {
  322. power = 0;
  323. duration = 0.0;
  324. frequency = 0;
  325. distance = 0;
  326. };
  327. class CamShakePlayerFire
  328. {
  329. power = 0.0;
  330. duration = 0;
  331. frequency = 0;
  332. };
  333. class CamShakeHit
  334. {
  335. power = 0;
  336. duration = 0;
  337. frequency = 0;
  338. };
  339. class CamShakeExplode
  340. {
  341. power = 0;
  342. duration = 0;
  343. frequency = 0;
  344. };
  345. };
  346. // class macro_new_ammo(jumppack_blue_trial): macro_new_ammo(jumppack_blue_pulse)
  347. // {
  348. // };
  349. // class macro_new_ammo(jumppack_blue_trial): SmokeShell
  350. // {
  351. // ExplosionEffects = macro_new_complex_effect(jumppack_blue_trail)
  352. // effectsSmoke = macro_new_complex_effect(jumppack_blue_trail)
  353. // timeToLive=6;
  354. // CraterEffects = "";
  355. // SoundSetExplosion[] = {};
  356. // hit =0;
  357. // indirectHit = 0;
  358. // indirectHitRange = 0;
  359. // soundHit[] = {"", 0, 1, 1500};
  360. // explosionForceCoef = 0;
  361. // explosionTime = -1;
  362. // SmokeShellSoundHit1[] = {"", 1.25893, 1, 100};
  363. // SmokeShellSoundHit2[] = {"", 1.25893, 1, 100};
  364. // SmokeShellSoundHit3[] = {"", 1.25893, 1, 100};
  365. // SmokeShellSoundLoop1[] = {"", 0.125893, 1, 70};
  366. // SmokeShellSoundLoop2[] = {"", 0.125893, 1, 70};
  367. // grenadeFireSound[] = {"", 1};
  368. // grenadeBurningSound[] = {"", 1};
  369. // simulationStep = 0.001;
  370. // };
  371. };
  372. //runs certain functions
  373. // class Extended_Init_EventHandlers
  374. // {
  375. // class CAManBase
  376. // {
  377. // class init
  378. // {
  379. // init = [_this select 0] spawn macro_fnc_name(jumppack_init);
  380. // };
  381. // };
  382. // };
  383. class Extended_Deleted_EventHandlers
  384. {
  385. class CAManBase
  386. {
  387. class remove_effects
  388. {
  389. init = [_this select 0] spawn macro_grp_fnc_name(jumppack,remove_effects);
  390. };
  391. };
  392. };