2023-03-01 20:56:41 +00:00
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// INGAME SETUP MENU
|
|
|
|
|
//
|
|
|
|
|
// Allow user to setup video and stuff
|
|
|
|
|
//
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
{
|
|
|
|
|
menuDef
|
|
|
|
|
{
|
|
|
|
|
name "ingameSetupMenu"
|
|
|
|
|
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 320
|
|
|
|
|
descY 426
|
|
|
|
|
descScale 1
|
|
|
|
|
descColor 1 .682 0 .8
|
|
|
|
|
descAlignment ITEM_ALIGN_CENTER
|
|
|
|
|
|
|
|
|
|
onOpen
|
|
|
|
|
{
|
|
|
|
|
setfocus graphics ;
|
|
|
|
|
uiScript getvideosetup ; // Get video settings
|
|
|
|
|
hide applyChanges ;
|
|
|
|
|
hide video2 ;
|
|
|
|
|
hide vidrestart ;
|
|
|
|
|
hide sound ;
|
|
|
|
|
hide options ;
|
|
|
|
|
hide difficulty ;
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide mods_warning ;
|
|
|
|
|
hide mods ;
|
2023-03-01 20:56:41 +00:00
|
|
|
|
hide defaults
|
|
|
|
|
show setup_background ;
|
|
|
|
|
show video ;
|
|
|
|
|
setitemcolor video1menubutton forecolor 1 1 1 1 ;
|
|
|
|
|
setitemcolor video2menubutton forecolor 1 .682 0 1 ;
|
|
|
|
|
setitemcolor soundmenubutton forecolor 1 .682 0 1;
|
|
|
|
|
setitemcolor gameoptionmenubutton forecolor 1 .682 0 1;
|
|
|
|
|
setitemcolor difficultymenubutton forecolor 1 .682 0 1;
|
|
|
|
|
setitemcolor modsmenubutton forecolor 1 .682 0 1;
|
|
|
|
|
setitemcolor gamedefaultsmenubutton forecolor 1 .682 0 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
onESC
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/esc.wav"
|
|
|
|
|
defer VideoSetup ingamevideowarningMenu
|
|
|
|
|
hide highlights
|
|
|
|
|
close all
|
|
|
|
|
open ingameMainMenu
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// MENU BACKGROUND
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name really_background
|
|
|
|
|
group none
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 156 154 320 240
|
|
|
|
|
background "gfx/menus/main_centerblue"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 1
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name background_text
|
|
|
|
|
group none
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 0 0 160 480
|
|
|
|
|
background "gfx/menus/menu_side_text"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 1
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name background_text_b
|
|
|
|
|
group none
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 480 0 160 480
|
|
|
|
|
background "gfx/menus/menu_side_text_right"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 1
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name background
|
|
|
|
|
group none
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 0 0 640 480
|
|
|
|
|
background "gfx/menus/main_background"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 1
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name starwars
|
|
|
|
|
group none
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 107 8 428 112
|
|
|
|
|
background "gfx/menus/jediacademy"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 1
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name left_frame
|
|
|
|
|
group lf_fr
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 0 50 320 160
|
|
|
|
|
background "gfx/menus/menu_boxes_left"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 1
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name right_frame
|
|
|
|
|
group rt_fr
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 320 50 320 160
|
|
|
|
|
background "gfx/menus/menu_boxes_right"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 1
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name button_glow
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 0 0 0 0
|
|
|
|
|
background "gfx/menus/menu_buttonback"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// GLOW ON SIDE BUTTONS
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name sidebutton_glow
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 60 185 200 24
|
|
|
|
|
background "gfx/menus/menu_blendbox2" // Frame around button
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// TOP MENU BUTTONS
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// Big button "SAVE"
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name savegamebutton
|
|
|
|
|
group nbut
|
|
|
|
|
text @MENUS_SAVE
|
|
|
|
|
descText @MENUS_SAVE_CURRENT_GAME
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
rect 7 126 130 24
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 3
|
|
|
|
|
textscale 1.1
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textstyle 1
|
|
|
|
|
textalignx 65
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 1
|
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show button_glow
|
|
|
|
|
setitemrect button_glow 7 126 130 26
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
close all ;
|
|
|
|
|
open ingamesaveMenu
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Big button "LOAD"
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name loadgamebutton
|
|
|
|
|
group lbut
|
|
|
|
|
text @MENUS_LOAD
|
|
|
|
|
descText @MENUS_LOAD_A_SAVED_GAME
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
rect 170 126 130 24
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 3
|
|
|
|
|
textscale 1.1
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textstyle 1
|
|
|
|
|
textalignx 65
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 1
|
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show button_glow
|
|
|
|
|
setitemrect button_glow 170 126 130 26
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
close all ;
|
|
|
|
|
open ingameloadMenu
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Big button "CONTROLS"
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name controlsbutton
|
|
|
|
|
group cbut
|
|
|
|
|
text @MENUS_CONTROLS
|
|
|
|
|
descText @MENUS_CONFIGURE_GAME_CONTROLS
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 340 126 130 24
|
|
|
|
|
font 3
|
|
|
|
|
textscale 1.1
|
|
|
|
|
textaligny 0
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textstyle 1
|
|
|
|
|
textalignx 65
|
|
|
|
|
backcolor 0 0 0 0
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 1
|
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show button_glow
|
|
|
|
|
setitemrect button_glow 340 126 130 26
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
close all ;
|
|
|
|
|
open ingamecontrolsMenu ;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Big button "SETUP"
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name setupbutton
|
|
|
|
|
group sbut
|
|
|
|
|
text @MENUS_SETUP
|
|
|
|
|
descText @MENUS_CONFIGURE_GAME_SETTINGS
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 502 126 130 24
|
|
|
|
|
font 3
|
|
|
|
|
textscale 1.1
|
|
|
|
|
textaligny 0
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textstyle 1
|
|
|
|
|
textalignx 65
|
|
|
|
|
backcolor 0 0 0 0
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 1
|
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show button_glow
|
|
|
|
|
setitemrect button_glow 502 126 130 26
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// OTHER MAIN MENU BUTTONS
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// BACK button in lower left corner
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name backbutton
|
|
|
|
|
group exit
|
|
|
|
|
text @MENUS_BACK
|
|
|
|
|
descText @MENUS_BACKTOMAIN
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 59 444 130 24
|
|
|
|
|
font 3
|
|
|
|
|
textscale 1.1
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textstyle 3
|
|
|
|
|
textalignx 65
|
|
|
|
|
textaligny -1
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 1
|
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show button_glow
|
|
|
|
|
setitemrect button_glow 59 444 130 24
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/esc.wav"
|
|
|
|
|
close all ;
|
|
|
|
|
open ingamemainMenu
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// EXIT button in lower left corner
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name exitgamebutton
|
|
|
|
|
group exit
|
|
|
|
|
text @MENUS_EXIT
|
|
|
|
|
descText @MENUS_JEDI_KNIGHT_II
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 255 444 130 24
|
|
|
|
|
font 3
|
|
|
|
|
textscale 1.1
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textstyle 3
|
|
|
|
|
textalignx 65
|
|
|
|
|
textaligny -1
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 1
|
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show button_glow
|
|
|
|
|
setitemrect button_glow 255 444 130 24
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/weapons/saber/saberoff.mp3";
|
|
|
|
|
close all ;
|
|
|
|
|
open ingamequitMenu
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// RESUME button in the lower right corner
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name resume
|
|
|
|
|
group none
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
rect 455 444 130 24
|
|
|
|
|
text @MENUS_RESUME
|
|
|
|
|
descText @MENUS_RESUME_CURRENT_GAME
|
|
|
|
|
font 3
|
|
|
|
|
textscale 1
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textstyle 3
|
|
|
|
|
textalignx 65
|
|
|
|
|
textaligny -1
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 1
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show button_glow
|
|
|
|
|
setitemrect button_glow 455 444 130 24
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
uiScript closeingame // Close menu
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// SECOND ROW MENU BUTTONS
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// Setup Options title
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name setup_title
|
|
|
|
|
group title
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
text @MENUS_SETUP_OPTIONS
|
|
|
|
|
rect 100 164 440 16
|
|
|
|
|
font 3
|
|
|
|
|
textscale 0.7
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 225
|
|
|
|
|
textaligny -1
|
|
|
|
|
forecolor .549 .854 1 1
|
|
|
|
|
visible 1
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// video1 button
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name video1menubutton
|
|
|
|
|
group none
|
|
|
|
|
text @MENUS_VIDEO
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 80 185 170 24
|
|
|
|
|
font 3
|
|
|
|
|
textscale 0.9
|
|
|
|
|
textalignx 170
|
|
|
|
|
textaligny 2
|
|
|
|
|
textstyle 1
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 1
|
|
|
|
|
descText @MENUS_CONFIGURE_VIDEO_SETTINGS
|
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show sidebutton_glow
|
|
|
|
|
setitemrect sidebutton_glow 80 185 180 24
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide sidebutton_glow
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play sound/interface/sub_select ;
|
|
|
|
|
|
|
|
|
|
defer VideoSetup ingamevideowarningMenu ;
|
|
|
|
|
|
|
|
|
|
uiScript getvideosetup ; // Get video settings
|
|
|
|
|
|
|
|
|
|
show setup_background ;
|
|
|
|
|
show video ;
|
|
|
|
|
hide applyChanges ;
|
|
|
|
|
hide video2 ;
|
|
|
|
|
hide vidrestart ;
|
|
|
|
|
hide sound ;
|
|
|
|
|
hide options ;
|
|
|
|
|
hide difficulty ;
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide mods_warning ;
|
2023-03-01 20:56:41 +00:00
|
|
|
|
hide mods ;
|
|
|
|
|
hide defaults ;
|
|
|
|
|
setfocus graphics ;
|
|
|
|
|
setitemcolor video1menubutton forecolor 1 1 1 1 ;
|
|
|
|
|
setitemcolor video2menubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor soundmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor gameoptionmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor difficultymenubutton forecolor 1 .682 0 1;
|
|
|
|
|
setitemcolor modsmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor gamedefaultsmenubutton forecolor 1 .682 0 1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// video2 button
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name video2menubutton
|
|
|
|
|
group none
|
|
|
|
|
text @MENUS_MORE_VIDEO
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 80 209 170 24
|
|
|
|
|
font 3
|
|
|
|
|
textscale 0.9
|
|
|
|
|
textalignx 170
|
|
|
|
|
textaligny 2
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textstyle 1
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 1
|
|
|
|
|
descText @MENUS_CONFIGUE_MORE_VIDEO_SETTINGS
|
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show sidebutton_glow
|
|
|
|
|
setitemrect sidebutton_glow 80 209 180 24
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide sidebutton_glow
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play sound/interface/sub_select ;
|
|
|
|
|
|
|
|
|
|
defer VideoSetup ingamevideowarningMenu ;
|
|
|
|
|
|
|
|
|
|
show setup_background ;
|
|
|
|
|
hide video ;
|
|
|
|
|
hide applyChanges ;
|
|
|
|
|
show video2 ;
|
|
|
|
|
hide vidrestart ;
|
|
|
|
|
hide sound ;
|
|
|
|
|
hide options ;
|
|
|
|
|
hide difficulty ;
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide mods_warning ;
|
2023-03-01 20:56:41 +00:00
|
|
|
|
hide mods ;
|
|
|
|
|
hide defaults ;
|
|
|
|
|
setitemcolor video1menubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor video2menubutton forecolor 1 1 1 1 ;
|
|
|
|
|
setitemcolor soundmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor gameoptionmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor difficultymenubutton forecolor 1 .682 0 1;
|
|
|
|
|
setitemcolor modsmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor gamedefaultsmenubutton forecolor 1 .682 0 1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// sound button
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name soundmenubutton
|
|
|
|
|
group none
|
|
|
|
|
text @MENUS_SOUND
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 80 233 170 24
|
|
|
|
|
font 3
|
|
|
|
|
textscale 0.9
|
|
|
|
|
textalignx 170
|
|
|
|
|
textaligny 2
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textstyle 1
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 1
|
|
|
|
|
descText @MENUS_CONFIGURE_SOUND_SETTINGS
|
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show sidebutton_glow
|
|
|
|
|
setitemrect sidebutton_glow 80 233 180 24
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide sidebutton_glow
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play sound/interface/sub_select ;
|
|
|
|
|
|
|
|
|
|
defer VideoSetup ingamevideowarningMenu ;
|
|
|
|
|
|
|
|
|
|
show setup_background ;
|
|
|
|
|
hide video ;
|
|
|
|
|
hide applyChanges ;
|
|
|
|
|
hide video2 ;
|
|
|
|
|
hide vidrestart ;
|
|
|
|
|
show sound ;
|
|
|
|
|
hide options ;
|
|
|
|
|
hide difficulty ;
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide mods_warning ;
|
2023-03-01 20:56:41 +00:00
|
|
|
|
hide mods ;
|
|
|
|
|
hide defaults ;
|
|
|
|
|
setitemcolor video1menubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor video2menubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor soundmenubutton forecolor 1 1 1 1 ;
|
|
|
|
|
setitemcolor gameoptionmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor difficultymenubutton forecolor 1 .682 0 1;
|
|
|
|
|
setitemcolor modsmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor gamedefaultsmenubutton forecolor 1 .682 0 1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// gameoptions button
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name gameoptionmenubutton
|
|
|
|
|
group none
|
|
|
|
|
text @MENUS_GAME_OPTIONS
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 80 257 170 24
|
|
|
|
|
font 3
|
|
|
|
|
textscale 0.9
|
|
|
|
|
textalignx 170
|
|
|
|
|
textaligny 2
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textstyle 1
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 1
|
|
|
|
|
descText @MENUS_CONFIGURE_GAME_OPTIONS
|
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show sidebutton_glow
|
|
|
|
|
setitemrect sidebutton_glow 80 257 180 24
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide sidebutton_glow
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
defer VideoSetup ingamevideowarningMenu
|
|
|
|
|
|
|
|
|
|
play sound/interface/sub_select
|
|
|
|
|
show setup_background
|
|
|
|
|
hide video
|
|
|
|
|
hide applyChanges
|
|
|
|
|
hide video2
|
|
|
|
|
hide vidrestart
|
|
|
|
|
hide sound
|
|
|
|
|
show options
|
|
|
|
|
hide langapply
|
|
|
|
|
hide difficulty
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide mods_warning
|
2023-03-01 20:56:41 +00:00
|
|
|
|
hide mods
|
|
|
|
|
hide defaults
|
|
|
|
|
setitemcolor video1menubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor video2menubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor soundmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor gameoptionmenubutton forecolor 1 1 1 1
|
|
|
|
|
setitemcolor difficultymenubutton forecolor 1 .682 0 1;
|
|
|
|
|
setitemcolor modsmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor gamedefaultsmenubutton forecolor 1 .682 0 1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// difficulty button
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name difficultymenubutton
|
|
|
|
|
group none
|
|
|
|
|
text @MENUS_VR_DIFFICULTY_SETUP_ITEM
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 80 281 170 24
|
|
|
|
|
font 3
|
|
|
|
|
textscale 0.9
|
|
|
|
|
textalignx 170
|
|
|
|
|
textaligny 2
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textstyle 1
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 1
|
|
|
|
|
descText @MENUS_VR_DIFFICULTY_SETUP_DESC
|
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show sidebutton_glow
|
|
|
|
|
setitemrect sidebutton_glow 80 280 180 24
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide sidebutton_glow
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
defer VideoSetup ingamevideowarningMenu
|
|
|
|
|
|
|
|
|
|
play sound/interface/sub_select
|
|
|
|
|
show setup_background
|
|
|
|
|
hide video
|
|
|
|
|
hide applyChanges
|
|
|
|
|
hide video2
|
|
|
|
|
hide vidrestart
|
|
|
|
|
hide sound
|
|
|
|
|
hide options
|
|
|
|
|
show difficulty
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide mods_warning
|
2023-03-01 20:56:41 +00:00
|
|
|
|
hide mods
|
|
|
|
|
hide defaults
|
|
|
|
|
setitemcolor video1menubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor video2menubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor soundmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor gameoptionmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor difficultymenubutton forecolor 1 1 1 1 ;
|
|
|
|
|
setitemcolor modsmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor gamedefaultsmenubutton forecolor 1 .682 0 1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// mods button
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name modsmenubutton
|
|
|
|
|
group none
|
|
|
|
|
text @MENUS_MODS
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 80 305 170 24
|
|
|
|
|
font 3
|
|
|
|
|
textscale 0.9
|
|
|
|
|
textalignx 170
|
|
|
|
|
textaligny 2
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textstyle 1
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 1
|
2023-04-15 16:47:10 +00:00
|
|
|
|
descText @MENUS_VR_MODS_BUTTON_DESC
|
2023-03-01 20:56:41 +00:00
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show sidebutton_glow
|
|
|
|
|
setitemrect sidebutton_glow 80 304 180 24
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide sidebutton_glow
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play sound/interface/sub_select ;
|
|
|
|
|
|
|
|
|
|
defer VideoSetup ingamevideowarningMenu ;
|
|
|
|
|
uiScript loadMods ;
|
|
|
|
|
|
|
|
|
|
show setup_background ;
|
|
|
|
|
hide video ;
|
|
|
|
|
hide applyChanges ;
|
|
|
|
|
hide video2 ;
|
|
|
|
|
hide vidrestart ;
|
|
|
|
|
hide sound ;
|
|
|
|
|
hide options ;
|
|
|
|
|
hide difficulty ;
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show mods_warning ;
|
|
|
|
|
hide mods ;
|
2023-03-01 20:56:41 +00:00
|
|
|
|
hide defaults ;
|
|
|
|
|
setitemcolor video1menubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor video2menubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor soundmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor gameoptionmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor difficultymenubutton forecolor 1 .682 0 1;
|
|
|
|
|
setitemcolor modsmenubutton forecolor 1 1 1 1 ;
|
|
|
|
|
setitemcolor gamedefaultsmenubutton forecolor 1 .682 0 1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// gamedefaults button
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name gamedefaultsmenubutton
|
|
|
|
|
group none
|
|
|
|
|
text @MENUS_DEFAULTS
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 80 329 170 24
|
|
|
|
|
font 3
|
|
|
|
|
textscale 0.9
|
|
|
|
|
textalignx 170
|
|
|
|
|
textaligny 2
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textstyle 1
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 1
|
|
|
|
|
descText @MENUS_RESTORE_DEFAULT_SETTINGS
|
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show sidebutton_glow
|
|
|
|
|
setitemrect sidebutton_glow 80 328 180 24
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide sidebutton_glow
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play sound/interface/sub_select ;
|
|
|
|
|
|
|
|
|
|
defer VideoSetup ingamevideowarningMenu ;
|
|
|
|
|
|
|
|
|
|
show setup_background ;
|
|
|
|
|
hide video ;
|
|
|
|
|
hide applyChanges ;
|
|
|
|
|
hide video2 ;
|
|
|
|
|
hide vidrestart ;
|
|
|
|
|
hide sound ;
|
|
|
|
|
hide options ;
|
|
|
|
|
hide difficulty ;
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide mods_warning ;
|
2023-03-01 20:56:41 +00:00
|
|
|
|
hide mods ;
|
|
|
|
|
show defaults ;
|
|
|
|
|
|
|
|
|
|
setitemcolor video1menubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor video2menubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor soundmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor gameoptionmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor difficultymenubutton forecolor 1 .682 0 1;
|
|
|
|
|
setitemcolor modsmenubutton forecolor 1 .682 0 1
|
|
|
|
|
setitemcolor gamedefaultsmenubutton forecolor 1 1 1 1 ;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name setup_background
|
|
|
|
|
group none
|
|
|
|
|
style WINDOW_STYLE_FILLED
|
|
|
|
|
rect 260 185 340 225
|
|
|
|
|
backcolor 0 0 .6 .5
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
border 1
|
|
|
|
|
bordercolor 0 0 .6 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// HIGHLIGHT BARS
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight1
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 190 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight2
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 204 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight3
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 218 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight4
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 232 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight5
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 246 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight6
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 260 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight7
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 274 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight8
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 288 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight9
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 302 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight10
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 316 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight11
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 330 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight12
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 344 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight13
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 358 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight14
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 372 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name highlight15
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 386 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// VIDEO 1 MENU BUTTONS
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
|
2023-04-15 16:47:10 +00:00
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name refresh_rate
|
|
|
|
|
group video
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_VR_REFRESH_RATE_ITEM
|
|
|
|
|
rect 260 202 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
cvarFloatList { "60" 60 "72" 72 "80" 80 "90" 90 }
|
|
|
|
|
descText @MENUS_VR_REFRESH_RATE_DESC
|
|
|
|
|
cvar "vr_refresh"
|
2023-10-22 17:12:33 +00:00
|
|
|
|
cvarTest openXRHMD
|
|
|
|
|
showCvar { meta }
|
2023-04-15 16:47:10 +00:00
|
|
|
|
|
|
|
|
|
visible 0
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show highlight2
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
hide highlight2
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-01 20:56:41 +00:00
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name geometric_detail
|
|
|
|
|
group video
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_GEOMETRIC_DETAIL
|
2023-04-15 16:47:10 +00:00
|
|
|
|
rect 260 216 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
cvarFloatList { @MENUS_LOW 2 @MENUS_MEDIUM 1 @MENUS_HIGH 0 }
|
|
|
|
|
descText @MENUS_ADJUST_THE_NUMBER_OF
|
|
|
|
|
cvar "ui_r_lodbias"
|
|
|
|
|
|
|
|
|
|
visible 0
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight3
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight3
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
uiScript glCustom ;
|
|
|
|
|
uiScript update "ui_r_lodbias" ;
|
|
|
|
|
setcvar ui_r_modified 1 ;
|
|
|
|
|
show applyChanges
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name texture_detail
|
|
|
|
|
group video
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_TEXTURE_DETAIL
|
2023-04-15 16:47:10 +00:00
|
|
|
|
rect 260 230 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
cvarFloatList { @MENUS_LOW 3 @MENUS_MEDIUM 2 @MENUS_HIGH 1 @MENUS_VERY_HIGH 0 }
|
|
|
|
|
descText @MENUS_SELECT_THE_RESOLUTION
|
|
|
|
|
cvar "ui_r_picmip"
|
|
|
|
|
|
|
|
|
|
visible 0
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight4
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight4
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
uiScript glCustom ;
|
|
|
|
|
setcvar ui_r_modified 1 ;
|
|
|
|
|
show applyChanges
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name texture_filter
|
|
|
|
|
group video
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_TEXTURE_FILTER
|
2023-04-15 16:47:10 +00:00
|
|
|
|
rect 260 244 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
cvarStrList { @MENUS_BILINEAR , "GL_LINEAR_MIPMAP_NEAREST" , @MENUS_TRILINEAR , "GL_LINEAR_MIPMAP_LINEAR" }
|
|
|
|
|
descText @MENUS_ADJUST_HOW_WELL_THE_TEXTURES
|
|
|
|
|
cvar "ui_r_texturemode"
|
|
|
|
|
|
|
|
|
|
visible 0
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight5
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight5
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
uiScript glCustom ;
|
|
|
|
|
setcvar ui_r_modified 1 ;
|
|
|
|
|
show applyChanges
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name simple_shaders
|
|
|
|
|
group video
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_DETAILED_SHADERS
|
2023-04-15 16:47:10 +00:00
|
|
|
|
rect 260 258 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
cvarFloatList { @MENUS_OFF 0 @MENUS_ON 1 }
|
|
|
|
|
descText @MENUS_HIDE_OR_UNHIDE_TEXTURES
|
|
|
|
|
cvar "ui_r_detailtextures"
|
|
|
|
|
|
|
|
|
|
visible 0
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight6
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight6
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
uiScript glCustom ;
|
|
|
|
|
setcvar ui_r_modified 1 ;
|
|
|
|
|
show applyChanges
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-03 14:52:07 +00:00
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name curves_detail
|
|
|
|
|
group video
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_VR_CURVES_DETAIL_ITEM
|
|
|
|
|
rect 260 272 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
cvarFloatList { @MENUS_LOW 250 @MENUS_MEDIUM 500 @MENUS_HIGH 1000 }
|
|
|
|
|
descText @MENUS_VR_CURVES_DETAIL_DESC
|
|
|
|
|
cvar "r_lodCurveError"
|
|
|
|
|
|
|
|
|
|
visible 0
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show highlight7
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
hide highlight7
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
uiScript glCustom ;
|
|
|
|
|
setcvar ui_r_modified 1 ;
|
|
|
|
|
show applyChanges
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-01 20:56:41 +00:00
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name compress_textures
|
|
|
|
|
group video_obsolete
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_COMPRESSED_TEXTURES
|
2023-12-03 14:52:07 +00:00
|
|
|
|
rect 260 286 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
cvarFloatList { @MENUS_OFF 0 @MENUS_ON 1 }
|
|
|
|
|
descText @MENUS_TAKE_ADVANTAGE_OF_3D
|
|
|
|
|
cvar "ui_r_ext_compress_textures"
|
|
|
|
|
|
|
|
|
|
visible 0
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-12-03 14:52:07 +00:00
|
|
|
|
show highlight8
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-12-03 14:52:07 +00:00
|
|
|
|
hide highlight8
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
uiScript glCustom
|
|
|
|
|
setcvar ui_r_modified 1
|
|
|
|
|
show applyChanges
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// APPLY CHANGES BUTTON
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name applybutton_glow
|
|
|
|
|
group none
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 384 340 14
|
|
|
|
|
background "gfx/menus/menu_blendbox2" // Frame around button
|
|
|
|
|
forecolor 1 0.5 0.5 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name applyChanges
|
|
|
|
|
group none
|
|
|
|
|
text @MENUS_APPLY_CHANGES
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 260 384 340 14
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
textalignx 170
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
forecolor 1 0 0 1
|
|
|
|
|
backcolor 0 0 1 0
|
|
|
|
|
visible 0
|
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show applybutton_glow
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide applybutton_glow
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
show setup_background ;
|
|
|
|
|
show vidrestart ;
|
|
|
|
|
setfocus vidrestart_no ;
|
|
|
|
|
hide video ;
|
|
|
|
|
hide video2 ;
|
|
|
|
|
hide applybutton_glow ;
|
|
|
|
|
hide applyChanges ;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// VIDEO RESTART
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// Faint red box
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name vidrestart_background
|
|
|
|
|
group vidrestart
|
|
|
|
|
style WINDOW_STYLE_FILLED
|
|
|
|
|
rect 260 185 340 225
|
|
|
|
|
backcolor 0 0 .6 .5
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
border 1
|
|
|
|
|
bordercolor 0 0 .6 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name vidrestart_text1
|
|
|
|
|
group vidrestart
|
2023-08-05 17:15:52 +00:00
|
|
|
|
text @MENUS_VR_RESTART_JKXR_TO_APPLY
|
2023-03-01 20:56:41 +00:00
|
|
|
|
rect 305 230 290 20
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
text2aligny 18
|
|
|
|
|
textalignx 145
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor 1 1 0 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name vidrestart_text2
|
|
|
|
|
group vidrestart
|
|
|
|
|
text @MENUS_VID_RESTART3
|
|
|
|
|
rect 305 300 290 20
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 145
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor 1 1 0 1
|
|
|
|
|
visible 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name vidrestart_yes_button
|
|
|
|
|
group none
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 467 386 120 32
|
|
|
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
decoration
|
|
|
|
|
visible 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// YES button
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name vidrestart_yes
|
|
|
|
|
group vidrestart
|
|
|
|
|
text @MENUS_YES
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 467 386 120 32
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 60
|
|
|
|
|
textaligny 0
|
|
|
|
|
descText @MENUS_APPLY_CHANGES_AND_RETURN
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible -1
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
close all ;
|
|
|
|
|
uiScript updatevideosetup ;
|
|
|
|
|
}
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show vidrestart_yes_button
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide vidrestart_yes_button
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name vidrestart_no_button
|
|
|
|
|
group vidrestart
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 305 386 120 32
|
|
|
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
decoration
|
|
|
|
|
visible 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// CANCEL button
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name vidrestart_no
|
|
|
|
|
group vidrestart
|
|
|
|
|
text @MENUS_NO
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 305 386 120 32
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 60
|
|
|
|
|
textaligny -1
|
|
|
|
|
descText @MENUS_DO_NOT_APPLY_CHANGES
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 0
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/esc.wav"
|
|
|
|
|
setfocus video1menubutton ;
|
|
|
|
|
show setup_background ;
|
|
|
|
|
hide vidrestart ;
|
|
|
|
|
show video ;
|
|
|
|
|
hide video2 ;
|
|
|
|
|
show applyChanges ;
|
|
|
|
|
hide vidrestart_yes_button ;
|
|
|
|
|
hide vidrestart_no_button ;
|
|
|
|
|
}
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show vidrestart_no_button
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide vidrestart_no_button
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// VIDEO 2
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name gamma_text
|
|
|
|
|
group video2
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 290 198 280 36
|
|
|
|
|
background "gfx/menus/greyscale" // greyscale
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name bright_text
|
|
|
|
|
group video2
|
|
|
|
|
text @MENUS_ADJUST_BRIGHTNESS_SLIDER
|
|
|
|
|
text2 @MENUS_THE_NUMBER_6_CAN_BARELY
|
|
|
|
|
text2aligny 14
|
|
|
|
|
textalignx 170
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
rect 260 234 340 20
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
forecolor .549 .854 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name brightness
|
|
|
|
|
group video2
|
|
|
|
|
type ITEM_TYPE_SLIDER
|
|
|
|
|
text @MENUS_VIDEO_BRIGHTNESS
|
2023-04-15 16:47:10 +00:00
|
|
|
|
cvarfloat "r_gamma" 1.15 0.8 1.5
|
2023-03-01 20:56:41 +00:00
|
|
|
|
rect 260 267 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_ADJUST_THE_BRIGHTNESS
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
setcvar ui_r_modified 1
|
|
|
|
|
show applyChanges
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show button_glow
|
|
|
|
|
setitemrect button_glow 260 265 340 20
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name shadows
|
|
|
|
|
group video2
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_SHADOWS
|
|
|
|
|
descText @MENUS_SHADOWS_DESC
|
|
|
|
|
cvar "cg_shadows"
|
|
|
|
|
cvarFloatList
|
|
|
|
|
{
|
2023-11-02 18:13:26 +00:00
|
|
|
|
@MENUS_NONE 0
|
|
|
|
|
@MENUS_LOW 1
|
|
|
|
|
@MENUS_HIGH 3
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
rect 260 287 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show button_glow
|
|
|
|
|
setitemrect button_glow 260 285 340 20
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name dynamic_light
|
|
|
|
|
group video2
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_DYNAMIC_LIGHTS
|
|
|
|
|
cvar "r_dynamiclight"
|
|
|
|
|
cvarFloatList { @MENUS_OFF 0 @MENUS_ON 1 }
|
|
|
|
|
rect 260 301 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_TOGGLE_TO_TURN_ON_MOVING
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show button_glow
|
|
|
|
|
setitemrect button_glow 260 301 340 20
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name dynamic_glow
|
|
|
|
|
group video2
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_DYNAMIC_GLOW
|
|
|
|
|
cvar "r_dynamicglow"
|
|
|
|
|
cvarFloatList { @MENUS_OFF 0 @MENUS_ON 1 }
|
|
|
|
|
rect 260 315 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_DYNAMIC_GLOW_DESC
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show button_glow
|
|
|
|
|
setitemrect button_glow 260 315 340 20
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name light_flares
|
|
|
|
|
group video2
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_LIGHT_FLARES
|
|
|
|
|
cvar "r_flares"
|
|
|
|
|
cvarFloatList { @MENUS_OFF 0 @MENUS_ON 1 }
|
|
|
|
|
rect 260 329 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_TOGGLE_TO_SHOW_HALOS
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show button_glow
|
|
|
|
|
setitemrect button_glow 260 329 340 20
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name wall_marks
|
|
|
|
|
group video2
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_WALL_MARKS
|
|
|
|
|
cvar "cg_marks"
|
|
|
|
|
cvarFloatList { @MENUS_OFF 0 @MENUS_ON 1 }
|
|
|
|
|
rect 260 343 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_TOGGLE_TO_DISPLAY_SCORCH
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show button_glow
|
|
|
|
|
setitemrect button_glow 260 343 340 20
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name video_mode
|
|
|
|
|
group video2
|
|
|
|
|
type ITEM_TYPE_SLIDER
|
|
|
|
|
text @MENUS_ANISOTROPIC_FILTERING
|
|
|
|
|
cvarTest r_ext_texture_filter_anisotropic_avail
|
|
|
|
|
hideCvar { 0 }
|
|
|
|
|
cvarfloat "r_ext_texture_filter_anisotropic" 2 0 16
|
|
|
|
|
rect 260 359 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
|
|
|
|
|
descText @MENUS_TOGGLE_ADVANCED_TEXTURE
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show button_glow
|
|
|
|
|
setitemrect button_glow 260 359 340 20
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// SOUND FIELDS
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name effects_volume
|
|
|
|
|
group sound
|
|
|
|
|
type ITEM_TYPE_SLIDER
|
|
|
|
|
text @MENUS_EFFECTS_VOLUME
|
|
|
|
|
cvarfloat "s_volume" 0 0 1
|
|
|
|
|
rect 260 202 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_ADJUST_VOLUME_FOR_SOUND
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show highlight2
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
hide highlight2
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name music_volume
|
|
|
|
|
group sound
|
|
|
|
|
type ITEM_TYPE_SLIDER
|
|
|
|
|
text @MENUS_MUSIC_VOLUME
|
|
|
|
|
cvarfloat "s_musicvolume" 0 0 1
|
|
|
|
|
rect 260 230 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_ADJUST_VOLUME_FOR_MUSIC
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show highlight4
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
hide highlight4
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name voice_volume
|
|
|
|
|
group sound
|
|
|
|
|
type ITEM_TYPE_SLIDER
|
|
|
|
|
text @MENUS_VOICE_VOLUME
|
|
|
|
|
cvarfloat "s_volumevoice" 0 0 1
|
|
|
|
|
rect 260 258 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_ADJUST_VOLUME_FOR_SPEECH
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show highlight6
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
hide highlight6
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name sound_quality
|
|
|
|
|
group sound
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_SOUND_QUALITY
|
|
|
|
|
cvar "s_khz"
|
|
|
|
|
cvarFloatList { @MENUS_LOW 11 @MENUS_HIGH 22 }
|
|
|
|
|
rect 260 286 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_TRADE_CLARITY_OF_SOUND
|
|
|
|
|
cvarTest "s_UseOpenAL"
|
|
|
|
|
hideCvar { 1 }
|
|
|
|
|
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show highlight8
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
hide highlight8
|
|
|
|
|
}
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
uiScript update s_khz
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------------------
|
|
|
|
|
// OPTION FIELDS
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name crosshair_back
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 435 192 32 24
|
|
|
|
|
background "gfx/2d/iris_mono"
|
|
|
|
|
forecolor 1 1 1 0.8
|
|
|
|
|
visible 1
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawcrosshair
|
|
|
|
|
hideCvar { 0 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name draw_crosshair
|
|
|
|
|
group options
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_VR_WEAPON_CROSSHAIR_ITEM
|
|
|
|
|
cvar "cg_drawcrosshair"
|
|
|
|
|
cvarFloatList {
|
|
|
|
|
@MENUS_OFF 0
|
|
|
|
|
" " 1
|
|
|
|
|
" " 2
|
|
|
|
|
" " 3
|
|
|
|
|
" " 4
|
|
|
|
|
" " 5
|
|
|
|
|
" " 6
|
|
|
|
|
" " 7
|
|
|
|
|
" " 8
|
|
|
|
|
" " 9
|
|
|
|
|
}
|
|
|
|
|
rect 260 195 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_VR_WEAPON_CROSSHAIR_DESC
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show highlight1
|
|
|
|
|
setitemrect highlight1 260 197 340 14
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
setitemrect highlight1 260 190 340 14
|
|
|
|
|
hide highlight1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name crosshair1
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 195 24 18
|
|
|
|
|
background "gfx/2d/crosshairb"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawcrosshair
|
|
|
|
|
showCvar { 1 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name crosshair2
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 195 24 18
|
|
|
|
|
background "gfx/2d/crosshairc"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawcrosshair
|
|
|
|
|
showCvar { 2 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name crosshair3
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 195 24 18
|
|
|
|
|
background "gfx/2d/crosshaird"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawcrosshair
|
|
|
|
|
showCvar { 3 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name crosshair4
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 195 24 18
|
|
|
|
|
background "gfx/2d/crosshaire"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawcrosshair
|
|
|
|
|
showCvar { 4 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name crosshair5
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 195 24 18
|
|
|
|
|
background "gfx/2d/crosshairf"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawcrosshair
|
|
|
|
|
showCvar { 5 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name crosshair6
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 195 24 18
|
|
|
|
|
background "gfx/2d/crosshairg"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawcrosshair
|
|
|
|
|
showCvar { 6 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name crosshair7
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 195 24 18
|
|
|
|
|
background "gfx/2d/crosshairh"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawcrosshair
|
|
|
|
|
showCvar { 7 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name crosshair8
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 195 24 18
|
|
|
|
|
background "gfx/2d/crosshairi"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawcrosshair
|
|
|
|
|
showCvar { 8 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name crosshair9
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 195 24 18
|
|
|
|
|
background "gfx/2d/crosshaira"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawcrosshair
|
|
|
|
|
showCvar { 9 }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name force_crosshair_back
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 435 212 32 24
|
|
|
|
|
background "gfx/2d/iris_mono"
|
|
|
|
|
forecolor 1 1 1 0.8
|
|
|
|
|
visible 1
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawCrosshairForce
|
|
|
|
|
hideCvar { 0 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name draw_force_crosshair
|
|
|
|
|
group options
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_VR_FORCE_CROSSHAIR_ITEM
|
|
|
|
|
cvar "cg_drawCrosshairForce"
|
|
|
|
|
cvarFloatList {
|
|
|
|
|
@MENUS_OFF 0
|
|
|
|
|
" " 1
|
|
|
|
|
" " 2
|
|
|
|
|
" " 3
|
|
|
|
|
" " 4
|
|
|
|
|
" " 5
|
|
|
|
|
" " 6
|
|
|
|
|
" " 7
|
|
|
|
|
" " 8
|
|
|
|
|
" " 9
|
|
|
|
|
}
|
|
|
|
|
rect 260 215 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_VR_FORCE_CROSSHAIR_DESC
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
|
|
|
|
show highlight2
|
|
|
|
|
setitemrect highlight2 260 217 340 14
|
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
|
|
|
|
setitemrect highlight2 260 204 340 14
|
|
|
|
|
hide highlight2
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name force_crosshair1
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 215 24 18
|
|
|
|
|
background "gfx/2d/crosshairb"
|
|
|
|
|
forecolor 0.6 0.6 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawCrosshairForce
|
|
|
|
|
showCvar { 1 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name force_crosshair2
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 215 24 18
|
|
|
|
|
background "gfx/2d/crosshairc"
|
|
|
|
|
forecolor 0.6 0.6 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawCrosshairForce
|
|
|
|
|
showCvar { 2 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name force_crosshair3
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 215 24 18
|
|
|
|
|
background "gfx/2d/crosshaird"
|
|
|
|
|
forecolor 0.6 0.6 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawCrosshairForce
|
|
|
|
|
showCvar { 3 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name force_crosshair4
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 215 24 18
|
|
|
|
|
background "gfx/2d/crosshaire"
|
|
|
|
|
forecolor 0.6 0.6 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawCrosshairForce
|
|
|
|
|
showCvar { 4 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name force_crosshair5
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 215 24 18
|
|
|
|
|
background "gfx/2d/crosshairf"
|
|
|
|
|
forecolor 0.6 0.6 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawCrosshairForce
|
|
|
|
|
showCvar { 5 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name force_crosshair6
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 215 24 18
|
|
|
|
|
background "gfx/2d/crosshairg"
|
|
|
|
|
forecolor 0.6 0.6 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawCrosshairForce
|
|
|
|
|
showCvar { 6 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name force_crosshair7
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 215 24 18
|
|
|
|
|
background "gfx/2d/crosshairh"
|
|
|
|
|
forecolor 0.6 0.6 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawCrosshairForce
|
|
|
|
|
showCvar { 7 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name force_crosshair8
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 215 24 18
|
|
|
|
|
background "gfx/2d/crosshairi"
|
|
|
|
|
forecolor 0.6 0.6 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawCrosshairForce
|
|
|
|
|
showCvar { 8 }
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name force_crosshair9
|
|
|
|
|
group options
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 439 215 24 18
|
|
|
|
|
background "gfx/2d/crosshaira"
|
|
|
|
|
forecolor 0.6 0.6 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
cvarTest cg_drawCrosshairForce
|
|
|
|
|
showCvar { 9 }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2023-03-05 08:50:51 +00:00
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name usablehint
|
|
|
|
|
group options
|
|
|
|
|
type ITEM_TYPE_YESNO
|
|
|
|
|
text @MENUS_VR_USABLE_OBJECT_HINT_ITEM
|
|
|
|
|
cvar "cg_usableObjectsHint"
|
2023-04-15 16:47:10 +00:00
|
|
|
|
rect 260 230 340 14
|
2023-03-05 08:50:51 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_VR_USABLE_OBJECT_HINT_DESC
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight4
|
2023-03-05 08:50:51 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight4
|
2023-03-05 08:50:51 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2023-03-01 20:56:41 +00:00
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name slowmo
|
|
|
|
|
group options
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_SLOW_MOTION_DEATH
|
|
|
|
|
cvar "d_slowmodeath"
|
|
|
|
|
cvarFloatList
|
|
|
|
|
{
|
|
|
|
|
@MENUS_NEVER 0
|
|
|
|
|
@MENUS_ON_DEATH 1
|
|
|
|
|
@MENUS_RARELY 2
|
|
|
|
|
@MENUS_SLOW_MO_NORMAL 3
|
|
|
|
|
@MENUS_OFTEN 4
|
|
|
|
|
@MENUS_FREQUENTLY 5
|
|
|
|
|
@MENUS_EXCESSIVELY 6
|
|
|
|
|
}
|
2023-04-15 16:47:10 +00:00
|
|
|
|
rect 260 244 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_SELECT_THE_FREQUENCY
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight5
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight5
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name footsteps
|
|
|
|
|
group options
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_FOOTSTEPS
|
|
|
|
|
desctext @MENUS_FOOTSTEPS_DESC
|
|
|
|
|
cvar "cg_footsteps"
|
|
|
|
|
cvarFloatList
|
|
|
|
|
{
|
|
|
|
|
@MENUS_OFF 0
|
|
|
|
|
@MENUS_SOUNDS 1
|
|
|
|
|
@MENUS_SOUNDS_AND_EFFECTS 2
|
|
|
|
|
@MENUS_SOUNDS_EFFECTS_GRAPHICS 3
|
|
|
|
|
}
|
2023-04-15 16:47:10 +00:00
|
|
|
|
rect 260 258 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight6
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight6
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name dismemberment
|
|
|
|
|
group options
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_DISMEMBERMENT
|
|
|
|
|
cvar "g_dismemberment"
|
|
|
|
|
cvarFloatList
|
|
|
|
|
{
|
|
|
|
|
@MENUS_VR_MODEL_DISMEMBERMENT_DISABLED 0
|
|
|
|
|
@MENUS_VR_MODEL_DISMEMBERMENT_MILD 1
|
|
|
|
|
@MENUS_VR_MODEL_DISMEMBERMENT_BEARABLE 2
|
|
|
|
|
@MENUS_VR_MODEL_DISMEMBERMENT_UNSETTLING 3
|
|
|
|
|
}
|
|
|
|
|
cvarTest ui_iscensored
|
|
|
|
|
hideCvar { 1 }
|
2023-04-15 16:47:10 +00:00
|
|
|
|
rect 260 272 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_SELECT_WHAT_LIGHTSABER
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight7
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight7
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name dismemberment_probability
|
|
|
|
|
group options
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_DISMEMBER_PROBABILITY
|
|
|
|
|
cvar "g_dismemberprobabilities"
|
|
|
|
|
cvarFloatList
|
|
|
|
|
{
|
|
|
|
|
@MENUS_RARE 30
|
|
|
|
|
@MENUS_VR_DISMEMBERMENT_PROBABILITY_OFTEN 50
|
|
|
|
|
@MENUS_VR_DISMEMBERMENT_PROBABILITY_ALWAYS 100
|
|
|
|
|
}
|
|
|
|
|
cvarTest ui_iscensored
|
|
|
|
|
hideCvar { 1 }
|
2023-04-15 16:47:10 +00:00
|
|
|
|
rect 260 286 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_SELECT_FREQUENCY_OF_DISMEMBERMENT
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight8
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight8
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-17 21:59:40 +00:00
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name use_ragdolls
|
|
|
|
|
group options
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_VR_USE_RAGDOLLS_ITEM
|
|
|
|
|
cvar "broadsword"
|
|
|
|
|
cvarFloatList
|
|
|
|
|
{
|
|
|
|
|
@MENUS_VR_USE_RAGDOLLS_NEVER 0
|
|
|
|
|
@MENUS_VR_USE_RAGDOLLS_DELAYED 1
|
|
|
|
|
@MENUS_VR_USE_RAGDOLLS_INSTANT 2
|
|
|
|
|
}
|
|
|
|
|
cvarTest ui_iscensored
|
|
|
|
|
hideCvar { 1 }
|
2023-04-15 16:47:10 +00:00
|
|
|
|
rect 260 300 340 14
|
2023-03-17 21:59:40 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_VR_USE_RAGDOLLS_DESC
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight9
|
2023-03-17 21:59:40 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight9
|
2023-03-17 21:59:40 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-01 20:56:41 +00:00
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name text
|
|
|
|
|
group options
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_TEXT
|
|
|
|
|
cvar "se_language"
|
|
|
|
|
feeder 23 //FEEDER_PLAYER_SPECIES
|
|
|
|
|
cvarStrList feeder
|
2023-03-17 21:59:40 +00:00
|
|
|
|
rect 260 342 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_CHOOSE_THE_LANGUAGE_FOR
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-03-17 21:59:40 +00:00
|
|
|
|
show highlight12
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-03-17 21:59:40 +00:00
|
|
|
|
hide highlight12
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name voice
|
|
|
|
|
group options
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_VOICE
|
|
|
|
|
cvarTest com_demo
|
|
|
|
|
hideCvar { 1 }
|
|
|
|
|
cvar "s_language"
|
|
|
|
|
cvarStrList
|
|
|
|
|
{
|
|
|
|
|
"English" "english"
|
|
|
|
|
@MENUS_LANG_FRENCH "francais"
|
|
|
|
|
"Deutsch" "deutsch"
|
|
|
|
|
"Espa<70>ol" "espanol"
|
|
|
|
|
}
|
2023-03-17 21:59:40 +00:00
|
|
|
|
rect 260 356 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_CHOOSE_THE_LANGUAGE_TO
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
show langapply
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-03-17 21:59:40 +00:00
|
|
|
|
show highlight13
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-03-17 21:59:40 +00:00
|
|
|
|
hide highlight13
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name voice
|
|
|
|
|
group options
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_SUBTITLES
|
|
|
|
|
cvar "g_subtitles"
|
|
|
|
|
cvarFloatList
|
|
|
|
|
{
|
|
|
|
|
@MENUS_NONE 0
|
|
|
|
|
@MENUS_IN_CINEMATICS 2
|
|
|
|
|
// @MENUS_ALL_VOICEOVERS 1
|
|
|
|
|
}
|
2023-03-17 21:59:40 +00:00
|
|
|
|
rect 260 370 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_TOGGLE_WHETHER_SUBTITLES
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-03-17 21:59:40 +00:00
|
|
|
|
show highlight14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-03-17 21:59:40 +00:00
|
|
|
|
hide highlight14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// APPLY CHANGES button
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name langapply
|
|
|
|
|
group options
|
|
|
|
|
text @MENUS_SET_LANGUAGE
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
2023-03-17 21:59:40 +00:00
|
|
|
|
rect 260 384 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny -5
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
descText @MENUS_SET_LANGUAGE_INFO
|
|
|
|
|
visible 0
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1"
|
|
|
|
|
exec "snd_restart"
|
|
|
|
|
hide langapply
|
2023-03-17 21:59:40 +00:00
|
|
|
|
hide highlight15
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
2023-03-17 21:59:40 +00:00
|
|
|
|
show highlight15
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
2023-03-17 21:59:40 +00:00
|
|
|
|
hide highlight15
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// DIFFICULTY FIELDS
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name none
|
|
|
|
|
group difficulty
|
2023-04-15 16:47:10 +00:00
|
|
|
|
type ITEM_TYPE_TEXT
|
2023-03-01 20:56:41 +00:00
|
|
|
|
text @MENUS_VR_DIRECTORS_CUT_ITEM
|
|
|
|
|
rect 260 202 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
2023-04-15 16:47:10 +00:00
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name none
|
|
|
|
|
group difficulty
|
|
|
|
|
text " "
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
cvar "g_TeamBeefDirectorsCut"
|
|
|
|
|
cvarFloatList
|
|
|
|
|
{
|
|
|
|
|
@MENUS_VR_TBDC_BAGGYG 1
|
|
|
|
|
@MENUS_VR_TBDC_VANILLA 2
|
|
|
|
|
}
|
|
|
|
|
rect 260 216 340 14
|
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 60
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
2023-03-01 20:56:41 +00:00
|
|
|
|
descText @MENUS_VR_DIRECTORS_CUT_DESC
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight3
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight3
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name none
|
|
|
|
|
group difficulty
|
|
|
|
|
type ITEM_TYPE_YESNO
|
|
|
|
|
text @MENUS_VR_LASER_AUTODEFLECTING_ITEM
|
|
|
|
|
cvar "g_saberAutoDeflect1stPerson"
|
2023-04-15 16:47:10 +00:00
|
|
|
|
rect 260 244 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_VR_LASER_AUTODEFLECTING_DESC
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight5
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight5
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name none
|
|
|
|
|
group difficulty
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_VR_SABER_REALISM_ITEM
|
2023-06-15 21:07:24 +00:00
|
|
|
|
cvar "g_saberRealisticCombat"
|
2023-03-01 20:56:41 +00:00
|
|
|
|
cvarFloatList
|
|
|
|
|
{
|
|
|
|
|
@MENUS_VR_SABER_REALISM_DEFAULT 0
|
|
|
|
|
@MENUS_VR_SABER_REALISM_INCREASED 1
|
|
|
|
|
@MENUS_VR_SABER_REALISM_CRITICAL 2
|
|
|
|
|
@MENUS_VR_SABER_REALISM_INSTANT 3
|
|
|
|
|
}
|
2023-04-15 16:47:10 +00:00
|
|
|
|
rect 260 258 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
2023-11-08 18:46:21 +00:00
|
|
|
|
descText @MENUS_VR_SABER_REALISM_DESC
|
2023-03-01 20:56:41 +00:00
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight6
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight6
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name none
|
|
|
|
|
group difficulty
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_VR_FENCING_SPEED_ITEM
|
|
|
|
|
cvar "g_saberAnimSpeed"
|
|
|
|
|
cvarFloatList
|
|
|
|
|
{
|
|
|
|
|
@MENUS_VR_FENCING_SPEED_SLOWER 1.0
|
|
|
|
|
@MENUS_VR_FENCING_SPEED_DEFAULT 1.2
|
|
|
|
|
@MENUS_VR_FENCING_SPEED_FASTER 1.3
|
|
|
|
|
}
|
2023-04-15 16:47:10 +00:00
|
|
|
|
rect 260 272 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_VR_FENCING_SPEED_DESC
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight7
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight7
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name none
|
|
|
|
|
group difficulty
|
|
|
|
|
type ITEM_TYPE_MULTI
|
|
|
|
|
text @MENUS_VR_GAME_DIFFICULTY_ITEM
|
|
|
|
|
cvar "g_spskill"
|
|
|
|
|
cvarFloatList
|
|
|
|
|
{
|
|
|
|
|
@MENUS_APPRENTICE 0
|
|
|
|
|
@MENUS_JEDI 1
|
|
|
|
|
@MENUS_JEDI_KNIGHT 2
|
|
|
|
|
@MENUS_JEDI_MASTER 3
|
|
|
|
|
}
|
2023-04-15 16:47:10 +00:00
|
|
|
|
rect 260 300 340 14
|
2023-03-01 20:56:41 +00:00
|
|
|
|
textalign ITEM_ALIGN_RIGHT
|
|
|
|
|
textalignx 174
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor .615 .615 .956 1
|
|
|
|
|
visible 0
|
|
|
|
|
descText @MENUS_VR_GAME_DIFFICULTY_DESC
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
}
|
|
|
|
|
mouseenter
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
show highlight9
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
mouseexit
|
|
|
|
|
{
|
2023-04-15 16:47:10 +00:00
|
|
|
|
hide highlight9
|
2023-03-01 20:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// MOD GAME MENU specific stuff
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
2023-04-15 16:47:10 +00:00
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name none
|
|
|
|
|
group mods_warning
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 185 340 225
|
|
|
|
|
background "gfx/menus/menu_boxred" // Frame
|
|
|
|
|
forecolor 1 1 1 0.5
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name none
|
|
|
|
|
group mods_warning
|
|
|
|
|
text @MENUS_VR_MODS_WARNING_TEXT_1
|
|
|
|
|
rect 260 230 340 20
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 170
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor 1 1 0 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name none
|
|
|
|
|
group mods_warning
|
|
|
|
|
text @MENUS_VR_MODS_WARNING_TEXT_2
|
|
|
|
|
rect 260 250 340 20
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 170
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor 1 1 0 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name none
|
|
|
|
|
group mods_warning
|
|
|
|
|
text @MENUS_VR_MODS_WARNING_TEXT_3
|
|
|
|
|
rect 260 270 340 20
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 170
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor 1 1 0 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name none
|
|
|
|
|
group mods_warning
|
|
|
|
|
text @MENUS_VR_MODS_WARNING_CONFIRM
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
rect 260 310 340 20
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 170
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor 1 1 0 1
|
|
|
|
|
visible 0
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
hide mods_warning
|
|
|
|
|
show mods
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-01 20:56:41 +00:00
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name serverinfo
|
|
|
|
|
group mods
|
|
|
|
|
rect 270 196 320 176
|
|
|
|
|
type ITEM_TYPE_LISTBOX
|
|
|
|
|
style WINDOW_STYLE_FILLED
|
|
|
|
|
elementwidth 120
|
|
|
|
|
elementheight 16
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
border 1
|
|
|
|
|
bordersize 1
|
|
|
|
|
bordercolor .5 .5 .5 .5
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
backcolor 0 0 .5 .25
|
|
|
|
|
outlinecolor .5 .5 .5 .5
|
|
|
|
|
elementtype LISTBOX_TEXT
|
|
|
|
|
feeder 9
|
|
|
|
|
notselectable
|
|
|
|
|
visible 0
|
|
|
|
|
columns 1 2 40 280
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name loadmod_button
|
|
|
|
|
group none
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 260 384 340 14
|
|
|
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name loadmod
|
|
|
|
|
group mods
|
|
|
|
|
text @MENUS_LOAD_MOD
|
|
|
|
|
descText @MENUS_LOAD_CHOSEN_MOD
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 260 384 340 14
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 170
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 4
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 0
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav"
|
|
|
|
|
uiScript RunMod ;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show loadmod_button
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide loadmod_button
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// RESET DEFAULTS
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
// Faint red box
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name vidrestart_background
|
|
|
|
|
group defaults
|
|
|
|
|
style WINDOW_STYLE_FILLED
|
|
|
|
|
rect 260 185 340 225
|
|
|
|
|
backcolor 0 0 .6 .5
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
border 1
|
|
|
|
|
bordercolor 0 0 .6 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name button_glow2
|
|
|
|
|
group highlights
|
|
|
|
|
style WINDOW_STYLE_SHADER
|
|
|
|
|
rect 0 0 0 0
|
|
|
|
|
background "gfx/menus/menu_buttonback"
|
|
|
|
|
forecolor 1 1 1 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name options
|
|
|
|
|
group defaults
|
|
|
|
|
text @MENUS_WARNING
|
|
|
|
|
rect 260 202 340 20
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 170
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor 1 0 0 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name options
|
|
|
|
|
group defaults
|
|
|
|
|
text @MENUS_THIS_WILL_SET_ALL_GAME
|
|
|
|
|
text2 @MENUS_TO_THEIR_FACTORY_SETTINGS
|
|
|
|
|
rect 260 230 340 20
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 174
|
|
|
|
|
text2aligny 20
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor 1 0 0 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name options
|
|
|
|
|
group defaults
|
|
|
|
|
text @MENUS_VID_RESTART3
|
|
|
|
|
rect 260 286 340 20
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 174
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor 1 0 0 1
|
|
|
|
|
visible 0
|
|
|
|
|
decoration
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// NO button - return to Main Menu
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name default_no_button
|
|
|
|
|
group defaults
|
|
|
|
|
text @MENUS_NO
|
|
|
|
|
descText @MENUS_DO_NOT_RESET_DEFAULT
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 276 356 120 32
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 60
|
|
|
|
|
textaligny 0
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 0
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/esc.wav"
|
|
|
|
|
hide highlights ;
|
|
|
|
|
uiscript clearmouseover default_no_button ;
|
|
|
|
|
close all ;
|
|
|
|
|
open ingamemainMenu ;
|
|
|
|
|
}
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show button_glow2
|
|
|
|
|
setitemrect button_glow2 276 356 120 32
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow2
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// YES button - lose reset defaults
|
|
|
|
|
itemDef
|
|
|
|
|
{
|
|
|
|
|
name default_yes
|
|
|
|
|
group defaults
|
|
|
|
|
text @MENUS_YES
|
|
|
|
|
type ITEM_TYPE_BUTTON
|
|
|
|
|
style WINDOW_STYLE_EMPTY
|
|
|
|
|
rect 466 356 120 32
|
|
|
|
|
font 2
|
|
|
|
|
textscale 1
|
|
|
|
|
textalign ITEM_ALIGN_CENTER
|
|
|
|
|
textalignx 60
|
|
|
|
|
textaligny 0
|
|
|
|
|
descText @MENUS_USE_DEFAULT_SETTINGS
|
|
|
|
|
forecolor 1 .682 0 1
|
|
|
|
|
visible 0
|
|
|
|
|
|
|
|
|
|
action
|
|
|
|
|
{
|
|
|
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
|
hide highlights ;
|
|
|
|
|
close all ;
|
|
|
|
|
uiscript resetdefaults
|
|
|
|
|
}
|
|
|
|
|
mouseEnter
|
|
|
|
|
{
|
|
|
|
|
show button_glow2
|
|
|
|
|
setitemrect button_glow2 466 356 120 32
|
|
|
|
|
}
|
|
|
|
|
mouseExit
|
|
|
|
|
{
|
|
|
|
|
hide button_glow2
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|