config.cpp 8.6 KB

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