Merge pull request #3568 from acemod/settingsNameDescp

Ace_Settings - add name,descption,categories
This commit is contained in:
Nicolás Badano 2016-03-21 21:24:22 -03:00
commit b4f6dbbc18
14 changed files with 137 additions and 5 deletions

View File

@ -1,29 +1,34 @@
class ACE_Settings { class ACE_Settings {
class GVAR(enabled) { class GVAR(enabled) {
category = CSTRING(DisplayName);
displayName = CSTRING(enabled_DisplayName); displayName = CSTRING(enabled_DisplayName);
description = CSTRING(enabled_Description); description = CSTRING(enabled_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 0; value = 0;
}; };
class GVAR(simulateForSnipers) { class GVAR(simulateForSnipers) {
category = CSTRING(DisplayName);
displayName = CSTRING(simulateForSnipers_DisplayName); displayName = CSTRING(simulateForSnipers_DisplayName);
description = CSTRING(simulateForSnipers_Description); description = CSTRING(simulateForSnipers_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
}; };
class GVAR(simulateForGroupMembers) { class GVAR(simulateForGroupMembers) {
category = CSTRING(DisplayName);
displayName = CSTRING(simulateForGroupMembers_DisplayName); displayName = CSTRING(simulateForGroupMembers_DisplayName);
description = CSTRING(simulateForGroupMembers_Description); description = CSTRING(simulateForGroupMembers_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 0; value = 0;
}; };
class GVAR(simulateForEveryone) { class GVAR(simulateForEveryone) {
category = CSTRING(DisplayName);
displayName = CSTRING(simulateForEveryone_DisplayName); displayName = CSTRING(simulateForEveryone_DisplayName);
description = CSTRING(simulateForEveryone_Description); description = CSTRING(simulateForEveryone_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 0; value = 0;
}; };
class GVAR(disabledInFullAutoMode) { class GVAR(disabledInFullAutoMode) {
category = CSTRING(DisplayName);
displayName = CSTRING(disabledInFullAutoMod_DisplayName); displayName = CSTRING(disabledInFullAutoMod_DisplayName);
description = CSTRING(disabledInFullAutoMod_Description); description = CSTRING(disabledInFullAutoMod_Description);
typeName = "BOOL"; typeName = "BOOL";
@ -31,6 +36,7 @@ class ACE_Settings {
}; };
/* // TODO: We currently do not have firedEHs on vehicles /* // TODO: We currently do not have firedEHs on vehicles
class GVAR(vehicleGunnerEnabled) { class GVAR(vehicleGunnerEnabled) {
category = CSTRING(DisplayName);
displayName = "Enabled For Vehicle Gunners"; displayName = "Enabled For Vehicle Gunners";
description = "Enables advanced ballistics for vehicle gunners"; description = "Enables advanced ballistics for vehicle gunners";
typeName = "BOOL"; typeName = "BOOL";
@ -38,30 +44,35 @@ class ACE_Settings {
}; };
*/ */
class GVAR(ammoTemperatureEnabled) { class GVAR(ammoTemperatureEnabled) {
category = CSTRING(DisplayName);
displayName = CSTRING(ammoTemperatureEnabled_DisplayName); displayName = CSTRING(ammoTemperatureEnabled_DisplayName);
description = CSTRING(ammoTemperatureEnabled_Description); description = CSTRING(ammoTemperatureEnabled_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
}; };
class GVAR(barrelLengthInfluenceEnabled) { class GVAR(barrelLengthInfluenceEnabled) {
category = CSTRING(DisplayName);
displayName = CSTRING(barrelLengthInfluenceEnabled_DisplayName); displayName = CSTRING(barrelLengthInfluenceEnabled_DisplayName);
description = CSTRING(barrelLengthInfluenceEnabled_Description); description = CSTRING(barrelLengthInfluenceEnabled_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
}; };
class GVAR(bulletTraceEnabled) { class GVAR(bulletTraceEnabled) {
category = CSTRING(DisplayName);
displayName = CSTRING(bulletTraceEnabled_DisplayName); displayName = CSTRING(bulletTraceEnabled_DisplayName);
description = CSTRING(bulletTraceEnabled_Description); description = CSTRING(bulletTraceEnabled_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
}; };
class GVAR(simulationInterval) { class GVAR(simulationInterval) {
category = CSTRING(DisplayName);
displayName = CSTRING(simulationInterval_DisplayName); displayName = CSTRING(simulationInterval_DisplayName);
description = CSTRING(simulationInterval_Description); description = CSTRING(simulationInterval_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 0.0; value = 0.0;
}; };
class GVAR(simulationRadius) { class GVAR(simulationRadius) {
category = CSTRING(DisplayName);
displayName = CSTRING(simulationRadius_DisplayName); displayName = CSTRING(simulationRadius_DisplayName);
description = CSTRING(simulationRadius_Description); description = CSTRING(simulationRadius_Description);
typeName = "SCALAR"; typeName = "SCALAR";

View File

@ -1,9 +1,13 @@
class ACE_Settings { class ACE_Settings {
class GVAR(RequireSpecialist) { class GVAR(RequireSpecialist) {
displayName = CSTRING(RequireSpecialist_DisplayName);
description = CSTRING(RequireSpecialist_Description);
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
}; };
class GVAR(PunishNonSpecialists) { class GVAR(PunishNonSpecialists) {
displayName = CSTRING(PunishNonSpecialists_DisplayName);
description = CSTRING(PunishNonSpecialists_Description);
value = 1; value = 1;
typeName = "BOOL"; typeName = "BOOL";
}; };

View File

@ -1,6 +1,8 @@
class ACE_Settings { class ACE_Settings {
class GVAR(EnableTeamManagement) { class GVAR(EnableTeamManagement) {
displayName = CSTRING(EnableTeamManagement_DisplayName);
description = CSTRING(EnableTeamManagement_Description);
value = 1; value = 1;
typeName = "BOOL"; typeName = "BOOL";
}; };

View File

@ -1,12 +1,16 @@
class ACE_Settings { class ACE_Settings {
class GVAR(level) { class GVAR(level) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_level_DisplayName);
description = CSTRING(MedicalSettings_level_Description);
value = 1; value = 1;
typeName = "SCALAR"; typeName = "SCALAR";
values[] = {"Disabled", "Basic", "Advanced"}; values[] = {"Disabled", "Basic", "Advanced"};
}; };
class GVAR(medicSetting) { class GVAR(medicSetting) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_medicSetting_DisplayName);
description = CSTRING(MedicalSettings_medicSetting_Description);
value = 1; value = 1;
typeName = "SCALAR"; typeName = "SCALAR";
values[] = {"Disabled", "Normal", "Advanced"}; values[] = {"Disabled", "Normal", "Advanced"};
@ -20,6 +24,8 @@ class ACE_Settings {
}; };
class GVAR(enableFor) { class GVAR(enableFor) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(AdvancedMedicalSettings_enableFor_DisplayName);
description = CSTRING(AdvancedMedicalSettings_enableFor_Description);
value = 0; value = 0;
typeName = "SCALAR"; typeName = "SCALAR";
values[] = {"Players only", "Players and AI"}; values[] = {"Players only", "Players and AI"};
@ -31,11 +37,15 @@ class ACE_Settings {
}; };
class GVAR(bleedingCoefficient) { class GVAR(bleedingCoefficient) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_bleedingCoefficient_DisplayName);
description = CSTRING(MedicalSettings_bleedingCoefficient_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 1; value = 1;
}; };
class GVAR(painCoefficient) { class GVAR(painCoefficient) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_painCoefficient_DisplayName);
description = CSTRING(MedicalSettings_painCoefficient_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 1; value = 1;
}; };
@ -51,58 +61,80 @@ class ACE_Settings {
}; };
class GVAR(enableAdvancedWounds) { class GVAR(enableAdvancedWounds) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(AdvancedMedicalSettings_enableAdvancedWounds_DisplayName);
description = CSTRING(AdvancedMedicalSettings_enableAdvancedWounds_Description);
typeName = "BOOL"; typeName = "BOOL";
value = false; value = false;
}; };
class GVAR(enableVehicleCrashes) { class GVAR(enableVehicleCrashes) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(AdvancedMedicalSettings_enableVehicleCrashes_DisplayName);
description = CSTRING(AdvancedMedicalSettings_enableVehicleCrashes_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
}; };
class GVAR(enableScreams) { class GVAR(enableScreams) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_enableScreams_DisplayName);
description = CSTRING(MedicalSettings_enableScreams_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
}; };
class GVAR(playerDamageThreshold) { class GVAR(playerDamageThreshold) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_playerDamageThreshold_DisplayName);
description = CSTRING(MedicalSettings_playerDamageThreshold_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 1; value = 1;
}; };
class GVAR(AIDamageThreshold) { class GVAR(AIDamageThreshold) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_AIDamageThreshold_DisplayName);
description = CSTRING(MedicalSettings_AIDamageThreshold_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 1; value = 1;
}; };
class GVAR(enableUnconsciousnessAI) { class GVAR(enableUnconsciousnessAI) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_enableUnconsciousnessAI_DisplayName);
description = CSTRING(MedicalSettings_enableUnconsciousnessAI_Description);
value = 1; value = 1;
typeName = "SCALAR"; typeName = "SCALAR";
values[] = {"Disabled", "50/50", "Enabled"}; values[] = {"Disabled", "50/50", "Enabled"};
}; };
class GVAR(remoteControlledAI) { class GVAR(remoteControlledAI) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_remoteControlledAI_DisplayName);
description = CSTRING(MedicalSettings_remoteControlledAI_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
}; };
class GVAR(preventInstaDeath) { class GVAR(preventInstaDeath) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_preventInstaDeath_DisplayName);
description = CSTRING(MedicalSettings_preventInstaDeath_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 0; value = 0;
}; };
class GVAR(enableRevive) { class GVAR(enableRevive) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(ReviveSettings_enableRevive_DisplayName);
description = CSTRING(ReviveSettings_enableRevive_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 0; value = 0;
values[] = {"Disabled", "Players only", "Players and AI"}; values[] = {"Disabled", "Players only", "Players and AI"};
}; };
class GVAR(maxReviveTime) { class GVAR(maxReviveTime) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(ReviveSettings_maxReviveTime_DisplayName);
description = CSTRING(ReviveSettings_maxReviveTime_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 120; value = 120;
}; };
class GVAR(amountOfReviveLives) { class GVAR(amountOfReviveLives) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(ReviveSettings_amountOfReviveLives_DisplayName);
description = CSTRING(ReviveSettings_amountOfReviveLives_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = -1; value = -1;
}; };
@ -113,6 +145,8 @@ class ACE_Settings {
}; };
class GVAR(allowLitterCreation) { class GVAR(allowLitterCreation) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_allowLitterCreation_DisplayName);
description = CSTRING(MedicalSettings_allowLitterCreation_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
}; };
@ -130,53 +164,71 @@ class ACE_Settings {
}; };
class GVAR(litterCleanUpDelay) { class GVAR(litterCleanUpDelay) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_litterCleanUpDelay_DisplayName);
description = CSTRING(MedicalSettings_litterCleanUpDelay_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 0; value = 0;
}; };
class GVAR(medicSetting_basicEpi) { class GVAR(medicSetting_basicEpi) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(BasicMedicalSettings_medicSetting_basicEpi_DisplayName);
description = CSTRING(BasicMedicalSettings_medicSetting_basicEpi_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 1; value = 1;
values[] = {"Anyone", "Medics only", "Doctors only"}; values[] = {"Anyone", "Medics only", "Doctors only"};
}; };
class GVAR(medicSetting_PAK) { class GVAR(medicSetting_PAK) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(AdvancedMedicalSettings_medicSetting_PAK_DisplayName);
description = CSTRING(AdvancedMedicalSettings_medicSetting_PAK_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 1; value = 1;
values[] = {"Anyone", "Medics only", "Doctors only"}; values[] = {"Anyone", "Medics only", "Doctors only"};
}; };
class GVAR(medicSetting_SurgicalKit) { class GVAR(medicSetting_SurgicalKit) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(AdvancedMedicalSettings_medicSetting_SurgicalKit_DisplayName);
description = CSTRING(AdvancedMedicalSettings_medicSetting_SurgicalKit_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 1; value = 1;
values[] = {"Anyone", "Medics only", "Doctors only"}; values[] = {"Anyone", "Medics only", "Doctors only"};
}; };
class GVAR(consumeItem_PAK) { class GVAR(consumeItem_PAK) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(AdvancedMedicalSettings_consumeItem_PAK_DisplayName);
description = CSTRING(AdvancedMedicalSettings_consumeItem_PAK_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 0; value = 0;
values[] = {"No", "Yes"}; values[] = {"No", "Yes"};
}; };
class GVAR(consumeItem_SurgicalKit) { class GVAR(consumeItem_SurgicalKit) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(AdvancedMedicalSettings_consumeItem_SurgicalKit_DisplayName);
description = CSTRING(AdvancedMedicalSettings_consumeItem_SurgicalKit_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 0; value = 0;
values[] = {"No", "Yes"}; values[] = {"No", "Yes"};
}; };
class GVAR(useLocation_basicEpi) { class GVAR(useLocation_basicEpi) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(BasicMedicalSettings_useLocation_basicEpi_DisplayName);
description = CSTRING(BasicMedicalSettings_useLocation_basicEpi_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 0; value = 0;
values[] = {CSTRING(AdvancedMedicalSettings_anywhere), CSTRING(AdvancedMedicalSettings_vehicle), CSTRING(AdvancedMedicalSettings_facility), CSTRING(AdvancedMedicalSettings_vehicleAndFacility), ECSTRING(common,Disabled)}; values[] = {CSTRING(AdvancedMedicalSettings_anywhere), CSTRING(AdvancedMedicalSettings_vehicle), CSTRING(AdvancedMedicalSettings_facility), CSTRING(AdvancedMedicalSettings_vehicleAndFacility), ECSTRING(common,Disabled)};
}; };
class GVAR(useLocation_PAK) { class GVAR(useLocation_PAK) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(AdvancedMedicalSettings_useLocation_PAK_DisplayName);
description = CSTRING(AdvancedMedicalSettings_useLocation_PAK_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 3; value = 3;
values[] = {CSTRING(AdvancedMedicalSettings_anywhere), CSTRING(AdvancedMedicalSettings_vehicle), CSTRING(AdvancedMedicalSettings_facility), CSTRING(AdvancedMedicalSettings_vehicleAndFacility), ECSTRING(common,Disabled)}; values[] = {CSTRING(AdvancedMedicalSettings_anywhere), CSTRING(AdvancedMedicalSettings_vehicle), CSTRING(AdvancedMedicalSettings_facility), CSTRING(AdvancedMedicalSettings_vehicleAndFacility), ECSTRING(common,Disabled)};
}; };
class GVAR(useLocation_SurgicalKit) { class GVAR(useLocation_SurgicalKit) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(AdvancedMedicalSettings_useLocation_SurgicalKit_DisplayName);
description = CSTRING(AdvancedMedicalSettings_useLocation_SurgicalKit_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 2; value = 2;
values[] = {CSTRING(AdvancedMedicalSettings_anywhere), CSTRING(AdvancedMedicalSettings_vehicle), CSTRING(AdvancedMedicalSettings_facility), CSTRING(AdvancedMedicalSettings_vehicleAndFacility), ECSTRING(common,Disabled)}; values[] = {CSTRING(AdvancedMedicalSettings_anywhere), CSTRING(AdvancedMedicalSettings_vehicle), CSTRING(AdvancedMedicalSettings_facility), CSTRING(AdvancedMedicalSettings_vehicleAndFacility), ECSTRING(common,Disabled)};
@ -199,17 +251,23 @@ class ACE_Settings {
}; };
class GVAR(keepLocalSettingsSynced) { class GVAR(keepLocalSettingsSynced) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_keepLocalSettingsSynced_DisplayName);
description = CSTRING(MedicalSettings_keepLocalSettingsSynced_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
}; };
class GVAR(healHitPointAfterAdvBandage) { class GVAR(healHitPointAfterAdvBandage) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(AdvancedMedicalSettings_healHitPointAfterAdvBandage_DisplayName);
description = CSTRING(AdvancedMedicalSettings_healHitPointAfterAdvBandage_Description);
displayName = CSTRING(healHitPointAfterAdvBandage); displayName = CSTRING(healHitPointAfterAdvBandage);
typeName = "BOOL"; typeName = "BOOL";
value = 0; value = 0;
}; };
class GVAR(painIsOnlySuppressed) { class GVAR(painIsOnlySuppressed) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(AdvancedMedicalSettings_painIsOnlySuppressed_DisplayName);
description = CSTRING(AdvancedMedicalSettings_painIsOnlySuppressed_Description);
displayName = CSTRING(painIsOnlySuppressed); displayName = CSTRING(painIsOnlySuppressed);
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
@ -232,7 +290,6 @@ class ACE_Settings {
typeName = "BOOL"; typeName = "BOOL";
value = 0; value = 0;
}; };
class GVAR(menuTypeStyle) { class GVAR(menuTypeStyle) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(menuTypeDisplay); displayName = CSTRING(menuTypeDisplay);
@ -242,7 +299,6 @@ class ACE_Settings {
values[] = {CSTRING(useSelection), CSTRING(useRadial), "Disabled"}; values[] = {CSTRING(useSelection), CSTRING(useRadial), "Disabled"};
isClientSettable = 1; isClientSettable = 1;
}; };
class GVAR(delayUnconCaptive) { class GVAR(delayUnconCaptive) {
category = CSTRING(Category_Medical); category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_delayUnconCaptive_DisplayName); displayName = CSTRING(MedicalSettings_delayUnconCaptive_DisplayName);

View File

@ -1,7 +1,10 @@
class ACE_Settings { class ACE_Settings {
class GVAR(MapDataAvailable) { class GVAR(MapDataAvailable) {
displayName = CSTRING(MapDataAvailable_DisplayName);
description = CSTRING(MapDataAvailable_Description);
value = 2; value = 2;
typeName = "SCALAR"; typeName = "SCALAR";
isClientSettable = 0; isClientSettable = 0;
values[] = {CSTRING(MapFill_None), CSTRING(MapFill_OnlyRoads), CSTRING(MapFill_Full)};
}; };
}; };

View File

@ -1,21 +1,29 @@
class ACE_Settings { class ACE_Settings {
//These settings effect gameplay difficutly: defaults will leave the mortar the same as vanilla //These settings effect gameplay difficutly: defaults will leave the mortar the same as vanilla
class GVAR(airResistanceEnabled) { class GVAR(airResistanceEnabled) {
displayName = CSTRING(airResistanceEnabled_DisplayName);
description = CSTRING(airResistanceEnabled_Description);
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
isClientSetable = 0; isClientSetable = 0;
}; };
class GVAR(allowComputerRangefinder) { class GVAR(allowComputerRangefinder) {
displayName = CSTRING(allowComputerRangefinder_DisplayName);
description = CSTRING(allowComputerRangefinder_Description);
value = 1; value = 1;
typeName = "BOOL"; typeName = "BOOL";
isClientSetable = 0; isClientSetable = 0;
}; };
class GVAR(allowCompass) { class GVAR(allowCompass) {
displayName = CSTRING(allowCompass_DisplayName);
description = CSTRING(allowCompass_Description);
value = 1; value = 1;
typeName = "BOOL"; typeName = "BOOL";
isClientSetable = 0; isClientSetable = 0;
}; };
class GVAR(useAmmoHandling) { class GVAR(useAmmoHandling) {
displayName = CSTRING(useAmmoHandling_DisplayName);
description = CSTRING(useAmmoHandling_Description);
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
isClientSetable = 0; isClientSetable = 0;

View File

@ -1,5 +1,6 @@
class ACE_Settings { class ACE_Settings {
class GVAR(level) { class GVAR(level) {
category = ECSTRING(OptionsMenu,CategoryLogistics);
displayName = CSTRING(RearmSettings_level_DisplayName); displayName = CSTRING(RearmSettings_level_DisplayName);
description = CSTRING(RearmSettings_level_Description); description = CSTRING(RearmSettings_level_Description);
value = 0; value = 0;

View File

@ -1,5 +1,6 @@
class ACE_Settings { class ACE_Settings {
class GVAR(rate) { class GVAR(rate) {
category = ECSTRING(OptionsMenu,CategoryLogistics);
displayName = CSTRING(RefuelSettings_speed_DisplayName); displayName = CSTRING(RefuelSettings_speed_DisplayName);
description = CSTRING(RefuelSettings_speed_Description); description = CSTRING(RefuelSettings_speed_Description);
value = 1; value = 1;

View File

@ -1,10 +1,14 @@
class ACE_Settings { class ACE_Settings {
class GVAR(SavePreDeathGear) { class GVAR(SavePreDeathGear) {
displayName = CSTRING(SavePreDeathGear_DisplayName);
description = CSTRING(SavePreDeathGear_Description);
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
}; };
class GVAR(RemoveDeadBodiesDisconnected) { class GVAR(RemoveDeadBodiesDisconnected) {
displayName = CSTRING(RemoveDeadBodiesDisconnected_DisplayName);
description = CSTRING(RemoveDeadBodiesDisconnected_Description);
value = 1; value = 1;
typeName = "BOOL"; typeName = "BOOL";
}; };

View File

@ -1,20 +1,28 @@
class ACE_Settings { class ACE_Settings {
class GVAR(filterUnits) { class GVAR(filterUnits) {
displayName = CSTRING(units_DisplayName);
description = CSTRING(units_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 2; value = 2;
values[] = {CSTRING(units_none), CSTRING(units_players), CSTRING(units_playable), CSTRING(units_all)}; values[] = {CSTRING(units_none), CSTRING(units_players), CSTRING(units_playable), CSTRING(units_all)};
}; };
class GVAR(filterSides) { class GVAR(filterSides) {
displayName = CSTRING(sides_DisplayName);
description = CSTRING(sides_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 0; value = 0;
values[] = {CSTRING(sides_player), CSTRING(sides_friendly), CSTRING(sides_hostile), CSTRING(sides_all)}; values[] = {CSTRING(sides_player), CSTRING(sides_friendly), CSTRING(sides_hostile), CSTRING(sides_all)};
}; };
class GVAR(restrictModes) { class GVAR(restrictModes) {
displayName = CSTRING(modes_DisplayName);
description = CSTRING(modes_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 0; value = 0;
values[] = {CSTRING(modes_all), CSTRING(modes_unit), CSTRING(modes_free), CSTRING(modes_internal), CSTRING(modes_external)}; values[] = {CSTRING(modes_all), CSTRING(modes_unit), CSTRING(modes_free), CSTRING(modes_internal), CSTRING(modes_external)};
}; };
class GVAR(restrictVisions) { class GVAR(restrictVisions) {
displayName = CSTRING(visions_DisplayName);
description = CSTRING(visions_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 0; value = 0;
values[] = {CSTRING(modes_all), CSTRING(visions_nv), CSTRING(visions_ti), "$STR_Special_None"}; values[] = {CSTRING(modes_all), CSTRING(visions_nv), CSTRING(visions_ti), "$STR_Special_None"};

View File

@ -4,26 +4,38 @@ class ACE_Settings {
typeName = "BOOL"; typeName = "BOOL";
}; };
class GVAR(SwitchToWest) { class GVAR(SwitchToWest) {
displayName = CSTRING(SwitchToWest_DisplayName);
description = CSTRING(SwitchToWest_Description);
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
}; };
class GVAR(SwitchToEast) { class GVAR(SwitchToEast) {
displayName = CSTRING(SwitchToEast_DisplayName);
description = CSTRING(SwitchToEast_Description);
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
}; };
class GVAR(SwitchToIndependent) { class GVAR(SwitchToIndependent) {
displayName = CSTRING(SwitchToIndependent_DisplayName);
description = CSTRING(SwitchToIndependent_Description);
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
}; };
class GVAR(SwitchToCivilian) { class GVAR(SwitchToCivilian) {
displayName = CSTRING(SwitchToCivilian_DisplayName);
description = CSTRING(SwitchToCivilian_Description);
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
}; };
class GVAR(EnableSafeZone) { class GVAR(EnableSafeZone) {
displayName = CSTRING(EnableSafeZone_DisplayName);
description = CSTRING(EnableSafeZone_Description);
value = 1; value = 1;
typeName = "BOOL"; typeName = "BOOL";
}; };
class GVAR(SafeZoneRadius) { class GVAR(SafeZoneRadius) {
displayName = CSTRING(SafeZoneRadius_DisplayName);
description = CSTRING(SafeZoneRadius_Description);
value = 100; value = 100;
typeName = "SCALAR"; typeName = "SCALAR";
}; };

View File

@ -1,13 +1,19 @@
class ACE_Settings { class ACE_Settings {
class GVAR(DefaultLockpickStrength) { class GVAR(DefaultLockpickStrength) {
displayName = CSTRING(DefaultLockpickStrength_DisplayName);
description = CSTRING(DefaultLockpickStrength_Description);
value = 10; value = 10;
typeName = "SCALAR"; typeName = "SCALAR";
}; };
class GVAR(LockVehicleInventory) { class GVAR(LockVehicleInventory) {
displayName = CSTRING(LockVehicleInventory_DisplayName);
description = CSTRING(LockVehicleInventory_Description);
value = 0; value = 0;
typeName = "BOOL"; typeName = "BOOL";
}; };
class GVAR(VehicleStartingLockState) { class GVAR(VehicleStartingLockState) {
displayName = CSTRING(VehicleStartingLockState_DisplayName);
description = CSTRING(VehicleStartingLockState_Description);
value = -1; value = -1;
typeName = "SCALAR"; typeName = "SCALAR";
}; };

View File

@ -1,11 +1,13 @@
class ACE_Settings { class ACE_Settings {
class GVAR(enabled) { class GVAR(enabled) {
category = CSTRING(Module_DisplayName);
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
displayName = CSTRING(enabled_DisplayName); displayName = CSTRING(enabled_DisplayName);
description = CSTRING(enabled_Description); description = CSTRING(enabled_Description);
}; };
class GVAR(viewDistanceOnFoot) { class GVAR(viewDistanceOnFoot) {
category = CSTRING(Module_DisplayName);
typeName = "SCALAR"; typeName = "SCALAR";
isClientSettable = 1; isClientSettable = 1;
value = 0; // index, NOT value // Can set it to client's actual viewdistance in the init function once ACE_Settings supports numbers (if ever). value = 0; // index, NOT value // Can set it to client's actual viewdistance in the init function once ACE_Settings supports numbers (if ever).
@ -14,6 +16,7 @@ class ACE_Settings {
description = CSTRING(onFoot_Description); description = CSTRING(onFoot_Description);
}; };
class GVAR(viewDistanceLandVehicle) { class GVAR(viewDistanceLandVehicle) {
category = CSTRING(Module_DisplayName);
typeName = "SCALAR"; typeName = "SCALAR";
isClientSettable = 1; isClientSettable = 1;
value = 0; // index, NOT value value = 0; // index, NOT value
@ -22,6 +25,7 @@ class ACE_Settings {
description = CSTRING(landVehicle_Description); description = CSTRING(landVehicle_Description);
}; };
class GVAR(viewDistanceAirVehicle) { class GVAR(viewDistanceAirVehicle) {
category = CSTRING(Module_DisplayName);
typeName = "SCALAR"; typeName = "SCALAR";
isClientSettable = 1; isClientSettable = 1;
value = 0; // index, NOT value value = 0; // index, NOT value
@ -30,12 +34,14 @@ class ACE_Settings {
description = CSTRING(airVehicle_Description); description = CSTRING(airVehicle_Description);
}; };
class GVAR(limitViewDistance) { class GVAR(limitViewDistance) {
category = CSTRING(Module_DisplayName);
typeName = "SCALAR"; typeName = "SCALAR";
value = 10000; // Value, NOT index. 10000 is the maximum in A3 value = 10000; // Value, NOT index. 10000 is the maximum in A3
displayName = CSTRING(limit_DisplayName); displayName = CSTRING(limit_DisplayName);
description = CSTRING(limit_setting); description = CSTRING(limit_setting);
}; };
class GVAR(objectViewDistanceCoeff) { class GVAR(objectViewDistanceCoeff) {
category = CSTRING(Module_DisplayName);
typeName = "SCALAR"; typeName = "SCALAR";
isClientSettable = 1; isClientSettable = 1;
value = 0; // index. Actual coefficient is given by functions/fnc_returnObjectCoeff.sqf value = 0; // index. Actual coefficient is given by functions/fnc_returnObjectCoeff.sqf

View File

@ -1,21 +1,31 @@
class ACE_Settings { class ACE_Settings {
class GVAR(zeusAscension) { class GVAR(zeusAscension) {
displayName = CSTRING(ascension_DisplayName);
description = CSTRING(ascension_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 0; value = 0;
}; };
class GVAR(zeusBird) { class GVAR(zeusBird) {
displayName = CSTRING(bird_DisplayName);
description = CSTRING(bird_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 0; value = 0;
}; };
class GVAR(remoteWind) { class GVAR(remoteWind) {
displayName = CSTRING(remoteWind_DisplayName);
description = CSTRING(remoteWind_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 0; value = 0;
}; };
class GVAR(radioOrdnance) { class GVAR(radioOrdnance) {
displayName = CSTRING(radioOrdnance_DisplayName);
description = CSTRING(radioOrdnance_Description);
typeName = "BOOL"; typeName = "BOOL";
value = 0; value = 0;
}; };
class GVAR(revealMines) { class GVAR(revealMines) {
displayName = CSTRING(revealMines_DisplayName);
description = CSTRING(revealMines_Description);
typeName = "SCALAR"; typeName = "SCALAR";
value = 0; value = 0;
values[] = {"$STR_A3_OPTIONS_DISABLED", CSTRING(revealMines_partial), CSTRING(revealMines_full)}; values[] = {"$STR_A3_OPTIONS_DISABLED", CSTRING(revealMines_partial), CSTRING(revealMines_full)};