ACE3/addons/frag/initSettings.inc.sqf

61 lines
1.4 KiB
Plaintext
Raw Normal View History

private _category = format ["ACE %1", localize LSTRING(Module_DisplayName)];
[
QGVAR(enabled), "CHECKBOX",
[LSTRING(EnableFrag), LSTRING(EnableFrag_Desc)],
2024-01-08 21:21:32 +00:00
[_category, LSTRING(Frag)],
true,
1
] call CBA_fnc_addSetting;
[
QGVAR(spallEnabled), "CHECKBOX",
[LSTRING(EnableSpall), LSTRING(EnableSpall_Desc)],
2024-01-08 21:21:32 +00:00
[_category, LSTRING(Spall)],
false,
1
] call CBA_fnc_addSetting;
2024-01-09 05:58:11 +00:00
[
QGVAR(reflectionsEnabled), "CHECKBOX",
[LSTRING(EnableReflections), LSTRING(EnableReflections_Desc)],
2024-01-08 21:21:32 +00:00
[_category, LSTRING(Reflections)],
false,
1
] call CBA_fnc_addSetting;
[
QGVAR(fragSimComplexity), "LIST",
2024-01-10 21:48:06 +00:00
[LSTRING(FragMode), LSTRING(FragMode_Desc)],
2024-01-08 21:21:32 +00:00
[_category, LSTRING(Frag)],
2024-01-10 21:48:06 +00:00
[[2, 1, 0], [LSTRING(FragMode_Opt2),LSTRING(FragMode_Opt1),LSTRING(FragMode_Opt0)], 2],
2024-01-11 00:51:38 +00:00
true
] call CBA_fnc_addSetting;
2024-01-08 21:21:32 +00:00
[
QGVAR(atLeastOne), "CHECKBOX",
2024-01-10 21:48:06 +00:00
[LSTRING(MinFrag), LSTRING(MinFrag_Desc)],
2024-01-08 21:21:32 +00:00
[_category, LSTRING(Frag)],
2024-01-11 21:44:15 +00:00
false,
true
2024-01-08 21:21:32 +00:00
] call CBA_fnc_addSetting;
[
QGVAR(BlackList), "EDITBOX",
2024-01-10 21:48:06 +00:00
[LSTRING(DefBlackList), LSTRING(DefBlackList_Desc)],
[_category, LSTRING(Frag)],
QUOTE(['B_556x45_Ball']),
2024-01-11 00:51:38 +00:00
true,
nil,
true
2024-01-10 21:48:06 +00:00
] call CBA_fnc_addSetting;
[
QGVAR(SpallIntensity), "SLIDER",
[LSTRING(SpallIntensity), LSTRING(SpallIntensity_Desc)],
2024-01-11 00:34:54 +00:00
[_category, LSTRING(Spall)],
2024-01-10 21:48:06 +00:00
[0.1, 2, 1, 1],
2024-01-11 00:51:38 +00:00
true
] call CBA_fnc_addSetting;