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 {
GVAR(RequireSpecialist) = 0;
GVAR(PunishNonSpecialists) = 1;
class ACE_Settings {
class GVAR(RequireSpecialist) {
value = 0;
typeName = "BOOL";
};
class GVAR(PunishNonSpecialists) {
value = 1;
typeName = "BOOL";
};
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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