This repository has been archived by the owner on Oct 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmenudef.txt
319 lines (261 loc) · 9.8 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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
// Option Values ///////////////////////////////////////////////////////////////////////////////////
OptionValue wm_SlotOrderValues
{
0, "1-2-3-4-5-6-7-8-9-0"
1, "0-9-8-7-6-5-4-3-2-1"
}
OptionValue wm_NumbersPositionValues
{
0, "Right"
1, "Left"
}
OptionString wm_FontValues
{
"SMALLFONT" , "Small Font"
"ConsoleFont" , "Console Font"
"BIGFONT" , "Big Font"
"MINIPL_W" , "Miniplicity"
"MINIPLWK" , "Miniplicity Condensed"
"MM2SFNTO" , "Mementwo"
"GARGSMAL" , "Gargoyle Wing"
"SW_TINY" , "Shadow Warrior Tiny"
"NewSmallFont", "New small font"
}
OptionValue wm_ShowAmmoValues
{
0, "No"
1, "Only primary"
2, "Primary and secondary"
}
OptionString wm_SwitchSoundValues
{
"wmenu/no" , "None"
"wmenu/switch1" , "Click"
"wmenu/switch2" , "Hum"
"wmenu/switch3" , "Chk"
"menu/cursor" , "Menu cursor"
"menu/change" , "Menu change"
}
OptionValue wm_InstantSwitchValues
{
0, "Never"
1, "Only quick access fire"
2, "Always"
}
OptionValue wm_FavoriteFireValues
{
0, "Primary fire"
1, "Secondary fire"
2, "No fire"
}
OptionValue wm_DisplayModeValues
{
0, "(VST______)"
1, "(VS_______)"
2, "(HS_______)"
3, "(___VST___)"
4, "(___VTS___)"
5, "(___VS____)"
6, "(___HS____)"
7, "(______VTS)"
8, "(_______VS)"
9, "(_______HS)"
}
OptionValue wm_InventoryMenuXValues
{
0.0, "Left"
0.5, "Center"
1.0, "Right"
}
// Option Menus ////////////////////////////////////////////////////////////////////////////////////
OptionMenu wm_VisualOptions
{
Title "Weapon Menu + Visual Options"
StaticText "Settings will be applied next time" , Black
StaticText "you open Weapon Menu." , Black
StaticText ""
StaticText "Colors", 1
Option "Available Weapon" , M8FAvailableWeaponColor , TextColors
Option "Highlighted Weapon" , M8FHighlightedWeaponColor , TextColors
Option "Selected Weapon" , M8FSelectedWeaponColor , TextColors
Option "Weapon with no ammo" , m8f_wm_NoAmmoColor , TextColors
StaticText ""
StaticText "Display Options" , 1
Option "Always show menu" , M8fWeaponMenuAlwaysShow , YesNo
Option "Show ammo counts" , M8fWeaponMenuShowAmmoCounts , wm_ShowAmmoValues
Option "Slot order" , M8FWeaponMenuHighToLow , wm_SlotOrderValues
Option "Font" , m8f_wm_font , wm_FontValues
ScaleSlider "GZDoom messages scale" , con_scaletext, 0.0, 8.0, 1.0, "$SCALEMNU_USEUI"
StaticText ""
Slider "Step size multiplier" , M8FWeaponMenuStepMultiplier , 0.2, 3.0, 0.1
Option "Double space between slots" , m8f_wm_DoubleSpaceBetweenSlots , OnOff
StaticText ""
Slider "Menu Y Position", M8FWeaponMenuYStart, 0.0, 1.0, 0.02, 2
Option "Display Mode and X Position", m8f_wm_DisplayMode, wm_DisplayModeValues
StaticText "Legend: V - vertical, H - horizontal," , Black
StaticText "T - tag, S - slot." , Black
StaticText ""
Option "Show background" , m8f_wm_ShowBackground , OnOff
Option "Show weapon icons" , m8f_wm_ShowIcons , OnOff
StaticText "Experimental: icons may be missing or incorrect.", Black
}
OptionMenu wm_BehaviorOptions
{
Title "Weapon Menu + Behavior Options"
StaticText ""
StaticText "Sound", 1
Option "Sound on weapon switch", m8f_wm_SwitchSound, wm_SwitchSoundValues
StaticText ""
StaticText "Behavior", 1
Option "Open menu on next/prev" , M8fWeaponMenuOpenOnScroll , YesNo
Option "Skip weapons with no ammo" , m8f_wm_SkipNoAmmo , OnOff
Option "Menu looping enabled" , m8f_wm_cycle_enabled , YesNo
StaticText ""
Option "Force Universal Mode", m8f_wm_ForceFallbackMode, YesNo
StaticText "Enable if weapon set isn't recognized correctly.", Black
StaticText "If this happens, please report a bug." , Black
StaticText "Applies on the next map." , Black
}
OptionMenu wm_InventoryMenuOptions
{
Title "Inventory Menu Options"
StaticText "Position Options", 1
Option "Horizontal Position", m8f_wm_InventoryMenuX, wm_InventoryMenuXValues
StaticText "Also affects alignment.", Black
StaticText ""
Slider "Vertical Position", m8f_wm_InventoryMenuY, 0.0, 1.0, 0.02, 2
StaticText "Note that the bottom of the menu can" , Black
StaticText "be out of the screen with big values." , Black
StaticText ""
Slider "Step size multiplier", m8f_wm_StepMultiplier, -3.0, 3.0, 0.1
StaticText ""
StaticText "Behavior", 1
Option "Close Inventory menu after use", m8f_wm_CloseInvMenuAfterUse, OnOff
}
OptionMenu wm_ExtrasOptions
{
Title "Options for Extra Functions"
StaticText "Note that Extras can fail to work on certain mods.", Black
StaticText ""
Option "Quick Access Fire Mode", m8f_wm_FavoriteFireMode, wm_FavoriteFireValues
StaticText ""
Option "Instant weapon switching", M8fWeaponMenuInstantSwitch, wm_InstantSwitchValues
StaticText "Instant switching doesn't work for mods with" , Black
StaticText "custom select or deselect animations." , Black
}
OptionMenu wm_BasicControls
{
Title "Basic Controls"
StaticTextSwitchable "$CNTRLMNU_SWITCHTEXT1", "$CNTRLMNU_SWITCHTEXT2", "ControlMessage"
StaticText ""
Control "Fire/Select+Close/Use" , "+fire_close_menu"
Control "Secondary Fire/Close" , "+alt_fire_close_menu"
StaticText ""
Control "Next" , "next_weapon_menu"
Control "Previous" , "prev_weapon_menu"
StaticText ""
Control "Open Menu/Select+Close/Use" , "toggle_menu"
Control "Same, but hold/release" , "+press_menu"
StaticText ""
Control "Open Inventory Menu/Close" , "m8f_wm_open"
Control "Same, but hold/release" , "+press_inv"
StaticText ""
StaticText "Weapon Slot Keys", 1
Control "Slot 1" , "+smart_select_1"
Control "Slot 2" , "+smart_select_2"
Control "Slot 3" , "+smart_select_3"
Control "Slot 4" , "+smart_select_4"
Control "Slot 5" , "+smart_select_5"
Control "Slot 6" , "+smart_select_6"
Control "Slot 7" , "+smart_select_7"
Control "Slot 8" , "+smart_select_8"
Control "Slot 9" , "+smart_select_9"
Control "Slot 0" , "+smart_select_0"
Control "Slot 10" , "+smart_select_10"
Control "Slot 11" , "+smart_select_11"
}
OptionMenu wm_AdvancedControls
{
Title "Advanced Controls"
StaticTextSwitchable "$CNTRLMNU_SWITCHTEXT1", "$CNTRLMNU_SWITCHTEXT2", ControlMessage
StaticText ""
Control "Edit Weapon List" , "openmenu wm_EditWeaponList"
StaticText ""
Control "Mark weapon for quick access" , "m8f_wm_mark_quick"
Control "Select quick access weapon" , "m8f_wm_select_quick"
Control "Fire quick access weapon" , "+wm_fire_favorite"
StaticText ""
Control "Print Weapon Menu Debug Info", "wm_print_debug_info"
}
OptionMenu wm_InventoryControls
{
Title "Inventory Controls"
StaticTextSwitchable "$CNTRLMNU_SWITCHTEXT1", "$CNTRLMNU_SWITCHTEXT2", "ControlMessage"
StaticText ""
StaticText "Open the inventory menu to see what items are" , Black
StaticText "available through quick access keys. " , Black
StaticText ""
Control "Toggle quick access for item", "m8f_wm_toggle_quick_inv"
StaticText ""
Control "Use quick access item #1" , "m8f_wm_use_quick_inv0"
Control "Use quick access item #2" , "m8f_wm_use_quick_inv1"
Control "Use quick access item #3" , "m8f_wm_use_quick_inv2"
Control "Use quick access item #4" , "m8f_wm_use_quick_inv3"
Control "Use quick access item #5" , "m8f_wm_use_quick_inv4"
Control "Use quick access item #6" , "m8f_wm_use_quick_inv5"
Control "Use quick access item #7" , "m8f_wm_use_quick_inv6"
Control "Use quick access item #8" , "m8f_wm_use_quick_inv7"
Control "Use quick access item #9" , "m8f_wm_use_quick_inv8"
Control "Use quick access item #10" , "m8f_wm_use_quick_inv9"
StaticText ""
SafeCommand "Clear Quick Inventory List", "m8f_wm_clear_quick_inv"
}
OptionMenu wm_Commands
{
Title "Commands"
StaticText ""
StaticText "Weapon Menu", 1
Command "Reset", "m8f_wm_PreviousWeaponSet -1"
StaticText "Resets the weapon order and custom weapon names." , Black
StaticText "This may help if there is a problem with this mod." , Black
}
OptionMenu wm_EditWeaponList
{
Title "Edit Weapon List"
StaticText "Customized Weapon List stays until a new game" , Black
StaticText "starts with other weapon mod or player class." , Black
StaticText "Customized Weapon List is preserved in saves." , Black
StaticText ""
StaticText "All operations are for the selected weapon." , Black
StaticText ""
StaticText "This menu is effective only in a game." , Red
StaticText ""
Command "Increase priority in slot" , wm_increase_priority
StaticText ""
Command "Put in next slot" , wm_increase_slot
Command "Put in previous slot" , wm_decrease_slot
}
OptionMenu wm_Options
{
Title "$WM_TITLE"
StaticText ""
StaticText "$WM_CONTROLS_TITLE" , 1
SubMenu "Basic" , wm_BasicControls
SubMenu "Inventory" , wm_InventoryControls
SubMenu "Extras" , wm_AdvancedControls
StaticText ""
StaticText "Options" , 1
Submenu "Behavior" , wm_BehaviorOptions
Submenu "Visuals" , wm_VisualOptions
Submenu "Inventory Menu" , wm_InventoryMenuOptions
Submenu "Extras" , wm_ExtrasOptions
StaticText ""
StaticText "Other" , 1
Submenu "Edit Weapon List" , wm_EditWeaponList
Submenu "Commands" , wm_Commands
}
// Entry Point /////////////////////////////////////////////////////////////////////////////////////
AddOptionMenu OptionsMenu
{
Submenu "$WM_TITLE" , wm_Options
}