//---------------------------------------------------------------------------------------------- // // CONTROLS MENU // // Player can change key bindings from main menu // //---------------------------------------------------------------------------------------------- { menuDef { name "controlsMenu" fullScreen 1 rect 0 0 640 480 visible 1 focusColor 1 1 1 1 descX 320 descY 426 descScale 1 descColor 1 .682 0 .8 descAlignment ITEM_ALIGN_CENTER onOpen { uiScript loadControls setitemcolor side_buttons forecolor 1 .682 0 1 // fade in movement controls show commoncontrols setitemcolor commoncontrols forecolor .615 .615 .956 0.0 fadein commoncontrols // don't show any others hide weaponcontrols setitemcolor weaponcontrols forecolor .615 .615 .956 0.0 hide forcecontrols setitemcolor forcecontrols forecolor .615 .615 .956 0.0 hide comfortcontrols setitemcolor comfortcontrols forecolor .615 .615 .956 0.0 hide helpcontrols setitemcolor helpcontrols forecolor .615 .615 .956 0.0 show setup_background setitemcolor commoncontrolbutton forecolor 1 1 1 1 } onClose { uiScript saveControls } onESC { play "sound/interface/esc.wav" hide button_glow close controlsMenu open mainMenu } //---------------------------------------------------------------------------------------------- // 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 } //---------------------------------------------------------------------------------------------- // TOP MAIN MENU BUTTONS //---------------------------------------------------------------------------------------------- // Big button "NEW" itemDef { name newgamebutton group nbut style WINDOW_STYLE_EMPTY type ITEM_TYPE_BUTTON rect 7 126 130 24 text @MENUS_NEW descText @MENUS_START_A_NEW_GAME font 3 textscale 1.1 textaligny 0 textalign ITEM_ALIGN_CENTER textstyle 1 textalignx 65 forecolor 1 .682 0 1 visible 1 mouseEnter { show button_glow setitemrect button_glow 7 124 130 30 } mouseExit { hide button_glow } action { play "sound/interface/button1.wav" ; close all ; open newgameMenu } } // 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 124 130 30 } mouseExit { hide button_glow } action { play "sound/interface/button1.wav" ; close all ; open loadgameMenu } } // 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 1 1 1 visible 1 mouseEnter { show button_glow setitemrect button_glow 340 126 130 24 } mouseExit { hide button_glow } } // 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 24 } mouseExit { hide button_glow } action { play "sound/interface/button1.wav" ; close all ; open setupMenu ; } } //---------------------------------------------------------------------------------------------- // BOTTOM 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 mainMenu } } // EXIT button in lower center itemDef { name exitgamebutton_glow group exit_glow style WINDOW_STYLE_SHADER rect 255 444 130 24 background "gfx/menus/menu_buttonback" // Frame around button forecolor 1 1 1 1 visible 0 decoration } 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 { close all ; open quitMenu } } //---------------------------------------------------------------------------------------------- // SIDE BUTTONS //---------------------------------------------------------------------------------------------- // Configure Controls title itemDef { name control_title group title style WINDOW_STYLE_SHADER background "gfx/menus/menu_blendbox" text @MENUS_CONFIGURE_CONTROLS 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 } //---------------------------------------------------------------------------------------------- // GLOW ON SIDE BUTTONS //---------------------------------------------------------------------------------------------- itemDef { name sidebutton_glow group none 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 } //---------------------------------------------------------------------------------------------- // COMMON button //---------------------------------------------------------------------------------------------- itemDef { name commoncontrolbutton group side_buttons text @MENUS_VR_COMMON_CONTROLS_ITEM type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY rect 60 185 200 24 font 3 textscale 0.9 textalignx 190 textaligny 2 textalign ITEM_ALIGN_RIGHT textstyle 1 forecolor 1 .682 0 1 visible 1 descText @MENUS_VR_COMMON_CONTROLS_DESC mouseEnter { show sidebutton_glow setitemrect sidebutton_glow 40 184 220 26 } mouseExit { hide sidebutton_glow } action { play sound/interface/sub_select show setup_background show commoncontrols fadein commoncontrols hide weaponcontrols setitemcolor weaponcontrols forecolor .615 .615 .956 0.0 hide forcecontrols setitemcolor forcecontrols forecolor .615 .615 .956 0.0 hide comfortcontrols setitemcolor comfortcontrols forecolor .615 .615 .956 0.0 hide helpcontrols setitemcolor helpcontrols forecolor .615 .615 .956 0.0 setitemcolor side_buttons forecolor 1 .682 0 1 setitemcolor commoncontrolbutton forecolor 1 1 1 1 } } //---------------------------------------------------------------------------------------------- // WEAPONS button //---------------------------------------------------------------------------------------------- itemDef { name weaponscontrolbutton group side_buttons text @MENUS_WEAPONS 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_VR_WEAPON_CONTROLS_DESC mouseEnter { show sidebutton_glow setitemrect sidebutton_glow 40 208 220 26 } mouseExit { hide sidebutton_glow } action { play sound/interface/sub_select show setup_background hide commoncontrols setitemcolor commoncontrols forecolor .615 .615 .956 0.0 show weaponcontrols fadein weaponcontrols hide forcecontrols setitemcolor forcecontrols forecolor .615 .615 .956 0.0 hide comfortcontrols setitemcolor comfortcontrols forecolor .615 .615 .956 0.0 hide helpcontrols setitemcolor helpcontrols forecolor .615 .615 .956 0.0 setitemcolor side_buttons forecolor 1 .682 0 1 setitemcolor weaponscontrolbutton forecolor 1 1 1 1 } } //---------------------------------------------------------------------------------------------- // FORCE POWERS button //---------------------------------------------------------------------------------------------- itemDef { name forcecontrolbutton group side_buttons text @MENUS_FORCE_POWERS 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_VR_POWER_CONTROLS_DESC mouseEnter { show sidebutton_glow setitemrect sidebutton_glow 40 232 220 26 } mouseExit { hide sidebutton_glow } action { play sound/interface/sub_select show setup_background hide commoncontrols setitemcolor commoncontrols forecolor .615 .615 .956 0.0 hide weaponcontrols setitemcolor weaponcontrols forecolor .615 .615 .956 0.0 show forcecontrols fadein forcecontrols hide comfortcontrols setitemcolor comfortcontrols forecolor .615 .615 .956 0.0 hide helpcontrols setitemcolor helpcontrols forecolor .615 .615 .956 0.0 setitemcolor side_buttons forecolor 1 .682 0 1 setitemcolor forcecontrolbutton forecolor 1 1 1 1 } } //---------------------------------------------------------------------------------------------- // COMFORT button //---------------------------------------------------------------------------------------------- itemDef { name comfortcontrolbutton group side_buttons text @MENUS_VR_COMFORT_CONTROLS_ITEM 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_VR_COMFORT_CONTROLS_DESC mouseEnter { show sidebutton_glow setitemrect sidebutton_glow 40 256 220 26 } mouseExit { hide sidebutton_glow } action { play sound/interface/sub_select show setup_background hide commoncontrols setitemcolor commoncontrols forecolor .615 .615 .956 0.0 hide weaponcontrols setitemcolor weaponcontrols forecolor .615 .615 .956 0.0 hide forcecontrols setitemcolor forcecontrols forecolor .615 .615 .956 0.0 show comfortcontrols fadein comfortcontrols hide helpcontrols setitemcolor helpcontrols forecolor .615 .615 .956 0.0 setitemcolor side_buttons forecolor 1 .682 0 1 setitemcolor comfortcontrolbutton forecolor 1 1 1 1 } } //---------------------------------------------------------------------------------------------- // HELP button //---------------------------------------------------------------------------------------------- itemDef { name helpbutton group side_buttons text @MENUS_VR_HELP_BUTTON_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_HELP_BUTTON_DESC cvarTest g_JKXRHelpEnabled showCvar { 1 } mouseEnter { show sidebutton_glow setitemrect sidebutton_glow 40 280 220 26 } mouseExit { hide sidebutton_glow } action { play sound/interface/sub_select show setup_background hide commoncontrols setitemcolor commoncontrols forecolor .615 .615 .956 0.0 hide weaponcontrols setitemcolor weaponcontrols forecolor .615 .615 .956 0.0 hide forcecontrols setitemcolor forcecontrols forecolor .615 .615 .956 0.0 hide comfortcontrols setitemcolor comfortcontrols forecolor .615 .615 .956 0.0 show helpcontrols fadein helpcontrols setitemcolor side_buttons forecolor 1 .682 0 1 setitemcolor helpbutton 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 } //---------------------------------------------------------------------------------------------- // // COMMON MENU // //---------------------------------------------------------------------------------------------- itemDef { name none group commoncontrols type ITEM_TYPE_MULTI text @MENUS_VR_DIRECTION_MODE_ITEM cvar "vr_walkdirection" cvarFloatList { @MENUS_VR_DIRECTION_MODE_CONTROLLER 0 @MENUS_VR_DIRECTION_MODE_HMD 1 } rect 260 200 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_DIRECTION_MODE_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 200 340 20 } mouseexit { hide button_glow } } itemDef { name none group commoncontrols type ITEM_TYPE_MULTI text @MENUS_VR_SMOOTH_TURN_ITEM cvar "vr_turn_mode" cvarFloatList { @MENUS_NO 0 @MENUS_VR_SMOOTH_TURN_3RD_PERSON 1 @MENUS_YES 2 } rect 260 220 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_SMOOTH_TURN_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 220 340 20 } mouseexit { hide button_glow } } itemDef { name none group commoncontrols type ITEM_TYPE_MULTI text @MENUS_VR_TURN_ANGLE_ITEM cvar "vr_turn_angle" cvarFloatList { @MENUS_VR_TURN_ANGLE_30DEGREES 30 @MENUS_VR_TURN_ANGLE_45DEGREES 45 @MENUS_VR_TURN_ANGLE_90DEGREES 90 } rect 260 240 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_TURN_ANGLE_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 240 340 20 } mouseexit { hide button_glow } } itemDef { name none group commoncontrols type ITEM_TYPE_YESNO text @MENUS_VR_SWITCH_STICKS_ITEM cvar "vr_switch_sticks" rect 260 260 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor 1 1 1 0.0 visible 0 descText @MENUS_VR_SWITCH_STICKS_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 260 340 20 } mouseexit { hide button_glow } } itemDef { name none group commoncontrols type ITEM_TYPE_MULTI text @MENUS_VR_LEFT_HANDED_ITEM cvar "vr_control_scheme" cvarFloatList { @MENUS_NO 0 @MENUS_YES 10 } rect 260 280 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor 1 1 1 0.0 visible 0 descText @MENUS_VR_LEFT_HANDED_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 280 340 20 } mouseexit { hide button_glow } } itemDef { name none group commoncontrols type ITEM_TYPE_YESNO text @MENUS_VR_CROUCH_TOGGLE_ITEM cvar "vr_crouch_toggle" rect 260 300 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor 1 1 1 0.0 visible 0 descText @MENUS_VR_CROUCH_TOGGLE_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 300 340 20 } mouseexit { hide button_glow } } itemDef { name none group commoncontrols type ITEM_TYPE_MULTI text @MENUS_VR_CROUCH_IRL_ITEM cvar "vr_irl_crouch_enabled" cvarFloatList { @MENUS_NO 0 @MENUS_VR_CROUCH_IRL_1ST_PERSON 1 @MENUS_YES 2 } rect 260 320 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor 1 1 1 0.0 visible 0 descText @MENUS_VR_CROUCH_IRL_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 320 340 20 } mouseexit { hide button_glow } } itemDef { name none group commoncontrols type ITEM_TYPE_YESNO text @MENUS_VR_GESTURE_TRIGGERED_USE_ITEM cvar "vr_gesture_triggered_use" rect 260 340 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor 1 1 1 0.0 visible 0 descText @MENUS_VR_GESTURE_TRIGGERED_USE_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 340 340 20 } mouseexit { hide button_glow } } itemDef { name none group commoncontrols type ITEM_TYPE_SLIDER text @MENUS_VR_USE_GESTURE_BOUNDARY_ITEM cvarfloat "vr_use_gesture_boundary" 0 0.20 0.50 rect 260 360 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor 1 1 1 0.0 visible 0 descText @MENUS_VR_USE_GESTURE_BOUNDARY_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 360 340 20 } mouseexit { hide button_glow } } //---------------------------------------------------------------------------------------------- // // WEAPON MENU // //---------------------------------------------------------------------------------------------- itemDef { name none group weaponcontrols type ITEM_TYPE_MULTI text @MENUS_AUTO_SWITCH cvar "cg_autoswitch" cvarFloatList { @MENUS_DON_T_SWITCH 0 @MENUS_BEST_SAFE_WEAPON 1 @MENUS_ALWAYS_BEST_WEAPON 2 } rect 260 200 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_CHOOSE_WHETHER_TO_SWITCH action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 200 340 20 } mouseexit { hide button_glow } } itemDef { name none group weaponcontrols type ITEM_TYPE_SLIDER text @MENUS_VR_WEAPON_PITCH_ITEM cvarfloat "vr_weapon_pitchadjust" 0 -25 5 rect 260 220 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_WEAPON_PITCH_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 220 340 20 } mouseexit { hide button_glow } } itemDef { name none group weaponcontrols type ITEM_TYPE_YESNO text @MENUS_VR_TWO_HANDED_ITEM cvar "vr_two_handed_weapons" rect 260 240 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_TWO_HANDED_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 240 340 20 } mouseexit { hide button_glow } } itemDef { name none group weaponcontrols type ITEM_TYPE_YESNO text @MENUS_VR_GUN_STOCK_ITEM cvar "vr_virtual_stock" rect 260 260 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_GUN_STOCK_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 260 340 20 } mouseexit { hide button_glow } } itemDef { name none group weaponcontrols type ITEM_TYPE_SLIDER text @MENUS_VR_WEAPON_VELOCITY_TRIGGER_ITEM cvarfloat "vr_weapon_velocity_trigger" 0 1.5 2.5 rect 260 280 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_WEAPON_VELOCITY_TRIGGER_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 280 340 20 } mouseexit { hide button_glow } } itemDef { name none group weaponcontrols type ITEM_TYPE_MULTI text @MENUS_VR_SABER_3RD_PERSON_ITEM cvar "vr_saber_3rdperson_mode" cvarFloatList { @MENUS_VR_SABER_3RD_PERSON_DISABLED 0 @MENUS_VR_SABER_3RD_PERSON_MANUAL 1 @MENUS_VR_SABER_3RD_PERSON_AUTO 2 } rect 260 300 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_SABER_3RD_PERSON_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 300 340 20 } mouseexit { hide button_glow } } //---------------------------------------------------------------------------------------------- // // FORCE MENU // //---------------------------------------------------------------------------------------------- itemDef { name none group forcecontrols type ITEM_TYPE_YESNO text @MENUS_VR_FORCE_SPEED_FOV_ITEM cvar "cg_forceSpeedFOVAdjust" rect 260 200 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_FORCE_SPEED_FOV_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 200 340 20 } mouseexit { hide button_glow } } itemDef { name none group forcecontrols type ITEM_TYPE_YESNO text @MENUS_VR_FORCE_MOTION_TRIGGER_TOGGLE_ITEM cvar "vr_force_motion_controlled" rect 260 220 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_FORCE_MOTION_TRIGGER_TOGGLE_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 220 340 20 } mouseexit { hide button_glow } } itemDef { name none group forcecontrols type ITEM_TYPE_SLIDER text @MENUS_VR_FORCE_VELOCITY_TRIGGER_ITEM cvarfloat "vr_force_velocity_trigger" 0 1.5 2.5 rect 260 240 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_FORCE_VELOCITY_TRIGGER_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 240 340 20 } mouseexit { hide button_glow } } //---------------------------------------------------------------------------------------------- // // COMFORT MENU // //---------------------------------------------------------------------------------------------- itemDef { name none group comfortcontrols type ITEM_TYPE_YESNO text @MENUS_VR_IMMERSIVE_CINEMATICS_ITEM cvar "vr_immersive_cinematics" rect 260 200 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_IMMERSIVE_CINEMATICS_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 200 340 20 } mouseexit { hide button_glow } } itemDef { name none group comfortcontrols type ITEM_TYPE_MULTI text @MENUS_VR_SCREEN_DISTANCE_ITEM cvar "vr_screen_dist" cvarFloatList { @MENUS_VR_SCREEN_DISTANCE_NEAR 1.5 @MENUS_VR_SCREEN_DISTANCE_MEDIUM 2.5 @MENUS_VR_SCREEN_DISTANCE_FAR 3.5 } rect 260 220 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_SCREEN_DISTANCE_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 220 340 20 } mouseexit { hide button_glow } } itemDef { name none group comfortcontrols type ITEM_TYPE_SLIDER text @MENUS_VR_HEIGHT_ADJUST_ITEM cvarfloat "cg_heightAdjust" 0 0 1 rect 260 240 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_HEIGHT_ADJUST_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 240 340 20 } mouseexit { hide button_glow } } itemDef { name none group comfortcontrols type ITEM_TYPE_SLIDER text @MENUS_VR_HAPTIC_INTENSITY_ITEM cvarfloat "vr_haptic_intensity" 0 0 1 rect 260 260 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_HAPTIC_INTENSITY_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 260 340 20 } mouseexit { hide button_glow } } itemDef { name none group comfortcontrols type ITEM_TYPE_SLIDER text @MENUS_VR_COMFORT_VIGNETTE_ITEM cvarfloat "vr_comfort_vignette" 0 0 1 rect 260 280 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_COMFORT_VIGNETTE_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 280 340 20 } mouseexit { hide button_glow } } itemDef { name none group comfortcontrols type ITEM_TYPE_SLIDER text @MENUS_VR_HUD_SCALE_ITEM cvarfloat "cg_hudScale" 0.1 1.0 5.0 rect 260 300 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_HUD_SCALE_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 300 340 20 } mouseexit { hide button_glow } } itemDef { name none group comfortcontrols type ITEM_TYPE_SLIDER text @MENUS_VR_HUD_STEREO_ITEM cvarfloat "cg_hudStereo" 1 1 30 rect 260 320 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_HUD_STEREO_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 320 340 20 } mouseexit { hide button_glow } } itemDef { name none group comfortcontrols type ITEM_TYPE_SLIDER text @MENUS_VR_HUD_YOFFSET_ITEM cvarfloat "cg_hudYOffset" 1 -50 120 rect 260 340 340 14 textalign ITEM_ALIGN_RIGHT textalignx 174 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 descText @MENUS_VR_HUD_YOFFSET_DESC action { play sound/interface/button1 } mouseenter { show button_glow setitemrect button_glow 260 340 340 20 } mouseexit { hide button_glow } } //---------------------------------------------------------------------------------------------- // // HELP MENU // //---------------------------------------------------------------------------------------------- itemDef { name none group helpcontrols type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY text @MENUS_VR_CONTROL_SCHEME_HELP rect 260 200 340 14 textalign ITEM_ALIGN_CENTER textalignx 170 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 mouseenter { show button_glow setitemrect button_glow 260 200 340 20 } mouseexit { hide button_glow } action { play sound/interface/button1 setcvar show_help_item 1 open helpPopupMenu } } itemDef { name none group helpcontrols type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY text @MENUS_VR_TUTORIAL_VIDEO_1 rect 260 220 340 14 textalign ITEM_ALIGN_CENTER textalignx 170 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 mouseenter { show button_glow setitemrect button_glow 260 220 340 20 } mouseexit { hide button_glow } action { play sound/interface/button1 setcvar show_help_item 2 open helpPopupMenu } } itemDef { name none group helpcontrols type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY text @MENUS_VR_TUTORIAL_VIDEO_2 rect 260 240 340 14 textalign ITEM_ALIGN_CENTER textalignx 170 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 mouseenter { show button_glow setitemrect button_glow 260 240 340 20 } mouseexit { hide button_glow } action { play sound/interface/button1 setcvar show_help_item 3 open helpPopupMenu } } itemDef { name none group helpcontrols type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY text @MENUS_VR_TUTORIAL_VIDEO_3 rect 260 260 340 14 textalign ITEM_ALIGN_CENTER textalignx 170 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 mouseenter { show button_glow setitemrect button_glow 260 260 340 20 } mouseexit { hide button_glow } action { play sound/interface/button1 setcvar show_help_item 4 open helpPopupMenu } } itemDef { name none group helpcontrols type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY text @MENUS_VR_TUTORIAL_VIDEO_4 rect 260 280 340 14 textalign ITEM_ALIGN_CENTER textalignx 170 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 mouseenter { show button_glow setitemrect button_glow 260 280 340 20 } mouseexit { hide button_glow } action { play sound/interface/button1 setcvar show_help_item 5 open helpPopupMenu } } itemDef { name none group helpcontrols type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY text @MENUS_VR_TUTORIAL_VIDEO_5 rect 260 300 340 14 textalign ITEM_ALIGN_CENTER textalignx 170 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 mouseenter { show button_glow setitemrect button_glow 260 300 340 20 } mouseexit { hide button_glow } action { play sound/interface/button1 setcvar show_help_item 6 open helpPopupMenu } } itemDef { name none group helpcontrols type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY text @MENUS_VR_TUTORIAL_VIDEO_6 rect 260 320 340 14 textalign ITEM_ALIGN_CENTER textalignx 170 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 mouseenter { show button_glow setitemrect button_glow 260 320 340 20 } mouseexit { hide button_glow } action { play sound/interface/button1 setcvar show_help_item 7 open helpPopupMenu } } itemDef { name none group helpcontrols type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY text @MENUS_VR_TUTORIAL_VIDEO_7 rect 260 340 340 14 textalign ITEM_ALIGN_CENTER textalignx 170 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 mouseenter { show button_glow setitemrect button_glow 260 340 340 20 } mouseexit { hide button_glow } action { play sound/interface/button1 setcvar show_help_item 8 open helpPopupMenu } } itemDef { name none group helpcontrols type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY text @MENUS_VR_TUTORIAL_VIDEO_8 rect 260 360 340 14 textalign ITEM_ALIGN_CENTER textalignx 170 textaligny 0 font 4 textscale 1 forecolor .615 .615 .956 0.0 visible 0 mouseenter { show button_glow setitemrect button_glow 260 360 340 20 } mouseexit { hide button_glow } action { play sound/interface/button1 setcvar show_help_item 9 open helpPopupMenu } } itemDef { name button_glow group none style WINDOW_STYLE_SHADER rect 0 0 0 0 background "gfx/menus/menu_buttonback" forecolor 1 1 1 1 visible 0 decoration } } }