2016-05-30 16:37:03 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
ADDON = false;
|
|
|
|
|
2016-12-29 21:04:19 +00:00
|
|
|
PREP_RECOMPILE_START;
|
2016-05-30 16:37:03 +00:00
|
|
|
#include "XEH_PREP.hpp"
|
2016-12-29 21:04:19 +00:00
|
|
|
PREP_RECOMPILE_END;
|
2016-05-30 16:37:03 +00:00
|
|
|
|
2021-10-30 21:42:03 +00:00
|
|
|
// Formally a ace_setting, users can still disable by `setting ace_missileguidance_enabled = x;`
|
2017-11-15 21:19:07 +00:00
|
|
|
// [0 - Off , 1 - PlayerOnly, 2 - PlayerAndAi]
|
|
|
|
// As weapons take config changes, there is little point in being able to disable guidance
|
|
|
|
if (isNil QGVAR(enabled)) then { GVAR(enabled) = 2; };
|
|
|
|
|
2021-04-19 07:27:49 +00:00
|
|
|
GVAR(debug_enableMissileCamera) = false;
|
2021-04-21 06:52:55 +00:00
|
|
|
GVAR(debug_drawGuidanceInfo) = false;
|
2021-04-19 07:27:49 +00:00
|
|
|
|
|
|
|
#ifdef DRAW_GUIDANCE_INFO
|
|
|
|
GVAR(debug_drawGuidanceInfo) = true;
|
2021-04-21 21:58:39 +00:00
|
|
|
#endif
|
2021-04-19 07:27:49 +00:00
|
|
|
|
|
|
|
#ifdef ENABLE_PROJECTILE_CAMERA
|
2021-04-16 21:43:31 +00:00
|
|
|
GVAR(debug_enableMissileCamera) = true;
|
2021-04-19 07:27:49 +00:00
|
|
|
#endif
|
2021-04-16 21:43:31 +00:00
|
|
|
|
2016-05-30 16:37:03 +00:00
|
|
|
ADDON = true;
|