Second batch of settings files

This commit is contained in:
SAM 2015-05-14 20:59:25 +02:00
parent 021679208b
commit 31adb5a9fc
27 changed files with 265 additions and 335 deletions

View File

@ -0,0 +1,10 @@
class ACE_Settings {
class GVAR(RequireSpecialist) {
value = 0;
typeName = "BOOL";
};
class GVAR(PunishNonSpecialists) {
value = 1;
typeName = "BOOL";
};
};

View File

@ -40,13 +40,4 @@ class CfgMineTriggers {
}; };
}; };
class ACE_Settings { #include "ACE_Settings.hpp"
class GVAR(RequireSpecialist) {
value = 0;
typeName = "BOOL";
};
class GVAR(PunishNonSpecialists) {
value = 1;
typeName = "BOOL";
};
};

View File

@ -0,0 +1,8 @@
class ACE_Settings {
class GVAR(showInThirdPerson) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Goggles_ShowInThirdPerson";
};
};

View File

@ -243,14 +243,7 @@ class SniperCloud {
ACE_Goggles_BulletCount = 1; ACE_Goggles_BulletCount = 1;
}; };
class ACE_Settings { #include "ACE_Settings.hpp"
class GVAR(showInThirdPerson) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Goggles_ShowInThirdPerson";
};
};
class CfgCloudlets { class CfgCloudlets {
class Default; class Default;

View File

@ -0,0 +1,20 @@
class ACE_Settings {
class GVAR(EnableCombatDeafness) {
value = 1;
typeName = "BOOL";
};
class GVAR(EarplugsVolume) {
value = 0.5;
typeName = "SCALAR";
};
class GVAR(UnconsciousnessVolume) {
value = 0.4;
typeName = "SCALAR";
};
class GVAR(DisableEarRinging) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Hearing_DisableEarRinging";
};
};

View File

@ -22,23 +22,4 @@ class CfgPatches {
#include "CfgAmmo.hpp" #include "CfgAmmo.hpp"
class ACE_Settings { #include "ACE_Settings.hpp"
class GVAR(EnableCombatDeafness) {
value = 1;
typeName = "BOOL";
};
class GVAR(EarplugsVolume) {
value = 0.5;
typeName = "SCALAR";
};
class GVAR(UnconsciousnessVolume) {
value = 0.4;
typeName = "SCALAR";
};
class GVAR(DisableEarRinging) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Hearing_DisableEarRinging";
};
};

View File

@ -0,0 +1,72 @@
class ACE_Settings {
class GVAR(AlwaysUseCursorSelfInteraction) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_AlwaysUseCursorSelfInteraction";
};
class GVAR(cursorKeepCentered) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_cursorKeepCentered";
description = "$STR_ACE_Interact_cursorKeepCenteredDescription";
};
class GVAR(AlwaysUseCursorInteraction) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_AlwaysUseCursorInteraction";
};
class GVAR(UseListMenu) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_UseListMenu";
};
class GVAR(colorTextMax) {
value[] = {1, 1, 1, 1};
typeName = "COLOR";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ColorTextMax";
};
class GVAR(colorTextMin) {
value[] = {1, 1, 1, 0.25};
typeName = "COLOR";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ColorTextMin";
};
class GVAR(colorShadowMax) {
value[] = {0, 0, 0, 1};
typeName = "COLOR";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ColorShadowMax";
};
class GVAR(colorShadowMin) {
value[] = {0, 0, 0, 0.25};
typeName = "COLOR";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ColorShadowMin";
};
class GVAR(textSize) {
value = 2;
typeName = "SCALAR";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_textSize";
values[] = {"$str_very_small", "$str_small", "$str_medium", "$str_large", "$str_very_large"};
};
class GVAR(shadowSetting) {
value = 2;
typeName = "SCALAR";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_shadowSetting";
description = "$STR_ACE_Interact_shadowSettingDescription";
values[] = {"$STR_A3_OPTIONS_DISABLED", "$STR_A3_OPTIONS_ENABLED", "$STR_ACE_Interact_shadowOutline"};
};
class GVAR(actionOnKeyRelease) {
value = 1;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ActionOnKeyRelease";
};
};

View File

