ACE3/addons/advanced_ballistics/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

50 lines
1.2 KiB
Plaintext

private _category = format ["ACE %1", localize LSTRING(DisplayName)];
[
QGVAR(enabled), "CHECKBOX",
[LSTRING(enabled_DisplayName), LSTRING(enabled_Description)],
_category,
false,
1
] call CBA_fnc_addSetting;
[
QGVAR(muzzleVelocityVariationEnabled), "CHECKBOX",
[LSTRING(muzzleVelocityVariationEnabled_DisplayName), LSTRING(muzzleVelocityVariationEnabled_Description)],
_category,
true,
1
] call CBA_fnc_addSetting;
[
QGVAR(ammoTemperatureEnabled), "CHECKBOX",
[LSTRING(ammoTemperatureEnabled_DisplayName), LSTRING(ammoTemperatureEnabled_Description)],
_category,
true,
1
] call CBA_fnc_addSetting;
[
QGVAR(barrelLengthInfluenceEnabled), "CHECKBOX",
[LSTRING(barrelLengthInfluenceEnabled_DisplayName), LSTRING(barrelLengthInfluenceEnabled_Description)],
_category,
true,
1
] call CBA_fnc_addSetting;
[
QGVAR(bulletTraceEnabled), "CHECKBOX",
[LSTRING(bulletTraceEnabled_DisplayName), LSTRING(bulletTraceEnabled_Description)],
_category,
true,
1
] call CBA_fnc_addSetting;
[
QGVAR(simulationInterval), "SLIDER",
[LSTRING(simulationInterval_DisplayName), LSTRING(simulationInterval_Description)],
_category,
[0, 0.2, 0.05, 2],
1
] call CBA_fnc_addSetting;