JKO mod menu warning

This commit is contained in:
Petr Bartos 2023-03-29 22:42:11 +02:00
parent 02261c57f0
commit 442a1fc8e2
2 changed files with 109 additions and 3 deletions

View file

@ -3,7 +3,7 @@ CONFIG W:\bin\striped.cfg
ID 100
REFERENCE MENUS_VR
DESCRIPTION "VR Menu Localizations"
COUNT 155
COUNT 160
INDEX 0
{
REFERENCE COMMON_CONTROLS_ITEM
@ -779,3 +779,28 @@ INDEX 154
REFERENCE CONTROL_SCHEME_HELP
TEXT_LANGUAGE1 "Default control scheme"
}
INDEX 155
{
REFERENCE MODS_BUTTON_DESC
TEXT_LANGUAGE1 "Load custom mods."
}
INDEX 156
{
REFERENCE MODS_WARNING_TEXT_1
TEXT_LANGUAGE1 "We recommend"
}
INDEX 157
{
REFERENCE MODS_WARNING_TEXT_2
TEXT_LANGUAGE1 "the JKXR Companion App"
}
INDEX 158
{
REFERENCE MODS_WARNING_TEXT_3
TEXT_LANGUAGE1 "to download and launch mods."
}
INDEX 159
{
REFERENCE MODS_WARNING_CONFIRM
TEXT_LANGUAGE1 "Continue"
}

View file

@ -28,6 +28,7 @@
hide sound ;
hide options ;
hide difficulty ;
hide mods_warning ;
hide mods ;
hide defaults ;
show video ;
@ -731,6 +732,7 @@
hide sound ;
hide options ;
hide difficulty ;
hide mods_warning ;
hide mods ;
hide defaults ;
setfocus graphics ;
@ -798,6 +800,7 @@
hide sound ;
hide options ;
hide difficulty ;
hide mods_warning ;
hide mods ;
hide defaults ;
setitemcolor video1menubutton forecolor 0.65 0.65 1 1 ;
@ -864,6 +867,7 @@
show sound ;
hide options ;
hide difficulty ;
hide mods_warning ;
hide mods ;
hide defaults ;
setitemcolor video1menubutton forecolor 0.65 0.65 1 1;
@ -929,6 +933,7 @@
hide sound ;
show options ;
hide difficulty ;
hide mods_warning ;
hide mods ;
hide defaults ;
setitemcolor video1menubutton forecolor 0.65 0.65 1 1;
@ -994,6 +999,7 @@
hide sound ;
hide options ;
show difficulty ;
hide mods_warning ;
hide mods ;
hide defaults ;
setitemcolor video1menubutton forecolor 0.65 0.65 1 1;
@ -1036,7 +1042,7 @@
textstyle 3
forecolor 0.65 0.65 1 1
visible 1
descText @MENUS0_CONFIGURE_GAME_OPTIONS
descText @MENUS_VR_MODS_BUTTON_DESC
mouseEnter
{
@ -1061,7 +1067,8 @@
hide sound ;
hide options ;
hide difficulty ;
show mods ;
show mods_warning ;
hide mods ;
hide defaults ;
setitemcolor video1menubutton forecolor 0.65 0.65 1 1;
setitemcolor video2menubutton forecolor 0.65 0.65 1 1;
@ -2954,6 +2961,80 @@
// MOD GAME MENU specific stuff
//
//----------------------------------------------------------------------------------------------
itemDef
{
name none
group mods_warning
style WINDOW_STYLE_SHADER
rect 304 168 300 247
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 305 230 290 20
textalign ITEM_ALIGN_CENTER
textalignx 145
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 305 250 290 20
textalign ITEM_ALIGN_CENTER
textalignx 145
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 305 270 290 20
textalign ITEM_ALIGN_CENTER
textalignx 145
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 305 310 300 20
textalign ITEM_ALIGN_CENTER
textalignx 150
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