ACE_Settings: replace all ACE_Parameters

This commit is contained in:
Nicolás Badano 2015-01-30 19:06:25 -03:00
parent e277b05aff
commit 981978d043
8 changed files with 83 additions and 39 deletions

View File

@ -39,7 +39,13 @@ class CfgMineTriggers {
}; };
}; };
class ACE_Parameters_Boolean { class ACE_Settings {
GVAR(RequireSpecialist) = 0; class GVAR(RequireSpecialist) {
GVAR(PunishNonSpecialists) = 1; value = 0;
typeName = "BOOL";
};
class GVAR(PunishNonSpecialists) {
value = 1;
typeName = "BOOL";
};
}; };

View File

@ -33,8 +33,11 @@ class ACE_Options {
}; };
}; };
class ACE_Parameters_Boolean { class ACE_Settings {
ACE_Interaction_EnableTeamManagement = 1; class GVAR(EnableTeamManagement) {
value = 1;
typeName = "BOOL";
};
}; };
class ACE_canInteractConditions { class ACE_canInteractConditions {

View File

@ -15,7 +15,13 @@ class CfgPatches {
#include "CfgEventHandlers.hpp" #include "CfgEventHandlers.hpp"
#include "CfgVehicles.hpp" #include "CfgVehicles.hpp"
class ACE_Parameters_Numeric { class ACE_Settings {
GVAR(TimePerAmmo) = 1.5; class GVAR(TimePerAmmo) {
GVAR(TimePerMagazine) = 2.0; value = 1.5;
typeName = "SCALAR";
};
class GVAR(TimePerMagazine) {
value = 2.0;
typeName = "SCALAR";
};
}; };

View File

@ -23,13 +23,23 @@ class RscButtonMenuCancel;
class RscButtonMenu; class RscButtonMenu;
class RscEdit; class RscEdit;
class ACE_Parameters_Numeric { class ACE_Settings {
GVAR(BFT_Interval) = 1; class GVAR(BFT_Interval) {
}; value = 1.0;
class ACE_Parameters_Boolean { typeName = "SCALAR";
GVAR(EveryoneCanDrawOnBriefing) = 1; };
GVAR(BFT_Enabled) = 0; class GVAR(EveryoneCanDrawOnBriefing) {
GVAR(BFT_HideAiGroups) = 0; value = 1;
typeName = "BOOL";
};
class GVAR(BFT_Enabled) {
value = 0;
typeName = "BOOL";
};
class GVAR(BFT_HideAiGroups) {
value = 0;
typeName = "BOOL";
};
}; };
#include "MapGpsUI.hpp" #include "MapGpsUI.hpp"

View File

@ -17,7 +17,13 @@ class CfgPatches {
#include "CfgVehicleClasses.hpp" #include "CfgVehicleClasses.hpp"
#include "CfgVehicles.hpp" #include "CfgVehicles.hpp"
class ACE_Parameters_Boolean { class ACE_Settings {
GVAR(SavePreDeathGear) = 0; class GVAR(SavePreDeathGear) {
GVAR(RemoveDeadBodiesDisconnected) = 1; value = 0;
typeName = "BOOL";
};
class GVAR(RemoveDeadBodiesDisconnected) {
value = 1;
typeName = "BOOL";
};
}; };

View File

@ -15,15 +15,33 @@ class CfgPatches {
#include "CfgEventHandlers.hpp" #include "CfgEventHandlers.hpp"
#include "CfgVehicles.hpp" #include "CfgVehicles.hpp"
class ACE_Parameters_Numeric { class ACE_Settings {
GVAR(SafeZoneRadius) = 100; class GVAR(SafeZoneRadius) {
}; value = 100;
typeName = "SCALAR";
class ACE_Parameters_Boolean { };
GVAR(EnableSwitchUnits) = 0; class GVAR(EnableSwitchUnits) {
GVAR(SwitchToWest) = 0; value = 0;
GVAR(SwitchToEast) = 0; typeName = "BOOL";
GVAR(SwitchToIndependent) = 0; };
GVAR(SwitchToCivilian) = 0; class GVAR(SwitchToWest) {
GVAR(EnableSafeZone) = 1; value = 0;
typeName = "BOOL";
};
class GVAR(SwitchToEast) {
value = 0;
typeName = "BOOL";
};
class GVAR(SwitchToIndependent) {
value = 0;
typeName = "BOOL";
};
class GVAR(SwitchToCivilian) {
value = 0;
typeName = "BOOL";
};
class GVAR(EnableSafeZone) {
value = 1;
typeName = "BOOL";
};
}; };

View File

@ -12,8 +12,11 @@ class CfgPatches {
}; };
}; };
class ACE_Parameters_Numeric { class ACE_Settings {
GVAR(DefaultLockpickStrength) = 10; class GVAR(DefaultLockpickStrength) {
value = 10;
typeName = "SCALAR";
};
}; };
#include "CfgEventHandlers.hpp" #include "CfgEventHandlers.hpp"

View File

@ -14,11 +14,3 @@ class CfgPatches {
#include "CfgEventhandlers.hpp" #include "CfgEventhandlers.hpp"
#include "CfgWorlds.hpp" #include "CfgWorlds.hpp"
/*class ACE_Parameters_Numeric {
GVAR(XXXX) = 100;
};
class ACE_Parameters_Boolean {
GVAR(XXXX) = 0;
};*/