mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-25 13:31:03 +00:00
0723c2335e
g_saberRealisticCombat should be set to "1" g_dismemberment should be set to "4" g_saberMoreRealistic is no longer used changed logic so that it should be the same approach for dealing damage as JKO with the above settings when TBDC is enabled fixed saber bounce in JKA too
3086 lines
61 KiB
Text
3086 lines
61 KiB
Text
//----------------------------------------------------------------------------------------------
|
||
// 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 ;
|
||
hide mods_warning ;
|
||
hide mods ;
|
||
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 ;
|
||
hide mods_warning ;
|
||
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 ;
|
||
hide mods_warning ;
|
||
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 ;
|
||
hide mods_warning ;
|
||
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
|
||
hide mods_warning
|
||
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
|
||
hide mods_warning
|
||
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
|
||
descText @MENUS_VR_MODS_BUTTON_DESC
|
||
|
||
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 ;
|
||
show mods_warning ;
|
||
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 .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 ;
|
||
hide mods_warning ;
|
||
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
|
||
//----------------------------------------------------------------------------------------------
|
||
|
||
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"
|
||
|
||
visible 0
|
||
|
||
mouseenter
|
||
{
|
||
show highlight2
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight2
|
||
}
|
||
action
|
||
{
|
||
play "sound/interface/button1.wav" ;
|
||
}
|
||
}
|
||
|
||
itemDef
|
||
{
|
||
name geometric_detail
|
||
group video
|
||
type ITEM_TYPE_MULTI
|
||
text @MENUS_GEOMETRIC_DETAIL
|
||
rect 260 216 340 14
|
||
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
|
||
{
|
||
show highlight3
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight3
|
||
}
|
||
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
|
||
rect 260 230 340 14
|
||
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
|
||
{
|
||
show highlight4
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight4
|
||
}
|
||
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
|
||
rect 260 244 340 14
|
||
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
|
||
{
|
||
show highlight5
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight5
|
||
}
|
||
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
|
||
rect 260 258 340 14
|
||
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
|
||
{
|
||
show highlight6
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight6
|
||
}
|
||
action
|
||
{
|
||
play "sound/interface/button1.wav" ;
|
||
uiScript glCustom ;
|
||
setcvar ui_r_modified 1 ;
|
||
show applyChanges
|
||
}
|
||
}
|
||
|
||
itemDef
|
||
{
|
||
name compress_textures
|
||
group video_obsolete
|
||
type ITEM_TYPE_MULTI
|
||
text @MENUS_COMPRESSED_TEXTURES
|
||
rect 260 272 340 14
|
||
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
|
||
{
|
||
show highlight7
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight7
|
||
}
|
||
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
|
||
text @MENUS_THIS_WILL_APPLY_VIDEO
|
||
text2 @MENUS_AND_RETURNTO_GAME
|
||
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
|
||
cvarfloat "r_gamma" 1.15 0.8 1.5
|
||
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
|
||
{
|
||
@MENUS_NONE 0
|
||
@MENUS_SHADOWS_SIMPLE 1
|
||
@MENUS_SHADOWS_VOLUMETRIC 2
|
||
// "Projected" 3
|
||
}
|
||
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 }
|
||
}
|
||
|
||
|
||
itemDef
|
||
{
|
||
name usablehint
|
||
group options
|
||
type ITEM_TYPE_YESNO
|
||
text @MENUS_VR_USABLE_OBJECT_HINT_ITEM
|
||
cvar "cg_usableObjectsHint"
|
||
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_VR_USABLE_OBJECT_HINT_DESC
|
||
|
||
action
|
||
{
|
||
play "sound/interface/button1.wav"
|
||
}
|
||
mouseenter
|
||
{
|
||
show highlight4
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight4
|
||
}
|
||
}
|
||
|
||
|
||
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
|
||
}
|
||
rect 260 244 340 14
|
||
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
|
||
{
|
||
show highlight5
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight5
|
||
}
|
||
}
|
||
|
||
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
|
||
}
|
||
rect 260 258 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 highlight6
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight6
|
||
}
|
||
}
|
||
|
||
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 }
|
||
rect 260 272 340 14
|
||
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
|
||
{
|
||
show highlight7
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight7
|
||
}
|
||
}
|
||
|
||
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 }
|
||
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_SELECT_FREQUENCY_OF_DISMEMBERMENT
|
||
|
||
action
|
||
{
|
||
play "sound/interface/button1.wav"
|
||
}
|
||
mouseenter
|
||
{
|
||
show highlight8
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight8
|
||
}
|
||
}
|
||
|
||
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 }
|
||
rect 260 300 340 14
|
||
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
|
||
{
|
||
show highlight9
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight9
|
||
}
|
||
}
|
||
|
||
itemDef
|
||
{
|
||
name text
|
||
group options
|
||
type ITEM_TYPE_MULTI
|
||
text @MENUS_TEXT
|
||
cvar "se_language"
|
||
feeder 23 //FEEDER_PLAYER_SPECIES
|
||
cvarStrList feeder
|
||
rect 260 342 340 14
|
||
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
|
||
{
|
||
show highlight12
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight12
|
||
}
|
||
}
|
||
|
||
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"
|
||
}
|
||
rect 260 356 340 14
|
||
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
|
||
{
|
||
show highlight13
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight13
|
||
}
|
||
}
|
||
|
||
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
|
||
}
|
||
rect 260 370 340 14
|
||
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
|
||
{
|
||
show highlight14
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight14
|
||
}
|
||
}
|
||
|
||
// APPLY CHANGES button
|
||
itemDef
|
||
{
|
||
name langapply
|
||
group options
|
||
text @MENUS_SET_LANGUAGE
|
||
type ITEM_TYPE_BUTTON
|
||
style WINDOW_STYLE_EMPTY
|
||
rect 260 384 340 14
|
||
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
|
||
hide highlight15
|
||
}
|
||
mouseEnter
|
||
{
|
||
show highlight15
|
||
}
|
||
mouseExit
|
||
{
|
||
hide highlight15
|
||
}
|
||
|
||
}
|
||
|
||
//----------------------------------------------------------------------------------------------
|
||
// DIFFICULTY FIELDS
|
||
//----------------------------------------------------------------------------------------------
|
||
|
||
itemDef
|
||
{
|
||
name none
|
||
group difficulty
|
||
type ITEM_TYPE_TEXT
|
||
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
|
||
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
|
||
descText @MENUS_VR_DIRECTORS_CUT_DESC
|
||
action
|
||
{
|
||
play "sound/interface/button1.wav"
|
||
}
|
||
mouseenter
|
||
{
|
||
show highlight3
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight3
|
||
}
|
||
}
|
||
|
||
itemDef
|
||
{
|
||
name none
|
||
group difficulty
|
||
type ITEM_TYPE_YESNO
|
||
text @MENUS_VR_LASER_AUTODEFLECTING_ITEM
|
||
cvar "g_saberAutoDeflect1stPerson"
|
||
rect 260 244 340 14
|
||
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
|
||
{
|
||
show highlight5
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight5
|
||
}
|
||
}
|
||
|
||
itemDef
|
||
{
|
||
name none
|
||
group difficulty
|
||
type ITEM_TYPE_MULTI
|
||
text @MENUS_VR_SABER_REALISM_ITEM
|
||
cvar "g_saberRealisticCombat"
|
||
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
|
||
}
|
||
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_VR_LASER_AUTODEFLECTING_DESC
|
||
action
|
||
{
|
||
play "sound/interface/button1.wav"
|
||
}
|
||
mouseenter
|
||
{
|
||
show highlight6
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight6
|
||
}
|
||
}
|
||
|
||
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
|
||
}
|
||
rect 260 272 340 14
|
||
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
|
||
{
|
||
show highlight7
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight7
|
||
}
|
||
}
|
||
|
||
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
|
||
}
|
||
rect 260 300 340 14
|
||
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
|
||
{
|
||
show highlight9
|
||
}
|
||
mouseexit
|
||
{
|
||
hide highlight9
|
||
}
|
||
}
|
||
|
||
//----------------------------------------------------------------------------------------------
|
||
// MOD GAME MENU specific stuff
|
||
//----------------------------------------------------------------------------------------------
|
||
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
|
||
}
|
||
}
|
||
|
||
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
|
||
}
|
||
|
||
}
|
||
}
|
||
}
|
||
|