462 lines
8.4 KiB
Plaintext
462 lines
8.4 KiB
Plaintext
|
/*********************************************************
|
||
|
***************** Dumped by aerosoul94 *******************
|
||
|
*********************************************************/
|
||
|
|
||
|
{
|
||
|
menuDef
|
||
|
{
|
||
|
name "menu_systemlink_join"
|
||
|
rect 0 0 640 480 0 0
|
||
|
style 1
|
||
|
forecolor 1 1 1 1
|
||
|
focuscolor 1 1 1 1
|
||
|
fullscreen 1
|
||
|
fadeCycle 1
|
||
|
fadeClamp 1
|
||
|
fadeAmount 0.1
|
||
|
soundLoop "music_mainmenu_mp"
|
||
|
onOpen
|
||
|
{
|
||
|
exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow";
|
||
|
uiScript "UpdateFilter";
|
||
|
setfocus "serverlist";
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close self;
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 640 480 4 4
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 1 1 1 1
|
||
|
background "mw2_main_background"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 1708 480 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 1 1 1 0.5
|
||
|
background "mw2_main_cloud_overlay"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 -1708 -480 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 1 1 1 0.5
|
||
|
background "mw2_main_cloud_overlay"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 640 480 4 4
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 1 1 1 0
|
||
|
background "mockup_bg_glow"
|
||
|
textscale 0.55
|
||
|
exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 640 480 4 4
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 1 1 1 0
|
||
|
background "mockup_bg_glow"
|
||
|
textscale 0.55
|
||
|
exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 272 28 1 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 9
|
||
|
textalign 6
|
||
|
textalignx -60
|
||
|
textscale 0.5
|
||
|
text "@PLATFORM_SYSTEM_LINK_TITLE"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 42 640 318 4 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 1 1 1 0.15
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -32 10 32 32 4 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tl"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 10 640 32 4 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_t"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 640 10 32 32 4 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tr"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 640 42 32 318 4 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_r"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 640 360 32 32 4 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_br"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 360 640 32 4 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_b"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -32 360 32 32 4 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_bl"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -32 42 32 318 4 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_l"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -64 -40 336 20 1 3
|
||
|
visible 1
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -60
|
||
|
textscale 0.375
|
||
|
text "@PLATFORM_REFRESH_CAPS"
|
||
|
visible when ( "@PLATFORM_REFRESH_CAPS" == "@PLATFORM_BACK_CAPS" )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
play "mouse_click";
|
||
|
"escape" self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
if ( dvarstring( "gameMode" ) != "mp" )
|
||
|
{
|
||
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
||
|
}
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -64 -40 336 20 1 3
|
||
|
visible 1
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -60
|
||
|
textscale 0.375
|
||
|
text "@PLATFORM_REFRESH_CAPS"
|
||
|
visible when ( "@PLATFORM_REFRESH_CAPS" == "@PLATFORM_GAME_SUMMARY_CAPS" )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
play "mouse_click";
|
||
|
open "popup_summary";
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
if ( dvarstring( "gameMode" ) != "mp" )
|
||
|
{
|
||
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
||
|
}
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -64 -20 336 20 1 3
|
||
|
visible 1
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -60
|
||
|
textscale 0.375
|
||
|
text "@PLATFORM_BACK_CAPS"
|
||
|
visible when ( "@PLATFORM_BACK_CAPS" == "@PLATFORM_BACK_CAPS" )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
play "mouse_click";
|
||
|
"escape" self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
if ( dvarstring( "gameMode" ) != "mp" )
|
||
|
{
|
||
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
||
|
}
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -64 -20 336 20 1 3
|
||
|
visible 1
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -60
|
||
|
textscale 0.375
|
||
|
text "@PLATFORM_BACK_CAPS"
|
||
|
visible when ( "@PLATFORM_BACK_CAPS" == "@PLATFORM_GAME_SUMMARY_CAPS" )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
play "mouse_click";
|
||
|
open "popup_summary";
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
if ( dvarstring( "gameMode" ) != "mp" )
|
||
|
{
|
||
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
||
|
}
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "refresh"
|
||
|
rect 270 438 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 1
|
||
|
textscale 0.55
|
||
|
execKeyInt 168
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
uiScript "RefreshServers";
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 64 76 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 0.8 0.4 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
text "@MENU_HOST_NAME"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 268 76 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 0.8 0.4 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
text "@MENU_MAP"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 366 76 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 0.8 0.4 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
text "@MENU_NUMPLAYERS"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 450 76 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 0.8 0.4 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
text "@MENU_TYPE1"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 262 78 1 318 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 0.2
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 362 78 1 318 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 0.2
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 442 78 1 318 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 0.2
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "serverlist"
|
||
|
rect 36 76 574 324 0 0
|
||
|
visible 1
|
||
|
style 1
|
||
|
forecolor 1 1 1 1
|
||
|
outlinecolor 0 0 0 1
|
||
|
type 6
|
||
|
textfont 1
|
||
|
textalignx 1
|
||
|
textscale 0.375
|
||
|
feeder 2
|
||
|
selectBorder 0.8 0.95 1 0
|
||
|
selectIcon "ui_button_xenon_3d_a_32x32"
|
||
|
elementWidth 120
|
||
|
elementHeight 18
|
||
|
// numcol xpos xwidth textlen alignment
|
||
|
columns 4 26 203 40 0
|
||
|
229 98 25 0
|
||
|
327 85 10 0
|
||
|
412 35 35 0
|
||
|
noscrollbars
|
||
|
doubleClick
|
||
|
{
|
||
|
uiScript "JoinServer";
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|