ACE3/addons/casings/initSettings.sqf

18 lines
389 B
Plaintext
Raw Normal View History

Casings - Add infantry bullet casings (#8857) * 1st pass on casings * Readability tweaks * Pretty sure these are needed... * Jonpas never lies * Whitespace fix * Add brother Diwako and allow client override * Use index, avoid count * Both settings a client-side * Add Commy fixings * Proper case for diwako + config * Formatting and AGLtoASL * Perf warning * if not required * Axing parentheses * Remove pointless GVAR update in settings * Update addons/casings/functions/fnc_createCasing.sqf Removed unused param Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Update addons/casings/functions/fnc_createCasing.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Update addons/casings/functions/fnc_createCasing.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Default to off due to performance concerns on low-end hardware * Add LIS check to avoid floating * Cleanup header * Further playtesting shows ROADWAY & FIRE have better results * Re-enable by default * Update addons/casings/functions/fnc_createCasing.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Update addons/casings/functions/fnc_createCasing.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Update addons/casings/functions/fnc_createCasing.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Update addons/casings/functions/fnc_createCasing.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * offset setPosWorld with small z-bump Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2022-05-08 03:45:24 +00:00
[
QGVAR(enabled), "CHECKBOX",
[LSTRING(displayName), LSTRING(description)],
LSTRING(Settings_DisplayName),
true,
false,
{},
true
] call CBA_fnc_addSetting;
[
QGVAR(maxCasings), "SLIDER",
[LSTRING(maxCasings_displayName), LSTRING(maxCasings_description)],
LSTRING(Settings_DisplayName),
[100, 500, 250, -1],
false
] call CBA_fnc_addSetting;