ACE3/addons/map_gestures/initSettings.sqf
Joko bddf74cbb4
Map Gestures - Add Briefingscreen support, Different Camera Range, Improve Responsiveness, and Toggles for Curators and Spectators Maps (#7782)
* Add Variable Range for Camera Users (Zeus, Spectator) + Settings

Add Setting to Disable Zeus and/or Spectator Map Draws
Add Ability to use Map Gestures on Briefing screen
Add Setting for Briefing Screen mode (All, Only Group, Only Side, Proximity, Disabled)

* disable DISABLE_COMPILE_CACHE

* minor cleanup and add some translations

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2020-08-18 12:44:16 -05:00

86 lines
2.4 KiB
Plaintext

[
QGVAR(enabled), "CHECKBOX",
[LSTRING(enabled_displayName), LSTRING(enabled_description)],
LSTRING(mapGestures_category),
true,
true
] call CBA_fnc_addSetting;
[
QGVAR(maxRange), "SLIDER",
[LSTRING(maxRange_displayName), LSTRING(maxRange_description)],
LSTRING(mapGestures_category),
[0,50,7,1],
true
] call CBA_fnc_addSetting;
[
QGVAR(maxRangeCamera), "SLIDER",
[LSTRING(maxRangeCamera_displayName), LSTRING(maxRangeCamera_description)],
LSTRING(mapGestures_category),
[0,50,14,1],
true
] call CBA_fnc_addSetting;
[
QGVAR(allowSpectator), "CHECKBOX",
[LSTRING(allowSpectator_displayName), LSTRING(allowSpectator_description)],
LSTRING(mapGestures_category),
true
] call CBA_fnc_addSetting;
[
QGVAR(allowCurator), "CHECKBOX",
[LSTRING(allowCurator_displayName), LSTRING(allowCurator_description)],
LSTRING(mapGestures_category),
true
] call CBA_fnc_addSetting;
[
QGVAR(briefingMode), "LIST",
[LSTRING(allowCurator_displayName), LSTRING(allowCurator_description)],
LSTRING(mapGestures_category),
[[0, 1, 2, 3, 4], [LSTRING(briefingMode_All), LSTRING(briefingMode_Group), LSTRING(briefingMode_Side), LSTRING(briefingMode_Proximity), LSTRING(briefingMode_Disabled)], 0]
] call CBA_fnc_addSetting;
[
QGVAR(onlyShowFriendlys),
"CHECKBOX",
[LSTRING(onlyShowFriendlys_displayName), LSTRING(onlyShowFriendlys_description)],
LSTRING(mapGestures_category),
false,
1
] call CBA_fnc_addSetting;
[
QGVAR(interval), "SLIDER",
[LSTRING(interval_displayName), LSTRING(interval_description)],
LSTRING(mapGestures_category),
[0,1,0.03,2],
true
] call CBA_fnc_addSetting;
[
QGVAR(nameTextColor), "COLOR",
[LSTRING(nameTextColor_displayName), LSTRING(nameTextColor_description)],
[LSTRING(mapGestures_category), LSTRING(mapGestures_subcategory_colors)],
[0.2,0.2,0.2,0.3],
false
] call CBA_fnc_addSetting;
[
QGVAR(defaultLeadColor), "COLOR",
[LSTRING(defaultLeadColor_displayName), LSTRING(defaultLeadColor_description)],
[LSTRING(mapGestures_category), LSTRING(mapGestures_subcategory_colors)],
[1,0.88,0,0.95],
false
] call CBA_fnc_addSetting;
[
QGVAR(defaultColor), "COLOR",
[LSTRING(defaultColor_displayName), LSTRING(defaultColor_description)],
[LSTRING(mapGestures_category), LSTRING(mapGestures_subcategory_colors)],
[1,0.88,0,0.7],
false
] call CBA_fnc_addSetting;