forked from FatLurch/Turret_Enhanced
-
Notifications
You must be signed in to change notification settings - Fork 0
/
XEH_preInit.sqf
112 lines (102 loc) · 7.42 KB
/
XEH_preInit.sqf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/*
Written 2019-02-03 by Erik Kofahl
Last Edited 2019-02-04 - Adding more CBA options
2019-11-30 - Adding Azimuth and Elevation indicators
*/
//diag_log "===FAT_LURCH DEDUG: XEH_preInit.sqf called===";
[
"Fat_Lurch_ShowNorth", // Internal setting name, should always contain a tag! This will be the global variable which takes the value of the setting.
"CHECKBOX", // setting type. CHECKBOX, EDITBOX, SLIDER, LIST or COLOR
"Show North", // Pretty name shown inside the ingame settings menu. Can be stringtable entry.
"Turret Enhanced", // Pretty name of the category where the setting can be found. Can be stringtable entry.
TRUE, // data for this setting: [min, max, default, number of shown trailing decimals]
nil, // "_isGlobal" flag. Set this to true to always have this setting synchronized between all clients in multiplayer
{
//params ["_value"];
//setViewDistance _value;
} // function that will be executed once on mission start and every time the setting is changed.
] call CBA_Settings_fnc_init;
[
"Fat_Lurch_ShowAz", // Internal setting name, should always contain a tag! This will be the global variable which takes the value of the setting.
"CHECKBOX", // setting type. CHECKBOX, EDITBOX, SLIDER, LIST or COLOR
"Show Azimuth", // Pretty name shown inside the ingame settings menu. Can be stringtable entry.
"Turret Enhanced", // Pretty name of the category where the setting can be found. Can be stringtable entry.
TRUE, // data for this setting: [min, max, default, number of shown trailing decimals]
nil, // "_isGlobal" flag. Set this to true to always have this setting synchronized between all clients in multiplayer
{
//params ["_value"];
//setViewDistance _value;
} // function that will be executed once on mission start and every time the setting is changed.
] call CBA_Settings_fnc_init;
[
"Fat_Lurch_ShowEl", // Internal setting name, should always contain a tag! This will be the global variable which takes the value of the setting.
"CHECKBOX", // setting type. CHECKBOX, EDITBOX, SLIDER, LIST or COLOR
"Show Elevation", // Pretty name shown inside the ingame settings menu. Can be stringtable entry.
"Turret Enhanced", // Pretty name of the category where the setting can be found. Can be stringtable entry.
TRUE, // data for this setting: [min, max, default, number of shown trailing decimals]
nil, // "_isGlobal" flag. Set this to true to always have this setting synchronized between all clients in multiplayer
{
//params ["_value"];
//setViewDistance _value;
} // function that will be executed once on mission start and every time the setting is changed.
] call CBA_Settings_fnc_init;
[
"Fat_Lurch_ShowTarget", // Internal setting name, should always contain a tag! This will be the global variable which takes the value of the setting.
"CHECKBOX", // setting type. CHECKBOX, EDITBOX, SLIDER, LIST or COLOR
"Show Target Grid", // Pretty name shown inside the ingame settings menu. Can be stringtable entry.
"Turret Enhanced", // Pretty name of the category where the setting can be found. Can be stringtable entry.
TRUE, // data for this setting: [min, max, default, number of shown trailing decimals]
nil, // "_isGlobal" flag. Set this to true to always have this setting synchronized between all clients in multiplayer
{
} // function that will be executed once on mission start and every time the setting is changed.
] call CBA_Settings_fnc_init;
[
"Fat_Lurch_MapSlew", // Internal setting name, should always contain a tag! This will be the global variable which takes the value of the setting.
"CHECKBOX", // setting type. CHECKBOX, EDITBOX, SLIDER, LIST or COLOR
"Allow Map Slew", // Pretty name shown inside the ingame settings menu. Can be stringtable entry.
"Turret Enhanced", // Pretty name of the category where the setting can be found. Can be stringtable entry.
TRUE, // data for this setting: [min, max, default, number of shown trailing decimals]
nil, // "_isGlobal" flag. Set this to true to always have this setting synchronized between all clients in multiplayer
{
} // function that will be executed once on mission start and every time the setting is changed.
] call CBA_Settings_fnc_init;
[
"Fat_Lurch_Markers", // Internal setting name, should always contain a tag! This will be the global variable which takes the value of the setting.
"CHECKBOX", // setting type. CHECKBOX, EDITBOX, SLIDER, LIST or COLOR
"Allow Markers", // Pretty name shown inside the ingame settings menu. Can be stringtable entry.
"Turret Enhanced", // Pretty name of the category where the setting can be found. Can be stringtable entry.
TRUE, // data for this setting: [min, max, default, number of shown trailing decimals]
nil, // "_isGlobal" flag. Set this to true to always have this setting synchronized between all clients in multiplayer
{
} // function that will be executed once on mission start and every time the setting is changed.
] call CBA_Settings_fnc_init;
[
"Fat_Lurch_Grid", // Internal setting name, should always contain a tag! This will be the global variable which takes the value of the setting.
"CHECKBOX", // setting type. CHECKBOX, EDITBOX, SLIDER, LIST or COLOR
"Allow Slew to Grid", // Pretty name shown inside the ingame settings menu. Can be stringtable entry.
"Turret Enhanced", // Pretty name of the category where the setting can be found. Can be stringtable entry.
TRUE, // data for this setting: [min, max, default, number of shown trailing decimals]
nil, // "_isGlobal" flag. Set this to true to always have this setting synchronized between all clients in multiplayer
{
} // function that will be executed once on mission start and every time the setting is changed.
] call CBA_Settings_fnc_init;
[
"Fat_Lurch_Measure", // Internal setting name, should always contain a tag! This will be the global variable which takes the value of the setting.
"CHECKBOX", // setting type. CHECKBOX, EDITBOX, SLIDER, LIST or COLOR
"Allow Measuring", // Pretty name shown inside the ingame settings menu. Can be stringtable entry.
"Turret Enhanced", // Pretty name of the category where the setting can be found. Can be stringtable entry.
TRUE, // data for this setting: [min, max, default, number of shown trailing decimals]
nil, // "_isGlobal" flag. Set this to true to always have this setting synchronized between all clients in multiplayer
{
} // function that will be executed once on mission start and every time the setting is changed.
] call CBA_Settings_fnc_init;
[
"Fat_Lurch_GridNum", // Internal setting name, should always contain a tag! This will be the global variable which takes the value of the setting.
"LIST", // setting type. CHECKBOX, EDITBOX, SLIDER, LIST or COLOR
"Target Grid Digits", // Pretty name shown inside the ingame settings menu. Can be stringtable entry.
"Turret Enhanced", // Pretty name of the category where the setting can be found. Can be stringtable entry.
[[6,8,10],["6 Digit", "8 Digit", "10 Digit"],0 ], // data for this setting: [min, max, default, number of shown trailing decimals]
nil, // "_isGlobal" flag. Set this to true to always have this setting synchronized between all clients in multiplayer
{
} // function that will be executed once on mission start and every time the setting is changed.
] call CBA_Settings_fnc_init;