mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
9760095c42
* Allow incendiary grenades to damage multiple vehicles Disable incendiaries damaging invulnerable vehicles * Apply fire damage to vehicles even after grenade detonation * Update fnc_damageEngineAndWheels.sqf * Update fnc_incendiary.sqf * Update fnc_damageEngineAndWheels.sqf * british people don't exist --------- Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
27 lines
619 B
C++
27 lines
619 B
C++
#define COMPONENT grenades
|
|
#define COMPONENT_BEAUTIFIED Grenades
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
|
|
|
// #define DEBUG_MODE_FULL
|
|
// #define DISABLE_COMPILE_CACHE
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
|
|
|
#ifdef DEBUG_ENABLED_GRENADES
|
|
#define DEBUG_MODE_FULL
|
|
#endif
|
|
|
|
#ifdef DEBUG_SETTINGS_GRENADES
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_GRENADES
|
|
#endif
|
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|
|
|
|
#define EFFECT_STAGE_RESETAI 0
|
|
#define EFFECT_STAGE_DELETELIGHT 1
|
|
#define EFFECT_STAGE_PARTIALRECOVERY 2
|
|
#define EFFECT_STAGE_FULLRECOVERY 3
|
|
|
|
#define EFFECT_SIZE 1
|
|
|
|
#define MIN_EXPLOSION_TIME_FOR_ROLL 1
|