mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Remove missileGuidance setting (#5778)
This commit is contained in:
parent
66069519fc
commit
9c7511df0b
@ -1,9 +0,0 @@
|
|||||||
class ACE_Settings {
|
|
||||||
class GVAR(enabled) {
|
|
||||||
value = 2;
|
|
||||||
typeName = "SCALAR";
|
|
||||||
displayName = CSTRING(Title);
|
|
||||||
description = CSTRING(Desc);
|
|
||||||
values[] = {CSTRING(Off), CSTRING(PlayerOnly), CSTRING(PlayerAndAi)};
|
|
||||||
};
|
|
||||||
};
|
|
@ -6,4 +6,9 @@ PREP_RECOMPILE_START;
|
|||||||
#include "XEH_PREP.hpp"
|
#include "XEH_PREP.hpp"
|
||||||
PREP_RECOMPILE_END;
|
PREP_RECOMPILE_END;
|
||||||
|
|
||||||
|
// Formally a ace_setting, users can still disable by `setting ace_missileguidance_enabled = x;`
|
||||||
|
// [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; };
|
||||||
|
|
||||||
ADDON = true;
|
ADDON = true;
|
||||||
|
@ -14,7 +14,6 @@ class CfgPatches {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#include "ACE_GuidanceConfig.hpp"
|
#include "ACE_GuidanceConfig.hpp"
|
||||||
#include "ACE_Settings.hpp"
|
|
||||||
|
|
||||||
#include "CfgEventhandlers.hpp"
|
#include "CfgEventhandlers.hpp"
|
||||||
#include "CfgAmmo.hpp"
|
#include "CfgAmmo.hpp"
|
||||||
|
Loading…
Reference in New Issue
Block a user