@ -18,78 +18,7 @@ class CfgPatches {
#include "CursorMenus.hpp" #include "CursorMenus.hpp"
class ACE_Settings { #include "ACE_Settings.hpp"
class GVAR(AlwaysUseCursorSelfInteraction) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_AlwaysUseCursorSelfInteraction";
};
class GVAR(cursorKeepCentered) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_cursorKeepCentered";
description = "$STR_ACE_Interact_cursorKeepCenteredDescription";
};
class GVAR(AlwaysUseCursorInteraction) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_AlwaysUseCursorInteraction";
};
class GVAR(UseListMenu) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_UseListMenu";
};
class GVAR(colorTextMax) {
value[] = {1, 1, 1, 1};
typeName = "COLOR";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ColorTextMax";
};
class GVAR(colorTextMin) {
value[] = {1, 1, 1, 0.25};
typeName = "COLOR";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ColorTextMin";
};
class GVAR(colorShadowMax) {
value[] = {0, 0, 0, 1};
typeName = "COLOR";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ColorShadowMax";
};
class GVAR(colorShadowMin) {
value[] = {0, 0, 0, 0.25};
typeName = "COLOR";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ColorShadowMin";
};
class GVAR(textSize) {
value = 2;
typeName = "SCALAR";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_textSize";
values[] = {"$str_very_small", "$str_small", "$str_medium", "$str_large", "$str_very_large"};
};
class GVAR(shadowSetting) {
value = 2;
typeName = "SCALAR";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_shadowSetting";
description = "$STR_ACE_Interact_shadowSettingDescription";
values[] = {"$STR_A3_OPTIONS_DISABLED", "$STR_A3_OPTIONS_ENABLED", "$STR_ACE_Interact_shadowOutline"};
};
class GVAR(actionOnKeyRelease) {
value = 1;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_ActionOnKeyRelease";
};
};
class ACE_Extensions { class ACE_Extensions {
extensions[] += {"ace_break_line"}; extensions[] += {"ace_break_line"};

View File

@ -0,0 +1,17 @@
class ACE_Settings {
//Time to move a round from one magazine to another
class GVAR(TimePerAmmo) {
value = 1.5;
typeName = "SCALAR";
};
//Time to swap between magazines when repacking
class GVAR(TimePerMagazine) {
value = 2.0;
typeName = "SCALAR";
};
//Time to relink 2 belts together
class GVAR(TimePerBeltLink) {
value = 8.0;
typeName = "SCALAR";
};
};

View File

@ -15,21 +15,4 @@ class CfgPatches {
#include "CfgEventHandlers.hpp" #include "CfgEventHandlers.hpp"
#include "CfgSounds.hpp" #include "CfgSounds.hpp"
#include "CfgVehicles.hpp" #include "CfgVehicles.hpp"
#include "ACE_Settings.hpp"
class ACE_Settings {
//Time to move a round from one magazine to another
class GVAR(TimePerAmmo) {
value = 1.5;
typeName = "SCALAR";
};
//Time to swap between magazines when repacking
class GVAR(TimePerMagazine) {
value = 2.0;
typeName = "SCALAR";
};
//Time to relink 2 belts together
class GVAR(TimePerBeltLink) {
value = 8.0;
typeName = "SCALAR";
};
};

View File

@ -0,0 +1,30 @@
class ACE_Settings {
class GVAR(BFT_Interval) {
value = 1.0;
typeName = "SCALAR";
};
class GVAR(BFT_Enabled) {
value = 0;
typeName = "BOOL";
};
class GVAR(BFT_HideAiGroups) {
value = 0;
typeName = "BOOL";
};
class GVAR(mapIllumination) {
value = 1;
typeName = "BOOL";
};
class GVAR(mapShake) {
value = 1;
typeName = "BOOL";
};
class GVAR(mapLimitZoom) {
value = 0;
typeName = "BOOL";
};
class GVAR(mapShowCursorCoordinates) {
value = 0;
typeName = "BOOL";
};
};

View File

@ -23,37 +23,7 @@ class RscButtonMenuCancel;
class RscButtonMenu; class RscButtonMenu;
class RscEdit; class RscEdit;
class ACE_Settings { #include "ACE_Settings.hpp"
class GVAR(BFT_Interval) {
value = 1.0;
typeName = "SCALAR";
};
class GVAR(BFT_Enabled) {
value = 0;
typeName = "BOOL";
};
class GVAR(BFT_HideAiGroups) {
value = 0;
typeName = "BOOL";
};
class GVAR(mapIllumination) {
value = 1;
typeName = "BOOL";
};
class GVAR(mapShake) {
value = 1;
typeName = "BOOL";
};
class GVAR(mapLimitZoom) {
value = 0;
typeName = "BOOL";
};
class GVAR(mapShowCursorCoordinates) {
value = 0;
typeName = "BOOL";
};
};
#include "CfgEventHandlers.hpp" #include "CfgEventHandlers.hpp"
#include "CfgMarkers.hpp" #include "CfgMarkers.hpp"
#include "CfgVehicles.hpp" #include "CfgVehicles.hpp"

View File

@ -0,0 +1,6 @@
class ACE_Settings {
class GVAR(EveryoneCanDrawOnBriefing) {
value = 1;
typeName = "BOOL";
};
};

View File

@ -12,12 +12,7 @@ class CfgPatches {
}; };
}; };
class ACE_Settings { #include "ACE_Settings.hpp"
class GVAR(EveryoneCanDrawOnBriefing) {
value = 1;
typeName = "BOOL";
};
};
class RscControlsGroup; class RscControlsGroup;
class RscActiveText; class RscActiveText;

