1
0

XEH_preInit.sqf 8.0 KB

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