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-01-15 07:33:25 +00:00
|
|
|
// #define DEBUG_MODE_FULL
|
|
|
|
// #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-01-11 00:34:54 +00:00
|
|
|
#define ACE_FRAG_HOLDOFF 0.25
|
2024-01-09 23:25:09 +00:00
|
|
|
#define ACE_FRAG_HOLDOFF_VEHICLE 1
|
2024-01-11 00:34:54 +00:00
|
|
|
#define ACE_FRAG_SPALL_HOLDOFF 0.25
|
2024-01-09 03:40:12 +00:00
|
|
|
#define ACE_FRAG_COUNT_MIN 5
|
|
|
|
#define ACE_FRAG_COUNT_MAX 50
|
|
|
|
#define ACE_FRAG_HITPOINTS ["spine1","spine2","spine3","head","leftarm","leftarmroll","leftforearm","rightarm","rightarmroll","rightforearm","pelvis","leftupleg","leftuplegroll","leftlegroll","leftfoot","rightupleg","rightuplegroll","rightleg","rightlegroll","rightfoot"]
|
2024-01-13 06:35:22 +00:00
|
|
|
#define ACE_FRAG_HITPOINTS_WEIGHTS
|
2024-01-15 07:18:47 +00:00
|
|
|
// sqrt(2)/50
|
|
|
|
#define ACE_FRAG_ROUND_COEF 0.02828427
|
2024-01-09 03:40:12 +00:00
|
|
|
|
2024-01-11 00:34:54 +00:00
|
|
|
#ifndef GLUE
|
|
|
|
#define GLUE(g1,g2) g1##g2
|
2024-01-09 03:40:12 +00:00
|
|
|
#endif
|