2017-04-01 18:31:19 +00:00
|
|
|
#define COMPONENT medical_feedback
|
|
|
|
#define COMPONENT_BEAUTIFIED Medical Feedback
|
2016-06-30 15:33:29 +00:00
|
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
|
|
|
|
|
|
|
// #define DEBUG_MODE_FULL
|
2018-07-29 22:07:30 +00:00
|
|
|
// #define DISABLE_COMPILE_CACHE
|
2016-06-30 15:33:29 +00:00
|
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
|
|
|
|
2017-04-01 18:31:19 +00:00
|
|
|
#ifdef DEBUG_ENABLED_MEDICAL_FEEDBACK
|
2016-06-30 15:33:29 +00:00
|
|
|
#define DEBUG_MODE_FULL
|
|
|
|
#endif
|
|
|
|
|
2017-04-01 18:31:19 +00:00
|
|
|
#ifdef DEBUG_SETTINGS_MEDICAL_FEEDBACK
|
|
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_MEDICAL_FEEDBACK
|
2016-06-30 15:33:29 +00:00
|
|
|
#endif
|
|
|
|
|
2020-02-22 20:42:59 +00:00
|
|
|
#include "\a3\ui_f\hpp\defineCommonGrids.inc"
|
2018-07-18 18:13:25 +00:00
|
|
|
#include "\z\ace\addons\medical_engine\script_macros_medical.hpp"
|
2019-04-27 19:12:11 +00:00
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|
2016-12-09 18:16:41 +00:00
|
|
|
|
2018-07-18 18:21:27 +00:00
|
|
|
#define EMPTY_SOUND {"A3\Sounds_F\dummysound.wss",1,1}
|
|
|
|
#define NAMESPACE_NULL locationNull
|
|
|
|
|
|
|
|
#define DISABLE_VANILLA_SCREAMS
|
|
|
|
#define DISABLE_VANILLA_MOANS
|
|
|
|
#define DISABLE_VANILLA_HEARTBEAT
|
|
|
|
#define DISABLE_VANILLA_BLOOD_TEXTURES
|
|
|
|
#define DISABLE_VANILLA_DAMAGE_EFFECTS
|
|
|
|
|
2016-12-09 18:15:44 +00:00
|
|
|
#define FX_PAIN_FADE_IN 0.3
|
|
|
|
#define FX_PAIN_FADE_OUT 0.7
|
2016-12-09 18:16:41 +00:00
|
|
|
#define FX_UNCON_FADE_IN 2.0
|
|
|
|
#define FX_UNCON_FADE_OUT 5.0
|
2017-01-29 19:24:16 +00:00
|
|
|
|
|
|
|
#define SND_HEARBEAT_FAST (selectRandom ["ACE_heartbeat_fast_1", "ACE_heartbeat_fast_2", "ACE_heartbeat_fast_3"])
|
|
|
|
#define SND_HEARBEAT_NORMAL (selectRandom ["ACE_heartbeat_norm_1", "ACE_heartbeat_norm_2"])
|
|
|
|
#define SND_HEARBEAT_SLOW (selectRandom ["ACE_heartbeat_slow_1", "ACE_heartbeat_slow_2"])
|
2019-06-22 21:47:35 +00:00
|
|
|
#define SND_FRACTURE (selectRandom ["ACE_fracture_1", "ACE_fracture_2", "ACE_fracture_3", "ACE_fracture_4"])
|
2018-07-20 21:23:48 +00:00
|
|
|
|
|
|
|
#define VOL_UNCONSCIOUS 0.25
|
2019-10-11 20:00:53 +00:00
|
|
|
|
|
|
|
#define FX_PAIN_WHITE_FLASH 0
|
|
|
|
#define FX_PAIN_PULSATING_BLUR 1
|
|
|
|
#define FX_PAIN_CHROMATIC_ABERRATION 2
|
|
|
|
#define FX_PAIN_ONLY_BASE 3
|
2020-02-22 20:42:59 +00:00
|
|
|
|
|
|
|
#define FX_BLOODVOLUME_COLOR_CORRECTION 0
|
|
|
|
#define FX_BLOODVOLUME_ICON 1
|
|
|
|
#define FX_BLOODVOLUME_BOTH 2
|
|
|
|
|
|
|
|
#define ICON_BLOODVOLUME_IDX_MIN 0
|
|
|
|
#define ICON_BLOODVOLUME_IDX_MAX 6
|
|
|
|
#define ICON_BLOODVOLUME_PATH(num) format [QPATHTOF(data\bloodVolume_%1.paa), num]
|
|
|
|
#define ICON_BLOODVOLUME_COLOR_NONE [0, 0, 0, 0]
|
|
|
|
#define ICON_BLOODVOLUME_COLOR_WHITE [1, 1, 1, 1]
|
|
|
|
#define ICON_BLOODVOLUME_COLOR_ORANGE [1, 0.6, 0, 1]
|
|
|
|
#define ICON_BLOODVOLUME_COLOR_RED [0.8, 0.2, 0, 1]
|
2021-10-12 12:16:30 +00:00
|
|
|
|
|
|
|
#define ICON_TOURNIQUET_PATH QPATHTOF(data\tourniquet.paa)
|
|
|
|
#define ICON_SPLINT_PATH QPATHTOF(data\splint.paa)
|
|
|
|
#define ICON_FRACTURE_PATH QPATHTOF(data\fracture.paa)
|