Missed pushing a local commit (dedicated BI revive deactivate)
This commit is contained in:
parent
5953d5565f
commit
22225deb5f
|
@ -1,3 +1,6 @@
|
|||
// Check if ACE is running
|
||||
if (isClass (configfile >> "CfgPatches" >> "ace_common")) then {KP_liberation_ace = true; diag_log "[KP LIBERATION] ACE detected. Deactivating resupply and weather scripts from Liberation."} else {KP_liberation_ace = false};
|
||||
|
||||
/* Not saveable params */
|
||||
GRLIB_param_wipe_savegame_1 = ["WipeSave1",0] call bis_fnc_getParamValue;
|
||||
GRLIB_param_wipe_savegame_2 = ["WipeSave2",0] call bis_fnc_getParamValue;
|
||||
|
@ -12,7 +15,15 @@ KP_liberation_production_debug = ["DebugProduction",0] call bis_fnc_getParamValu
|
|||
|
||||
KP_load_params = ["LoadSaveParams", 1] call BIS_fnc_getParamValue;
|
||||
/* Saveable params */
|
||||
KP_liberation_bis_revive_mode = ["ReviveMode",1] call F_getSaveableParam;
|
||||
|
||||
// Deactivate BI Revive when ACE Medical is running
|
||||
if (isClass (configfile >> "CfgPatches" >> "ace_medical")) then {
|
||||
KP_liberation_bis_revive_mode = 0;
|
||||
diag_log "[KP LIBERATION] ACE Medical detected. Deactivating BI Revive System."
|
||||
} else {
|
||||
KP_liberation_bis_revive_mode = ["ReviveMode",1] call F_getSaveableParam;
|
||||
};
|
||||
|
||||
KP_liberation_bis_revive_mode call bis_fnc_paramReviveMode;
|
||||
(["ReviveDuration",6] call F_getSaveableParam) call BIS_fnc_paramReviveDuration;
|
||||
(["ReviveRequiredTrait",1] call F_getSaveableParam) call BIS_fnc_paramReviveRequiredTrait;
|
||||
|
@ -73,11 +84,6 @@ if (KP_liberation_ailogistics == 1) then {KP_liberation_ailogistics = true} else
|
|||
if (KP_liberation_cr_param_buildings == 1) then {KP_liberation_cr_param_buildings = true} else {KP_liberation_cr_param_buildings = false};
|
||||
if (KP_liberation_clear_cargo == 1) then {KP_liberation_clear_cargo = true} else {KP_liberation_clear_cargo = false};
|
||||
|
||||
// Check if ACE is running
|
||||
if (isClass (configfile >> "CfgPatches" >> "ace_common")) then {KP_liberation_ace = true; diag_log "[KP LIBERATION] ACE detected. Deactivating resupply and weather scripts from Liberation."} else {KP_liberation_ace = false};
|
||||
// Deactivate BI Revive when ACE Medical is running
|
||||
if (isClass (configfile >> "CfgPatches" >> "ace_medical")) then {KP_liberation_ace_med = true; diag_log "[KP LIBERATION] ACE Medical detected. Deactivating BI Revive System."} else {KP_liberation_ace_med = false};
|
||||
|
||||
// Fix for not working float values in mission params
|
||||
switch (GRLIB_unitcap) do {
|
||||
case 0: {GRLIB_unitcap = 0.5;};
|
||||
|
|
Loading…
Reference in New Issue