jkxr/z_vr_assets/ui/datapadmission.menu

493 lines
9.8 KiB
Text
Raw Normal View History

2022-10-26 22:35:24 +00:00
// HUD menu
//
// defines from ui_shared.h
{
menuDef
{
name "datapadMissionMenu"
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
appearanceIncrement 75 // In miliseconds
descX 320
descY 350
descScale .8
descColor .96 .933 .40 1 // Focus color for text and items
descAlignment ITEM_ALIGN_CENTER
onESC
{
uiScript closedatapad // Close menu
}
//----------------------------------------------------------------------------------------------
//
// MENU BACKGROUND
//
//----------------------------------------------------------------------------------------------
itemDef
{
name frame_pic
group none
style WINDOW_STYLE_SHADER
rect 0 0 640 480
background "*white"
forecolor 0 0 0 1
visible 1
decoration
}
//----------------------------------------------------------------------------------------------
//
// MISSION TEXT
//
//----------------------------------------------------------------------------------------------
itemDef
{
name mission2
group none
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_OWNERDRAW
rect 50 40 95 40
textscale .4
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
ownerdraw 203 // UI_DATAPAD_MISSION
}
//----------------------------------------------------------------------------------------------
//
// LOWER MENU BUTTONS FOR STANDARD MENU
2022-10-26 22:35:24 +00:00
//
//----------------------------------------------------------------------------------------------
itemDef
{
name mission
group none
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 130 382 0 0
text @MENUS1_DP_MISSION
descText @MENUS1_AN_OVERVIEW_OF_MISSION
font 2
textscale 1
textalignx 48
textalign ITEM_ALIGN_CENTER
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
hideCvar { 1 }
2022-10-26 22:35:24 +00:00
action
{
play "sound/interface/button1.wav" ;
}
}
itemDef
{
name exit
group none
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 417 382 95 25
text @MENUS1_RESUME
descText @MENUS1_RETURN_TO_GAME
font 2
textscale 1
textalignx 48
textalign ITEM_ALIGN_CENTER
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
hideCvar { 1 }
2022-10-26 22:35:24 +00:00
action
{
play "sound/interface/button1.wav" ;
uiScript closedatapad // Close menu
}
}
itemDef
{
name weapons
group none
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 130 420 95 25
text @MENUS0_WEAPONS
descText @MENUS1_VIEW_CURRENTLY_OWNED
font 2
textscale 1
textalignx 48
textalign ITEM_ALIGN_CENTER
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
hideCvar { 1 }
2022-10-26 22:35:24 +00:00
action
{
play "sound/interface/button1.wav" ;
close all ;
open datapadWeaponsMenu
}
}
itemDef
{
name inventory
group none
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 274 420 95 25
text @MENUS1_INVENTORY
descText @MENUS1_VIEW_CURRENT_INVENTORY
font 2
textscale 1
textalignx 48
textalign ITEM_ALIGN_CENTER
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
hideCvar { 1 }
2022-10-26 22:35:24 +00:00
action
{
play "sound/interface/button1.wav" ;
close all ;
open datapadInventoryMenu
}
}
itemDef
{
name force
group none
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 417 420 95 25
text @MENUS1_DP_FORCE
descText @MENUS1_VIEW_CURRENT_FORCE_POWERS
font 2
textscale 1
textalignx 48
textalign ITEM_ALIGN_CENTER
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
hideCvar { 1 }
2022-10-26 22:35:24 +00:00
action
{
play "sound/interface/button1.wav" ;
close all ;
open datapadForcePowersMenu
}
}
itemDef
{
name cheats
group none
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 274 382 95 25
font 2
textscale 1
textalignx 48
textalign ITEM_ALIGN_CENTER
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
hideCvar { 1 }
2022-10-26 22:35:24 +00:00
action
{
close all
open datapadCheatsMenu
}
}
//----------------------------------------------------------------------------------------------
//
// LOWER MENU BUTTONS FOR EXTENDED MENU
//
//----------------------------------------------------------------------------------------------
itemDef
{
name mission
group none
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 130 379 0 0
text @MENUS1_DP_MISSION
descText @MENUS1_AN_OVERVIEW_OF_MISSION
font 2
textscale 0.8
textalignx 48
textaligny 5
textalign ITEM_ALIGN_CENTER
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
showCvar { 1 }
action
{
play "sound/interface/button1.wav" ;
}
}
itemDef
{
name exit
group none
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 274 416 95 25
text @MENUS1_RESUME
descText @MENUS1_RETURN_TO_GAME
font 2
textscale 0.8
textalignx 48
textaligny 5
textalign ITEM_ALIGN_CENTER
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
showCvar { 1 }
action
{
play "sound/interface/button1.wav" ;
uiScript closedatapad // Close menu
}
}
itemDef
{
name weapons
group none
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 130 416 95 25
text @MENUS0_WEAPONS
descText @MENUS1_VIEW_CURRENTLY_OWNED
font 2
textscale 0.8
textalignx 48
textaligny 5
textalign ITEM_ALIGN_CENTER
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
showCvar { 1 }
action
{
play "sound/interface/button1.wav" ;
close all ;
open datapadWeaponsMenu
}
}
itemDef
{
name inventory
group none
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 417 379 95 25
text @MENUS1_INVENTORY
descText @MENUS1_VIEW_CURRENT_INVENTORY
font 2
textscale 0.8
textalignx 48
textaligny 5
textalign ITEM_ALIGN_CENTER
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
showCvar { 1 }
action
{
play "sound/interface/button1.wav" ;
close all ;
open datapadInventoryMenu
}
}
itemDef
{
name force
group none
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
rect 417 416 95 25
text @MENUS1_DP_FORCE
descText @MENUS1_VIEW_CURRENT_FORCE_POWERS
font 2
textscale 0.8
textalignx 48
textaligny 5
textalign ITEM_ALIGN_CENTER
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
showCvar { 1 }
action
{
play "sound/interface/button1.wav" ;
close all ;
open datapadForcePowersMenu
}
}
itemDef
{
name camera_menu
group none
rect 20 388 95 25
text @MENUS4_CAMERA
descText @MENUS4_CAMERA_DESC
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
textalign ITEM_ALIGN_CENTER
textalignx 48
textaligny 0
textscale 0.7
textstyle 3
font 3
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
showCvar { 1 }
action
{
play "sound/interface/button1.wav"
close all
open cameraMenu
}
}
itemDef
{
name music_menu
group none
rect 20 425 95 25
text @MENUS4_MUSIC
descText @MENUS4_MUSIC_DESC
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
textalign ITEM_ALIGN_CENTER
textalignx 48
textaligny 0
textscale 0.7
textstyle 3
font 3
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
showCvar { 1 }
action
{
play "sound/interface/button1.wav"
close all
open musicMenu
}
}
itemDef
{
name spawner_menu
group none
rect 520 388 95 25
text @MENUS4_NPC_SPAWNER
descText @MENUS4_NPC_SPAWNER_DESC
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
textalign ITEM_ALIGN_CENTER
textalignx 48
textaligny 0
textscale 0.7
textstyle 3
font 3
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
showCvar { 1 }
action
{
play "sound/interface/button1.wav"
close all
open spawnerMenu
}
}
itemDef
{
name cheats_menu
group none
rect 520 425 95 25
text @MENUS4_CHEATS
descText @MENUS4_CHEATS_DESC
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
textalign ITEM_ALIGN_CENTER
textalignx 48
textaligny 0
textscale 0.7
textstyle 3
font 3
forecolor .509 .609 .847 1
appearance_slot 1
visible 1
cvarTest expanded_menu_enabled
showCvar { 1 }
action
{
play "sound/interface/button1.wav"
close all
open cheatsForcePowersMenu
}
}
2022-10-26 22:35:24 +00:00
}
}