mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
3c1e912787
- Added new ammo cfg types - Added new caching functions - Added dev functions - Transfered core system to vanilla projectile EHs - Added stringtable sub categories - Reworked fragmenting and spalling to us submunitions - Frag - Implemented system around chance to hit - Switched from hitbox estimation to hitting specific HPs - Updated chance to miss method based on solid angle hit chance - Split random & targeted frag to their own subfunctions - Spall - Uses a system of estimated momentum changes to generate spall
30 lines
551 B
Plaintext
30 lines
551 B
Plaintext
#include "script_component.hpp"
|
|
|
|
ADDON = false;
|
|
|
|
PREP_RECOMPILE_START;
|
|
#include "XEH_PREP.hpp"
|
|
PREP_RECOMPILE_END;
|
|
|
|
|
|
GVAR(materialSpallCache) = createHashMap;
|
|
GVAR(spallRoundCache) = createHashMap;
|
|
|
|
GVAR(shouldFragCache) = createHashMap;
|
|
GVAR(fragInfoCache) = createHashMap;
|
|
GVAR(lastFragTime) = -2;
|
|
|
|
|
|
#include "initSettings.inc.sqf"
|
|
|
|
#ifdef DEBUG_MODE_FULL
|
|
GVAR(dev_trackLines) = createHashMap;
|
|
GVAR(dev_hitBoxes) = createHashMap;
|
|
GVAR(dev_failedToDelete) = 0;
|
|
GVAR(dev_eventSpheres) = [];
|
|
#include "initSettingsDebug.inc.sqf"
|
|
#endif
|
|
|
|
|
|
ADDON = true;
|