2016-05-30 16:37:03 +00:00
|
|
|
#define COMPONENT frag
|
2016-06-20 09:41:17 +00:00
|
|
|
#define COMPONENT_BEAUTIFIED Frag
|
2016-05-30 16:37:03 +00:00
|
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
|
|
|
|
2024-01-08 21:21:32 +00:00
|
|
|
// #define LOG_FRAG_INFO
|
2024-02-14 22:50:09 +00:00
|
|
|
// #define DEBUG_MODE_FULL
|
2024-01-15 07:33:25 +00:00
|
|
|
// #define DEBUG_MODE_DRAW
|
2024-01-09 06:27:13 +00:00
|
|
|
// #define DISABLE_COMPILE_CACHE
|
2016-05-30 16:37:03 +00:00
|
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
|
|
|
|
|
|
|
#ifdef DEBUG_ENABLED_FRAG
|
|
|
|
#define DEBUG_MODE_FULL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DEBUG_SETTINGS_FRAG
|
|
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_FRAG
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|
|
|
|
|
2024-07-19 00:28:11 +00:00
|
|
|
// Mimimum hold-off time between frag events per unit
|
2024-07-19 03:33:19 +00:00
|
|
|
#define ACE_FRAG_FRAG_UNIT_HOLDOFF 0.5
|
|
|
|
#define ACE_FRAG_SPALL_UNIT_HOLDOFF 0.5
|
2024-02-08 23:11:36 +00:00
|
|
|
// Scaling for the min/max # of fragments since last frag event
|
|
|
|
#define ACE_FRAG_COUNT_MIN_TIME 0.1
|
2024-01-09 03:40:12 +00:00
|
|
|
#define ACE_FRAG_COUNT_MIN 5
|
2024-07-19 00:16:28 +00:00
|
|
|
#define ACE_FRAG_COUNT_MAX_TIME 1.5
|
2024-01-09 03:40:12 +00:00
|
|
|
#define ACE_FRAG_COUNT_MAX 50
|
2024-03-17 22:23:16 +00:00
|
|
|
#define ACE_FRAG_IMPERIC_VELOCITY_CONSTANT 0.8
|