Add help to menu

This commit is contained in:
Petr Bartos 2023-03-28 18:02:08 +02:00 committed by Simon
parent 4f1b6b5f07
commit 40128567be
29 changed files with 1887 additions and 9 deletions

View file

@ -714,6 +714,7 @@ void G_InitCvars( void ) {
gi.cvar( "g_clearstats", "1", CVAR_ROM|CVAR_NORESTART);
gi.cvar( "g_JKXRHelpEnabled", "1", CVAR_ARCHIVE ); // Help menu item
}
/*
============

View file

@ -601,6 +601,8 @@ void G_InitCvars( void ) {
gi.cvar( "newTotalSecrets", "0", CVAR_ROM );
gi.cvar_set("newTotalSecrets", "0");//used to carry over the count from SP_target_secret to ClientBegin
g_iscensored = gi.cvar( "ui_iscensored", "0", CVAR_ARCHIVE|CVAR_ROM|CVAR_INIT|CVAR_CHEAT|CVAR_NORESTART );
gi.cvar( "g_JKXRHelpEnabled", "1", CVAR_ARCHIVE ); // Help menu item
}
/*

View file

@ -114,6 +114,7 @@ seta com_maxfps "125"
seta d_slowmodeath "4"
seta expanded_menu_enabled "0"
seta g_TeamBeefDirectorsCut "1"
seta g_JKXRHelpEnabled "1"
seta g_dismemberment "3"
seta g_dismemberprobabilities "100"
seta g_saberAnimSpeed "1.300000"

View file

@ -114,6 +114,7 @@ seta com_maxfps "125"
seta d_slowmodeath "4"
seta expanded_menu_enabled "0"
seta g_TeamBeefDirectorsCut "1"
seta g_JKXRHelpEnabled "1"
seta g_dismemberment "3"
seta g_dismemberprobabilities "100"
seta g_saberAnimSpeed "1.300000"

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,71 @@
gfx/menus/tutorial_video_1
{
nopicmip
{
videoMap menu/video/tutorial_video_1
rgbGen vertex
}
}
gfx/menus/tutorial_video_2
{
nopicmip
{
videoMap menu/video/tutorial_video_2
rgbGen vertex
}
}
gfx/menus/tutorial_video_3
{
nopicmip
{
videoMap menu/video/tutorial_video_3
rgbGen vertex
}
}
gfx/menus/tutorial_video_4
{
nopicmip
{
videoMap menu/video/tutorial_video_4
rgbGen vertex
}
}
gfx/menus/tutorial_video_5
{
nopicmip
{
videoMap menu/video/tutorial_video_5
rgbGen vertex
}
}
gfx/menus/tutorial_video_6
{
nopicmip
{
videoMap menu/video/tutorial_video_6
rgbGen vertex
}
}
gfx/menus/tutorial_video_7
{
nopicmip
{
videoMap menu/video/tutorial_video_7
rgbGen vertex
}
}
gfx/menus/tutorial_video_8
{
nopicmip
{
videoMap menu/video/tutorial_video_8
rgbGen vertex
}
}

View file

@ -0,0 +1,153 @@
{
menuDef
{
name helpPopupMenu
visible 0
fullScreen 1
rect 0 0 640 480
focusColor 1 1 1 1
style WINDOW_STYLE_FILLED
outOfBoundsClick
popup
onESC
{
play sound/interface/button1.wav
close helpPopupMenu
}
itemDef
{
group none
name none
rect 0 0 640 480
style WINDOW_STYLE_SHADER
type ITEM_TYPE_BUTTON
background gfx/menus/background_dim
forecolor 1 1 1 1
visible 1
action
{
play sound/interface/button1
close helpPopupMenu
}
}
itemDef
{
group none
name none
rect 20 15 600 450
style WINDOW_STYLE_SHADER
background gfx/menus/control_scheme
forecolor 1 1 1 1
visible 1
cvarTest show_help_item
showCvar { 1 }
}
itemDef
{
group none
name none
rect 160 120 320 240
style WINDOW_STYLE_SHADER
background gfx/menus/tutorial_video_1
forecolor 1 1 1 1
visible 1
cvarTest show_help_item
showCvar { 2 }
}
itemDef
{
group none
name none
rect 160 120 320 240
style WINDOW_STYLE_SHADER
background gfx/menus/tutorial_video_2
forecolor 1 1 1 1
visible 1
cvarTest show_help_item
showCvar { 3 }
}
itemDef
{
group none
name none
rect 160 120 320 240
style WINDOW_STYLE_SHADER
background gfx/menus/tutorial_video_3
forecolor 1 1 1 1
visible 1
cvarTest show_help_item
showCvar { 4 }
}
itemDef
{
group none
name none
rect 160 120 320 240
style WINDOW_STYLE_SHADER
background gfx/menus/tutorial_video_4
forecolor 1 1 1 1
visible 1
cvarTest show_help_item
showCvar { 5 }
}
itemDef
{
group none
name none
rect 160 120 320 240
style WINDOW_STYLE_SHADER
background gfx/menus/tutorial_video_5
forecolor 1 1 1 1
visible 1
cvarTest show_help_item
showCvar { 6 }
}
itemDef
{
group none
name none
rect 160 120 320 240
style WINDOW_STYLE_SHADER
background gfx/menus/tutorial_video_6
forecolor 1 1 1 1
visible 1
cvarTest show_help_item
showCvar { 7 }
}
itemDef
{
group none
name none
rect 160 120 320 240
style WINDOW_STYLE_SHADER
background gfx/menus/tutorial_video_7
forecolor 1 1 1 1
visible 1
cvarTest show_help_item
showCvar { 8 }
}
itemDef
{
group none
name none
rect 160 120 320 240
style WINDOW_STYLE_SHADER
background gfx/menus/tutorial_video_8
forecolor 1 1 1 1
visible 1
cvarTest show_help_item
showCvar { 9 }
}
}
}

View file

@ -463,4 +463,37 @@ LANG_ENGLISH "Delayed"
REFERENCE USE_RAGDOLLS_INSTANT
LANG_ENGLISH "Instant"
REFERENCE HELP_BUTTON_ITEM
LANG_ENGLISH "JKXR Help"
REFERENCE HELP_BUTTON_DESC
LANG_ENGLISH "Short tutorials explaining various game mechanics."
REFERENCE TUTORIAL_VIDEO_1
LANG_ENGLISH "How to quick save / load"
REFERENCE TUTORIAL_VIDEO_2
LANG_ENGLISH "How to use weapon scopes"
REFERENCE TUTORIAL_VIDEO_3
LANG_ENGLISH "How to use inventory items"
REFERENCE TUTORIAL_VIDEO_4
LANG_ENGLISH "How to throw the saber"
REFERENCE TUTORIAL_VIDEO_5
LANG_ENGLISH "How to activate useable things"
REFERENCE TUTORIAL_VIDEO_6
LANG_ENGLISH "How to use force gesture"
REFERENCE TUTORIAL_VIDEO_7
LANG_ENGLISH "How to use the weapons / force wheel"
REFERENCE TUTORIAL_VIDEO_8
LANG_ENGLISH "Introduction to lightsaber duels"
REFERENCE CONTROL_SCHEME_HELP
LANG_ENGLISH "Default control scheme"
ENDMARKER

View file

@ -613,4 +613,48 @@ REFERENCE USE_RAGDOLLS_INSTANT
LANG_ENGLISH "Instant"
LANG_FRENCH "#same"
REFERENCE HELP_BUTTON_ITEM
LANG_ENGLISH "JKXR Help"
LANG_FRENCH "#same"
REFERENCE HELP_BUTTON_DESC
LANG_ENGLISH "Short tutorials explaining various game mechanics."
LANG_FRENCH "#same"
REFERENCE TUTORIAL_VIDEO_1
LANG_ENGLISH "How to quick save / load"
LANG_FRENCH "#same"
REFERENCE TUTORIAL_VIDEO_2
LANG_ENGLISH "How to use weapon scopes"
LANG_FRENCH "#same"
REFERENCE TUTORIAL_VIDEO_3
LANG_ENGLISH "How to use inventory items"
LANG_FRENCH "#same"
REFERENCE TUTORIAL_VIDEO_4
LANG_ENGLISH "How to throw the saber"
LANG_FRENCH "#same"
REFERENCE TUTORIAL_VIDEO_5
LANG_ENGLISH "How to activate useable things"
LANG_FRENCH "#same"
REFERENCE TUTORIAL_VIDEO_6
LANG_ENGLISH "How to use force gesture"
LANG_FRENCH "#same"
REFERENCE TUTORIAL_VIDEO_7
LANG_ENGLISH "How to use the weapons / force wheel"
LANG_FRENCH "#same"
REFERENCE TUTORIAL_VIDEO_8
LANG_ENGLISH "Introduction to lightsaber duels"
LANG_FRENCH "#same"
REFERENCE CONTROL_SCHEME_HELP
LANG_ENGLISH "Default control scheme"
LANG_FRENCH "#same"
ENDMARKER

View file

@ -613,4 +613,48 @@ REFERENCE USE_RAGDOLLS_INSTANT
LANG_ENGLISH "Instant"
LANG_GERMAN "#same"
REFERENCE HELP_BUTTON_ITEM
LANG_ENGLISH "JKXR Help"
LANG_GERMAN "#same"
REFERENCE HELP_BUTTON_DESC
LANG_ENGLISH "Short tutorials explaining various game mechanics."
LANG_GERMAN "#same"
REFERENCE TUTORIAL_VIDEO_1
LANG_ENGLISH "How to quick save / load"
LANG_GERMAN "#same"
REFERENCE TUTORIAL_VIDEO_2
LANG_ENGLISH "How to use weapon scopes"
LANG_GERMAN "#same"
REFERENCE TUTORIAL_VIDEO_3
LANG_ENGLISH "How to use inventory items"
LANG_GERMAN "#same"
REFERENCE TUTORIAL_VIDEO_4
LANG_ENGLISH "How to throw the saber"
LANG_GERMAN "#same"
REFERENCE TUTORIAL_VIDEO_5
LANG_ENGLISH "How to activate useable things"
LANG_GERMAN "#same"
REFERENCE TUTORIAL_VIDEO_6
LANG_ENGLISH "How to use force gesture"
LANG_GERMAN "#same"
REFERENCE TUTORIAL_VIDEO_7
LANG_ENGLISH "How to use the weapons / force wheel"
LANG_GERMAN "#same"
REFERENCE TUTORIAL_VIDEO_8
LANG_ENGLISH "Introduction to lightsaber duels"
LANG_GERMAN "#same"
REFERENCE CONTROL_SCHEME_HELP
LANG_ENGLISH "Default control scheme"
LANG_GERMAN "#same"
ENDMARKER

View file

@ -613,4 +613,48 @@ REFERENCE USE_RAGDOLLS_INSTANT
LANG_ENGLISH "Instant"
LANG_SPANISH "#same"
REFERENCE HELP_BUTTON_ITEM
LANG_ENGLISH "JKXR Help"
LANG_SPANISH "#same"
REFERENCE HELP_BUTTON_DESC
LANG_ENGLISH "Short tutorials explaining various game mechanics."
LANG_SPANISH "#same"
REFERENCE TUTORIAL_VIDEO_1
LANG_ENGLISH "How to quick save / load"
LANG_SPANISH "#same"
REFERENCE TUTORIAL_VIDEO_2
LANG_ENGLISH "How to use weapon scopes"
LANG_SPANISH "#same"
REFERENCE TUTORIAL_VIDEO_3
LANG_ENGLISH "How to use inventory items"
LANG_SPANISH "#same"
REFERENCE TUTORIAL_VIDEO_4
LANG_ENGLISH "How to throw the saber"
LANG_SPANISH "#same"
REFERENCE TUTORIAL_VIDEO_5
LANG_ENGLISH "How to activate useable things"
LANG_SPANISH "#same"
REFERENCE TUTORIAL_VIDEO_6
LANG_ENGLISH "How to use force gesture"
LANG_SPANISH "#same"
REFERENCE TUTORIAL_VIDEO_7
LANG_ENGLISH "How to use the weapons / force wheel"
LANG_SPANISH "#same"
REFERENCE TUTORIAL_VIDEO_8
LANG_ENGLISH "Introduction to lightsaber duels"
LANG_SPANISH "#same"
REFERENCE CONTROL_SCHEME_HELP
LANG_ENGLISH "Default control scheme"
LANG_SPANISH "#same"
ENDMARKER

View file

@ -38,6 +38,9 @@
hide comfortcontrols
setitemcolor comfortcontrols forecolor .615 .615 .956 0.0
hide helpcontrols
setitemcolor helpcontrols forecolor .615 .615 .956 0.0
show setup_background
@ -458,6 +461,9 @@
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
}
@ -509,6 +515,9 @@
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
@ -560,6 +569,9 @@
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
@ -612,12 +624,72 @@
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
@ -1533,6 +1605,299 @@
}
}
//----------------------------------------------------------------------------------------------
//
// 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

View file

@ -31,4 +31,5 @@
loadMenu { "ui/loadscreen.menu" }
loadMenu { "ui/credits.menu" }
loadMenu { "ui/help_popup.menu" }
}

View file

@ -32,6 +32,7 @@
hide weaponcontrols
hide forcecontrols
hide comfortcontrols
hide helpcontrols
show setup_background
@ -543,17 +544,18 @@
{
play sound/interface/sub_select
show setup_background
show commoncontrols
fadein commoncontrols
hide weaponcontrols
hide forcecontrols
hide comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 1 1 1 1
setitemcolor weaponscontrolbutton forecolor 1 .682 0 1
setitemcolor forcecontrolbutton forecolor 1 .682 0 1
setitemcolor comfortcontrolbutton forecolor 1 .682 0 1
setitemcolor helpcontrols forecolor 1 .682 0 1
}
}
@ -593,15 +595,17 @@
play sound/interface/sub_select
show setup_background
hide commoncontrols
show weaponcontrols
show weaponcontrols
fadein weaponcontrols
hide forcecontrols
hide comfortcontrols
hide comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 1 .682 0 1
setitemcolor weaponscontrolbutton forecolor 1 1 1 1
setitemcolor forcecontrolbutton forecolor 1 .682 0 1
setitemcolor comfortcontrolbutton forecolor 1 .682 0 1
setitemcolor helpcontrols forecolor 1 .682 0 1
}
}
@ -642,11 +646,15 @@
hide commoncontrols
hide weaponcontrols
show forcecontrols
fadein forcecontrols
hide comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 1 .682 0 1
setitemcolor weaponscontrolbutton forecolor 1 .682 0 1
setitemcolor forcecontrolbutton forecolor 1 1 1 1
setitemcolor comfortcontrolbutton forecolor 1 .682 0 1
setitemcolor helpbutton forecolor 1 .682 0 1
}
}
@ -688,10 +696,65 @@
hide weaponcontrols
hide forcecontrols
show comfortcontrols
fadein comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 1 .682 0 1
setitemcolor weaponscontrolbutton forecolor 1 .682 0 1
setitemcolor forcecontrolbutton forecolor 1 .682 0 1
setitemcolor comfortcontrolbutton forecolor 1 1 1 1
setitemcolor helpbutton forecolor 1 .682 0 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 80 281 170 24
}
mouseExit
{
hide sidebutton_glow
}
action
{
play sound/interface/sub_select
show setup_background
hide commoncontrols
hide weaponcontrols
hide forcecontrols
hide comfortcontrols
show helpcontrols
fadein helpcontrols
setitemcolor commoncontrolbutton forecolor 1 .682 0 1
setitemcolor weaponscontrolbutton forecolor 1 .682 0 1
setitemcolor forcecontrolbutton forecolor 1 .682 0 1
setitemcolor comfortcontrolbutton forecolor 1 .682 0 1
setitemcolor helpbutton forecolor 1 1 1 1
}
}
@ -1708,5 +1771,289 @@
}
}
//----------------------------------------------------------------------------------------------
//
// 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 1.0
visible 0
mouseenter
{
show highlight1
}
mouseexit
{
hide highlight1
}
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 1.0
visible 0
mouseenter
{
show highlight2
}
mouseexit
{
hide highlight2
}
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 1.0
visible 0
mouseenter
{
show highlight3
}
mouseexit
{
hide highlight3
}
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 1.0
visible 0
mouseenter
{
show highlight4
}
mouseexit
{
hide highlight4
}
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 1.0
visible 0
mouseenter
{
show highlight5
}
mouseexit
{
hide highlight5
}
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 1.0
visible 0
mouseenter
{
show highlight6
}
mouseexit
{
hide highlight6
}
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 1.0
visible 0
mouseenter
{
show highlight7
}
mouseexit
{
hide highlight7
}
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 1.0
visible 0
mouseenter
{
show highlight8
}
mouseexit
{
hide highlight8
}
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 1.0
visible 0
mouseenter
{
show highlight9
}
mouseexit
{
hide highlight9
}
action
{
play sound/interface/button1
setcvar show_help_item 9
open helpPopupMenu
}
}
}
}

View file

@ -81,7 +81,7 @@
group none
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_OWNERDRAW
rect 140 70 360 340
rect 140 50 360 340
forecolor 1 1 1 1
visible 1
decoration

View file

@ -16,4 +16,5 @@
loadMenu { "ui/videodriver.menu" }
loadMenu { "ui/credits.menu" }
loadMenu { "ui/help_popup.menu" }
}

View file

@ -3,7 +3,7 @@ CONFIG W:\bin\striped.cfg
ID 100
REFERENCE MENUS_VR
DESCRIPTION "VR Menu Localizations"
COUNT 144
COUNT 155
INDEX 0
{
REFERENCE COMMON_CONTROLS_ITEM
@ -724,3 +724,58 @@ INDEX 143
REFERENCE USABLE_OBJECT_HINT_DESC
TEXT_LANGUAGE1 "Show icon when looking at objects that can be used."
}
INDEX 144
{
REFERENCE HELP_BUTTON_ITEM
TEXT_LANGUAGE1 "JKXR Help"
}
INDEX 145
{
REFERENCE HELP_BUTTON_DESC
TEXT_LANGUAGE1 "Short tutorials explaining various game mechanics."
}
INDEX 146
{
REFERENCE TUTORIAL_VIDEO_1
TEXT_LANGUAGE1 "How to quick save / load"
}
INDEX 147
{
REFERENCE TUTORIAL_VIDEO_2
TEXT_LANGUAGE1 "How to use weapon scopes"
}
INDEX 148
{
REFERENCE TUTORIAL_VIDEO_3
TEXT_LANGUAGE1 "How to use inventory items"
}
INDEX 149
{
REFERENCE TUTORIAL_VIDEO_4
TEXT_LANGUAGE1 "How to throw the saber"
}
INDEX 150
{
REFERENCE TUTORIAL_VIDEO_5
TEXT_LANGUAGE1 "How to activate useable things"
}
INDEX 151
{
REFERENCE TUTORIAL_VIDEO_6
TEXT_LANGUAGE1 "How to use force gesture"
}
INDEX 152
{
REFERENCE TUTORIAL_VIDEO_7
TEXT_LANGUAGE1 "How to use the weapons / force wheel"
}
INDEX 153
{
REFERENCE TUTORIAL_VIDEO_8
TEXT_LANGUAGE1 "Introduction to lightsaber duels"
}
INDEX 154
{
REFERENCE CONTROL_SCHEME_HELP
TEXT_LANGUAGE1 "Default control scheme"
}

View file

@ -25,11 +25,13 @@
hide forcecontrols
hide invcontrols
hide comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 1 1 1 1
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
setitemcolor helpcontrolbutton forecolor 0.64 0.65 1 1
}
onClose
@ -696,11 +698,13 @@
hide forcecontrols
hide invcontrols
hide comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 1 1 1 1
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
setitemcolor helpcontrolbutton forecolor 0.64 0.65 1 1
}
}
@ -752,11 +756,13 @@
hide forcecontrols
hide invcontrols
hide comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 0.64 0.65 1 1
setitemcolor weaponscontrolbutton forecolor 1 1 1 1
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
setitemcolor helpcontrolbutton forecolor 0.64 0.65 1 1
}
}
@ -808,11 +814,13 @@
show forcecontrols
hide invcontrols
hide comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 0.64 0.65 1 1
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
setitemcolor forcecontrolbutton forecolor 1 1 1 1
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
setitemcolor helpcontrolbutton forecolor 0.64 0.65 1 1
}
}
@ -864,11 +872,13 @@
hide forcecontrols
show invcontrols
hide comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 0.64 0.65 1 1
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
setitemcolor inventorycontrolbutton forecolor 1 1 1 1
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
setitemcolor helpcontrolbutton forecolor 0.64 0.65 1 1
}
}
@ -920,11 +930,72 @@
hide forcecontrols
hide invcontrols
show comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 0.64 0.65 1 1
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
setitemcolor comfortcontrolbutton forecolor 1 1 1 1
setitemcolor helpcontrolbutton forecolor 0.64 0.65 1 1
}
}
// help button
itemDef
{
name helpbutton_glow
group mods
style WINDOW_STYLE_SHADER
rect 120 323 170 30
background "gfx/menus/menu_blendbox2" // Frame around button
forecolor 1 1 1 1
visible 0
decoration
}
itemDef
{
name helpbutton
group none
text @MENUS_VR_HELP_BUTTON_ITEM
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
rect 120 323 170 30
font 3
textscale 0.9
textalignx 170
textaligny 5
textalign ITEM_ALIGN_RIGHT
textstyle 3
forecolor 0.65 0.65 1 1
visible 1
descText @MENUS_VR_HELP_BUTTON_DESC
cvarTest g_JKXRHelpEnabled
showCvar { 1 }
mouseEnter
{
show helpbutton_glow
}
mouseExit
{
hide helpbutton_glow
}
action
{
play sound/interface/button1
show setup_background
hide commoncontrols
hide weaponcontrols
hide forcecontrols
hide invcontrols
hide comfortcontrols
show helpcontrols
setitemcolor commoncontrolbutton forecolor 0.64 0.65 1 1
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
setitemcolor helpcontrolbutton forecolor 1 1 1 1
}
}
@ -933,7 +1004,7 @@
name setup_background
group none
style WINDOW_STYLE_SHADER
rect 300 171 300 250
rect 300 166 306 250
background "gfx/menus/menu_box1" // Frame
forecolor 1 1 1 1
visible 0
@ -2092,5 +2163,291 @@
}
}
//----------------------------------------------------------------------------------------------
//
// HELP MENU
//
//----------------------------------------------------------------------------------------------
itemDef
{
name none
group helpcontrols
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
text @MENUS_VR_CONTROL_SCHEME_HELP
rect 305 191 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight2
}
mouseexit
{
hide highlight2
}
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 305 211 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight3
}
mouseexit
{
hide highlight3
}
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 305 231 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight4
}
mouseexit
{
hide highlight4
}
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 305 251 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight5
}
mouseexit
{
hide highlight5
}
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 305 271 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight6
}
mouseexit
{
hide highlight6
}
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 305 291 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight7
}
mouseexit
{
hide highlight7
}
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 305 311 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight8
}
mouseexit
{
hide highlight8
}
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 305 331 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight9
}
mouseexit
{
hide highlight9
}
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 305 351 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight10
}
mouseexit
{
hide highlight10
}
action
{
play sound/interface/button1
setcvar show_help_item 9
open helpPopupMenu
}
}
}
}

View file

@ -25,11 +25,13 @@
hide forcecontrols
hide invcontrols
hide comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 1 1 1 1
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
setitemcolor helpcontrolbutton forecolor 0.64 0.65 1 1
}
onClose
@ -695,11 +697,13 @@
hide forcecontrols
hide invcontrols
hide comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 1 1 1 1
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
setitemcolor helpcontrolbutton forecolor 0.64 0.65 1 1
}
}
@ -751,11 +755,13 @@
hide forcecontrols
hide invcontrols
hide comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 0.64 0.65 1 1
setitemcolor weaponscontrolbutton forecolor 1 1 1 1
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
setitemcolor helpcontrolbutton forecolor 0.64 0.65 1 1
}
}
@ -807,11 +813,13 @@
show forcecontrols
hide invcontrols
hide comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 0.64 0.65 1 1
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
setitemcolor forcecontrolbutton forecolor 1 1 1 1
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
setitemcolor helpcontrolbutton forecolor 0.64 0.65 1 1
}
}
@ -863,11 +871,13 @@
hide forcecontrols
show invcontrols
hide comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 0.64 0.65 1 1
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
setitemcolor inventorycontrolbutton forecolor 1 1 1 1
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
setitemcolor helpcontrolbutton forecolor 0.64 0.65 1 1
}
}
@ -919,11 +929,72 @@
hide forcecontrols
hide invcontrols
show comfortcontrols
hide helpcontrols
setitemcolor commoncontrolbutton forecolor 0.64 0.65 1 1
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
setitemcolor comfortcontrolbutton forecolor 1 1 1 1
setitemcolor helpcontrolbutton forecolor 0.64 0.65 1 1
}
}
// help button
itemDef
{
name helpbutton_glow
group mods
style WINDOW_STYLE_SHADER
rect 120 323 170 30
background "gfx/menus/menu_blendbox2" // Frame around button
forecolor 1 1 1 1
visible 0
decoration
}
itemDef
{
name helpbutton
group none
text @MENUS_VR_HELP_BUTTON_ITEM
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
rect 120 323 170 30
font 3
textscale 0.9
textalignx 170
textaligny 5
textalign ITEM_ALIGN_RIGHT
textstyle 3
forecolor 0.65 0.65 1 1
visible 1
descText @MENUS_VR_HELP_BUTTON_DESC
cvarTest g_JKXRHelpEnabled
showCvar { 1 }
mouseEnter
{
show helpbutton_glow
}
mouseExit
{
hide helpbutton_glow
}
action
{
play sound/interface/button1
show setup_background
hide commoncontrols
hide weaponcontrols
hide forcecontrols
hide invcontrols
hide comfortcontrols
show helpcontrols
setitemcolor commoncontrolbutton forecolor 0.64 0.65 1 1
setitemcolor weaponscontrolbutton forecolor 0.64 0.65 1 1
setitemcolor forcecontrolbutton forecolor 0.64 0.65 1 1
setitemcolor inventorycontrolbutton forecolor 0.64 0.65 1 1
setitemcolor comfortcontrolbutton forecolor 0.64 0.65 1 1
setitemcolor helpcontrolbutton forecolor 1 1 1 1
}
}
@ -2091,5 +2162,291 @@
}
}
//----------------------------------------------------------------------------------------------
//
// HELP MENU
//
//----------------------------------------------------------------------------------------------
itemDef
{
name none
group helpcontrols
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
text @MENUS_VR_CONTROL_SCHEME_HELP
rect 305 191 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight2
}
mouseexit
{
hide highlight2
}
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 305 211 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight3
}
mouseexit
{
hide highlight3
}
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 305 231 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight4
}
mouseexit
{
hide highlight4
}
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 305 251 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight5
}
mouseexit
{
hide highlight5
}
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 305 271 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight6
}
mouseexit
{
hide highlight6
}
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 305 291 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight7
}
mouseexit
{
hide highlight7
}
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 305 311 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight8
}
mouseexit
{
hide highlight8
}
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 305 331 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight9
}
mouseexit
{
hide highlight9
}
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 305 351 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
visible 0
mouseenter
{
show highlight10
}
mouseexit
{
hide highlight10
}
action
{
play sound/interface/button1
setcvar show_help_item 9
open helpPopupMenu
}
}
}
}

View file

@ -36,4 +36,5 @@
loadMenu { "ui/cheatsforcepowers.menu" }
loadMenu { "ui/cheatsinventory.menu" }
loadMenu { "ui/help_popup.menu" }
}