mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-03-13 05:32:10 +00:00
343 lines
6.6 KiB
Text
Executable file
343 lines
6.6 KiB
Text
Executable file
#include "ui/menudef.h"
|
|
|
|
{
|
|
\\ SETUP MENU \\
|
|
|
|
menuDef {
|
|
name "options_menu"
|
|
visible 0
|
|
fullscreen 0
|
|
rect 186 0 443 426
|
|
focusColor 1 .75 0 1
|
|
style 1
|
|
border 1
|
|
onOpen { setitemcolor fadebox backcolor 0 0 0 1 ;
|
|
fadeout fadebox }
|
|
onEsc { close options_menu ; close setup_menu ; open main }
|
|
|
|
|
|
|
|
|
|
itemDef {
|
|
name window
|
|
group grpControlbutton
|
|
rect 0 2 443 426
|
|
style WINDOW_STYLE_FILLED
|
|
border 1
|
|
bordercolor .5 .5 .5 .5
|
|
forecolor 1 1 1 1
|
|
backcolor 0 0 0 .25
|
|
visible 1
|
|
decoration
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
text "Crosshair:"
|
|
rect 227 15 20 20
|
|
ownerdraw UI_CROSSHAIR
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 0
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_YESNO
|
|
text "Laser Sight:"
|
|
cvar "vr_lasersight"
|
|
rect 99 35 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_YESNO
|
|
text "Simple Items (World):"
|
|
cvar "cg_simpleItems"
|
|
rect 99 55 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_YESNO
|
|
text "Simple Items (Weapon Wheel):"
|
|
cvar "cg_weaponSelectorSimple2DIcons"
|
|
rect 99 75 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_YESNO
|
|
text "Show Item In Hand:"
|
|
cvar "vr_showItemInHand"
|
|
rect 99 95 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_YESNO
|
|
text "Marks On Walls:"
|
|
cvar "cg_marks"
|
|
rect 99 115 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_YESNO
|
|
text "Show Floating Scores:"
|
|
cvar "cg_scorePlums"
|
|
rect 99 135 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
text "Ejecting Brass:"
|
|
type ITEM_TYPE_MULTI
|
|
cvar "cg_brassTime"
|
|
cvarFloatList { "High" 2500 "Med" 1250 "Off" 0 }
|
|
rect 99 155 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_YESNO
|
|
text "Identify Target:"
|
|
cvar "cg_drawCrosshairNames"
|
|
rect 99 175 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_YESNO
|
|
text "Force Player Models:"
|
|
cvar "cg_forceModel"
|
|
rect 99 195 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_YESNO
|
|
text "Draw Team Overlay:"
|
|
cvar "cg_drawTeamOverlay"
|
|
rect 99 215 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_YESNO
|
|
text "Show Time:"
|
|
cvar "cg_drawTimer"
|
|
rect 99 235 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_YESNO
|
|
text "Taunts Off:"
|
|
cvar "cg_noTaunt"
|
|
rect 99 255 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_YESNO
|
|
text "In Game Video:"
|
|
cvar "r_inGameVideo"
|
|
rect 99 275 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_MULTI
|
|
text "HUD Type:"
|
|
cvar "cg_hudfiles"
|
|
cvarStrList { Normal "ui/hud.txt" Small "ui/hud2.txt" }
|
|
rect 99 295 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_MULTI
|
|
text "HUD Mode:"
|
|
cvar "vr_hudDrawStatus"
|
|
cvarFloatList { "Off" 0 "Floating" 1 "Simple" 2 }
|
|
rect 99 315 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
action { uiScript update "vr_hudDrawStatus" }
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_YESNO
|
|
text "Draw HUD On Weapon Wheel:"
|
|
cvar "vr_weaponSelectorWithHud"
|
|
rect 99 335 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
type ITEM_TYPE_YESNO
|
|
text "Show Console Messages:"
|
|
cvar "vr_showConsoleMessages"
|
|
rect 99 355 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 128
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
}
|
|
|
|
itemDef {
|
|
name options
|
|
group grpOptions
|
|
text "Gore:"
|
|
type ITEM_TYPE_MULTI
|
|
cvar "vr_goreLevel"
|
|
cvarFloatList { "None" 0 "Blood Only" 1 "Blood & Gibs (Default)" 2 "Extra Gore (Performance Hit)" 3 }
|
|
rect 99 385 256 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 70
|
|
textaligny 20
|
|
textscale .3
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
action { uiScript update "vr_goreLevel" }
|
|
}
|
|
|
|
itemDef {
|
|
name fadebox
|
|
style WINDOW_STYLE_FILLED
|
|
background "ui/assets/fadebox.tga"
|
|
forecolor 0 0 0 1
|
|
backcolor 0 0 0 1
|
|
rect 0 0 640 480
|
|
visible 1
|
|
decoration
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|