From e142d383aeb9c40418e3f6c8732732b80ddfbdc3 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Thu, 23 May 2024 23:58:54 -0500 Subject: [PATCH] Disable alt flightmode for now --- addons/clgp/functions/fnc_copperhead_onfired.sqf | 6 +++++- addons/clgp/script_component.hpp | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/addons/clgp/functions/fnc_copperhead_onfired.sqf b/addons/clgp/functions/fnc_copperhead_onfired.sqf index 76918a71a5..ed843b263f 100644 --- a/addons/clgp/functions/fnc_copperhead_onfired.sqf +++ b/addons/clgp/functions/fnc_copperhead_onfired.sqf @@ -25,7 +25,11 @@ _stateParams params ["", "", "_attackProfileStateParams"]; TRACE_6("copperhead_onfired",_projectile,_trajectorySetting,_delaySetting,_laserCodeA,_laserCodeB,_laserCodeC); // Set trajectory from first dial -private _trajectoryShaped = _trajectorySetting >= 3; // 1-2 is ballisitic, 3-8 is shaped + +// Changing path without active feedback causes problems on current missile guidance +// probably due to poor vector change in ace_missileguidance_fnc_guidancePFH, disable for now +private _trajectoryShaped = false; +// private _trajectoryShaped = _trajectorySetting >= 3; // 1-2 is ballisitic, 3-8 is shaped _attackProfileStateParams set [0, _trajectoryShaped]; // set var for submuntion's deployCondition from second dial diff --git a/addons/clgp/script_component.hpp b/addons/clgp/script_component.hpp index 5ba1092278..4bbee544af 100644 --- a/addons/clgp/script_component.hpp +++ b/addons/clgp/script_component.hpp @@ -2,9 +2,9 @@ #define COMPONENT_BEAUTIFIED Cannon Launched Guided Projectiles #include "\z\ace\addons\main\script_mod.hpp" -#define DEBUG_MODE_FULL -#define DISABLE_COMPILE_CACHE -#define ENABLE_QUICK_TESTING +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define ENABLE_QUICK_TESTING // #define ENABLE_PERFORMANCE_COUNTERS #include "\z\ace\addons\main\script_macros.hpp"