View File

@ -0,0 +1,18 @@
class ACE_Settings {
//These settings effect gameplay difficutly: defaults will leave the mortar the same as vanilla
class GVAR(airResistanceEnabled) {
value = 0;
typeName = "BOOL";
isClientSetable = 0;
};
class GVAR(allowComputerRangefinder) {
value = 1;
typeName = "BOOL";
isClientSetable = 0;
};
class GVAR(allowCompass) {
value = 1;
typeName = "BOOL";
isClientSetable = 0;
};
};

View File

@ -26,22 +26,4 @@ class RscActiveText;
#include "RscInGameUI.hpp" #include "RscInGameUI.hpp"
#include "RscRangeTable.hpp" #include "RscRangeTable.hpp"
#include "ACE_Settings.hpp"
class ACE_Settings {
//These settings effect gameplay difficutly: defaults will leave the mortar the same as vanilla
class GVAR(airResistanceEnabled) {
value = 0;
typeName = "BOOL";
isClientSetable = 0;
};
class GVAR(allowComputerRangefinder) {
value = 1;
typeName = "BOOL";
isClientSetable = 0;
};
class GVAR(allowCompass) {
value = 1;
typeName = "BOOL";
isClientSetable = 0;
};
};

View File

@ -1,76 +0,0 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"};
author[] = { "commy2", "esteldunedain" };
authorUrl = "https://github.com/commy2/";
VERSION_CONFIG;
};
};
#include "CfgEventHandlers.hpp"
#include "CfgVehicles.hpp"
class ACE_Settings {
class GVAR(defaultNametagColor) {
value[] = {0.77, 0.51, 0.08, 1};
typeName = "COLOR";
isClientSettable = 1;
displayName = "$STR_ACE_NameTags_DefaultNametagColor";
};
class GVAR(showPlayerNames) {
value = 1;
typeName = "SCALAR";
isClientSettable = 1;
displayName = "$STR_ACE_NameTags_ShowPlayerNames";
description = "$STR_ACE_NameTags_ShowPlayerNames_Desc";
values[] = {"$STR_ACE_Common_Disabled", "$STR_ACE_Common_Enabled", "$STR_ACE_Common_OnlyCursor", "$STR_ACE_Common_OnlyOnKeypress", "$STR_ACE_Common_OnlyCursorAndKeyPress"};
};
class GVAR(showPlayerRanks) {
value = 1;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_NameTags_ShowPlayerRanks";
};
class GVAR(showVehicleCrewInfo) {
value = 1;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_NameTags_ShowVehicleCrewInfo";
};
class GVAR(showNamesForAI) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_NameTags_ShowNamesForAI";
};
class GVAR(showCursorTagForVehicles) {
value = 0;
typeName = "BOOL";
isClientSettable = 0;
};
class GVAR(showSoundWaves) {
value = 1;
typeName = "SCALAR";
isClientSettable = 1;
displayName = "$STR_ACE_NameTags_ShowSoundWaves";
description = "$STR_ACE_NameTags_ShowSoundWaves_Desc";
values[] = {"$STR_ACE_Common_Disabled", "$STR_ACE_Common_NameTagSettings", "$STR_ACE_Common_AlwaysShowAll"};
};
class GVAR(PlayerNamesViewDistance) {
value = 5;
typeName = "SCALAR";
isClientSettable = 0;
};
class GVAR(PlayerNamesMaxAlpha) {
value = 0.8;
typeName = "SCALAR";
isClientSettable = 0;
};
};
#include <RscTitles.hpp>

