2022-10-13 22:19:44 +00:00
|
|
|
//--------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// in-game CONTROLS MENU
|
|
|
|
//
|
|
|
|
//--------------------------------------------------------------
|
|
|
|
{
|
|
|
|
menuDef
|
|
|
|
{
|
|
|
|
name "ingameControlsMenu"
|
|
|
|
fullScreen 1 // MENU_TRUE
|
|
|
|
rect 0 0 640 480 // Size and position of the menu
|
|
|
|
visible 1 // Visible on open
|
|
|
|
focusColor 1 1 1 1 // Focus color for text and items
|
|
|
|
descX 375
|
|
|
|
descY 425
|
|
|
|
descScale .8
|
|
|
|
descColor .235 .882 .847 1 // Focus color for text and items
|
|
|
|
descAlignment ITEM_ALIGN_CENTER
|
|
|
|
|
|
|
|
onOpen
|
|
|
|
{
|
|
|
|
uiScript loadControls
|
|
|
|
hide forcecontrols
|
2022-10-15 23:13:50 +00:00
|
|
|
show commoncontrols
|
2022-10-13 22:19:44 +00:00
|
|
|
hide invcontrols
|
|
|
|
hide comfortcontrols
|
|
|
|
show setup_background
|
2022-10-15 23:13:50 +00:00
|
|
|
hide weaponcontrols
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
onClose
|
|
|
|
{
|
|
|
|
uiScript saveControls
|
|
|
|
}
|
|
|
|
|
|
|
|
onESC
|
|
|
|
{
|
|
|
|
play sound/interface/button1.wav
|
|
|
|
hide highlights
|
|
|
|
close all
|
|
|
|
open ingameMainMenu
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// MENU BACKGROUND
|
|
|
|
//
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name frame_pic
|
|
|
|
group none
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 0 0 640 480
|
|
|
|
background "gfx/menus/menu1" // Frame
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 1
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
// The saber glow on the left
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name saberglow
|
|
|
|
group none
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 30 0 90 480
|
|
|
|
background "gfx/menus/menu3" // Frame
|
|
|
|
forecolor 0.8 0.8 0.8 1
|
|
|
|
visible 1
|
|
|
|
decoration
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// The starwars logo on the top
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name starwars
|
|
|
|
group none
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 143 12 470 93
|
|
|
|
background "gfx/menus/menu4" // Frame
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 1
|
|
|
|
decoration
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// The saber halo on the left
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name saberhalo
|
|
|
|
group none
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect -425 -185 1000 1000
|
|
|
|
background "gfx/menus/menu2" // Frame
|
|
|
|
forecolor 0.5 0.5 0.5 1
|
|
|
|
visible 1
|
|
|
|
decoration
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name logomodel
|
|
|
|
group none
|
|
|
|
type ITEM_TYPE_MODEL
|
|
|
|
rect -123 48 400 400
|
|
|
|
model_angle 90
|
|
|
|
model_rotation 3.5
|
|
|
|
asset_model "models/map_objects/bespin/jk2logo.md3"
|
|
|
|
// model_fovx 37
|
|
|
|
// model_fovy 34
|
|
|
|
// model_origin 100 100 100
|
|
|
|
visible 1
|
|
|
|
decoration
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// The saber halo on the left
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name saberhalo2
|
|
|
|
group none
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect -225 15 600 600
|
|
|
|
background "gfx/menus/menu2b" // Frame
|
|
|
|
forecolor 0.25 0.25 0.25 1
|
|
|
|
visible 1
|
|
|
|
decoration
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
|
|
|
}
|
|
|
|
|
|
|
|
// Expanded menu shaders
|
|
|
|
// Sun red
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name sun
|
|
|
|
group none
|
|
|
|
rect -40 145 300 300
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
background "gfx/menus/menu2r"
|
|
|
|
forecolor 0.7 0.7 0.7 1
|
|
|
|
visible 1
|
|
|
|
decoration
|
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
showCvar { 1 }
|
|
|
|
}
|
|
|
|
// Sun halo
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name sun_halo
|
|
|
|
group none
|
|
|
|
rect -95 100 400 400
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
background "gfx/menus/menu2br"
|
|
|
|
forecolor 0.3 0.3 0.3 1
|
|
|
|
visible 1
|
|
|
|
decoration
|
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
showCvar { 1 }
|
|
|
|
}
|
|
|
|
// Long sunflare
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name sunflares
|
|
|
|
group none
|
|
|
|
rect -235 -60 700 700
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
background "gfx/menus/menu2br"
|
|
|
|
forecolor 0.3 0.3 0.3 1
|
|
|
|
visible 1
|
|
|
|
decoration
|
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
showCvar { 1 }
|
|
|
|
}
|
|
|
|
|
|
|
|
// Expanded Menu Starwars Logo
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name star_wars
|
|
|
|
group none
|
|
|
|
rect 272 10 365 95
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
background "gfx/menus/expanded_menu_logo"
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 1
|
|
|
|
decoration
|
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
showCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// TOP MENU BUTTONS
|
|
|
|
//
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
// Big button "SAVE"
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name savegamebutton_glow
|
|
|
|
group mods
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 115 115 130 24
|
|
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name savegamebutton
|
|
|
|
group toprow
|
|
|
|
text @MENUS1_SAVE
|
|
|
|
descText @MENUS1_SAVE_CURRENT_GAME
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
rect 115 115 130 24
|
|
|
|
textaligny 0
|
|
|
|
font 3
|
|
|
|
textscale 0.9
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
textstyle 3
|
|
|
|
textalignx 65
|
|
|
|
forecolor 0.65 0.65 1 1
|
|
|
|
visible 1
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
{
|
|
|
|
show savegamebutton_glow
|
|
|
|
}
|
|
|
|
mouseExit
|
|
|
|
{
|
|
|
|
hide savegamebutton_glow
|
|
|
|
}
|
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
close all
|
|
|
|
open ingamesaveMenu
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Big button "LOAD"
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name loadgamebutton_glow
|
|
|
|
group mods
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 245 115 130 24
|
|
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name loadgamebutton
|
|
|
|
group toprow
|
|
|
|
text @MENUS1_LOAD
|
|
|
|
descText @MENUS1_LOAD_A_SAVED_GAME
|
|
|
|
rect 245 115 130 24
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
textstyle 3
|
|
|
|
font 3
|
|
|
|
textscale 0.9
|
|
|
|
textaligny 0
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
textalignx 65
|
|
|
|
forecolor 0.65 0.65 1 1
|
|
|
|
visible 1
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
{
|
|
|
|
show loadgamebutton_glow
|
|
|
|
}
|
|
|
|
mouseExit
|
|
|
|
{
|
|
|
|
hide loadgamebutton_glow
|
|
|
|
}
|
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
close all
|
|
|
|
open ingameloadMenu
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Big button "CONTROLS"
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name controlsbutton_glow
|
|
|
|
group mods
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 375 115 130 24
|
|
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
itemDef {
|
|
|
|
name controlsbutton
|
|
|
|
group toprow
|
|
|
|
text @MENUS0_CONTROLS2
|
|
|
|
descText @MENUS0_CONFIGURE_GAME_CONTROLS
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
rect 375 115 130 24
|
|
|
|
font 3
|
|
|
|
textscale 0.9
|
|
|
|
textaligny 0
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
textstyle 3
|
|
|
|
textalignx 65
|
|
|
|
backcolor 0 0 0 0
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 1
|
|
|
|
decoration
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
{
|
|
|
|
show controlsbutton_glow
|
|
|
|
}
|
|
|
|
mouseExit
|
|
|
|
{
|
|
|
|
hide controlsbutton_glow
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Big button "SETUP"
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name setupbutton_glow
|
|
|
|
group mods
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 505 115 130 24
|
|
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
itemDef {
|
|
|
|
name setupbutton
|
|
|
|
group toprow
|
|
|
|
text @MENUS0_SETUP
|
|
|
|
descText @MENUS0_CONFIGURE_GAME_SETTINGS
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
rect 505 115 130 24
|
|
|
|
font 3
|
|
|
|
textscale 0.9
|
|
|
|
textaligny 0
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
textstyle 3
|
|
|
|
textalignx 65
|
|
|
|
backcolor 0 0 0 0
|
|
|
|
forecolor 0.65 0.65 1 1
|
|
|
|
visible 1
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
{
|
|
|
|
show setupbutton_glow
|
|
|
|
}
|
|
|
|
mouseExit
|
|
|
|
{
|
|
|
|
hide setupbutton_glow
|
|
|
|
}
|
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
close all
|
|
|
|
open ingameSetupMenu
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name header_line
|
|
|
|
group toprow
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 125 136 500 4
|
|
|
|
background "gfx/menus/menu_line" // Frame
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 1
|
|
|
|
decoration
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// OTHER MAIN MENU BUTTONS
|
|
|
|
//
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
// EXIT button in lower left corner
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name exitgamebutton_glow
|
|
|
|
group mods
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 115 444 130 24
|
|
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name exitgamebutton
|
|
|
|
group othermain
|
|
|
|
text @MENUS0_EXIT
|
|
|
|
descText @MENUS1_JEDI_KNIGHT_II
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
rect 115 444 130 24
|
|
|
|
font 3
|
|
|
|
textscale 1
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
textstyle 3
|
|
|
|
textalignx 65
|
|
|
|
textaligny -1
|
|
|
|
forecolor 0.65 0.65 1 1
|
|
|
|
visible 1
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
{
|
|
|
|
show exitgamebutton_glow
|
|
|
|
}
|
|
|
|
mouseExit
|
|
|
|
{
|
|
|
|
hide exitgamebutton_glow
|
|
|
|
}
|
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
close all
|
|
|
|
open ingamequitMenu
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// RESUME button in the lower right corner
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name resumebutton_glow
|
|
|
|
group mods
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 495 444 130 24
|
|
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name resume
|
|
|
|
group none
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
rect 495 444 130 24
|
|
|
|
text @MENUS1_RESUME
|
|
|
|
descText @MENUS1_RESUME_CURRENT_GAME
|
|
|
|
font 3
|
|
|
|
textscale 1
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
textstyle 3
|
|
|
|
textalignx 65
|
|
|
|
textaligny -1
|
|
|
|
forecolor 0.65 0.65 1 1
|
|
|
|
visible 1
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
mouseEnter
|
|
|
|
{
|
|
|
|
show resumebutton_glow
|
|
|
|
}
|
|
|
|
mouseExit
|
|
|
|
{
|
|
|
|
hide resumebutton_glow
|
|
|
|
}
|
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
uiScript closeingame // Close menu
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-02 21:53:07 +00:00
|
|
|
// Expanded Menu Back Button
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name back_menu_button_hover
|
|
|
|
group highlights
|
|
|
|
rect 585 445 50 15
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
background "gfx/menus/expanded_menu_buttonback"
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
showCvar { 1 }
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name back_menu_button
|
|
|
|
group none
|
|
|
|
rect 585 445 50 15
|
|
|
|
text @MENUS0_BACK
|
|
|
|
descText @MENUS0_BACKUP_ONE_MENU
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textalignx 49
|
|
|
|
textaligny 0
|
|
|
|
textscale 0.53
|
|
|
|
textstyle 3
|
|
|
|
font 3
|
|
|
|
forecolor 0.65 0.65 1 1
|
|
|
|
visible 1
|
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
showCvar { 1 }
|
|
|
|
|
|
|
|
action
|
|
|
|
{
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
|
|
|
hide highlights
|
|
|
|
|
|
|
|
close all
|
|
|
|
open ingameMainMenu
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
{
|
|
|
|
show back_menu_button_hover
|
|
|
|
}
|
|
|
|
mouseExit
|
|
|
|
{
|
|
|
|
hide back_menu_button_hover
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// SECOND ROW MENU BUTTONS
|
|
|
|
//
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
// Configure Controls title
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name control_title
|
|
|
|
group none
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
text @MENUS1_CONFIGURE_CONTROLS
|
2022-11-02 21:53:07 +00:00
|
|
|
rect 150 145 450 16
|
2022-10-13 22:19:44 +00:00
|
|
|
font 3
|
|
|
|
textscale 0.7
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
textalignx 225
|
|
|
|
textaligny -2
|
|
|
|
forecolor 1 1 1 1
|
2022-11-02 21:53:07 +00:00
|
|
|
visible 1
|
|
|
|
decoration
|
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
|
|
|
}
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name control_title
|
|
|
|
group none
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
background "gfx/menus/expanded_menu_box"
|
|
|
|
text @MENUS1_CONFIGURE_CONTROLS
|
|
|
|
rect 120 145 486 16
|
|
|
|
font 3
|
|
|
|
textscale 0.7
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
textalignx 241
|
|
|
|
textaligny -1
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 1
|
|
|
|
decoration
|
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
showCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
2022-10-15 23:13:50 +00:00
|
|
|
// Common button
|
2022-10-13 22:19:44 +00:00
|
|
|
itemDef
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
name commoncontrolbutton_glow
|
2022-10-13 22:19:44 +00:00
|
|
|
group mods
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 120 173 170 30
|
|
|
|
background "gfx/menus/menu_blendbox2" // Frame around button
|
|
|
|
forecolor 1 1 1 1
|
2022-10-15 23:13:50 +00:00
|
|
|
visible 0
|
2022-10-13 22:19:44 +00:00
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
name commoncontrolbutton
|
2022-10-13 22:19:44 +00:00
|
|
|
group none
|
2022-11-02 21:53:07 +00:00
|
|
|
text @MENUS_VR_COMMON_CONTROLS_ITEM
|
2022-10-13 22:19:44 +00:00
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
rect 120 173 170 30
|
|
|
|
font 3
|
|
|
|
textscale 0.9
|
|
|
|
textalignx 170
|
|
|
|
textaligny 5
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textstyle 3
|
|
|
|
forecolor 0.65 0.65 1 1
|
|
|
|
visible 1
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_COMMON_CONTROLS_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
show commoncontrolbutton_glow
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
mouseExit
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
hide commoncontrolbutton_glow
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
show setup_background
|
2022-10-15 23:13:50 +00:00
|
|
|
hide weaponcontrols
|
2022-10-13 22:19:44 +00:00
|
|
|
hide forcecontrols
|
2022-10-15 23:13:50 +00:00
|
|
|
show commoncontrols
|
2022-10-13 22:19:44 +00:00
|
|
|
hide invcontrols
|
|
|
|
hide comfortcontrols
|
2022-10-15 23:13:50 +00:00
|
|
|
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
|
2022-10-13 22:19:44 +00:00
|
|
|
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
|
2022-10-15 23:13:50 +00:00
|
|
|
setitemcolor commoncontrolbutton forecolor 1 1 1 1
|
2022-10-13 22:19:44 +00:00
|
|
|
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
|
|
|
|
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-15 23:13:50 +00:00
|
|
|
// Weapons button
|
2022-10-13 22:19:44 +00:00
|
|
|
itemDef
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
name weaponscontrolbutton_glow
|
2022-10-13 22:19:44 +00:00
|
|
|
group mods
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 120 203 170 30
|
|
|
|
background "gfx/menus/menu_blendbox2" // Frame around button
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
name weaponscontrolbutton
|
2022-10-13 22:19:44 +00:00
|
|
|
group none
|
2022-10-15 23:13:50 +00:00
|
|
|
text @MENUS0_WEAPONS
|
2022-10-13 22:19:44 +00:00
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
rect 120 203 170 30
|
|
|
|
font 3
|
|
|
|
textscale 0.9
|
|
|
|
textalignx 170
|
|
|
|
textaligny 5
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textstyle 3
|
|
|
|
forecolor 0.65 0.65 1 1
|
|
|
|
visible 1
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_WEAPON_CONTROLS_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
show weaponscontrolbutton_glow
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
mouseExit
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
hide weaponscontrolbutton_glow
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
show setup_background
|
2022-10-15 23:13:50 +00:00
|
|
|
show weaponcontrols
|
|
|
|
hide forcecontrols
|
|
|
|
hide commoncontrols
|
|
|
|
hide invcontrols
|
2022-10-13 22:19:44 +00:00
|
|
|
hide comfortcontrols
|
2022-10-15 23:13:50 +00:00
|
|
|
setitemcolor weaponscontrolbutton forecolor 1 1 1 1
|
|
|
|
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
|
|
|
|
setitemcolor commoncontrolbutton forecolor 0.64 0.65 1 1
|
2022-10-13 22:19:44 +00:00
|
|
|
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
|
|
|
|
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-15 23:13:50 +00:00
|
|
|
// Force Powers button
|
2022-10-13 22:19:44 +00:00
|
|
|
itemDef
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
name forcecontrolbutton_glow
|
2022-10-13 22:19:44 +00:00
|
|
|
group mods
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 120 233 170 30
|
|
|
|
background "gfx/menus/menu_blendbox2" // Frame around button
|
|
|
|
forecolor 1 1 1 1
|
2022-10-15 23:13:50 +00:00
|
|
|
visible 0
|
2022-10-13 22:19:44 +00:00
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
name forcecontrolbutton
|
2022-10-13 22:19:44 +00:00
|
|
|
group none
|
2022-10-15 23:13:50 +00:00
|
|
|
text @MENUS1_FORCE_POWERS
|
2022-10-13 22:19:44 +00:00
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
rect 120 233 170 30
|
|
|
|
font 3
|
|
|
|
textscale 0.9
|
|
|
|
textalignx 170
|
|
|
|
textaligny 5
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textstyle 3
|
|
|
|
forecolor 0.65 0.65 1 1
|
|
|
|
visible 1
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_POWER_CONTROLS_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
show forcecontrolbutton_glow
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
mouseExit
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
hide forcecontrolbutton_glow
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
show setup_background
|
|
|
|
hide weaponcontrols
|
2022-10-15 23:13:50 +00:00
|
|
|
show forcecontrols
|
|
|
|
hide commoncontrols
|
|
|
|
hide invcontrols
|
2022-10-13 22:19:44 +00:00
|
|
|
hide comfortcontrols
|
|
|
|
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
|
2022-10-15 23:13:50 +00:00
|
|
|
setitemcolor forcecontrolbutton forecolor 1 1 1 1
|
|
|
|
setitemcolor commoncontrolbutton forecolor 0.64 0.65 1 1
|
2022-10-13 22:19:44 +00:00
|
|
|
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
|
|
|
|
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// inventory button
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name inventorycontrolbutton_glow
|
|
|
|
group mods
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 120 263 170 30
|
|
|
|
background "gfx/menus/menu_blendbox2" // Frame around button
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name inventorycontrolbutton
|
|
|
|
group none
|
|
|
|
text @MENUS1_INVENTORY
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
rect 120 263 170 30
|
|
|
|
font 3
|
|
|
|
textscale 0.9
|
|
|
|
textalignx 170
|
|
|
|
textaligny 5
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textstyle 3
|
|
|
|
forecolor 0.65 0.65 1 1
|
|
|
|
visible 1
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_POWER_CONTROLS_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
{
|
|
|
|
show inventorycontrolbutton_glow
|
|
|
|
}
|
|
|
|
mouseExit
|
|
|
|
{
|
|
|
|
hide inventorycontrolbutton_glow
|
|
|
|
}
|
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
show setup_background
|
|
|
|
hide weaponcontrols
|
|
|
|
hide forcecontrols
|
2022-10-15 23:13:50 +00:00
|
|
|
hide commoncontrols
|
2022-10-13 22:19:44 +00:00
|
|
|
show invcontrols
|
|
|
|
hide comfortcontrols
|
|
|
|
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
|
|
|
|
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
|
2022-10-15 23:13:50 +00:00
|
|
|
setitemcolor commoncontrolbutton forecolor 0.64 0.65 1 1
|
2022-10-13 22:19:44 +00:00
|
|
|
setitemcolor inventorycontrolbutton forecolor 1 1 1 1
|
|
|
|
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// comfort button
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name comfortcontrolbutton_glow
|
|
|
|
group mods
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 120 293 170 30
|
|
|
|
background "gfx/menus/menu_blendbox2" // Frame around button
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name comfortcontrolbutton
|
|
|
|
group none
|
2022-11-02 21:53:07 +00:00
|
|
|
text @MENUS_VR_COMFORT_CONTROLS_ITEM
|
2022-10-13 22:19:44 +00:00
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
rect 120 293 170 30
|
|
|
|
font 3
|
|
|
|
textscale 0.9
|
|
|
|
textalignx 170
|
|
|
|
textaligny 5
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textstyle 3
|
|
|
|
forecolor 0.65 0.65 1 1
|
|
|
|
visible 1
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_COMFORT_CONTROLS_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
{
|
|
|
|
show comfortcontrolbutton_glow
|
|
|
|
}
|
|
|
|
mouseExit
|
|
|
|
{
|
|
|
|
hide comfortcontrolbutton_glow
|
|
|
|
}
|
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
show setup_background
|
|
|
|
hide weaponcontrols
|
|
|
|
hide forcecontrols
|
2022-10-15 23:13:50 +00:00
|
|
|
hide commoncontrols
|
2022-10-13 22:19:44 +00:00
|
|
|
hide invcontrols
|
|
|
|
show comfortcontrols
|
|
|
|
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
|
|
|
|
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
|
2022-10-15 23:13:50 +00:00
|
|
|
setitemcolor commoncontrolbutton forecolor 0.64 0.65 1 1
|
2022-10-13 22:19:44 +00:00
|
|
|
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
|
|
|
|
setitemcolor comfortcontrolbutton forecolor 1 1 1 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name setup_background
|
|
|
|
group none
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 300 171 300 250
|
|
|
|
background "gfx/menus/menu_box1" // Frame
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
hideCvar { 1 }
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name setup_background
|
|
|
|
group none
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 300 166 306 250
|
|
|
|
background "gfx/menus/expanded_menu_box" // Frame
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
showCvar { 1 }
|
|
|
|
}
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name setup_background
|
|
|
|
group none
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 120 166 175 250
|
|
|
|
background "gfx/menus/expanded_menu_box" // Frame
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
cvarTest expanded_menu_enabled
|
|
|
|
showCvar { 1 }
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// HIGHLIGHT BARS
|
|
|
|
//
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name highlight1
|
|
|
|
group highlights
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 305 171 300 20
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name highlight2
|
|
|
|
group highlights
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 305 191 300 20
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name highlight3
|
|
|
|
group highlights
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 305 211 300 20
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name highlight4
|
|
|
|
group highlights
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 305 231 300 20
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name highlight5
|
|
|
|
group highlights
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 305 251 300 20
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name highlight6
|
|
|
|
group highlights
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 305 271 300 20
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name highlight7
|
|
|
|
group highlights
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 305 291 300 20
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name highlight8
|
|
|
|
group highlights
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 305 311 300 20
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name highlight9
|
|
|
|
group highlights
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 305 331 300 20
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name highlight10
|
|
|
|
group highlights
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 305 351 300 20
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name highlight11
|
|
|
|
group highlights
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 305 371 300 20
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name highlight12
|
|
|
|
group highlights
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
rect 305 391 300 20
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
//
|
2022-10-15 23:13:50 +00:00
|
|
|
// COMMON MENU
|
2022-10-13 22:19:44 +00:00
|
|
|
//
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
2022-10-15 23:13:50 +00:00
|
|
|
group commoncontrols
|
|
|
|
type ITEM_TYPE_SLIDER
|
2022-11-02 21:53:07 +00:00
|
|
|
text @MENUS_VR_MOVEMENT_SPEED_ITEM
|
2022-10-15 23:13:50 +00:00
|
|
|
cvarfloat "vr_movement_multiplier" 0.1 0.4 1.2
|
2022-10-13 22:19:44 +00:00
|
|
|
rect 305 191 300 20
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textalignx 151
|
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
// appearance_slot 1
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_MOVEMENT_SPEED_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
2022-10-15 23:13:50 +00:00
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
mouseenter
|
|
|
|
{
|
|
|
|
show highlight2
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseexit
|
|
|
|
{
|
|
|
|
hide highlight2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
2022-10-15 23:13:50 +00:00
|
|
|
group commoncontrols
|
|
|
|
type ITEM_TYPE_MULTI
|
2022-11-02 21:53:07 +00:00
|
|
|
text @MENUS_VR_DIRECTION_MODE_ITEM
|
2022-10-15 23:13:50 +00:00
|
|
|
cvar "vr_walkdirection"
|
|
|
|
cvarFloatList
|
|
|
|
{
|
2022-11-02 21:53:07 +00:00
|
|
|
@MENUS_VR_DIRECTION_MODE_CONTROLLER 0
|
|
|
|
@MENUS_VR_DIRECTION_MODE_HMD 1
|
2022-10-15 23:13:50 +00:00
|
|
|
}
|
2022-10-13 22:19:44 +00:00
|
|
|
rect 305 211 300 20
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textalignx 151
|
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
2022-10-15 23:13:50 +00:00
|
|
|
visible 0
|
|
|
|
// appearance_slot 1
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_DIRECTION_MODE_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
{
|
|
|
|
show highlight3
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseexit
|
|
|
|
{
|
|
|
|
hide highlight3
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
2022-10-15 23:13:50 +00:00
|
|
|
group commoncontrols
|
2022-11-02 21:53:07 +00:00
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
text @MENUS_VR_SMOOTH_TURN_ITEM
|
2022-10-15 23:13:50 +00:00
|
|
|
cvar "vr_turn_mode"
|
2022-11-02 21:53:07 +00:00
|
|
|
cvarFloatList
|
|
|
|
{
|
|
|
|
@MENUS0_NO 0
|
|
|
|
@MENUS_VR_SMOOTH_TURN_3RD_PERSON 1
|
|
|
|
@MENUS0_YES 2
|
|
|
|
}
|
2022-10-13 22:19:44 +00:00
|
|
|
rect 305 231 300 20
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
2022-10-15 23:13:50 +00:00
|
|
|
textalignx 151
|
2022-10-13 22:19:44 +00:00
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
2022-10-15 23:13:50 +00:00
|
|
|
visible 0
|
|
|
|
// appearance_slot 3
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_SMOOTH_TURN_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseenter
|
2022-10-15 23:13:50 +00:00
|
|
|
{
|
2022-10-13 22:19:44 +00:00
|
|
|
show highlight4
|
|
|
|
}
|
|
|
|
mouseexit
|
|
|
|
{
|
|
|
|
hide highlight4
|
2022-10-15 23:13:50 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
|
|
|
group commoncontrols
|
|
|
|
type ITEM_TYPE_MULTI
|
2022-11-02 21:53:07 +00:00
|
|
|
text @MENUS_VR_TURN_ANGLE_ITEM
|
2022-10-15 23:13:50 +00:00
|
|
|
cvar "vr_turn_angle"
|
|
|
|
cvarFloatList
|
|
|
|
{
|
2022-11-02 21:53:07 +00:00
|
|
|
@MENUS_VR_TURN_ANGLE_30DEGREES 30
|
|
|
|
@MENUS_VR_TURN_ANGLE_45DEGREES 45
|
|
|
|
@MENUS_VR_TURN_ANGLE_90DEGREES 90
|
2022-10-15 23:13:50 +00:00
|
|
|
}
|
|
|
|
rect 305 251 300 20
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textalignx 151
|
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
// appearance_slot 4
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_TURN_ANGLE_DESC
|
2022-10-15 23:13:50 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
2022-10-13 22:19:44 +00:00
|
|
|
|
2022-10-15 23:13:50 +00:00
|
|
|
mouseenter
|
|
|
|
{
|
|
|
|
show highlight5
|
|
|
|
}
|
|
|
|
mouseexit
|
|
|
|
{
|
|
|
|
hide highlight5
|
|
|
|
}
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
2022-10-15 23:13:50 +00:00
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
|
|
|
group commoncontrols
|
|
|
|
type ITEM_TYPE_YESNO
|
2022-11-02 21:53:07 +00:00
|
|
|
text @MENUS_VR_SWITCH_STICKS_ITEM
|
2022-10-15 23:13:50 +00:00
|
|
|
cvar "vr_switch_sticks"
|
|
|
|
rect 305 271 300 20
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textalignx 151
|
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
// appearance_slot 5
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_SWITCH_STICKS_DESC
|
2022-10-15 23:13:50 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
{
|
|
|
|
show highlight6
|
|
|
|
}
|
|
|
|
mouseexit
|
|
|
|
{
|
|
|
|
hide highlight6
|
|
|
|
}
|
2022-10-26 22:35:24 +00:00
|
|
|
}
|
2022-10-15 23:13:50 +00:00
|
|
|
|
2022-10-15 13:53:53 +00:00
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
2022-10-26 22:35:24 +00:00
|
|
|
group commoncontrols
|
|
|
|
type ITEM_TYPE_MULTI
|
2022-11-02 21:53:07 +00:00
|
|
|
text @MENUS_VR_LEFT_HANDED_ITEM
|
2022-10-26 22:35:24 +00:00
|
|
|
cvar "vr_control_scheme"
|
|
|
|
cvarFloatList
|
|
|
|
{
|
2022-11-02 21:53:07 +00:00
|
|
|
@MENUS0_NO 0
|
|
|
|
@MENUS0_YES 10
|
2022-10-26 22:35:24 +00:00
|
|
|
}
|
2022-10-15 23:13:50 +00:00
|
|
|
rect 305 291 300 20
|
2022-10-15 13:53:53 +00:00
|
|
|
textalign ITEM_ALIGN_RIGHT
|
2022-10-26 22:35:24 +00:00
|
|
|
textalignx 151
|
2022-10-15 13:53:53 +00:00
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
2022-10-26 22:35:24 +00:00
|
|
|
// appearance_slot 5
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_LEFT_HANDED_DESC
|
2022-10-15 13:53:53 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseenter
|
2022-10-26 22:35:24 +00:00
|
|
|
{
|
|
|
|
show highlight7
|
2022-10-15 13:53:53 +00:00
|
|
|
}
|
|
|
|
mouseexit
|
|
|
|
{
|
2022-10-26 22:35:24 +00:00
|
|
|
hide highlight7
|
2022-10-15 13:53:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
//
|
2022-10-15 23:13:50 +00:00
|
|
|
// WEAPON MENU
|
2022-10-13 22:19:44 +00:00
|
|
|
//
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
2022-10-15 23:13:50 +00:00
|
|
|
group weaponcontrols
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
text @MENUS0_AUTO_SWITCH
|
|
|
|
cvar "cg_autoswitch"
|
|
|
|
cvarFloatList
|
|
|
|
{
|
|
|
|
@MENUS1_DON_T_SWITCH 0
|
|
|
|
@MENUS1_BEST_SAFE_WEAPON 1
|
|
|
|
@MENUS1_ALWAYS_BEST_WEAPON 2
|
|
|
|
}
|
2022-10-13 22:19:44 +00:00
|
|
|
rect 305 191 300 20
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textalignx 151
|
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
// appearance_slot 1
|
2022-10-15 23:13:50 +00:00
|
|
|
descText @MENUS1_CHOOSE_WHETHER_TO_SWITCH
|
2022-10-13 22:19:44 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
2022-10-15 23:13:50 +00:00
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
mouseenter
|
|
|
|
{
|
|
|
|
show highlight2
|
|
|
|
}
|
2022-10-15 23:13:50 +00:00
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
mouseexit
|
|
|
|
{
|
|
|
|
hide highlight2
|
2022-10-15 23:13:50 +00:00
|
|
|
}
|
2022-10-13 22:19:44 +00:00
|
|
|
|
2022-10-15 23:13:50 +00:00
|
|
|
}
|
2022-10-13 22:19:44 +00:00
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
2022-10-15 23:13:50 +00:00
|
|
|
group weaponcontrols
|
2022-10-13 22:19:44 +00:00
|
|
|
type ITEM_TYPE_SLIDER
|
2022-11-02 21:53:07 +00:00
|
|
|
text @MENUS_VR_WEAPON_PITCH_ITEM
|
2022-10-15 23:13:50 +00:00
|
|
|
cvarfloat "vr_weapon_pitchadjust" 5 -25 5
|
|
|
|
rect 305 211 300 20
|
2022-10-13 22:19:44 +00:00
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textalignx 151
|
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
2022-10-15 23:13:50 +00:00
|
|
|
visible 0
|
|
|
|
// appearance_slot 2
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_WEAPON_PITCH_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
2022-10-15 23:13:50 +00:00
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
mouseenter
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
show highlight3
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mouseexit
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
hide highlight3
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
2022-10-15 23:13:50 +00:00
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
2022-10-15 23:13:50 +00:00
|
|
|
group weaponcontrols
|
|
|
|
type ITEM_TYPE_YESNO
|
2022-11-02 21:53:07 +00:00
|
|
|
text @MENUS_VR_TWO_HANDED_ITEM
|
2022-10-26 22:35:24 +00:00
|
|
|
cvar "vr_two_handed_weapons"
|
2022-10-15 23:13:50 +00:00
|
|
|
rect 305 231 300 20
|
2022-10-13 22:19:44 +00:00
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textalignx 151
|
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
2022-10-15 23:13:50 +00:00
|
|
|
visible 0
|
|
|
|
// appearance_slot 2
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_TWO_HANDED_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
show highlight4
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mouseexit
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
hide highlight4
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
2022-10-15 23:13:50 +00:00
|
|
|
group weaponcontrols
|
2022-10-13 22:19:44 +00:00
|
|
|
type ITEM_TYPE_YESNO
|
2022-11-02 21:53:07 +00:00
|
|
|
text @MENUS_VR_GUN_STOCK_ITEM
|
2022-10-26 22:35:24 +00:00
|
|
|
cvar "vr_virtual_stock"
|
2022-10-15 23:13:50 +00:00
|
|
|
rect 305 251 300 20
|
2022-10-13 22:19:44 +00:00
|
|
|
textalign ITEM_ALIGN_RIGHT
|
2022-10-15 23:13:50 +00:00
|
|
|
textalignx 151
|
2022-10-13 22:19:44 +00:00
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
2022-10-15 23:13:50 +00:00
|
|
|
visible 0
|
|
|
|
// appearance_slot 2
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_GUN_STOCK_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseenter
|
2022-10-15 23:13:50 +00:00
|
|
|
{
|
|
|
|
show highlight5
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
2022-10-15 23:13:50 +00:00
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
mouseexit
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
hide highlight5
|
|
|
|
}
|
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
2022-10-15 23:13:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// FORCE MENU
|
|
|
|
//
|
|
|
|
//----------------------------------------------------------------------------------------------
|
2022-10-13 22:19:44 +00:00
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
2022-10-15 23:13:50 +00:00
|
|
|
group forcecontrols
|
|
|
|
type ITEM_TYPE_YESNO
|
2022-11-02 21:53:07 +00:00
|
|
|
text @MENUS_VR_FORCE_POWER_DIRECTION_ITEM
|
2022-10-15 23:13:50 +00:00
|
|
|
cvar "cg_showForcePowerDirection"
|
2022-10-26 22:35:24 +00:00
|
|
|
rect 340 191 300 20
|
2022-10-13 22:19:44 +00:00
|
|
|
textalign ITEM_ALIGN_RIGHT
|
2022-10-15 23:13:50 +00:00
|
|
|
textalignx 151
|
2022-10-13 22:19:44 +00:00
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
2022-10-15 23:13:50 +00:00
|
|
|
// appearance_slot 2
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_FORCE_POWER_DIRECTION_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseenter
|
2022-10-15 23:13:50 +00:00
|
|
|
{
|
|
|
|
show highlight2
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
2022-10-15 23:13:50 +00:00
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
mouseexit
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
hide highlight2
|
|
|
|
}
|
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
name none
|
|
|
|
group forcecontrols
|
2022-10-13 22:19:44 +00:00
|
|
|
type ITEM_TYPE_YESNO
|
2022-11-02 21:53:07 +00:00
|
|
|
text @MENUS_VR_FORCE_SPEED_FOV_ITEM
|
2022-10-15 23:13:50 +00:00
|
|
|
cvar "cg_forceSpeedFOVAdjust"
|
2022-10-26 22:35:24 +00:00
|
|
|
rect 340 211 300 20
|
2022-10-13 22:19:44 +00:00
|
|
|
textalign ITEM_ALIGN_RIGHT
|
2022-10-15 23:13:50 +00:00
|
|
|
textalignx 151
|
2022-10-13 22:19:44 +00:00
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
2022-10-15 23:13:50 +00:00
|
|
|
visible 0
|
|
|
|
// appearance_slot 2
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_FORCE_SPEED_FOV_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseenter
|
2022-10-15 23:13:50 +00:00
|
|
|
{
|
|
|
|
show highlight3
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
2022-10-15 23:13:50 +00:00
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
mouseexit
|
|
|
|
{
|
2022-10-15 23:13:50 +00:00
|
|
|
hide highlight3
|
|
|
|
}
|
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// INVENTORY MENU
|
|
|
|
//
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
|
|
|
group invcontrols
|
|
|
|
type ITEM_TYPE_YESNO
|
|
|
|
text "Placeholder:"
|
|
|
|
cvar "place_holder"
|
|
|
|
rect 305 191 300 20
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textalignx 151
|
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
// appearance_slot 1
|
|
|
|
descText "Item placeholder."
|
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
{
|
|
|
|
show highlight2
|
|
|
|
}
|
|
|
|
mouseexit
|
|
|
|
{
|
|
|
|
hide highlight2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// COMFORT MENU
|
|
|
|
//
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
|
|
|
group comfortcontrols
|
|
|
|
type ITEM_TYPE_YESNO
|
2022-11-02 21:53:07 +00:00
|
|
|
text @MENUS_VR_IMMERSIVE_CINEMATICS_ITEM
|
2022-10-13 22:19:44 +00:00
|
|
|
cvar "vr_immersive_cinematics"
|
|
|
|
rect 305 191 300 20
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textalignx 151
|
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
// appearance_slot 1
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_IMMERSIVE_CINEMATICS_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
{
|
|
|
|
show highlight2
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseexit
|
|
|
|
{
|
|
|
|
hide highlight2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
|
|
|
group comfortcontrols
|
|
|
|
type ITEM_TYPE_MULTI
|
2022-11-02 21:53:07 +00:00
|
|
|
text @MENUS_VR_SCREEN_DISTANCE_ITEM
|
2022-10-13 22:19:44 +00:00
|
|
|
cvar "vr_screen_dist"
|
|
|
|
cvarFloatList
|
|
|
|
{
|
2022-11-02 21:53:07 +00:00
|
|
|
@MENUS_VR_SCREEN_DISTANCE_NEAR 1.5
|
|
|
|
@MENUS_VR_SCREEN_DISTANCE_MEDIUM 2.5
|
|
|
|
@MENUS_VR_SCREEN_DISTANCE_FAR 3.5
|
2022-10-13 22:19:44 +00:00
|
|
|
}
|
|
|
|
rect 305 211 300 20
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textalignx 151
|
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
// appearance_slot 1
|
2022-11-02 21:53:07 +00:00
|
|
|
descText @MENUS_VR_SCREEN_DISTANCE_DESC
|
2022-10-13 22:19:44 +00:00
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
{
|
|
|
|
show highlight3
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseexit
|
|
|
|
{
|
|
|
|
hide highlight3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-02 21:53:07 +00:00
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name none
|
|
|
|
group comfortcontrols
|
|
|
|
type ITEM_TYPE_SLIDER
|
|
|
|
text @MENUS_VR_HEIGHT_ADJUST_ITEM
|
|
|
|
cvarfloat "cg_heightAdjust" 0.2 0 1
|
|
|
|
rect 305 231 300 20
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
textalignx 151
|
|
|
|
textaligny -2
|
|
|
|
font 2
|
|
|
|
textscale 0.8
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
visible 0
|
|
|
|
// appearance_slot 1
|
|
|
|
descText @MENUS_VR_HEIGHT_ADJUST_DESC
|
|
|
|
action
|
|
|
|
{
|
|
|
|
play sound/interface/button1
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
{
|
|
|
|
show highlight4
|
|
|
|
}
|
|
|
|
|
|
|
|
mouseexit
|
|
|
|
{
|
|
|
|
hide highlight4
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-13 22:19:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// Text
|
|
|
|
//
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name keyBindStatus
|
|
|
|
group none
|
|
|
|
ownerdraw 250 // UI_KEYBINDSTATUS
|
|
|
|
text @MENUS2_BLANK_1
|
|
|
|
rect 320 425 0 0
|
|
|
|
textStyle 0
|
|
|
|
font 2
|
|
|
|
textscale .8
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
forecolor .235 .882 .847 1
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name slider_message
|
|
|
|
group none
|
|
|
|
text @MENUS0_MOVE_THE_SLIDER_TO_INCREASE
|
|
|
|
rect 320 425 0 0
|
|
|
|
textStyle 0
|
|
|
|
font 2
|
|
|
|
textscale .8
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name yesno_message
|
|
|
|
group none
|
|
|
|
text @MENUS0_CLICK_ON_FIELD_TO_TOGGLE
|
|
|
|
rect 320 425 0 0
|
|
|
|
textStyle 0
|
|
|
|
font 2
|
|
|
|
textscale .8
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
{
|
|
|
|
name multi_message
|
|
|
|
group none
|
|
|
|
text @MENUS0_CLICK_ON_FIELD_TO_CHANGE
|
|
|
|
rect 320 425 0 0
|
|
|
|
textStyle 0
|
|
|
|
font 2
|
|
|
|
textscale .8
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
visible 0
|
|
|
|
decoration
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|