340 lines
6.3 KiB
Plaintext
340 lines
6.3 KiB
Plaintext
|
{
|
||
|
\\ INGAME ABOUT BOX
|
||
|
|
||
|
menuDef
|
||
|
{
|
||
|
name "ingame_about"
|
||
|
visible 0
|
||
|
fullscreen 0
|
||
|
rect 12 50 300 235
|
||
|
|
||
|
////////////////////////////////////////////////////////////////////////
|
||
|
// Dialog frame
|
||
|
////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
style WINDOW_STYLE_SHADER
|
||
|
rect -6 -6 306 241
|
||
|
background "gfx/menus/ingame/background.png"
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
style WINDOW_STYLE_SHADER
|
||
|
rect -12 -10 8 8
|
||
|
background "gfx/menus/ingame/frame_topleft.png"
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
style WINDOW_STYLE_SHADER
|
||
|
rect -7 -10 307 8
|
||
|
background "gfx/menus/ingame/frame_top.png"
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
style WINDOW_STYLE_SHADER
|
||
|
rect 300 -10 8 8
|
||
|
background "gfx/menus/ingame/frame_topright.png"
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
style WINDOW_STYLE_SHADER
|
||
|
rect -12 235 8 8
|
||
|
background "gfx/menus/ingame/frame_bottomleft.png"
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
style WINDOW_STYLE_SHADER
|
||
|
rect -7 235 307 8
|
||
|
background "gfx/menus/ingame/frame_bottom.png"
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
style WINDOW_STYLE_SHADER
|
||
|
rect 300 235 8 8
|
||
|
background "gfx/menus/ingame/frame_bottomright.png"
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
style WINDOW_STYLE_SHADER
|
||
|
rect 300 -5 8 241
|
||
|
background "gfx/menus/ingame/frame_right.png"
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
style WINDOW_STYLE_SHADER
|
||
|
rect -12 -5 8 241
|
||
|
background "gfx/menus/ingame/frame_left.png"
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
////////////////////////////////////////////////////////////////////////
|
||
|
// About Text
|
||
|
////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
rect 0 10 300 20
|
||
|
name gametypefield
|
||
|
type ITEM_TYPE_EDITFIELD
|
||
|
style 0
|
||
|
cvar cl_currentServerAddress
|
||
|
maxPaintChars 18
|
||
|
text "Host:"
|
||
|
textalign ITEM_ALIGN_RIGHT
|
||
|
textalignx 128
|
||
|
textfont "hud"
|
||
|
textscale .40
|
||
|
forecolor .12 .14 .08 1
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
rect 0 25 300 20
|
||
|
name gametypefield
|
||
|
type ITEM_TYPE_EDITFIELD
|
||
|
style 0
|
||
|
cvar ui_about_mapname
|
||
|
maxPaintChars 18
|
||
|
text "Map Name:"
|
||
|
textalign ITEM_ALIGN_RIGHT
|
||
|
textalignx 128
|
||
|
textfont "hud"
|
||
|
textscale .40
|
||
|
forecolor .12 .14 .08 1
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
type ITEM_TYPE_EDITFIELD
|
||
|
rect 0 40 300 20
|
||
|
textalign ITEM_ALIGN_RIGHT
|
||
|
cvar "ui_about_gametypename"
|
||
|
text "GameType:"
|
||
|
textalignx 128
|
||
|
textfont "hud"
|
||
|
textscale .40
|
||
|
forecolor .12 .14 .08 1
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
type ITEM_TYPE_EDITFIELD
|
||
|
rect 0 55 300 20
|
||
|
maxPaintChars 12
|
||
|
cvar "ui_about_scorelimit"
|
||
|
text "Score Limit:"
|
||
|
textalign ITEM_ALIGN_RIGHT
|
||
|
textalignx 128
|
||
|
textfont "hud"
|
||
|
textscale .40
|
||
|
forecolor .12 .14 .08 1
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
type ITEM_TYPE_EDITFIELD
|
||
|
rect 0 70 300 20
|
||
|
maxPaintChars 12
|
||
|
cvar "ui_about_timelimit"
|
||
|
text "Time Limit:"
|
||
|
textalign ITEM_ALIGN_RIGHT
|
||
|
textalignx 128
|
||
|
textfont "hud"
|
||
|
textscale .40
|
||
|
forecolor .12 .14 .08 1
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
type ITEM_TYPE_EDITFIELD
|
||
|
rect 0 95 300 20
|
||
|
cvar "protocol"
|
||
|
maxPaintChars 12
|
||
|
text "Protocol:"
|
||
|
textalign ITEM_ALIGN_RIGHT
|
||
|
textalignx 128
|
||
|
textfont "hud"
|
||
|
textscale .40
|
||
|
forecolor .12 .14 .08 1
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
type ITEM_TYPE_EDITFIELD
|
||
|
rect 0 110 300 20
|
||
|
cvar "ui_about_maxclients"
|
||
|
maxPaintChars 12
|
||
|
text "Max Clients:"
|
||
|
textalign ITEM_ALIGN_RIGHT
|
||
|
textalignx 128
|
||
|
textfont "hud"
|
||
|
textscale .40
|
||
|
forecolor .12 .14 .08 1
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
type ITEM_TYPE_EDITFIELD
|
||
|
rect 0 125 300 20
|
||
|
cvar "ui_about_hostname"
|
||
|
maxPaintChars 12
|
||
|
text "Host Name:"
|
||
|
textalign ITEM_ALIGN_RIGHT
|
||
|
textalignx 128
|
||
|
textfont "hud"
|
||
|
textscale .40
|
||
|
forecolor .12 .14 .08 1
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
rect 0 150 300 20
|
||
|
type ITEM_TYPE_YESNO
|
||
|
cvar "ui_about_needpass"
|
||
|
text "Password:"
|
||
|
textalign ITEM_ALIGN_RIGHT
|
||
|
textalignx 128
|
||
|
textfont "hud"
|
||
|
textscale .40
|
||
|
forecolor .12 .14 .08 1
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
rect 0 165 300 20
|
||
|
type ITEM_TYPE_YESNO
|
||
|
cvar "ui_about_dmflags"
|
||
|
text "DM Flags:"
|
||
|
textalign ITEM_ALIGN_RIGHT
|
||
|
textalignx 128
|
||
|
textfont "hud"
|
||
|
textscale .40
|
||
|
forecolor .12 .14 .08 1
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
rect 0 180 300 20
|
||
|
type ITEM_TYPE_EDITFIELD
|
||
|
cvar "ui_about_seed"
|
||
|
text "RMG Seed:"
|
||
|
textalign ITEM_ALIGN_RIGHT
|
||
|
textalignx 128
|
||
|
textfont "hud"
|
||
|
textscale .40
|
||
|
forecolor .12 .14 .08 1
|
||
|
visible 1
|
||
|
decoration
|
||
|
|
||
|
cvarTest "RMG"
|
||
|
|
||
|
hideCvar
|
||
|
{
|
||
|
"0"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
/*
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
type ITEM_TYPE_YESNO
|
||
|
rect 0 180 300 20
|
||
|
cvar "bot_minplayers"
|
||
|
text "Bot/Min:"
|
||
|
textalign ITEM_ALIGN_RIGHT
|
||
|
textalignx 128
|
||
|
textfont "hud"
|
||
|
textscale .40
|
||
|
forecolor .12 .14 .08 1
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
*/
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name window
|
||
|
type ITEM_TYPE_EDITFIELD
|
||
|
rect 0 205 300 20
|
||
|
cvar "version"
|
||
|
maxPaintChars 32
|
||
|
text "Version:"
|
||
|
textalign ITEM_ALIGN_LEFT
|
||
|
textalignx 5
|
||
|
textfont "hud"
|
||
|
textscale .40
|
||
|
forecolor .12 .14 .08 1
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
}
|
||
|
}
|