From 60fa6dfbe6b65dec8d9b5a2405efffcf62359aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Badano?= Date: Tue, 27 Jan 2015 19:25:18 -0300 Subject: [PATCH] gforces: fixed prefix for config entries --- addons/gforces/CfgVehicles.hpp | 8 ++++---- addons/gforces/CfgWeapons.hpp | 8 ++++---- addons/gforces/functions/fnc_pfhUpdateGForces.sqf | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/addons/gforces/CfgVehicles.hpp b/addons/gforces/CfgVehicles.hpp index 6075614e62..a73bb98d8b 100644 --- a/addons/gforces/CfgVehicles.hpp +++ b/addons/gforces/CfgVehicles.hpp @@ -1,19 +1,19 @@ class CfgVehicles { class Man; class CAManBase: Man { - AGM_GForceCoef = 1; + ACE_GForceCoef = 1; }; class B_Soldier_05_f; class B_Pilot_F: B_Soldier_05_f { - AGM_GForceCoef = 0.55; + ACE_GForceCoef = 0.55; }; class I_Soldier_04_F; class I_pilot_F: I_Soldier_04_F { - AGM_GForceCoef = 0.55; + ACE_GForceCoef = 0.55; }; class O_helipilot_F; class O_Pilot_F: O_helipilot_F { - AGM_GForceCoef = 0.55; + ACE_GForceCoef = 0.55; }; }; diff --git a/addons/gforces/CfgWeapons.hpp b/addons/gforces/CfgWeapons.hpp index ddd7fda3ab..7b69dc24b9 100644 --- a/addons/gforces/CfgWeapons.hpp +++ b/addons/gforces/CfgWeapons.hpp @@ -1,16 +1,16 @@ class CfgWeapons { class ItemCore; class Uniform_Base: ItemCore { - AGM_GForceCoef = 1; + ACE_GForceCoef = 1; }; class U_B_PilotCoveralls: Uniform_Base { - AGM_GForceCoef = 0.8; + ACE_GForceCoef = 0.8; }; class U_I_pilotCoveralls: Uniform_Base { - AGM_GForceCoef = 0.8; + ACE_GForceCoef = 0.8; }; class U_O_PilotCoveralls: Uniform_Base { - AGM_GForceCoef = 0.8; + ACE_GForceCoef = 0.8; }; }; \ No newline at end of file diff --git a/addons/gforces/functions/fnc_pfhUpdateGForces.sqf b/addons/gforces/functions/fnc_pfhUpdateGForces.sqf index f1c1dfc5bc..afee7579cd 100644 --- a/addons/gforces/functions/fnc_pfhUpdateGForces.sqf +++ b/addons/gforces/functions/fnc_pfhUpdateGForces.sqf @@ -59,8 +59,8 @@ if (count GVAR(GForces) > 0) then { }; _classCoef = ACE_player getVariable ["ACE_GForceCoef", - getNumber (configFile >> "CfgVehicles" >> (typeOf ACE_player) >> "AGM_GForceCoef")]; -_suitCoef = getNumber (configFile >> "CfgWeapons" >> (uniform ACE_player) >> "AGM_GForceCoef"); + getNumber (configFile >> "CfgVehicles" >> (typeOf ACE_player) >> "ACE_GForceCoef")]; +_suitCoef = getNumber (configFile >> "CfgWeapons" >> (uniform ACE_player) >> "ACE_GForceCoef"); _gBlackOut = MAXVIRTUALG / _classCoef + MAXVIRTUALG / _suitCoef - MAXVIRTUALG; _gRedOut = MINVIRTUALG / _classCoef;