-
Notifications
You must be signed in to change notification settings - Fork 4
/
menudef.txt
303 lines (257 loc) · 8.98 KB
/
menudef.txt
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
// Option values ///////////////////////////////////////////////////////////////
OptionValue ts_y_values
{
-2, "Above target"
-1, "Below target"
0.02, "Screen top"
0.10, "Below screen top"
0.35, "Above crosshair"
0.60, "Below crosshair"
0.90, "Screen bottom"
}
OptionString ts_font_values
{
"SmallFont" , "Small font"
"BigFont" , "Big font"
"ConsoleFont" , "Console font"
"MM2SFNTO" , "Mementwo"
"ESFont" , "Enlightening"
"CYBERFNT" , "Cyberfonter"
"JenocideFontRed" , "Jenocide"
"SmskFont" , "Solid Snake"
"GARGSMAL" , "Gargoyle Wing"
"NewSmallFont" , "New small font"
}
OptionString ts_crosshair_font_values
{
"SmallFont" , "Small font"
"BigFont" , "Big font"
"ConsoleFont" , "Console font"
"MM2SFNTO" , "Mementwo"
"ESFont" , "Enlightening"
"CYBERFNT" , "Cyberfonter"
"JenocideFontRed" , "Jenocide"
"SmskFont" , "Solid Snake"
"GARGSMAL" , "Gargoyle Wing"
"XHAIRPCS" , "Crosshair Pieces"
"XHAIRPCSNB" , "Crosshair Pieces (No Border)"
"NewSmallFont" , "New small font"
}
OptionValue ts_health_numbers_values
{
0, "Off"
1, "On: current/max"
2, "On: current"
3, "On: 100%"
4, "On: 100.00%"
}
OptionValue ts_show_objects_values
{
0, "Off"
1, "Shootable only"
2, "Except decorations"
3, "Everything blocking"
4, "EVERYTHING"
}
OptionValue ts_name_values
{
0, "$TS_NAME_NOTHING"
1, "$TS_NAME_TAG"
2, "$TS_NAME_CLASS"
3, "$TS_NAME_TAG_AND_CLASS"
4, "$TS_NAME_TAG_AND_CLASS_IF_DIFFERENT"
}
OptionValue ts_frame_style_values
{
0, "Disabled"
1, "//"
2, "::"
3, "< >"
4, "> <"
5, "II"
6, "White frame"
7, "Red frame"
}
OptionString ts_extra_character_values
{
"❤" , "❤"
"♡" , "♡"
"█" , "█"
"☻" , "☻"
"☹" , "☹"
"⛧" , "⛧"
"⛤" , "⛤"
"☣" , "☣"
"✚" , "✚"
"⛊" , "⛊"
"▬" , "▬"
"●" , "●"
"☰" , "☰"
"⚰" , "⚰"
"☐" , "☐"
"☒" , "☒"
"☑" , "☑"
"⚙" , "⚙"
}
// Option menus ////////////////////////////////////////////////////////////////
OptionMenu ts_VisualOptions
{
Title "Target Spy Visual Options"
Option "Font" , m8f_ts_font , ts_font_values
BlankLine
StaticText "Show:" , 1
Option "Health bar" , m8f_ts_show_bar , OnOff
Option "Health numbers" , m8f_ts_show_numbers , ts_health_numbers_values
Option "Name" , ts_name , ts_name_values
Option "Kill Confirmation" , m8f_ts_show_confirm , OnOff
Option "Named Confirmation" , m8f_ts_named_confirm, OnOff
Option "Additional info" , m8f_ts_show_info , OnOff
StaticText "Includes: friendly, invulnerable, boss," , Black
StaticText "dormant, buddha, nodamage, DoomRPG level." , Black
BlankLine
StaticText "Health bar" , 1
TextField "Filled bar symbol" , m8f_ts_pip
TextField "Empty bar symbol" , m8f_ts_empty_pip
Submenu "Extra characters" , ts_ExtraCharactersOptions
BlankLine
Option "Health bar log scale" , m8f_ts_bar_log_scale , OnOff
Option "Vertical position" , m8f_ts_y , ts_y_values
Slider "Offset" , m8f_ts_y_offset , -0.2, 0.2, 0.0025, 4
Slider "Scale" , m8f_ts_text_scale , 0.5, 4.0, 0.1, 1
Slider "Opacity" , m8f_ts_opacity , 0.0, 1.0, 0.05, 2
Slider "Length Multiplier" , m8f_ts_length_mult , 0.5, 10.0, 0.1
Option "$TS_BACKGROUND" , ts_background , OnOff
}
OptionMenu ts_Frame
{
Title "Target Spy Frame Options"
Option "Style" , m8f_ts_frame_style , ts_frame_style_values
Slider "Scale" , m8f_ts_frame_scale , 0.5, 4.0, 0.1, 1
Slider "Size" , m8f_ts_frame_size , 0.25, 4.0, 0.1, 1
}
OptionMenu ts_ExtraCharactersOptions
{
Title "Extra Characters"
StaticText "These characters work only for New Small Font"
Command "Set New Small Font", ts_set_new_small_font
BlankLine
Option "Select character", ts_extra_character, ts_extra_character_values
Command "Use selected character as filled bar symbol" , ts_set_selected_as_filled
Command "Use selected character as empty bar symbol" , ts_set_selected_as_empty
}
OptionMenu ts_Filters
{
Title "Target Filters"
Option "Stealth/shadow monsters" , m8f_ts_show_hidden , OnOff
Option "Friendly targets" , m8f_ts_show_friends , OnOff
Option "Dormant targets" , m8f_ts_show_dormant , OnOff
Option "Objects" , m8f_ts_show_objects , ts_show_objects_values
Option "Corpses" , m8f_ts_show_corpses , OnOff
Option "Idle targets" , m8f_ts_show_idle , OnOff
StaticText "Recommended: OFF if the game contains mimics.", Black
BlankLine
Option "Hide targets in darkness", m8f_ts_hide_in_dark , OnOff
Slider "Minimal light level" , m8f_ts_light_level , 0, 250, 10, 0
StaticText "Targets are hidden if the light level is less than this.", Black
}
OptionMenu ts_BehaviorOptions
{
Title "Target Spy Behavior Options"
TextField "Minimal health" , m8f_ts_min_health
StaticText "Target spy will hide for targets" , Black
StaticText "with max health less than this." , Black
}
OptionMenu ts_Controls
{
Title "Target Spy Controls"
StaticTextSwitchable "$CNTRLMNU_SwitchText1", "$CNTRLMNU_SwitchText2", ControlMessage
BlankLine
Control "Toggle" , "m8f_ts_toggle"
Control "Hold to show" , "+m8f_ts_hold"
}
OptionMenu ts_Options
{
Title "Target Spy Options"
Option "Target Spy enabled" , m8f_ts_enabled , OnOff
BlankLine
SubMenu "Visuals" , ts_VisualOptions
SubMenu "Target Filters" , ts_Filters
SubMenu "Colors" , ts_ColorSetup
SubMenu "Behavior" , ts_BehaviorOptions
BlankLine
SubMenu "Frame" , ts_Frame
SubMenu "Crosshairs" , ts_Crosshairs
SubMenu "Controls" , ts_Controls
}
OptionMenu ts_Crosshairs
{
Title "Target Spy Crosshairs Setup"
Option "Enabled" , m8f_ts_crosshair_on , OnOff
Option "Only on target" , m8f_ts_cross_only_tg , OnOff
Option "Hide for Slot 1" , m8f_ts_no_cross_on_1 , OnOff
Option "Change color on hit" , m8f_ts_hit_confirm , OnOff
Option "Hit color" , m8f_ts_hit_color , TextColors
Option "$TS_CROSSHAIR_SHOW_TARGET_COLOR" , ts_cross_show_target , OnOff
BlankLine
Slider "Scale" , m8f_ts_cross_scale , 0.5, 4.0, 0.1, 1
Slider "Opacity" , m8f_ts_cr_opacity , 0.0, 1.0, 0.05, 2
Option "Font" , m8f_ts_cr_font , ts_crosshair_font_values
SubMenu "Crosshair Pieces Reference", ts_cr_pieces_ref
BlankLine
Slider "Top part offset" , ts_cross_top_offset , -50, 50, 1, 0
Slider "Middle part offset" , ts_cross_middle_offset , -50, 50, 1, 0
Slider "Bottom part offset" , ts_cross_bottom_offset , -50, 50, 1, 0
Slider "Horizontal adjustment" , ts_cross_x_adjustment , -50, 50, 1, 0
BlankLine
TextField "Top" , m8f_ts_cross_top
Command "Clear" , "m8f_ts_cross_top \"\""
BlankLine
TextField "Center" , m8f_ts_crosshair
Command "Clear" , "m8f_ts_crosshair \"\""
BlankLine
TextField "Bottom" , m8f_ts_cross_bottom
Command "Clear" , "m8f_ts_cross_bottom \"\""
}
ListMenu ts_cr_pieces_ref
{
StaticTextCentered 160, 0, "Crosshair Pieces Reference"
StaticPatchCentered 160, 40, "tscp_graph_scaled"
}
OptionMenu ts_ColorSetup
{
Title "Target Spy Color Setup"
Option "Default crosshair color" , m8f_ts_def_color_crs , TextColors
Option "Tag color" , m8f_ts_def_color_tag , TextColors
Option "Weaker enemy tag color" , m8f_ts_def_cl_tag_wk , TextColors
BlankLine
Option "Show special color for almost dead" , m8f_ts_alm_dead_cr, OnOff
Option "Dead/Almost dead color", m8f_ts_cr_alm_dead, TextColors
BlankLine
StaticText "Color for %", 1
Option " 0%" , m8f_ts_cr_0 , TextColors
Option " 10%" , m8f_ts_cr_1 , TextColors
Option " 20%" , m8f_ts_cr_2 , TextColors
Option " 30%" , m8f_ts_cr_3 , TextColors
Option " 40%" , m8f_ts_cr_4 , TextColors
Option " 50%" , m8f_ts_cr_5 , TextColors
Option " 60%" , m8f_ts_cr_6 , TextColors
Option " 70%" , m8f_ts_cr_7 , TextColors
Option " 80%" , m8f_ts_cr_8 , TextColors
Option " 90%" , m8f_ts_cr_9 , TextColors
Option "100%" , m8f_ts_cr_10 , TextColors
Option "Overhealed" , m8f_ts_cr_11 , TextColors
BlankLine
StaticText "Alternative two-color theme", 1
Option "Enabled" , m8f_ts_alt_hp_color , OnOff
Option "Filled color" , m8f_ts_green_color , TextColors
Option "Empty color" , m8f_ts_red_color , TextColors
}
// Entry point /////////////////////////////////////////////////////////////////
AddOptionMenu OptionsMenu
{
Submenu "$TS_OPTIONS_TITLE", ts_Options
}
AddOptionMenu OptionsMenuSimple
{
Submenu "$TS_OPTIONS_TITLE", ts_Options
}