XEH_preInit.sqf 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. #include "config_macros.hpp"
  2. //add eweb shield
  3. macro_prep_xeh(init\e_web_shield.sqf,eweb_shield)
  4. //stretcher
  5. macro_prep_xeh(stretcher\deploy_stretcher.sqf,deploy_stretcher)
  6. macro_prep_xeh(stretcher\put_stretcher_in_backpack.sqf,put_stretcher_in_backpack)
  7. macro_prep_xeh(stretcher\drop_stretcher.sqf,drop_stretcher)
  8. macro_prep_xeh(stretcher\carry_stretcher.sqf,carry_stretcher)
  9. //Zatamas aircraft turrets
  10. macro_prep_xeh(attach_turrets\apply_turrets.sqf,apply_aircraft_turrets)
  11. macro_prep_xeh(attach_turrets\remove_attached_objects.sqf,remove_attached_objects)
  12. //Zatamas aircraft drones
  13. macro_prep_xeh(attach_drones\apply_drones.sqf,apply_aircraft_drone)
  14. //set mass
  15. macro_prep_xeh(mass_changer\set_mass.sqf,set_mass)
  16. //HSD move
  17. macro_prep_xeh(movable_scripts\og10drive.sqf,og10_move)
  18. //droidekka move
  19. macro_prep_xeh(movable_scripts\droideka_driver.sqf,droidekka_move)
  20. //dwarf move
  21. macro_prep_xeh(movable_scripts\dwarf_spider_droid_driver.sqf,dwarf_move)
  22. //hailfire init
  23. macro_prep_xeh(init\hailfire_aa.sqf,hailfire_init)
  24. //hemtt rocket arty
  25. macro_prep_xeh(init\hemtt_rocket_arty.sqf,hemtt_rocket_arty)
  26. //add healing option
  27. macro_prep_xeh(add_healing_action.sqf,add_heal_action)
  28. //add dog
  29. macro_prep_xeh(add_doggo.sqf,add_doggo)
  30. //ATTE UAV init
  31. macro_prep_xeh(atte\atte.sqf,atte_uav_init)
  32. macro_prep_xeh(atte\create_itt.sqf,create_itt)
  33. macro_prep_xeh(atte\create_turrets.sqf,create_atte_turrets)
  34. //adds the killed and MPkilled EH to remove attached objects on death.
  35. macro_prep_xeh(remove_attached_on_death\add_remove_attached_EH.sqf,add_remove_attached_EH)
  36. macro_prep_xeh(remove_attached_on_death\remove_attached.sqf,remove_attached)
  37. //warden tow
  38. macro_prep_xeh(init\tow.sqf,warden_tow)
  39. //init
  40. macro_prep_xeh(init\random_sw_civ.sqf,random_starwars_civ)
  41. macro_prep_xeh(init\force_b2_walk.sqf,force_b2_walk)
  42. macro_prep_xeh(init\specops.sqf,b1_specop_apply_skill)
  43. macro_prep_xeh(init\ig88.sqf,ig88_apply_skill)
  44. macro_prep_xeh(init\b2_armor.sqf,b2_apply_armor)
  45. macro_prep_xeh(init\magna.sqf,magna_apply_skill)
  46. macro_prep_xeh(init\jam_sandwich.sqf,apply_jammer)
  47. macro_prep_xeh(init\aat.sqf,aatInit)
  48. //nightvision
  49. macro_prep_xeh(nightvision.sqf,nightvision)
  50. //magclamp
  51. macro_prep_xeh(magclamp\magclamp.sqf,magclamp)
  52. macro_prep_xeh(magclamp\fnc_startRefuel.sqf,mc_startRefuel)
  53. macro_prep_xeh(magclamp\fnc_canRefuel.sqf,mc_canRefuel)
  54. macro_prep_xeh(magclamp\fnc_canStopRefuel.sqf,mc_canStopRefuel)
  55. //fortify
  56. macro_prep_xeh(fortify_tool\fortify_tool.sqf,fortify_tool)
  57. //HUD color
  58. macro_prep_xeh(hud_color_change.sqf,change_hud_color)
  59. //showe dmg
  60. macro_prep_xeh(show_damage_report.sqf,add_show_dmg_report)
  61. //Yeet them out
  62. call compile preprocessFileLineNumbers 'macro_mod_script_path\add_radio_freq_shower.sqf';
  63. //Mirrors medical menu thingy
  64. ["RD501_MedNotif_Message",
  65. "EDITBOX",
  66. [
  67. "Message",
  68. "Message to show to other players, keep it clean. %1 is used as a placeholder for your name."
  69. ],
  70. "RD501 Medical Notification",
  71. call {profileNamespace getVariable ["RD501_MedNotif_Message", "%1 is asking that you kindly hold still."]}
  72. ] call cba_settings_fnc_init;
  73. diag_log format["RD501_MedNotif[DEBUG]: %1", "Settings Added"];
  74. macro_prep_xeh(medical_notification\add_med_notification.sqf,add_med_notification)
  75. //R-2 Recon Drone
  76. macro_prep_xeh(infantry_uav\fnc_getRefuelMagazine.sqf,getRefuelMagazine)
  77. macro_prep_xeh(infantry_uav\fnc_refuelUAVDrone.sqf,refuelUAVDrone)
  78. macro_prep_xeh(infantry_uav\fnc_canRefuel.sqf,canRefuel)
  79. macro_prep_xeh(heavy_weapon\fnc_heavyWeaponHandlePlayerWeaponChanged.sqf,heavyWeaponHandlePlayerWeaponChanged)
  80. macro_prep_xeh(reload_on_select\fnc_reloadWeaponOnFirstSelected.sqf,reloadWeaponOnFirstSelected)
  81. macro_prep_xeh(reload_on_select\fnc_swapToEmptyWeapon.sqf,swapToEmptyWeapon)
  82. macro_prep_xeh(reload_on_select\fnc_onWeaponFiredSwapToEmpty.sqf,onWeaponFiredSwapToEmpty)
  83. // Flip backpack
  84. macro_prep_xeh(flip_vehicle\fnc_flipVehicle.sqf,flipVehicle)
  85. macro_prep_xeh(flip_vehicle\fnc_canFlipVehicle.sqf,canFlipVehicle)
  86. // Reload Externally
  87. macro_prep_xeh(external_reload\fnc_canReloadExternal.sqf,canReloadExternal)
  88. macro_prep_xeh(external_reload\fnc_reloadExternal.sqf,reloadExternal)
  89. macro_prep_xeh(external_reload\fnc_onReloadExternalHandler.sqf,onReloadExternalHandler)
  90. // Heal Nearby
  91. macro_prep_xeh(heal_nearby\fnc_healAllNearby.sqf,healAllNearby)
  92. // stun
  93. macro_prep_xeh(stun\stun.sqf,stun)
  94. // Medical CCP
  95. macro_prep_xeh(medical_ccp\fnc_stitchAllWounds.sqf,stitchAllWounds)
  96. macro_prep_xeh(medical_ccp\fnc_bandageAllWounds.sqf,bandageAllWounds)
  97. macro_prep_xeh(medical_ccp\fnc_checkInsideCCP.sqf,checkInsideCCP)
  98. macro_prep_xeh(medical_ccp\fnc_stitchAllWoundsNearbyCCP.sqf,stitchAllWoundsNearbyCCP)
  99. macro_prep_xeh(medical_ccp\fnc_bandageAllNearbyCCP.sqf,bandageAllNearbyCCP)
  100. macro_prep_xeh(medical_ccp\fnc_valueProgressBar.sqf,valueProgressBar)
  101. macro_prep_xeh(medical_ccp\fnc_incrementBandageProgress.sqf,incrementBandageProgress)
  102. macro_prep_xeh(medical_ccp\fnc_incrementStitchProgress.sqf,incrementStitchProgress)
  103. macro_prep_xeh(medical_ccp\fnc_deployCCP.sqf,deployCCP)
  104. macro_prep_xeh(medical_ccp\fnc_deployCCPLocal.sqf,deployCCPLocal)
  105. macro_prep_xeh(medical_ccp\fnc_deployCCPServer.sqf,deployCCPServer)
  106. macro_prep_xeh(medical_ccp\fnc_isDoctor.sqf,isDoctor)
  107. macro_prep_xeh(medical_ccp\fnc_canBandageNearbyCCP.sqf,canBandageNearbyCCP)
  108. macro_prep_xeh(medical_ccp\fnc_canStitchNearbyCCP.sqf,canStitchNearbyCCP)
  109. // Jammer
  110. macro_prep_xeh(jammer\fnc_addJammer.sqf,addJammer)
  111. macro_prep_xeh(jammer\fnc_addJammerLocal.sqf,addJammerLocal)
  112. macro_prep_xeh(jammer\fnc_jammersPFH.sqf,jammersPFH)
  113. macro_prep_xeh(jammer\fnc_jammersServerPFH.sqf,jammersServerPFH)
  114. macro_prep_xeh(jammer\fnc_clearAllJammers.sqf,clearAllJammers)
  115. macro_prep_xeh(jammer\fnc_jammerControlActions.sqf,jammerControlActions)
  116. // Impulse
  117. macro_prep_xeh(impulse\fnc_impulseApply.sqf,impulseApply)
  118. macro_prep_xeh(impulse\fnc_impulseIncrease.sqf,impulseIncrease)
  119. macro_prep_xeh(impulse\fnc_impulseDecrease.sqf,impulseDecrease)
  120. macro_prep_xeh(impulse\fnc_impulseApply_LE.sqf,impulseApplyLE)
  121. macro_prep_xeh(impulse\fnc_impulseIncrease_LE.sqf,impulseIncreaseLE)
  122. macro_prep_xeh(impulse\fnc_impulseDecrease_LE.sqf,impulseDecreaseLE)
  123. // Fired Deployables
  124. macro_prep_xeh(fired_deployable\fnc_fired_deployable_firedHandler.sqf,fired_deployable_firedHandler)
  125. macro_prep_xeh(fired_deployable\fnc_fired_deployable_deployServer.sqf,fired_deployable_deployServer)
  126. macro_prep_xeh(fired_deployable\fnc_fired_deployable_loopSoundLocal.sqf,fired_deployable_loopSoundLocal)
  127. macro_prep_xeh(fired_deployable\fnc_fired_deployable_endSoundLocal.sqf,fired_deployable_endSoundLocal)
  128. macro_prep_xeh(fired_deployable\fnc_fired_deployable_personalShieldDeployServer.sqf,fired_deployable_personalShieldDeployServer)
  129. // Droideka Shield
  130. macro_prep_xeh(init\deka_shield_init.sqf,deka_shield_init)
  131. // JLTS Shield
  132. macro_prep_xeh(jlts_shield\fnc_jlts_shield_aiToggle.sqf,jlts_shield_aiToggle)
  133. // Volatile
  134. macro_prep_xeh(volatile\fnc_volatile_create.sqf,volatile_create)
  135. macro_prep_xeh(volatile\fnc_volatile_destroy.sqf,volatile_destroy)
  136. macro_prep_xeh(volatile\fnc_volatile_handleDamage.sqf,volatile_handleDamage)
  137. diag_log "RD501 PREP Complete";