ACE3/addons/frag/initSettings.sqf
GhostIsSpooky 998f86f034
General - Move to CBA Settings (#8461)
* first pass

* second pass

* third pass

* final pass

* missing commas

* newlines

* switch to cba eventhandler

* newlines, formatting

* laser - movedToSQF

* add logging to ace_common_fnc_cbaSettings_loadFromConfig

* Update initSettings.sqf

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-10-11 15:48:30 -05:00

41 lines
876 B
Plaintext

private _category = format ["ACE %1", localize LSTRING(Module_DisplayName)];
[
QGVAR(enabled), "CHECKBOX",
[LSTRING(EnableFrag), LSTRING(EnableFrag_Desc)],
_category,
true,
1
] call CBA_fnc_addSetting;
[
QGVAR(spallEnabled), "CHECKBOX",
[LSTRING(EnableSpall), LSTRING(EnableSpall_Desc)],
_category,
false,
1
] call CBA_fnc_addSetting;
[
QGVAR(reflectionsEnabled), "CHECKBOX",
[LSTRING(EnableReflections), LSTRING(EnableReflections_Desc)],
_category,
false,
1
] call CBA_fnc_addSetting;
[
QGVAR(maxTrack), "SLIDER",
[LSTRING(MaxTrack), LSTRING(MaxTrack_Desc)],
_category,
[0, 50, 10, -1],
1
] call CBA_fnc_addSetting;
[
QGVAR(maxTrackPerFrame), "SLIDER",
[LSTRING(MaxTrackPerFrame), LSTRING(MaxTrackPerFrame_Desc)],
_category,
[0, 50, 10, -1],
1
] call CBA_fnc_addSetting;