mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
2474da36b3
* Fix pick up interaction not rendering right after throw, Prevent GL rounds from being picked up * Prevent picking up GL and mortar smoke shells * Fix pick up delay properly, Add separate define for quick throwing (for use when debugging) * Fix forgotten rename in IR chemlight handling
33 lines
832 B
C++
33 lines
832 B
C++
#define COMPONENT advanced_throwing
|
|
#define COMPONENT_BEAUTIFIED Advanced Throwing
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
|
|
|
// #define DRAW_THROW_PATH
|
|
// #define ALLOW_QUICK_THROW
|
|
// #define DEBUG_MODE_FULL
|
|
// #define DISABLE_COMPILE_CACHE
|
|
// #define CBA_DEBUG_SYNCHRONOUS
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
|
|
|
#ifdef DEBUG_ENABLED_ADVANCED_THROWING
|
|
#define DEBUG_MODE_FULL
|
|
#endif
|
|
|
|
#ifdef DEBUG_SETTINGS_ADVANCED_THROWING
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_ADVANCED_THROWING
|
|
#endif
|
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|
|
|
|
|
|
#define THROWSTYLE_NORMAL_DIR [0, 70, 500]
|
|
#define THROWSTYLE_HIGH_DIR [0, 200, 500]
|
|
#define THROWSTYLE_HIGH_VEL_COEF 2
|
|
#define THROWSTYLE_DROP_VEL 2
|
|
|
|
#define THROW_TYPE_DEFAULT "normal"
|
|
#define THROW_SPEED_DEFAULT 18
|
|
#define DROP_DISTANCE_DEFAULT 0.2
|
|
|
|
#define PICK_UP_DISTANCE 10
|