mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
initial push (#8099)
This commit is contained in:
parent
e8693c8db9
commit
f85632cbbd
@ -13,7 +13,7 @@
|
||||
[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)
|
||||
},
|
||||
true // Needs mission restart
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(enableStaminaBar),
|
||||
@ -28,7 +28,7 @@
|
||||
_staminaBarContainer ctrlCommit 0;
|
||||
};
|
||||
}
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(fadeStaminaBar),
|
||||
@ -43,7 +43,7 @@
|
||||
_staminaBarContainer ctrlCommit 0;
|
||||
};
|
||||
}
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(performanceFactor),
|
||||
@ -52,7 +52,7 @@
|
||||
LSTRING(DisplayName),
|
||||
[0, 5, 1, 1],
|
||||
true
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(recoveryFactor),
|
||||
@ -61,7 +61,7 @@
|
||||
LSTRING(DisplayName),
|
||||
[0, 5, 1, 1],
|
||||
true
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(loadFactor),
|
||||
@ -70,7 +70,7 @@
|
||||
LSTRING(DisplayName),
|
||||
[0, 5, 1, 1],
|
||||
true
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(terrainGradientFactor),
|
||||
@ -79,7 +79,7 @@
|
||||
LSTRING(DisplayName),
|
||||
[0, 5, 1, 1],
|
||||
true
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(swayFactor),
|
||||
@ -88,4 +88,4 @@
|
||||
LSTRING(DisplayName),
|
||||
[0, 5, 1, 1],
|
||||
true
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -8,15 +8,15 @@ PREP_RECOMPILE_START;
|
||||
PREP_RECOMPILE_END;
|
||||
|
||||
// Arsenal
|
||||
[QGVAR(camInverted), "CHECKBOX", localize LSTRING(invertCameraSetting), localize LSTRING(settingCategory), false] call CBA_Settings_fnc_init;
|
||||
[QGVAR(enableModIcons), "CHECKBOX", [LSTRING(modIconsSetting), LSTRING(modIconsTooltip)], localize LSTRING(settingCategory), true] call CBA_Settings_fnc_init;
|
||||
[QGVAR(fontHeight), "SLIDER", [LSTRING(fontHeightSetting), LSTRING(fontHeightTooltip)], localize LSTRING(settingCategory), [1, 10, 4.5, 1]] call CBA_Settings_fnc_init;
|
||||
[QGVAR(enableIdentityTabs), "CHECKBOX", localize LSTRING(enableIdentityTabsSettings), localize LSTRING(settingCategory), true, true] call CBA_Settings_fnc_init;
|
||||
[QGVAR(camInverted), "CHECKBOX", localize LSTRING(invertCameraSetting), localize LSTRING(settingCategory), false] call CBA_fnc_addSetting;
|
||||
[QGVAR(enableModIcons), "CHECKBOX", [LSTRING(modIconsSetting), LSTRING(modIconsTooltip)], localize LSTRING(settingCategory), true] call CBA_fnc_addSetting;
|
||||
[QGVAR(fontHeight), "SLIDER", [LSTRING(fontHeightSetting), LSTRING(fontHeightTooltip)], localize LSTRING(settingCategory), [1, 10, 4.5, 1]] call CBA_fnc_addSetting;
|
||||
[QGVAR(enableIdentityTabs), "CHECKBOX", localize LSTRING(enableIdentityTabsSettings), localize LSTRING(settingCategory), true, true] call CBA_fnc_addSetting;
|
||||
|
||||
// Arsenal loadouts
|
||||
[QGVAR(allowDefaultLoadouts), "CHECKBOX", [LSTRING(allowDefaultLoadoutsSetting), LSTRING(defaultLoadoutsTooltip)], localize LSTRING(settingCategory), true, true] call CBA_Settings_fnc_init;
|
||||
[QGVAR(allowSharedLoadouts), "CHECKBOX", localize LSTRING(allowSharingSetting), localize LSTRING(settingCategory), true, true] call CBA_Settings_fnc_init;
|
||||
[QGVAR(EnableRPTLog), "CHECKBOX", [LSTRING(printToRPTSetting), LSTRING(printToRPTTooltip)], localize LSTRING(settingCategory), false, false] call CBA_Settings_fnc_init;
|
||||
[QGVAR(allowDefaultLoadouts), "CHECKBOX", [LSTRING(allowDefaultLoadoutsSetting), LSTRING(defaultLoadoutsTooltip)], localize LSTRING(settingCategory), true, true] call CBA_fnc_addSetting;
|
||||
[QGVAR(allowSharedLoadouts), "CHECKBOX", localize LSTRING(allowSharingSetting), localize LSTRING(settingCategory), true, true] call CBA_fnc_addSetting;
|
||||
[QGVAR(EnableRPTLog), "CHECKBOX", [LSTRING(printToRPTSetting), LSTRING(printToRPTTooltip)], localize LSTRING(settingCategory), false, false] call CBA_fnc_addSetting;
|
||||
|
||||
[QGVAR(statsToggle), {
|
||||
params ["_display", "_showStats"];
|
||||
|
@ -10,7 +10,7 @@ private _categoryName = [format ["ACE %1", localize "str_a3_cfgmarkers_nato_art"
|
||||
true, // isGlobal
|
||||
{[QGVAR(advancedCorrections), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(disableArtilleryComputer), "CHECKBOX",
|
||||
@ -20,4 +20,4 @@ private _categoryName = [format ["ACE %1", localize "str_a3_cfgmarkers_nato_art"
|
||||
true, // isGlobal
|
||||
{[QGVAR(disableArtilleryComputer), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
false // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -5,7 +5,7 @@
|
||||
true,
|
||||
true,
|
||||
{[QGVAR(enable), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(loadTimeCoefficient), "SLIDER",
|
||||
@ -14,7 +14,7 @@
|
||||
[0, 10, 5, 1],
|
||||
true,
|
||||
{[QGVAR(loadTimeCoefficient), _this, true] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(paradropTimeCoefficent), "SLIDER",
|
||||
@ -23,4 +23,4 @@
|
||||
[0, 10, 2.5, 1],
|
||||
true,
|
||||
{[QGVAR(paradropTimeCoefficent), _this, true] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -123,7 +123,7 @@ private _settings = configProperties [configFile >> "ACE_Settings", "(isClass _x
|
||||
_output pushBack format [" {[""%1"", _this] call ace_common_fnc_cbaSettings_settingChanged},", _varName];
|
||||
};
|
||||
_output pushBack format [" %1 // Needs mission restart", _warnIfChangedMidMission];
|
||||
_output pushBack "] call CBA_settings_fnc_init;";
|
||||
_output pushBack "] call CBA_fnc_addSetting;";
|
||||
} forEach _settings;
|
||||
|
||||
copyToClipboard (_output joinString endl);
|
||||
|
@ -98,7 +98,7 @@ private _code = compile format ['["%1", _this] call FUNC(cbaSettings_settingChan
|
||||
|
||||
TRACE_2("setting",_cbaSettingType,_cbaValueInfo);
|
||||
TRACE_4("",_isForced,_cbaIsGlobal,_category,_cbaValueInfo);
|
||||
private _return = [_varName, _cbaSettingType, [_localizedName, _localizedDescription], _category, _cbaValueInfo, _cbaIsGlobal, _code, _warnIfChangedMidMission] call CBA_settings_fnc_init;
|
||||
private _return = [_varName, _cbaSettingType, [_localizedName, _localizedDescription], _category, _cbaValueInfo, _cbaIsGlobal, _code, _warnIfChangedMidMission] call CBA_fnc_addSetting;
|
||||
TRACE_1("returned",_return);
|
||||
if ((isNil "_return") || {_return != 0}) then {ERROR_1("Setting [%1] - CBA Error",_varName);};
|
||||
_return
|
||||
|
@ -6,7 +6,7 @@
|
||||
false,
|
||||
false,
|
||||
LINKFUNC(switchPersistentLaser)
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(allowFadeMusic),
|
||||
@ -15,4 +15,4 @@
|
||||
localize LSTRING(ACEKeybindCategoryCommon),
|
||||
true,
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -8,7 +8,7 @@
|
||||
true, // isGlobal
|
||||
{[QGVAR(enable), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(enableAmmobox), "CHECKBOX",
|
||||
@ -18,7 +18,7 @@
|
||||
true, // isGlobal
|
||||
{[QGVAR(enableAmmobox), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(enableAmmoCookoff), "CHECKBOX",
|
||||
@ -28,7 +28,7 @@
|
||||
true, // isGlobal
|
||||
{[QGVAR(enableAmmoCookoff), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(ammoCookoffDuration), "SLIDER",
|
||||
@ -38,7 +38,7 @@
|
||||
true, // isGlobal
|
||||
{[QGVAR(ammoCookoffDuration), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(probabilityCoef), "SLIDER",
|
||||
@ -48,4 +48,4 @@
|
||||
true, // isGlobal
|
||||
{[QGVAR(probabilityCoef), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -10,7 +10,7 @@ private _categoryArray = [format ["ACE %1", localize LSTRING(DisplayName)]];
|
||||
true, // isGlobal
|
||||
{[QGVAR(defaultAssemblyMode), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(handleExtraMagazines), "CHECKBOX",
|
||||
@ -20,7 +20,7 @@ private _categoryArray = [format ["ACE %1", localize LSTRING(DisplayName)]];
|
||||
true, // isGlobal
|
||||
{[QGVAR(handleExtraMagazines), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(ammoHandling), "LIST",
|
||||
@ -30,7 +30,7 @@ private _categoryArray = [format ["ACE %1", localize LSTRING(DisplayName)]];
|
||||
true, // isGlobal
|
||||
{[QGVAR(ammoHandling), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(progressBarTimeCoefficent), "SLIDER",
|
||||
@ -40,7 +40,7 @@ private _categoryArray = [format ["ACE %1", localize LSTRING(DisplayName)]];
|
||||
true, // isGlobal
|
||||
{[QGVAR(progressBarTimeCoefficent), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
false // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(dragAfterDeploy), "CHECKBOX",
|
||||
@ -50,4 +50,4 @@ private _categoryArray = [format ["ACE %1", localize LSTRING(DisplayName)]];
|
||||
false, // isGlobal
|
||||
{[QGVAR(dragAfterDeploy), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
false // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -10,4 +10,4 @@ private _category = ["ACE Uncategorized", LLSTRING(setting_categoryMenu_displayN
|
||||
true, // isGlobal
|
||||
{[QGVAR(requireRopeItems), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
false // needRestart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -6,7 +6,7 @@
|
||||
[1, 0, 0],
|
||||
false,
|
||||
{GVAR(selectorColorHex) = _this call BIS_fnc_colorRGBtoHTML} // Stored in Hex to avoid constant conversion
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(consolidateSingleChild),
|
||||
@ -23,7 +23,7 @@
|
||||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LLSTRING(Category_InteractionMenu)],
|
||||
false,
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(cursorKeepCentered),
|
||||
@ -32,7 +32,7 @@
|
||||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LLSTRING(Category_InteractionMenu)],
|
||||
false,
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(useListMenu),
|
||||
@ -41,7 +41,7 @@
|
||||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LLSTRING(Category_InteractionMenu)],
|
||||
false,
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(menuBackground),
|
||||
@ -50,7 +50,7 @@
|
||||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LLSTRING(Category_InteractionMenu)],
|
||||
[[0, 1, 2], ["STR_A3_OPTIONS_DISABLED", LLSTRING(backgroundBlur), LLSTRING(backgroundBlack)], 0],
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(alwaysUseCursorSelfInteraction),
|
||||
@ -59,7 +59,7 @@
|
||||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LELSTRING(Interaction,InteractionMenuSelf)],
|
||||
true,
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(cursorKeepCenteredSelfInteraction),
|
||||
@ -68,7 +68,7 @@
|
||||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LELSTRING(Interaction,InteractionMenuSelf)],
|
||||
false,
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(useListMenuSelf),
|
||||
@ -77,7 +77,7 @@
|
||||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LELSTRING(Interaction,InteractionMenuSelf)],
|
||||
false,
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(menuBackgroundSelf),
|
||||
@ -86,4 +86,4 @@
|
||||
[format ["ACE %1", LLSTRING(Category_InteractionMenu)], LELSTRING(Interaction,InteractionMenuSelf)],
|
||||
[[0, 1, 2], ["STR_A3_OPTIONS_DISABLED", LLSTRING(backgroundBlur), LLSTRING(backgroundBlack)], 0],
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -23,7 +23,7 @@ private _categoryName = format ["ACE %1", localize ELSTRING(map,Module_DisplayNa
|
||||
],
|
||||
1
|
||||
]
|
||||
] call cba_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(timestampEnabled), "CHECKBOX",
|
||||
|
@ -7,7 +7,7 @@
|
||||
true,
|
||||
{},
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(fractures),
|
||||
@ -18,7 +18,7 @@
|
||||
true,
|
||||
{},
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(fractureChance),
|
||||
@ -27,7 +27,7 @@
|
||||
LSTRING(Category),
|
||||
[0, 1, 0.8, 2, true],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(spontaneousWakeUpChance),
|
||||
@ -36,7 +36,7 @@
|
||||
LSTRING(Category),
|
||||
[0, 1, 0.05, 2, true],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(spontaneousWakeUpEpinephrineBoost),
|
||||
@ -45,4 +45,4 @@
|
||||
LSTRING(Category),
|
||||
[1, 30, 1, 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -14,4 +14,4 @@ private _categoryArray = [ELSTRING(medical,Category), "STR_TEAM_SWITCH_AI"];
|
||||
true, // isGlobal
|
||||
{[QGVAR(enabledFor), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -6,7 +6,7 @@
|
||||
[[BLOOD_DISABLED, BLOOD_ONLY_PLAYERS, BLOOD_ENABLED], [ELSTRING(Common,Disabled), LSTRING(OnlyPlayers), ELSTRING(Common,Enabled)], 2],
|
||||
true,
|
||||
LINKFUNC(init)
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(maxBloodObjects),
|
||||
@ -15,7 +15,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
||||
[[50, 100, 200, 300, 400, 500, 1000, 2000, 3000, 4000, 5000], [/* settings function will auto create names */], 5],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(bloodLifetime),
|
||||
@ -24,4 +24,4 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
||||
[1, 3600, 900],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -5,7 +5,7 @@
|
||||
[ELSTRING(medical,Category)],
|
||||
[[0, 1, 2], [LSTRING(fatalDamageSource_vitalShotsOnly), LSTRING(fatalDamageSource_trauma), LSTRING(fatalDamageSource_both)], 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QEGVAR(medical,playerDamageThreshold),
|
||||
@ -14,7 +14,7 @@
|
||||
ELSTRING(medical,Category),
|
||||
[0, 25, 1, 2],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QEGVAR(medical,AIDamageThreshold),
|
||||
@ -23,7 +23,7 @@
|
||||
ELSTRING(medical,Category),
|
||||
[0, 25, 1, 2],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QEGVAR(medical,painUnconsciousChance),
|
||||
@ -32,4 +32,4 @@
|
||||
ELSTRING(medical,Category),
|
||||
[0, 1, 0.1, 2, true],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -5,7 +5,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
||||
[[0, 1, 2], [LSTRING(Selections3D), LSTRING(Radial), ELSTRING(common,Disabled)], 0],
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(enableSelfActions),
|
||||
@ -14,7 +14,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
||||
true,
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(enableMedicalMenu),
|
||||
@ -23,7 +23,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
||||
[[0, 1, 2], [ELSTRING(common,Disabled), ELSTRING(common,Enabled), ELSTRING(common,VehiclesOnly)], 1],
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(openAfterTreatment),
|
||||
@ -32,7 +32,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
||||
true,
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(maxDistance),
|
||||
@ -41,7 +41,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
||||
[0, 10, 3, 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(interactionMenuShowTriage),
|
||||
@ -50,4 +50,4 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
||||
[[0, 1, 2], [ELSTRING(common,Disabled), ELSTRING(Medical_Treatment,Anyone), ELSTRING(Medical_Treatment,Medics)], 1],
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -9,7 +9,7 @@
|
||||
0
|
||||
],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(fatalInjuriesAI),
|
||||
@ -22,7 +22,7 @@
|
||||
0
|
||||
],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(AIUnconsciousness),
|
||||
@ -31,7 +31,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
||||
true,
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(cardiacArrestTime),
|
||||
@ -40,7 +40,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
||||
[1, 3600, 300],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(cardiacArrestBleedoutEnabled),
|
||||
@ -49,4 +49,4 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
||||
true,
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -5,7 +5,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
||||
[0, 25, 1, 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QEGVAR(medical,painCoefficient),
|
||||
@ -14,7 +14,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
||||
[0, 25, 1, 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QEGVAR(medical,ivFlowRate),
|
||||
@ -23,4 +23,4 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
||||
[0, 25, 1, 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -5,7 +5,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
true,
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(advancedMedication),
|
||||
@ -14,7 +14,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
true,
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(advancedBandages),
|
||||
@ -23,7 +23,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1, 2], [ELSTRING(common,Disabled), ELSTRING(common,Enabled), LSTRING(AdvancedBandages_EnabledCanReopen)], 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(woundReopenChance),
|
||||
@ -32,7 +32,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[0, 5, 1, 2],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(clearTraumaAfterBandage),
|
||||
@ -41,7 +41,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
false,
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
// todo: should this setting differentiate between medical vehicles and facilities?
|
||||
[
|
||||
@ -51,7 +51,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
false,
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(allowSharedEquipment),
|
||||
@ -60,7 +60,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1, 2], [LSTRING(AllowSharedEquipment_PriorityPatient), LSTRING(AllowSharedEquipment_PriorityMedic), ELSTRING(common,No)], 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(convertItems),
|
||||
@ -69,7 +69,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1, 2], [ELSTRING(common,Enabled), LSTRING(ConvertItems_RemoveOnly), ELSTRING(common,Disabled)], 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(treatmentTimeAutoinjector),
|
||||
@ -78,7 +78,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[0.1, 60, 5, 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(treatmentTimeTourniquet),
|
||||
@ -87,7 +87,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[0.1, 60, 7, 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(treatmentTimeSplint),
|
||||
@ -96,7 +96,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[0.1, 60, 7, 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(treatmentTimeBodyBag),
|
||||
@ -105,7 +105,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[0.1, 60, 15, 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(medicEpinephrine),
|
||||
@ -114,7 +114,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1, 2], [LSTRING(Anyone), LSTRING(Medics), LSTRING(Doctors)], 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(locationEpinephrine),
|
||||
@ -123,7 +123,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1, 2, 3, 4], [ELSTRING(common,Anywhere), ELSTRING(common,Vehicle), LSTRING(MedicalFacilities), LSTRING(VehiclesAndFacilities), ELSTRING(common,Disabled)], 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(medicPAK),
|
||||
@ -132,7 +132,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1, 2], [LSTRING(Anyone), LSTRING(Medics), LSTRING(Doctors)], 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(locationPAK),
|
||||
@ -141,7 +141,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1, 2, 3, 4], [ELSTRING(common,Anywhere), ELSTRING(common,Vehicle), LSTRING(MedicalFacilities), LSTRING(VehiclesAndFacilities), ELSTRING(common,Disabled)], 3],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(consumePAK),
|
||||
@ -150,7 +150,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1], [ELSTRING(common,No), ELSTRING(common,Yes)], 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(allowSelfPAK),
|
||||
@ -159,7 +159,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1], [ELSTRING(common,No), ELSTRING(common,Yes)], 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(timeCoefficientPAK),
|
||||
@ -168,7 +168,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[0, 5, 1, 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(medicSurgicalKit),
|
||||
@ -177,7 +177,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1, 2], [LSTRING(Anyone), LSTRING(Medics), LSTRING(Doctors)], 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(locationSurgicalKit),
|
||||
@ -186,7 +186,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1, 2, 3, 4], [ELSTRING(common,Anywhere), ELSTRING(common,Vehicle), LSTRING(MedicalFacilities), LSTRING(VehiclesAndFacilities), ELSTRING(common,Disabled)], 2],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(consumeSurgicalKit),
|
||||
@ -195,7 +195,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1], [ELSTRING(common,No), ELSTRING(common,Yes)], 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(allowSelfStitch),
|
||||
@ -204,7 +204,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1], [ELSTRING(common,No), ELSTRING(common,Yes)], 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(woundStitchTime),
|
||||
@ -213,7 +213,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[0.1, 60, 5, 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(medicIV),
|
||||
@ -222,7 +222,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1, 2], [LSTRING(Anyone), LSTRING(Medics), LSTRING(Doctors)], 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(allowSelfIV),
|
||||
@ -231,7 +231,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1], [ELSTRING(common,No), ELSTRING(common,Yes)], 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(treatmentTimeIV),
|
||||
@ -240,7 +240,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[0.1, 60, 12, 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(cprSuccessChance),
|
||||
@ -249,7 +249,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[0, 1, 0.4, 2, true],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(treatmentTimeCPR),
|
||||
@ -258,7 +258,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[0.1, 60, 15, 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(allowBodyBagUnconscious),
|
||||
@ -267,7 +267,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
false,
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(holsterRequired),
|
||||
@ -276,7 +276,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1, 2, 3, 4], [ELSTRING(common,Disabled), LSTRING(HolsterRequired_Lowered), LSTRING(HolsterRequired_LoweredExam), LSTRING(HolsterRequired_Holstered), LSTRING(HolsterRequired_HolsteredExam)], 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(allowLitterCreation),
|
||||
@ -285,7 +285,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Litter)],
|
||||
true,
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(maxLitterObjects),
|
||||
@ -294,7 +294,7 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Litter)],
|
||||
[[50, 100, 200, 300, 400, 500, 1000, 2000, 3000, 4000, 5000], [/* settings function will auto create names */], 5],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(litterCleanupDelay),
|
||||
@ -303,4 +303,4 @@
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Litter)],
|
||||
[-1, 3600, 600, 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -8,7 +8,7 @@
|
||||
true, // isGlobal
|
||||
{[QGVAR(mapDataAvailable), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // require mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(waypointPrecision), "LIST",
|
||||
@ -18,4 +18,4 @@
|
||||
true, // isGlobal
|
||||
{[QGVAR(waypointPrecision), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
false // require mission restart
|
||||
] call cba_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -11,7 +11,7 @@ private _category = [format ["ACE %1", localize "str_a3_cfgmarkers_nato_art"], l
|
||||
true, // isGlobal
|
||||
{[QGVAR(airResistanceEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(allowComputerRangefinder), "CHECKBOX",
|
||||
@ -21,7 +21,7 @@ private _category = [format ["ACE %1", localize "str_a3_cfgmarkers_nato_art"], l
|
||||
true, // isGlobal
|
||||
{[QGVAR(allowComputerRangefinder), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(allowCompass), "CHECKBOX",
|
||||
@ -31,7 +31,7 @@ private _category = [format ["ACE %1", localize "str_a3_cfgmarkers_nato_art"], l
|
||||
true, // isGlobal
|
||||
{[QGVAR(allowCompass), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(useAmmoHandling), "CHECKBOX",
|
||||
@ -41,4 +41,4 @@ private _category = [format ["ACE %1", localize "str_a3_cfgmarkers_nato_art"], l
|
||||
true, // isGlobal
|
||||
{[QGVAR(useAmmoHandling), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -7,7 +7,7 @@
|
||||
[0.77, 0.51, 0.08, 1],
|
||||
false, // isGlobal
|
||||
{[QGVAR(defaultNametagColor), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(nametagColorMain), "COLOR",
|
||||
@ -16,7 +16,7 @@
|
||||
[1.00, 1.00, 1.00, 1],
|
||||
false, // isGlobal
|
||||
{[QGVAR(nametagColorMain), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(nametagColorRed), "COLOR",
|
||||
@ -25,7 +25,7 @@
|
||||
[1.00, 0.67, 0.67, 1],
|
||||
false, // isGlobal
|
||||
{[QGVAR(nametagColorRed), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(nametagColorGreen), "COLOR",
|
||||
@ -34,7 +34,7 @@
|
||||
[0.67, 1.00, 0.67, 1],
|
||||
false, // isGlobal
|
||||
{[QGVAR(nametagColorGreen), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(nametagColorBlue), "COLOR",
|
||||
@ -43,7 +43,7 @@
|
||||
[0.67, 0.67, 1.00, 1],
|
||||
false, // isGlobal
|
||||
{[QGVAR(nametagColorBlue), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(nametagColorYellow),
|
||||
@ -53,4 +53,4 @@
|
||||
[1.00, 1.00, 0.67, 1],
|
||||
false, // isGlobal
|
||||
{[QGVAR(nametagColorYellow), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -44,14 +44,14 @@
|
||||
};
|
||||
};
|
||||
}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
[
|
||||
QGVAR(fogScaling), "SLIDER",
|
||||
[LSTRING(fogScaling_DisplayName), LSTRING(fogScaling_Description)],
|
||||
localize LSTRING(Category),
|
||||
[0,2,1,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
||||
true // isGlobal
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(noiseScaling), "SLIDER",
|
||||
@ -59,7 +59,7 @@
|
||||
localize LSTRING(Category),
|
||||
[0,2,1,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
||||
true // isGlobal
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(aimDownSightsBlur), "SLIDER",
|
||||
@ -67,7 +67,7 @@
|
||||
localize LSTRING(Category),
|
||||
[0,2,1,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
||||
true // isGlobal
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(disableNVGsWithSights), "CHECKBOX",
|
||||
@ -75,7 +75,7 @@
|
||||
localize LSTRING(Category),
|
||||
false, // default value
|
||||
true // isGlobal
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(shutterEffects), "CHECKBOX",
|
||||
@ -83,4 +83,4 @@
|
||||
localize LSTRING(Category),
|
||||
true, // default value
|
||||
false // isGlobal
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -36,4 +36,4 @@ if (hasInterface) then {
|
||||
[ACE_player, "isPlayer"] call EFUNC(common,unmuteUnit);
|
||||
};
|
||||
}, true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -16,6 +16,6 @@ PREP_RECOMPILE_END;
|
||||
true,
|
||||
false,
|
||||
{[QGVAR(hideAltimeter), _this, false] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call cba_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
ADDON = true;
|
||||
|
@ -5,7 +5,7 @@
|
||||
LSTRING(Category_Pylons),
|
||||
[true],
|
||||
true
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(enabledForZeus),
|
||||
@ -14,7 +14,7 @@
|
||||
LSTRING(Category_Pylons),
|
||||
[true],
|
||||
true
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(rearmNewPylons),
|
||||
@ -23,7 +23,7 @@
|
||||
LSTRING(Category_Pylons),
|
||||
[false],
|
||||
true
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(requireEngineer),
|
||||
@ -32,7 +32,7 @@
|
||||
LSTRING(Category_Pylons),
|
||||
[false],
|
||||
true
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(requireToolkit),
|
||||
@ -41,7 +41,7 @@
|
||||
LSTRING(Category_Pylons),
|
||||
[true],
|
||||
true
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(searchDistance),
|
||||
@ -54,7 +54,7 @@
|
||||
params ["_searchDistance"];
|
||||
GVAR(searchDistanceSqr) = _searchDistance ^ 2;
|
||||
}
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(timePerPylon),
|
||||
@ -63,4 +63,4 @@
|
||||
LSTRING(Category_Pylons),
|
||||
[1, 10, 5, 0],
|
||||
true
|
||||
] call CBA_Settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -5,7 +5,7 @@
|
||||
format ["ACE %1", LLSTRING(Category)],
|
||||
true,
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(distance),
|
||||
@ -14,7 +14,7 @@
|
||||
format ["ACE %1", LLSTRING(Category)],
|
||||
[0, 10, DEFAULT_DISTANCE, 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(speed),
|
||||
@ -23,7 +23,7 @@
|
||||
format ["ACE %1", LLSTRING(Category)],
|
||||
[0, 30, DEFAULT_SPEED, 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(priority),
|
||||
@ -32,7 +32,7 @@
|
||||
format ["ACE %1", LLSTRING(Category)],
|
||||
[[0, 1, 2, 3], ["str_getin_pos_driver", "str_getin_pos_gunn", "str_getin_pos_comm", "str_getin_pos_passenger"], DEFAULT_PRIORITY],
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(enableMenu),
|
||||
@ -49,4 +49,4 @@
|
||||
],
|
||||
3
|
||||
]
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -7,7 +7,7 @@
|
||||
[[0,1,2],[LSTRING(RearmSettings_vehicle), LSTRING(RearmSettings_magazine), LSTRING(RearmSettings_caliber)],0], // [values, titles, defaultIndex]
|
||||
true, // isGlobal
|
||||
{[QGVAR(level), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(supply), "LIST",
|
||||
@ -16,7 +16,7 @@
|
||||
[[0,1,2],[LSTRING(RearmSettings_unlimited), LSTRING(RearmSettings_limited), LSTRING(RearmSettings_magazineSupply)],0], // [values, titles, defaultIndex]
|
||||
true, // isGlobal
|
||||
{[QGVAR(supply), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(distance), "SLIDER",
|
||||
@ -25,4 +25,4 @@
|
||||
[10, 50, 20, 0],
|
||||
true, // isGlobal
|
||||
{[QGVAR(supply), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -7,7 +7,7 @@
|
||||
[0,25,1,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
||||
true, // isGlobal
|
||||
{[QGVAR(rate), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(hoseLength), "SLIDER",
|
||||
@ -16,4 +16,4 @@
|
||||
[0,50,12,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
||||
true, // isGlobal
|
||||
{[QGVAR(hoseLength), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -5,7 +5,7 @@
|
||||
true, // default value
|
||||
false, // isGlobal
|
||||
{[QGVAR(displayTextOnRepair), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(engineerSetting_repair), "LIST",
|
||||
@ -14,7 +14,7 @@
|
||||
[[0,1,2],[LSTRING(engineerSetting_anyone), LSTRING(engineerSetting_EngineerOnly), LSTRING(engineerSetting_AdvancedOnly)],1], // [values, titles, defaultIndex]
|
||||
true, // isGlobal
|
||||
{[QGVAR(engineerSetting_repair), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(engineerSetting_wheel), "LIST",
|
||||
@ -23,7 +23,7 @@
|
||||
[[0,1,2],[LSTRING(engineerSetting_anyone), LSTRING(engineerSetting_EngineerOnly), LSTRING(engineerSetting_AdvancedOnly)],0], // [values, titles, defaultIndex]
|
||||
true, // isGlobal
|
||||
{[QGVAR(engineerSetting_wheel), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(repairDamageThreshold), "SLIDER",
|
||||
@ -32,7 +32,7 @@
|
||||
[0,1,0.6,2], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
||||
true, // isGlobal
|
||||
{[QGVAR(repairDamageThreshold), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(repairDamageThreshold_engineer), "SLIDER",
|
||||
@ -41,7 +41,7 @@
|
||||
[0,1,0.4,2], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
||||
true, // isGlobal
|
||||
{[QGVAR(repairDamageThreshold_engineer), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(consumeItem_toolKit), "LIST", // fnc_repair expects number
|
||||
@ -50,7 +50,7 @@
|
||||
[[0,1],[ELSTRING(common,No), ELSTRING(common,Yes)],0], // [values, titles, defaultIndex]
|
||||
true, // isGlobal
|
||||
{[QGVAR(consumeItem_toolKit), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(fullRepairLocation), "LIST",
|
||||
@ -59,7 +59,7 @@
|
||||
[[0,1,2,3,4],[LSTRING(useAnywhere), LSTRING(repairVehicleOnly), LSTRING(repairFacilityOnly), LSTRING(vehicleAndFacility), ELSTRING(common,Disabled)],2], // [values, titles, defaultIndex]
|
||||
true, // isGlobal
|
||||
{[QGVAR(fullRepairLocation), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(engineerSetting_fullRepair), "LIST",
|
||||
@ -68,7 +68,7 @@
|
||||
[[0,1,2],[LSTRING(engineerSetting_anyone), LSTRING(engineerSetting_EngineerOnly), LSTRING(engineerSetting_AdvancedOnly)],2], // [values, titles, defaultIndex]
|
||||
true, // isGlobal
|
||||
{[QGVAR(engineerSetting_fullRepair), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(addSpareParts), "CHECKBOX",
|
||||
@ -78,7 +78,7 @@
|
||||
true, // isGlobal
|
||||
{[QGVAR(addSpareParts), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(wheelRepairRequiredItems),
|
||||
@ -87,7 +87,7 @@
|
||||
[localize ELSTRING(OptionsMenu,CategoryLogistics), localize "str_state_repair"],
|
||||
[[[], ["ToolKit"]], ["STR_A3_None", "STR_A3_CfgWeapons_Toolkit0"], 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(miscRepairRequiredItems),
|
||||
@ -96,7 +96,7 @@
|
||||
[localize ELSTRING(OptionsMenu,CategoryLogistics), localize "str_state_repair"],
|
||||
[[[], ["ToolKit"]], ["STR_A3_None", "STR_A3_CfgWeapons_Toolkit0"], 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(fullRepairRequiredItems),
|
||||
@ -105,7 +105,7 @@
|
||||
[localize ELSTRING(OptionsMenu,CategoryLogistics), localize "str_state_repair"],
|
||||
[[[], ["ToolKit"]], ["STR_A3_None", "STR_A3_CfgWeapons_Toolkit0"], 1],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(autoShutOffEngineWhenStartingRepair), "CHECKBOX",
|
||||
@ -114,4 +114,4 @@
|
||||
false, // default value
|
||||
true, // isGlobal
|
||||
{[QGVAR(autoShutOffEngineWhenStartingRepair), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -5,7 +5,7 @@
|
||||
LSTRING(Settings_DisplayName),
|
||||
false,
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(restrictModes),
|
||||
@ -16,7 +16,7 @@
|
||||
true,
|
||||
{},
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(restrictVisions),
|
||||
@ -27,7 +27,7 @@
|
||||
true,
|
||||
{},
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(maxFollowDistance),
|
||||
@ -36,4 +36,4 @@
|
||||
LSTRING(Settings_DisplayName),
|
||||
[5, 25, 5, 1],
|
||||
false
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -6,4 +6,4 @@
|
||||
false, // isGlobal
|
||||
{[QGVAR(quickTag), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
false // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -7,7 +7,7 @@
|
||||
[-1,60,10,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
||||
true, // isGlobal
|
||||
{[QGVAR(defaultLockpickStrength), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(lockVehicleInventory), "CHECKBOX",
|
||||
@ -17,7 +17,7 @@
|
||||
true, // isGlobal
|
||||
{[QGVAR(lockVehicleInventory), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(vehicleStartingLockState), "LIST",
|
||||
@ -27,4 +27,4 @@
|
||||
true, // isGlobal
|
||||
{[QGVAR(vehicleStartingLockState), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -5,4 +5,4 @@
|
||||
localize ELSTRING(common,ACEKeybindCategoryWeapons),
|
||||
true, // default value
|
||||
false, // isGlobal
|
||||
{[QGVAR(displayText), _this] call EFUNC(common,cbaSettings_settingChanged)}] call CBA_settings_fnc_init;
|
||||
{[QGVAR(displayText), _this] call EFUNC(common,cbaSettings_settingChanged)}] call CBA_fnc_addSetting;
|
||||
|
@ -8,7 +8,7 @@ private _category = [format ["ACE %1", LLSTRING(Module_DisplayName)]];
|
||||
true, // isGlobal
|
||||
{[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(updateInterval), "SLIDER",
|
||||
@ -18,7 +18,7 @@ private _category = [format ["ACE %1", LLSTRING(Module_DisplayName)]];
|
||||
true, // isGlobal
|
||||
{[QGVAR(updateInterval), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(windSimulation), "CHECKBOX",
|
||||
@ -28,7 +28,7 @@ private _category = [format ["ACE %1", LLSTRING(Module_DisplayName)]];
|
||||
true, // isGlobal
|
||||
{[QGVAR(windSimulation), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true // Needs mission restart
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(showCheckAirTemperature), "CHECKBOX",
|
||||
@ -36,4 +36,4 @@ private _category = [format ["ACE %1", LLSTRING(Module_DisplayName)]];
|
||||
_category,
|
||||
true, // default value
|
||||
false // isGlobal
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -19,4 +19,4 @@
|
||||
0
|
||||
],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
] call CBA_fnc_addSetting;
|
||||
|
Loading…
Reference in New Issue
Block a user