2021-10-11 20:48:30 +00:00
|
|
|
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)],
|
2021-10-11 20:48:30 +00:00
|
|
|
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)],
|
2021-10-11 20:48:30 +00:00
|
|
|
false,
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
2024-01-09 05:58:11 +00:00
|
|
|
|
|
|
|
|
2021-10-11 20:48:30 +00:00
|
|
|
[
|
|
|
|
QGVAR(reflectionsEnabled), "CHECKBOX",
|
|
|
|
[LSTRING(EnableReflections), LSTRING(EnableReflections_Desc)],
|
2024-01-08 21:21:32 +00:00
|
|
|
[_category, LSTRING(Reflections)],
|
2021-10-11 20:48:30 +00:00
|
|
|
false,
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
2024-01-08 21:21:32 +00:00
|
|
|
|
|
|
|
/// !*! TODO: add stringtable entries
|
2021-10-11 20:48:30 +00:00
|
|
|
[
|
2024-01-08 21:22:52 +00:00
|
|
|
QGVAR(enSubMunit), "LIST",
|
|
|
|
["Enable submunition fragmentation", "Enables submunition fragmentation when fragmentation is enabled"],
|
2024-01-08 21:21:32 +00:00
|
|
|
[_category, LSTRING(Frag)],
|
2024-01-08 21:22:52 +00:00
|
|
|
[[2, 1, 0], ["complex fragementation","simple fragmentation","no fragmentation"], 2]
|
2021-10-11 20:48:30 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
2024-01-08 21:21:32 +00:00
|
|
|
[
|
2024-01-08 21:22:52 +00:00
|
|
|
QGVAR(atLeastOne), "CHECKBOX",
|
|
|
|
"At least one round hit",
|
2024-01-08 21:21:32 +00:00
|
|
|
[_category, LSTRING(Frag)],
|
2024-01-08 21:22:52 +00:00
|
|
|
true
|
2024-01-08 21:21:32 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
2024-01-08 21:22:52 +00:00
|
|
|
QGVAR(BlackList), "EDITBOX",
|
|
|
|
["Default BlackList", "Array of ammo classnames strings to blackist fragmentation for."],
|
2024-01-08 21:21:32 +00:00
|
|
|
[_category, LSTRING(Frag)],
|
2024-01-08 21:22:52 +00:00
|
|
|
QUOTE(['B_556x45_Ball'])
|
2021-10-11 20:48:30 +00:00
|
|
|
] call CBA_fnc_addSetting;
|