View File

@ -0,0 +1,9 @@
class ACE_Settings {
class GVAR(optionMenuDisplaySize) {
value = 0;
typeName = "SCALAR";
isClientSettable = 1;
displayName = "$STR_ACE_optionsMenu_uiScaing";
values[] = {"$str_medium", "$str_large", "$str_very_large"};
};
};

View File

@ -27,16 +27,7 @@ class CfgAddons {
#include "gui\pauseMenu.hpp" #include "gui\pauseMenu.hpp"
#include "CfgVehicles.hpp" #include "CfgVehicles.hpp"
#include "ACE_Settings.hpp"
class ACE_Settings {
class GVAR(optionMenuDisplaySize) {
value = 0;
typeName = "SCALAR";
isClientSettable = 1;
displayName = "$STR_ACE_optionsMenu_uiScaing";
values[] = {"$str_medium", "$str_large", "$str_very_large"};
};
};
class ACE_Extensions { class ACE_Extensions {
extensions[] += {"ace_clipboard"}; extensions[] += {"ace_clipboard"};

View File

@ -0,0 +1,9 @@
class ACE_Settings {
class GVAR(DisplayTextOnJam) {
typeName = "BOOL";
isClientSettable = 1;
value = 1;
displayName = "$STR_ACE_overheating_SettingDisplayTextName";
description = "$STR_ACE_overheating_SettingDisplayTextDesc";
};
};

View File

@ -20,13 +20,5 @@ class CfgPatches {
#include "CfgWeapons.hpp" #include "CfgWeapons.hpp"
class ACE_Settings { #include "ACE_Settings.hpp"
class GVAR(DisplayTextOnJam) {
typeName = "BOOL";
isClientSettable = 1;
value = 1;
displayName = "$STR_ACE_overheating_SettingDisplayTextName";
description = "$STR_ACE_overheating_SettingDisplayTextDesc";
};
};

View File

@ -0,0 +1,9 @@
class ACE_Settings {
class GVAR(DisplayText) {
typeName = "BOOL";
isClientSettable = 1;
value = 1;
displayName = "$STR_ACE_reload_SettingDisplayTextName";
description = "$STR_ACE_reload_SettingDisplayTextDesc";
};
};

View File

@ -22,13 +22,4 @@ class CfgPatches {
#include "RscInGameUI.hpp" #include "RscInGameUI.hpp"
class ACE_Settings { #include "ACE_Settings.hpp"
class GVAR(DisplayText) {
typeName = "BOOL";
isClientSettable = 1;
value = 1;
displayName = "$STR_ACE_reload_SettingDisplayTextName";
description = "$STR_ACE_reload_SettingDisplayTextDesc";
};
};

View File

@ -0,0 +1,14 @@
class ACE_Settings {
class GVAR(SavePreDeathGear) {
value = 0;
typeName = "BOOL";
};
class GVAR(RemoveDeadBodiesDisconnected) {
value = 1;
typeName = "BOOL";
};
class GVAR(BodyRemoveTimer) {
value = 0;
typeName = "SCALAR";
};
};

View File

@ -16,18 +16,4 @@ class CfgPatches {
#include "CfgAddons.hpp" #include "CfgAddons.hpp"
#include "CfgVehicleClasses.hpp" #include "CfgVehicleClasses.hpp"
#include "CfgVehicles.hpp" #include "CfgVehicles.hpp"
#include "ACE_Settings.hpp"
class ACE_Settings {
class GVAR(SavePreDeathGear) {
value = 0;
typeName = "BOOL";
};
class GVAR(RemoveDeadBodiesDisconnected) {
value = 1;
typeName = "BOOL";
};
class GVAR(BodyRemoveTimer) {
value = 0;
typeName = "SCALAR";
};
};

View File

@ -0,0 +1,30 @@
class ACE_Settings {
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";
};
class GVAR(SafeZoneRadius) {
value = 100;
typeName = "SCALAR";
};
};

View File

@ -14,34 +14,4 @@ class CfgPatches {
#include "CfgEventHandlers.hpp" #include "CfgEventHandlers.hpp"
#include "CfgVehicles.hpp" #include "CfgVehicles.hpp"
#include "ACE_Settings.hpp"
class ACE_Settings {
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";
};
class GVAR(SafeZoneRadius) {
value = 100;
typeName = "SCALAR";
};
};