5897 lines
116 KiB
Plaintext
5897 lines
116 KiB
Plaintext
|
/********************************************
|
||
|
* dumped by: aerosoul94 *
|
||
|
*********************************************/
|
||
|
|
||
|
{
|
||
|
menuDef
|
||
|
{
|
||
|
name "error_popmenu"
|
||
|
rect 0 0 640 480 0 0
|
||
|
style 1
|
||
|
border 1
|
||
|
forecolor 1 1 1 1
|
||
|
focuscolor 1 1 1 1
|
||
|
fullscreen 1
|
||
|
execKey "ESCAPE"
|
||
|
{
|
||
|
uiScript "clearError";
|
||
|
close "error_popmenu";
|
||
|
open "main";
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
uiScript "clearError" resolveError;
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
uiScript "clearError";
|
||
|
close "error_popmenu";
|
||
|
open "main";
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "backimage2fade"
|
||
|
rect -128 0 896 480 0 0
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "backimage2fade"
|
||
|
rect 50 177 535 200 0 0
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "popmenu_bg"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "confirm"
|
||
|
rect 326 200 110 20 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 0.8 0.4 1
|
||
|
textalign 1
|
||
|
textalignx -62
|
||
|
textaligny 5
|
||
|
textscale 0.5833
|
||
|
dvar "com_errorTitle"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "errorinfo"
|
||
|
rect 120 210 400 255 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textalign 1
|
||
|
textaligny 23
|
||
|
textscale 0.35
|
||
|
dvar "com_errorMessage"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "back"
|
||
|
rect 270 360 100 17 0 0
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 0.4823 0.4823 0.4823 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 1
|
||
|
textaligny 13
|
||
|
textscale 0.3
|
||
|
text "@MENU_EXIT"
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
uiScript "clearError";
|
||
|
resolveError;
|
||
|
close "error_popmenu";
|
||
|
open "main";
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "error_popmenu_submenu"
|
||
|
rect 0 0 640 480 0 0
|
||
|
style 1
|
||
|
border 1
|
||
|
forecolor 1 1 1 1
|
||
|
focuscolor 1 1 1 1
|
||
|
fullscreen 1
|
||
|
execKey "ESCAPE"
|
||
|
{
|
||
|
uiScript "clearError";
|
||
|
close "error_popmenu_submenu";
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
uiScript "clearError" resolveError;
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
uiScript "clearError";
|
||
|
close "error_popmenu_submenu";
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "backimage2fade"
|
||
|
rect -128 0 896 480 0 0
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "backimage2fade"
|
||
|
rect 50 177 535 200 0 0
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "popmenu_bg"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "confirm"
|
||
|
rect 326 200 110 20 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 0.8 0.4 1
|
||
|
textalign 1
|
||
|
textalignx -62
|
||
|
textaligny 5
|
||
|
textscale 0.5833
|
||
|
dvar "com_errorTitle"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "errorinfo"
|
||
|
rect 120 210 400 255 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textalign 1
|
||
|
textaligny 23
|
||
|
textscale 0.35
|
||
|
dvar "com_errorMessage"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "back"
|
||
|
rect 270 360 100 17 0 0
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 0.4823 0.4823 0.4823 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 1
|
||
|
textaligny 13
|
||
|
textscale 0.3
|
||
|
text "@MENU_EXIT"
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
uiScript "clearError";
|
||
|
resolveError;
|
||
|
close "error_popmenu_submenu";
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "controllerremoved_popmenu"
|
||
|
rect -150 -64 300 64 2 2
|
||
|
style 1
|
||
|
popup
|
||
|
legacySplitScreenScale
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "white"
|
||
|
focuscolor 1 1 1 1
|
||
|
onOpen
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close self;
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -544 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0 0 0 0.35
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -544 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "xpbar_stencilbase"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 300 64 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.5 0.5 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 1708 480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 300 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "mockup_popup_bg_stencilfill"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 2 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 300 0 1 1
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0
|
||
|
background "small_box_lightfx"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 2 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -128 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tl"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -128 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_t"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -128 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tr"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -64 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_r"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 2 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -64 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_br"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_b"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -64 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_bl"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -64 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_l"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 2 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 300 24 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "gradient_fadein"
|
||
|
textfont 9
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
text "@"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -40 292 20 2 2
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
exp text ( "@PLATFORM_CONTROLLER_DISCONNECTED" )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
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 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "popup_connecting"
|
||
|
rect -150 -84 300 84 2 2
|
||
|
style 1
|
||
|
popup
|
||
|
legacySplitScreenScale
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "white"
|
||
|
focuscolor 1 1 1 1
|
||
|
soundLoop "music_mainmenu_mp"
|
||
|
onOpen
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
||
|
setfocus "button_cancel";
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close self;
|
||
|
close "menu_xboxlive";
|
||
|
close "menu_xboxlive_lobby";
|
||
|
close "menu_xboxlive_privatelobby";
|
||
|
close "menu_systemlink";
|
||
|
close "menu_systemlink_join";
|
||
|
close "menu_gamesetup_systemlink";
|
||
|
close "menu_gamesetup_splitscreen";
|
||
|
close "popup_gamesetup";
|
||
|
close "popup_gamesetup_splitscreen";
|
||
|
close "popup_findgame";
|
||
|
close self;
|
||
|
close "cac_popup";
|
||
|
close "popup_gamesetup_private";
|
||
|
close "coop_lobby";
|
||
|
close "error_popmenu_lobby";
|
||
|
setdvar "onlinegame" 0;
|
||
|
setdvar "systemlink" 0;
|
||
|
setdvar "specialops" 0;
|
||
|
exec "stopListening";
|
||
|
exec "useonlinestats 0";
|
||
|
exec "statsdownloadcancel";
|
||
|
exec "xstopparty";
|
||
|
exec "xstopprivateparty";
|
||
|
exec "splitscreencontrols";
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -564 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0 0 0 0.35
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -564 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "xpbar_stencilbase"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 300 84 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.5 0.5 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 1708 480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 300 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "mockup_popup_bg_stencilfill"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 3 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 300 0 1 1
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0
|
||
|
background "small_box_lightfx"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 3 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -148 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tl"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -148 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_t"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -148 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tr"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -84 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_r"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 3 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -84 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_br"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_b"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -84 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_bl"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -84 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_l"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 3 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 300 24 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "gradient_fadein"
|
||
|
textfont 9
|
||
|
textalign 4
|
||
|
textalignx 8
|
||
|
textscale 0.375
|
||
|
text "@MENU_PLEASE_WAIT"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -60 292 20 2 2
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 4
|
||
|
textalignx 20
|
||
|
textscale 0.375
|
||
|
exp text ( getwaitpopupstatus( 2 ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
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 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "button_cancel"
|
||
|
rect -146 -20 292 20 2 2
|
||
|
group "mw2_popup_button"
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "popup_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -10
|
||
|
textscale 0.375
|
||
|
text "@PLATFORM_UI_CANCEL_RIGHT"
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
if ( dvarstring( "gameMode" ) != "mp" )
|
||
|
{
|
||
|
setItemColor "mw2_popup_button" backcolor 0 0 0 0;
|
||
|
}
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_popupAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 1 1 1 0;
|
||
|
setLocalVarBool "ui_popupAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "popup_acceptinginvite"
|
||
|
rect -150 -84 300 84 2 2
|
||
|
style 1
|
||
|
popup
|
||
|
legacySplitScreenScale
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "white"
|
||
|
focuscolor 1 1 1 1
|
||
|
soundLoop "music_mainmenu_mp"
|
||
|
onOpen
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
||
|
setfocus "button_cancel";
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close self;
|
||
|
close "menu_xboxlive";
|
||
|
close "menu_xboxlive_lobby";
|
||
|
close "menu_xboxlive_privatelobby";
|
||
|
close "menu_systemlink";
|
||
|
close "menu_systemlink_join";
|
||
|
close "menu_gamesetup_systemlink";
|
||
|
close "menu_gamesetup_splitscreen";
|
||
|
close "popup_gamesetup";
|
||
|
close "popup_gamesetup_splitscreen";
|
||
|
close "popup_findgame";
|
||
|
close self;
|
||
|
close "cac_popup";
|
||
|
close "popup_gamesetup_private";
|
||
|
close "coop_lobby";
|
||
|
close "error_popmenu_lobby";
|
||
|
setdvar "onlinegame" 0;
|
||
|
setdvar "systemlink" 0;
|
||
|
setdvar "specialops" 0;
|
||
|
exec "stopListening";
|
||
|
exec "useonlinestats 0";
|
||
|
exec "statsdownloadcancel";
|
||
|
exec "xstopparty";
|
||
|
exec "xstopprivateparty";
|
||
|
exec "splitscreencontrols";
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -564 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0 0 0 0.35
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -564 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "xpbar_stencilbase"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 300 84 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.5 0.5 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 1708 480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 300 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "mockup_popup_bg_stencilfill"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 3 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 300 0 1 1
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0
|
||
|
background "small_box_lightfx"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 3 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -148 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tl"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -148 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_t"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -148 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tr"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -84 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_r"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 3 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -84 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_br"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_b"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -84 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_bl"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -84 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_l"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 3 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -84 300 24 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "gradient_fadein"
|
||
|
textfont 9
|
||
|
textalign 4
|
||
|
textalignx 8
|
||
|
textscale 0.375
|
||
|
text "@MENU_PLEASE_WAIT"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -60 292 20 2 2
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 4
|
||
|
textalignx 20
|
||
|
textscale 0.375
|
||
|
exp text ( getwaitpopupstatus( 3 ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
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 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "button_cancel"
|
||
|
rect -146 -20 292 20 2 2
|
||
|
group "mw2_popup_button"
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "popup_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -10
|
||
|
textscale 0.375
|
||
|
text "@PLATFORM_UI_CANCEL_RIGHT"
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
if ( dvarstring( "gameMode" ) != "mp" )
|
||
|
{
|
||
|
setItemColor "mw2_popup_button" backcolor 0 0 0 0;
|
||
|
}
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_popupAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 1 1 1 0;
|
||
|
setLocalVarBool "ui_popupAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "popup_gettingdata"
|
||
|
rect -150 -124 300 124 2 2
|
||
|
style 1
|
||
|
popup
|
||
|
legacySplitScreenScale
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "white"
|
||
|
focuscolor 1 1 1 1
|
||
|
soundLoop "music_mainmenu_mp"
|
||
|
onOpen
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close self;
|
||
|
close "menu_xboxlive";
|
||
|
close "menu_xboxlive_lobby";
|
||
|
close "menu_xboxlive_privatelobby";
|
||
|
close "menu_systemlink";
|
||
|
close "menu_systemlink_join";
|
||
|
close "menu_gamesetup_systemlink";
|
||
|
close "menu_gamesetup_splitscreen";
|
||
|
close "popup_gamesetup";
|
||
|
close "popup_gamesetup_splitscreen";
|
||
|
close "popup_findgame";
|
||
|
close self;
|
||
|
close "cac_popup";
|
||
|
close "popup_gamesetup_private";
|
||
|
close "coop_lobby";
|
||
|
close "error_popmenu_lobby";
|
||
|
setdvar "onlinegame" 0;
|
||
|
setdvar "systemlink" 0;
|
||
|
setdvar "specialops" 0;
|
||
|
exec "stopListening";
|
||
|
exec "useonlinestats 0";
|
||
|
exec "statsdownloadcancel";
|
||
|
exec "xstopparty";
|
||
|
exec "xstopprivateparty";
|
||
|
exec "splitscreencontrols";
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -604 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0 0 0 0.35
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -604 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "xpbar_stencilbase"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 124 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.5 0.5 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 1708 480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "mockup_popup_bg_stencilfill"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 0 1 1
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0
|
||
|
background "small_box_lightfx"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -188 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tl"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -188 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_t"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -188 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tr"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -124 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_r"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -124 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_br"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_b"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -124 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_bl"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -124 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_l"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 24 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "gradient_fadein"
|
||
|
textfont 9
|
||
|
textalign 4
|
||
|
textalignx 8
|
||
|
textscale 0.375
|
||
|
text "@MENU_ONLINE_STATUS"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -100 292 20 2 2
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 4
|
||
|
textalignx 20
|
||
|
textscale 0.375
|
||
|
exp text ( getwaitpopupstatus( 0 ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
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 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -80 292 20 2 2
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 4
|
||
|
textalignx 20
|
||
|
textscale 0.375
|
||
|
exp text ( getwaitpopupstatus( 1 ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
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 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -60 292 20 2 2
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 4
|
||
|
textalignx 20
|
||
|
textscale 0.375
|
||
|
exp text ( getwaitpopupstatus( 2 ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
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 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "button_cancel"
|
||
|
rect -146 -20 292 20 2 2
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "popup_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -10
|
||
|
textscale 0.375
|
||
|
text "@PLATFORM_UI_CANCEL_RIGHT"
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_popupAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 1 1 1 0;
|
||
|
setLocalVarBool "ui_popupAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "save_corrupted"
|
||
|
rect -150 -124 300 124 2 2
|
||
|
style 1
|
||
|
popup
|
||
|
legacySplitScreenScale
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "white"
|
||
|
focuscolor 1 1 1 1
|
||
|
onOpen
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
||
|
setfocus "button_ok";
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close self;
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -604 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0 0 0 0.35
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -604 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "xpbar_stencilbase"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 124 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.5 0.5 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 1708 480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "mockup_popup_bg_stencilfill"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 0 1 1
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0
|
||
|
background "small_box_lightfx"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -188 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tl"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -188 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_t"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -188 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tr"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -124 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_r"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -124 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_br"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_b"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -124 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_bl"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -124 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_l"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 24 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "gradient_fadein"
|
||
|
textfont 9
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
text "@MENU_SAVE_CORRUPTED"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -100 292 20 2 2
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
exp text ( "@MENU_SAVEDATA_CORRUPTED" )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
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 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "button_ok"
|
||
|
rect -146 -20 292 20 2 2
|
||
|
group "mw2_popup_button"
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "popup_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -24
|
||
|
textscale 0.375
|
||
|
text "@MENU_OK"
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
if ( dvarstring( "gameMode" ) != "mp" )
|
||
|
{
|
||
|
setItemColor "mw2_popup_button" backcolor 0 0 0 0;
|
||
|
}
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_popupAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 1 1 1 0;
|
||
|
setLocalVarBool "ui_popupAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 292 22 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textalign 10
|
||
|
textaligny -1
|
||
|
textscale 0.28
|
||
|
text "@PLATFORM_UI_SELECTBUTTON"
|
||
|
exp rect y ( getfocuseditemy( ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( localvarbool( "ui_popupAButton" ) )
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "error_popmenu_lobby"
|
||
|
rect -150 -124 300 124 2 2
|
||
|
style 1
|
||
|
popup
|
||
|
legacySplitScreenScale
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "white"
|
||
|
focuscolor 1 1 1 1
|
||
|
execKey "ESCAPE"
|
||
|
{
|
||
|
focusfirst;
|
||
|
uiScript "clearError";
|
||
|
close self;
|
||
|
}
|
||
|
onOpen
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
||
|
focusfirst;
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
||
|
uiScript "clearError";
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close self;
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -604 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0 0 0 0.35
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -604 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "xpbar_stencilbase"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 124 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.5 0.5 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 1708 480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "mockup_popup_bg_stencilfill"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 0 1 1
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0
|
||
|
background "small_box_lightfx"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -188 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tl"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -188 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_t"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -188 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tr"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -124 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_r"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -124 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_br"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_b"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -124 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_bl"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -124 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_l"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 24 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "gradient_fadein"
|
||
|
textfont 9
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
exp text ( dvarstring( "com_errorTitle" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -100 292 20 2 2
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
exp text ( dvarstring( "com_errorMessage" ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
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 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -20 292 20 2 2
|
||
|
group "mw2_popup_button"
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "popup_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -24
|
||
|
textscale 0.375
|
||
|
text "@MENU_OK"
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
uiScript "clearError";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
if ( dvarstring( "gameMode" ) != "mp" )
|
||
|
{
|
||
|
setItemColor "mw2_popup_button" backcolor 0 0 0 0;
|
||
|
}
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_popupAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 1 1 1 0;
|
||
|
setLocalVarBool "ui_popupAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 292 22 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textalign 10
|
||
|
textaligny -1
|
||
|
textscale 0.28
|
||
|
text "@PLATFORM_UI_SELECTBUTTON"
|
||
|
exp rect y ( getfocuseditemy( ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( localvarbool( "ui_popupAButton" ) )
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "error_popmenu_party"
|
||
|
rect -150 -124 300 124 2 2
|
||
|
style 1
|
||
|
popup
|
||
|
legacySplitScreenScale
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "white"
|
||
|
focuscolor 1 1 1 1
|
||
|
execKey "ESCAPE"
|
||
|
{
|
||
|
focusfirst;
|
||
|
uiScript "clearError";
|
||
|
close self;
|
||
|
}
|
||
|
onOpen
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
||
|
focusfirst;
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
||
|
uiScript "clearError";
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close self;
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -604 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0 0 0 0.35
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -604 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "xpbar_stencilbase"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 124 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.5 0.5 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 1708 480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "mockup_popup_bg_stencilfill"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 0 1 1
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0
|
||
|
background "small_box_lightfx"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -188 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tl"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -188 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_t"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -188 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tr"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -124 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_r"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -124 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_br"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_b"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -124 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_bl"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -124 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_l"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 24 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "gradient_fadein"
|
||
|
textfont 9
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
exp text ( dvarstring( "com_errorTitle" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -100 292 20 2 2
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
exp text ( dvarstring( "com_errorMessage" ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
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 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -20 292 20 2 2
|
||
|
group "mw2_popup_button"
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "popup_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -24
|
||
|
textscale 0.375
|
||
|
text "@MENU_OK"
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
uiScript "clearError";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
if ( dvarstring( "gameMode" ) != "mp" )
|
||
|
{
|
||
|
setItemColor "mw2_popup_button" backcolor 0 0 0 0;
|
||
|
}
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_popupAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 1 1 1 0;
|
||
|
setLocalVarBool "ui_popupAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 292 22 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textalign 10
|
||
|
textaligny -1
|
||
|
textscale 0.28
|
||
|
text "@PLATFORM_UI_SELECTBUTTON"
|
||
|
exp rect y ( getfocuseditemy( ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( localvarbool( "ui_popupAButton" ) )
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "error_resetstats"
|
||
|
rect -150 -124 300 124 2 2
|
||
|
style 1
|
||
|
popup
|
||
|
legacySplitScreenScale
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "white"
|
||
|
focuscolor 1 1 1 1
|
||
|
onOpen
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
||
|
focusfirst;
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
||
|
focusfirst;
|
||
|
uiScript "clearError";
|
||
|
if ( menuisopen( "menu_splitscreensignin" ) )
|
||
|
{
|
||
|
execnow "startsplitscreensignin";
|
||
|
}
|
||
|
if ( dvarbool( "splitscreen" ) )
|
||
|
{
|
||
|
execnow "splitscreencontrols";
|
||
|
}
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close self;
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -604 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0 0 0 0.35
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -604 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "xpbar_stencilbase"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 124 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.5 0.5 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 1708 480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "mockup_popup_bg_stencilfill"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 0 1 1
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0
|
||
|
background "small_box_lightfx"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -188 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tl"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -188 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_t"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -188 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tr"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -124 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_r"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -124 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_br"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_b"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -124 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_bl"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -124 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_l"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 24 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "gradient_fadein"
|
||
|
textfont 9
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
exp text ( dvarstring( "com_errorTitle" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -100 292 20 2 2
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
exp text ( dvarstring( "com_errorMessage" ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
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 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -20 292 20 2 2
|
||
|
group "mw2_popup_button"
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "popup_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -24
|
||
|
textscale 0.375
|
||
|
text "@MENU_OK"
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
if ( dvarstring( "gameMode" ) != "mp" )
|
||
|
{
|
||
|
setItemColor "mw2_popup_button" backcolor 0 0 0 0;
|
||
|
}
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_popupAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 1 1 1 0;
|
||
|
setLocalVarBool "ui_popupAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 292 22 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textalign 10
|
||
|
textaligny -1
|
||
|
textscale 0.28
|
||
|
text "@PLATFORM_UI_SELECTBUTTON"
|
||
|
exp rect y ( getfocuseditemy( ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( localvarbool( "ui_popupAButton" ) )
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "popup_reconnectingtoparty"
|
||
|
rect -150 -64 300 64 2 2
|
||
|
style 1
|
||
|
popup
|
||
|
legacySplitScreenScale
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "white"
|
||
|
focuscolor 1 1 1 1
|
||
|
onOpen
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close self;
|
||
|
close "menu_xboxlive";
|
||
|
close "popup_gettingdata";
|
||
|
close "popup_reconnectingtoparty";
|
||
|
exec "onlinegame 0; xstopprivateparty
|
||
|
";
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -544 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0 0 0 0.35
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -544 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "xpbar_stencilbase"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 300 64 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.5 0.5 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 1708 480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 300 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "mockup_popup_bg_stencilfill"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 2 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 300 0 1 1
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0
|
||
|
background "small_box_lightfx"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 2 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -128 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tl"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -128 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_t"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -128 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tr"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -64 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_r"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 2 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -64 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_br"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -64 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_b"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -64 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_bl"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -64 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_l"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 2 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -46 300 0 2 2
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 5
|
||
|
textscale 0.4583
|
||
|
visible when ( 1 )
|
||
|
exp text ( "" )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -36 300 0 2 2
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 5
|
||
|
textscale 0.4583
|
||
|
visible when ( 1 )
|
||
|
exp text ( "" )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -46 300 0 2 2
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 5
|
||
|
textscale 0.4583
|
||
|
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.25 )
|
||
|
exp text ( locstring( "@MENU_RECONNECTING_TO_PARTY" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -36 300 0 2 2
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 5
|
||
|
textscale 0.4583
|
||
|
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.25 )
|
||
|
exp text ( "" )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -46 300 0 2 2
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 5
|
||
|
textscale 0.4583
|
||
|
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.25 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.5 )
|
||
|
exp text ( locstring( "@MENU_RECONNECTING_TO_PARTY" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -36 300 0 2 2
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 5
|
||
|
textscale 0.4583
|
||
|
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.25 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.5 )
|
||
|
exp text ( "." )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -46 300 0 2 2
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 5
|
||
|
textscale 0.4583
|
||
|
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.5 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.75 )
|
||
|
exp text ( locstring( "@MENU_RECONNECTING_TO_PARTY" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -36 300 0 2 2
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 5
|
||
|
textscale 0.4583
|
||
|
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.5 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.75 )
|
||
|
exp text ( ".." )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -46 300 0 2 2
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 5
|
||
|
textscale 0.4583
|
||
|
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.75 )
|
||
|
exp text ( locstring( "@MENU_RECONNECTING_TO_PARTY" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -36 300 0 2 2
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 5
|
||
|
textscale 0.4583
|
||
|
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.75 )
|
||
|
exp text ( "..." )
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "acceptinvite_warning"
|
||
|
rect -150 -124 300 124 2 2
|
||
|
style 1
|
||
|
popup
|
||
|
legacySplitScreenScale
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "white"
|
||
|
focuscolor 1 1 1 1
|
||
|
onOpen
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close self;
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -604 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0 0 0 0.35
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -604 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "xpbar_stencilbase"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 124 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.5 0.5 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 1708 480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "mockup_popup_bg_stencilfill"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 0 1 1
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0
|
||
|
background "small_box_lightfx"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -188 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tl"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -188 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_t"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -188 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tr"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -124 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_r"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -124 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_br"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_b"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -124 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_bl"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -124 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_l"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 5 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 300 24 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "gradient_fadein"
|
||
|
textfont 9
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
text "@MENU_ACCEPTINVITETITLE"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -100 292 20 2 2
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
visible when ( privatepartyhost( ) && !aloneinparty( ) )
|
||
|
exp text ( "@MENU_LEAVEMPGAMEWARNINGPARTYHOST" )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
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 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -100 292 20 2 2
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
visible when ( !privatepartyhost( ) && !inlobby( ) )
|
||
|
exp text ( "@MENU_LEAVEPARTYWARNING" )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
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 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -100 292 20 2 2
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
visible when ( !privatepartyhost( ) && inlobby( ) )
|
||
|
exp text ( "@MENU_LEAVEMPGAMEWARNING" )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
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 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -40 292 20 2 2
|
||
|
group "mw2_popup_button"
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "popup_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -24
|
||
|
textscale 0.375
|
||
|
text "@MENU_RESUMEGAME"
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
if ( dvarstring( "gameMode" ) != "mp" )
|
||
|
{
|
||
|
setItemColor "mw2_popup_button" backcolor 0 0 0 0;
|
||
|
}
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_popupAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 1 1 1 0;
|
||
|
setLocalVarBool "ui_popupAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -20 292 20 2 2
|
||
|
group "mw2_popup_button"
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "popup_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -24
|
||
|
textscale 0.375
|
||
|
text "@MENU_CONFIRMINVITE"
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
close self exec "confirmInvite";
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
if ( dvarstring( "gameMode" ) != "mp" )
|
||
|
{
|
||
|
setItemColor "mw2_popup_button" backcolor 0 0 0 0;
|
||
|
}
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_popupAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 1 1 1 0;
|
||
|
setLocalVarBool "ui_popupAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -124 292 22 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textalign 10
|
||
|
textaligny -1
|
||
|
textscale 0.28
|
||
|
text "@PLATFORM_UI_SELECTBUTTON"
|
||
|
exp rect y ( getfocuseditemy( ) + ( ( 24 + 5 * 20 ) ) )
|
||
|
visible when ( localvarbool( "ui_popupAButton" ) )
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "pregame_loaderror"
|
||
|
rect 0 0 640 480 0 0
|
||
|
style 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 0
|
||
|
focuscolor 1 1 1 1
|
||
|
fullscreen 1
|
||
|
onOpen
|
||
|
{
|
||
|
setdvar "ui_SaveLoadVisible" 0;
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
uiScript "clearError";
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
uiScript "playerstart";
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -107 0 854 480 0 0
|
||
|
style 1
|
||
|
ownerdraw 277
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "cinematic"
|
||
|
type 8
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "profile"
|
||
|
rect 40 40 560 400 0 0
|
||
|
ownerdraw 264
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 8
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "errorinfo"
|
||
|
rect 120 142 400 255 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 0.2 0.2 1
|
||
|
textalign 5
|
||
|
textscale 0.8
|
||
|
dvar "com_errorMessage"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 388 640 45 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.4
|
||
|
bordercolor 1 1 1 1
|
||
|
type 1
|
||
|
textalign 5
|
||
|
textaligny 4
|
||
|
textscale 0.375
|
||
|
text "@PLATFORM_UI_PRESS_BUTTONSELECTCHOICE"
|
||
|
visible when ( !dvarbool( "ui_isSaving" ) && 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -128 0 896 480 0 0
|
||
|
visible 1
|
||
|
type 1
|
||
|
textscale 0.55
|
||
|
action
|
||
|
{
|
||
|
uiScript "playerstart";
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -100 0 100 600 1 1
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 -600 100 600 3 3
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -900 -100 900 100 3 1
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 900 100 1 3
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 390 56 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
|
||
|
exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 390 72 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
|
||
|
exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 390 72 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
|
||
|
exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "pregame_loaderror_mp"
|
||
|
rect 0 0 640 480 0 0
|
||
|
style 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 0
|
||
|
focuscolor 1 1 1 1
|
||
|
blurWorld 6
|
||
|
onOpen
|
||
|
{
|
||
|
setdvar "ui_SaveLoadVisible" 0;
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
uiScript "clearError";
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -107 0 854 480 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.2 0.2 0.2 0.5
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "profile"
|
||
|
rect 40 40 560 400 0 0
|
||
|
ownerdraw 264
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 8
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "errorinfo"
|
||
|
rect 120 142 400 255 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 0.2 0.2 1
|
||
|
textalign 5
|
||
|
textscale 0.8
|
||
|
dvar "com_errorMessage"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 388 640 45 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 1
|
||
|
textalign 5
|
||
|
textaligny 4
|
||
|
textscale 0.5833
|
||
|
text "@MENU_PRESS_START"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -128 0 896 480 0 0
|
||
|
visible 1
|
||
|
type 1
|
||
|
textscale 0.55
|
||
|
action
|
||
|
{
|
||
|
uiScript "clearLoadErrorsSummary";
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -100 0 100 600 1 1
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 -600 100 600 3 3
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -900 -100 900 100 3 1
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 900 100 1 3
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 390 56 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
|
||
|
exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 390 72 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
|
||
|
exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 390 72 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
|
||
|
exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "menu_resetstats_warning"
|
||
|
rect -150 -184 300 184 2 2
|
||
|
style 1
|
||
|
popup
|
||
|
legacySplitScreenScale
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "white"
|
||
|
focuscolor 1 1 1 1
|
||
|
onOpen
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
||
|
setfocus "button_no";
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
||
|
uiScript "clearError";
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close self;
|
||
|
close self;
|
||
|
resetStatsCancel;
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -664 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0 0 0 0.35
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -1004 -664 1708 960 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "xpbar_stencilbase"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -184 300 184 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.5 0.5 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -184 1708 480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -184 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -184 300 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "mockup_popup_bg_stencilfill"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 8 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -184 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.75
|
||
|
background "mw2_popup_bg_fogstencil"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -184 -1708 -480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0.85 0.85 0.85 1
|
||
|
background "mw2_popup_bg_fogscroll"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -184 300 0 1 1
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0
|
||
|
background "small_box_lightfx"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 8 * 20 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -248 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tl"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -248 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_t"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -248 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tr"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -184 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_r"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 8 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 150 -184 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_br"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -184 300 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_b"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -184 64 64 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_bl"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 0 ) + ( ( 24 + 8 * 20 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -214 -184 64 0 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_l"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( 24 + 8 * 20 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -184 300 24 2 2
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "gradient_fadein"
|
||
|
textfont 9
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
exp text ( dvarstring( "com_errorTitle" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -146 -160 292 20 2 2
|
||
|
group "mw2_button"
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "menu_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 5
|
||
|
textscale 0.375
|
||
|
exp text ( dvarstring( "com_errorMessage" ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
}
|
||
|
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 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 0 0 0 "0.0";
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "button_yes"
|
||
|
rect -146 -40 292 20 2 2
|
||
|
group "mw2_popup_button"
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "popup_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -24
|
||
|
textscale 0.375
|
||
|
text "@MENU_STATS_RESET_YES"
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
close self;
|
||
|
resetStatsConfirm;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
if ( dvarstring( "gameMode" ) != "mp" )
|
||
|
{
|
||
|
setItemColor "mw2_popup_button" backcolor 0 0 0 0;
|
||
|
}
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_popupAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 1 1 1 0;
|
||
|
setLocalVarBool "ui_popupAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "button_no"
|
||
|
rect -146 -20 292 20 2 2
|
||
|
group "mw2_popup_button"
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
disablecolor 0.6 0.55 0.55 1
|
||
|
background "popup_button_selection_bar"
|
||
|
type 1
|
||
|
textfont 3
|
||
|
textalign 6
|
||
|
textalignx -24
|
||
|
textscale 0.375
|
||
|
text "@MENU_STATS_RESET_NO"
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
close self;
|
||
|
resetStatsCancel;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
if ( dvarstring( "gameMode" ) != "mp" )
|
||
|
{
|
||
|
setItemColor "mw2_popup_button" backcolor 0 0 0 0;
|
||
|
}
|
||
|
setItemColor self backcolor 0 0 0 1;
|
||
|
setLocalVarBool "ui_popupAButton" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setItemColor self backcolor 1 1 1 0;
|
||
|
setLocalVarBool "ui_popupAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -184 292 22 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textalign 10
|
||
|
textaligny -1
|
||
|
textscale 0.28
|
||
|
text "@PLATFORM_UI_SELECTBUTTON"
|
||
|
exp rect y ( getfocuseditemy( ) + ( ( 24 + 8 * 20 ) ) )
|
||
|
visible when ( localvarbool( "ui_popupAButton" ) )
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "briefing"
|
||
|
rect 0 0 640 480 0 0
|
||
|
style 1
|
||
|
forecolor 1 1 1 1
|
||
|
focuscolor 1 1 1 1
|
||
|
itemDef
|
||
|
{
|
||
|
rect -107 0 854 480 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0 0 0 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 640 480 4 4
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "mw2_main_background"
|
||
|
textscale 0.55
|
||
|
visible when ( dvarbool( "specialops" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 1708 480 0 0
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.5
|
||
|
background "mw2_main_cloud_overlay"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||
|
visible when ( dvarbool( "specialops" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 -1708 -480 0 0
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.5
|
||
|
background "mw2_main_cloud_overlay"
|
||
|
textscale 0.55
|
||
|
exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||
|
visible when ( dvarbool( "specialops" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 640 480 4 4
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0
|
||
|
background "mockup_bg_glow"
|
||
|
textscale 0.55
|
||
|
exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
|
||
|
visible when ( dvarbool( "specialops" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 640 480 4 4
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0
|
||
|
background "mockup_bg_glow"
|
||
|
textscale 0.55
|
||
|
exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
|
||
|
visible when ( dvarbool( "specialops" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -426.667 -240 853.333 480 2 2
|
||
|
style 1
|
||
|
ownerdraw 277
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "cinematic"
|
||
|
type 8
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -750 -200 600 800 2 1
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "black"
|
||
|
textscale 0.55
|
||
|
visible when ( dvarbool( "specialops" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -150 -200 300 800 2 1
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "gradient"
|
||
|
textscale 0.55
|
||
|
visible when ( dvarbool( "specialops" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "level_name"
|
||
|
rect 24 -122 281 92 1 3
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
textalign 4
|
||
|
textaligny -30
|
||
|
textscale 0.5833
|
||
|
textstyle 3
|
||
|
exp rect y ( ( 0 - 122 ) - 30 * ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
visible when ( dvarbool( "specialops" ) && !dvarbool( "coop" ) )
|
||
|
exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 2 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "level_name"
|
||
|
rect 24 -122 281 92 1 3
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
textalign 4
|
||
|
textaligny -30
|
||
|
textscale 0.5833
|
||
|
textstyle 3
|
||
|
exp rect y ( ( 0 - 122 ) - 30 * ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
visible when ( dvarbool( "specialops" ) && dvarbool( "coop" ) )
|
||
|
exp text ( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 2 ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "level_desc"
|
||
|
rect 24 -122 281 92 1 3
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
textfont 3
|
||
|
textalign 4
|
||
|
textscale 0.375
|
||
|
textstyle 3
|
||
|
exp rect y ( ( 0 - 122 ) - 30 * ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
visible when ( dvarbool( "specialops" ) && !dvarbool( "coop" ) )
|
||
|
exp text ( locstring( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 3 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "level_desc"
|
||
|
rect 24 -122 281 92 1 3
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
textfont 3
|
||
|
textalign 4
|
||
|
textscale 0.375
|
||
|
textstyle 3
|
||
|
exp rect y ( ( 0 - 122 ) - 30 * ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
visible when ( dvarbool( "specialops" ) && dvarbool( "coop" ) )
|
||
|
exp text ( locstring( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 3 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 0 * 18 )
|
||
|
exp rect x ( 24 + 0 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 0 * 18 )
|
||
|
exp rect x ( 24 + 0 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 0 * 18 )
|
||
|
exp rect x ( 24 + 1 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && 0 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 0 * 18 )
|
||
|
exp rect x ( 24 + 1 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 0 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 0 * 18 )
|
||
|
exp rect x ( 24 + 2 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && 0 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 0 * 18 )
|
||
|
exp rect x ( 24 + 2 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 0 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 1 * 18 )
|
||
|
exp rect x ( 24 + 0 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 1 * 18 )
|
||
|
exp rect x ( 24 + 0 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 1 * 18 )
|
||
|
exp rect x ( 24 + 1 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 1 * 18 )
|
||
|
exp rect x ( 24 + 1 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 1 * 18 )
|
||
|
exp rect x ( 24 + 2 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && 0 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 1 * 18 )
|
||
|
exp rect x ( 24 + 2 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 0 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 2 * 18 )
|
||
|
exp rect x ( 24 + 0 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 2 * 18 )
|
||
|
exp rect x ( 24 + 0 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 2 * 18 )
|
||
|
exp rect x ( 24 + 1 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 2 * 18 )
|
||
|
exp rect x ( 24 + 1 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 2 * 18 )
|
||
|
exp rect x ( 24 + 2 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 2 * 18 )
|
||
|
exp rect x ( 24 + 2 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && !dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "level_desc"
|
||
|
rect 24 -122 281 92 1 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
textfont 3
|
||
|
textalign 4
|
||
|
textalignx 46
|
||
|
textscale 0.375
|
||
|
textstyle 3
|
||
|
exp rect x ( 24 - ( ! 1 ) * 46 )
|
||
|
exp rect y ( ( 0 - 122 ) + 70 - 30 * ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
exp rect w ( 281 + 50 )
|
||
|
visible when ( dvarbool( "specialops" ) && !dvarbool( "coop" ) && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
exp text ( locstring( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 0 * 18 )
|
||
|
exp rect x ( 24 + 0 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 0 * 18 )
|
||
|
exp rect x ( 24 + 0 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 0 * 18 )
|
||
|
exp rect x ( 24 + 1 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && 0 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 0 * 18 )
|
||
|
exp rect x ( 24 + 1 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 0 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 0 * 18 )
|
||
|
exp rect x ( 24 + 2 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && 0 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 0 * 18 )
|
||
|
exp rect x ( 24 + 2 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 0 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 1 * 18 )
|
||
|
exp rect x ( 24 + 0 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 1 * 18 )
|
||
|
exp rect x ( 24 + 0 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 1 * 18 )
|
||
|
exp rect x ( 24 + 1 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 1 * 18 )
|
||
|
exp rect x ( 24 + 1 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 1 * 18 )
|
||
|
exp rect x ( 24 + 2 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && 0 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 1 * 18 )
|
||
|
exp rect x ( 24 + 2 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 0 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 2 * 18 )
|
||
|
exp rect x ( 24 + 0 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 2 * 18 )
|
||
|
exp rect x ( 24 + 0 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 2 * 18 )
|
||
|
exp rect x ( 24 + 1 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 2 * 18 )
|
||
|
exp rect x ( 24 + 1 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 2 * 18 )
|
||
|
exp rect x ( 24 + 2 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 281 92 1 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "difficulty_star_empty"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) + 43 + 2 * 18 )
|
||
|
exp rect x ( 24 + 2 * 14 )
|
||
|
exp rect w ( 14 )
|
||
|
exp rect h ( 14 )
|
||
|
visible when ( 1 && dvarbool( "coop" ) && dvarbool( "specialops" ) && ! 1 && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "level_desc"
|
||
|
rect 24 -122 281 92 1 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
textfont 3
|
||
|
textalign 4
|
||
|
textalignx 46
|
||
|
textscale 0.375
|
||
|
textstyle 3
|
||
|
exp rect x ( 24 - ( ! 1 ) * 46 )
|
||
|
exp rect y ( ( 0 - 122 ) + 70 - 30 * ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
exp rect w ( 281 + 50 )
|
||
|
visible when ( dvarbool( "specialops" ) && dvarbool( "coop" ) && ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
exp text ( locstring( "@" + tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 274 2 1 3
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.2 0.2 0.2 1
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) - 30 * ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
visible when ( dvarbool( "specialops" ) && !dvarbool( "coop" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "loadbar"
|
||
|
rect 24 -122 274 2 1 3
|
||
|
style 6
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.7
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) - 30 * ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "ui_load_so_level" ) , 15 ) != "" ) )
|
||
|
visible when ( dvarbool( "specialops" ) && !dvarbool( "coop" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 24 -122 274 2 1 3
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.2 0.2 0.2 1
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) - 30 * ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
visible when ( dvarbool( "specialops" ) && dvarbool( "coop" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "loadbar"
|
||
|
rect 24 -122 274 2 1 3
|
||
|
style 6
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.7
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 122 ) - 30 * ( tablelookup( "sp/specOpsTable.csv" , 1 , dvarstring( "coop_mapname" ) , 15 ) != "" ) )
|
||
|
visible when ( dvarbool( "specialops" ) && dvarbool( "coop" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -128 -64 128 64 3 3
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "logo_iw"
|
||
|
textscale 0.55
|
||
|
visible when ( dvarbool( "specialops" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -225 352 450 0 2 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textalign 5
|
||
|
textscale 0.38
|
||
|
textstyle 3
|
||
|
text "cinematicsubtitle"
|
||
|
textcinematicsubtitle 2
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "profile"
|
||
|
rect 40 40 560 400 0 0
|
||
|
ownerdraw 264
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 8
|
||
|
align 1
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -100 0 100 600 1 1
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 -600 100 600 3 3
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -900 -100 900 100 3 1
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 900 100 1 3
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 390 56 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
|
||
|
exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 390 72 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
|
||
|
exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 390 72 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
|
||
|
exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 192 430 256 2 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.2 0.2 0.2 1
|
||
|
textscale 0.55
|
||
|
visible when ( !dvarbool( "specialops" ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "loadbar"
|
||
|
rect 192 430 256 2 0 0
|
||
|
style 6
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
visible when ( !dvarbool( "specialops" ) )
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "victoryscreen"
|
||
|
rect 0 0 640 480 0 0
|
||
|
forecolor 1 1 1 1
|
||
|
focuscolor 1 1 1 1
|
||
|
fullscreen 1
|
||
|
fadeCycle 1
|
||
|
fadeClamp 1
|
||
|
fadeAmount 0.1
|
||
|
fadeInAmount 0.002
|
||
|
onOpen
|
||
|
{
|
||
|
execOnDvarIntValue "ui_arcade_lost" 1 "disconnect";
|
||
|
uiScript "closemenuondvar" "ui_arcade_lost" 1 "victoryscreen";
|
||
|
uiScript "openmenuondvar" "ui_arcade_lost" 1 "main";
|
||
|
setdvar "cl_paused" 1;
|
||
|
setItemColor "fadebox" backcolor 0 0 0 1;
|
||
|
fadeout "fadebox";
|
||
|
exec "updategamerprofile";
|
||
|
execOnDvarIntValue "ui_showpopup" 1 "openmenu victory_notice_popmenu";
|
||
|
}
|
||
|
onClose
|
||
|
{
|
||
|
setdvar "cl_paused" 0;
|
||
|
setdvar "ui_requiredtraining" "";
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -107 0 854 480 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.2 0.2 0.2 1
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -128 0 896 480 0 0
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
background "black"
|
||
|
textscale 0.55
|
||
|
visible when ( dvarstring( "mapname" ) == "cliffhanger" )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "defaultbackdrop"
|
||
|
rect -427 -240 854 480 2 2
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "victory_iw4"
|
||
|
textscale 0.55
|
||
|
visible when ( dvarstring( "ui_char_museum_mode" ) == "credits_1" )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "mainb"
|
||
|
rect 250 420 128 16 0 0
|
||
|
visible 1
|
||
|
forecolor 0.9 0.9 0.9 0.9
|
||
|
type 1
|
||
|
textfont 9
|
||
|
textalign 5
|
||
|
textscale 0.4583
|
||
|
textstyle 6
|
||
|
text "@MENU_SP_CONTINUE_TO_SPECIAL_OPS"
|
||
|
action
|
||
|
{
|
||
|
setdvar "gamemode" "so";
|
||
|
exec "disconnect";
|
||
|
close "victoryscreen";
|
||
|
open "main";
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "fadebox"
|
||
|
rect -128 0 896 480 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 0 0 0 1
|
||
|
backcolor 0 0 0 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -100 0 100 600 1 1
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 -600 100 600 3 3
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -900 -100 900 100 3 1
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 0 0 900 100 1 3
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.5 0.6 0.8 0.5
|
||
|
textscale 0.55
|
||
|
dvarTest "ui_safearea"
|
||
|
showDvar { 1 }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 390 56 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
|
||
|
exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 390 72 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
|
||
|
exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 390 72 0 0 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
textfont 1
|
||
|
textscale 0.375
|
||
|
visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
|
||
|
exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "victory_notice_popmenu"
|
||
|
rect 204 140 235 135 0 0
|
||
|
style 1
|
||
|
border 1
|
||
|
popup
|
||
|
forecolor 1 1 1 1
|
||
|
focuscolor 1 1 1 1
|
||
|
fadeCycle 1
|
||
|
fadeClamp 1
|
||
|
fadeAmount 0.1
|
||
|
fadeInAmount 0.002
|
||
|
onOpen
|
||
|
{
|
||
|
setfocus "ok";
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close "victory_notice_popmenu";
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "window"
|
||
|
rect 204 142 235 135 0 0
|
||
|
group "grpControlbutton"
|
||
|
style 1
|
||
|
border 1
|
||
|
decoration
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0 0 0 0.5
|
||
|
bordercolor 0.5 0.5 0.5 0.5
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "backimage2fade"
|
||
|
rect -128 -22 896 484 0 0
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "window2"
|
||
|
rect 206 143 231 20 0 0
|
||
|
group "grpControlbutton"
|
||
|
style 1
|
||
|
border 1
|
||
|
decoration
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 0.3 0.3
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "backimage2fade"
|
||
|
rect 54 142 535 150 0 0
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "popmenu_bg"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "confirm"
|
||
|
rect 330 165 110 20 0 0
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 0.8 0.4 1
|
||
|
textalign 1
|
||
|
textalignx -62
|
||
|
textaligny 5
|
||
|
textscale 0.5
|
||
|
textstyle 3
|
||
|
text "@MENU_CONGRATULATIONS"
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 271 175 200 100 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 0.4823 0.4823 0.4823 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 1
|
||
|
textalignx -50
|
||
|
textaligny 19
|
||
|
textscale 0.3
|
||
|
text "@MENU_VICTORY_BRITISH_UNLOCKED"
|
||
|
dvarTest "ui_popupstring"
|
||
|
showDvar { "british_unlocked" }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 271 175 200 100 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 0.4823 0.4823 0.4823 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 1
|
||
|
textalignx -50
|
||
|
textaligny 19
|
||
|
textscale 0.3
|
||
|
text "@MENU_VICTORY_AMERICAN_UNLOCKED"
|
||
|
dvarTest "ui_popupstring"
|
||
|
showDvar { "american_unlocked" ; "american_unlockedbritish_completed" }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 271 175 200 100 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 0.4823 0.4823 0.4823 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 1
|
||
|
textalignx -50
|
||
|
textaligny 19
|
||
|
textscale 0.3
|
||
|
text "@MENU_VICTORY_BRITISH_COMPLETED"
|
||
|
dvarTest "ui_popupstring"
|
||
|
showDvar { "british_completed" }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 271 175 200 100 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 0.4823 0.4823 0.4823 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 1
|
||
|
textalignx -50
|
||
|
textaligny 19
|
||
|
textscale 0.3
|
||
|
text "@MENU_VICTORY_RUSSIAIN_COMPLETED"
|
||
|
dvarTest "ui_popupstring"
|
||
|
showDvar { "russian_completed" }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 271 175 200 100 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 0.4823 0.4823 0.4823 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 1
|
||
|
textalignx -50
|
||
|
textaligny 19
|
||
|
textscale 0.3
|
||
|
text "@MENU_VICTORY_AMERICAN_RUSSIAN"
|
||
|
dvarTest "ui_popupstring"
|
||
|
showDvar { "american_unlocked_russian_completed" }
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "ok"
|
||
|
rect 294 255 60 30 0 0
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 0.4823 0.4823 0.4823 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 1
|
||
|
textaligny 21
|
||
|
textscale 0.4583
|
||
|
textstyle 3
|
||
|
text "@MENU_OK"
|
||
|
mouseEnter
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
}
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
setdvar "ui_showpopup" 0;
|
||
|
close "victory_notice_popmenu";
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "connect"
|
||
|
rect 0 0 640 480 0 0
|
||
|
style 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 1 1 1 1
|
||
|
focuscolor 1 1 1 1
|
||
|
fadeCycle 1
|
||
|
fadeClamp 1
|
||
|
fadeAmount 0.1
|
||
|
fadeInAmount 0.002
|
||
|
itemDef
|
||
|
{
|
||
|
rect -107 0 854 480 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.2 0.2 0.2 1
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 192 424 256 8 0 0
|
||
|
style 1
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
backcolor 0.2 0.2 0.2 1
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "loadbar"
|
||
|
rect 192 424 256 8 0 0
|
||
|
style 6
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
}
|
||
|
menuDef
|
||
|
{
|
||
|
name "expression_test"
|
||
|
rect 0 0 640 480 0 0
|
||
|
style 1
|
||
|
border 1
|
||
|
forecolor 1 1 1 1
|
||
|
focuscolor 1 1 1 1
|
||
|
fullscreen 1
|
||
|
fadeCycle 1
|
||
|
fadeClamp 1
|
||
|
fadeAmount 0.1
|
||
|
fadeInAmount 0.002
|
||
|
execKey "BUTTON_B"
|
||
|
{
|
||
|
;;
|
||
|
if ( dvarint( "expressionUnitTest1" ) == 4 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest1" 0;
|
||
|
}
|
||
|
if ( dvarint( "expressionUnitTest1" ) == 3 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest1" 4;
|
||
|
}
|
||
|
if ( dvarint( "expressionUnitTest1" ) == 2 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest1" 3;
|
||
|
}
|
||
|
if ( dvarint( "expressionUnitTest1" ) == 1 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest1" 2;
|
||
|
}
|
||
|
if ( dvarint( "expressionUnitTest1" ) == 5 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest1" 1;
|
||
|
setdvar "expressionUnitTest2" 0;
|
||
|
}
|
||
|
if ( dvarint( "expressionUnitTest1" ) == 0 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest1" 5;
|
||
|
setdvar "expressionUnitTest2" 6;
|
||
|
}
|
||
|
;;
|
||
|
if ( dvarint( "expressionUnitTest1" ) == 5 )
|
||
|
{
|
||
|
if ( dvarint( "expressionUnitTest2" ) == 6 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest3" 3;
|
||
|
}
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
setLocalVarInt "foo" ( dvarint( "expressionUnitTest1" ) ) );
|
||
|
setLocalVarInt "foo3" ( 1 + 3 * 7 ) );
|
||
|
if ( localvarint( "foo" ) == 1 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest3" 7;
|
||
|
setdvar "expressionUnitTest3" 2;
|
||
|
setdvar "expressionUnitTest3" 1;
|
||
|
}
|
||
|
if ( localvarint( "foo" ) == 2 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest3" 2;
|
||
|
}
|
||
|
if ( localvarint( "foo" ) == 3 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest3" 4;
|
||
|
setdvar "expressionUnitTest3" 3;
|
||
|
}
|
||
|
if ( localvarint( "foo" ) == 4 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest3" 4;
|
||
|
}
|
||
|
if ( localvarint( "foo" ) == 1 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest4" 1;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
if ( localvarint( "foo" ) == 2 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest4" 2;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
if ( localvarint( "foo" ) == 3 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest4" 3;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
if ( localvarint( "foo" ) == 4 )
|
||
|
{
|
||
|
setdvar "expressionUnitTest4" 4;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
if ( debugprint( "Test" , localvarint( "foo" ) * 12 + 34 ) )
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close "expression_test";
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "backimage2fade"
|
||
|
rect -128 0 896 480 0 0
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "backimage2fade"
|
||
|
rect 50 177 535 200 0 0
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
background "popmenu_bg"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "back"
|
||
|
rect 270 360 100 17 0 0
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 0.4823 0.4823 0.4823 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 1
|
||
|
textaligny 13
|
||
|
textscale 0.3
|
||
|
text "Test = 1"
|
||
|
visible when ( dvarint( "expressionUnitTest4" ) == 1 && dvarint( "expressionUnitTest3" ) == 1 )
|
||
|
action
|
||
|
{
|
||
|
close "expression_test";
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "back"
|
||
|
rect 270 360 100 17 0 0
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 0.4823 0.4823 0.4823 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 1
|
||
|
textaligny 13
|
||
|
textscale 0.3
|
||
|
text "Test = 2"
|
||
|
visible when ( dvarint( "expressionUnitTest4" ) == 2 && dvarint( "expressionUnitTest3" ) == 2 )
|
||
|
action
|
||
|
{
|
||
|
close "expression_test";
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "back"
|
||
|
rect 270 360 100 17 0 0
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 0.4823 0.4823 0.4823 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 1
|
||
|
textaligny 13
|
||
|
textscale 0.3
|
||
|
text "Test = 3"
|
||
|
visible when ( dvarint( "expressionUnitTest4" ) == 3 && dvarint( "expressionUnitTest3" ) == 3 )
|
||
|
action
|
||
|
{
|
||
|
close "expression_test";
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "back"
|
||
|
rect 270 360 100 17 0 0
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 0.4823 0.4823 0.4823 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 1
|
||
|
textaligny 13
|
||
|
textscale 0.3
|
||
|
text "Test = 4"
|
||
|
visible when ( dvarint( "expressionUnitTest4" ) == 4 && dvarint( "expressionUnitTest3" ) == 4 )
|
||
|
action
|
||
|
{
|
||
|
close "expression_test";
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "back"
|
||
|
rect 270 360 100 17 0 0
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 0.4823 0.4823 0.4823 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 1
|
||
|
textaligny 13
|
||
|
textscale 0.3
|
||
|
text "Test = 0"
|
||
|
visible when ( dvarint( "expressionUnitTest1" ) == 5 && dvarint( "expressionUnitTest2" ) == 6 && dvarint( "expressionUnitTest3" ) == 3 )
|
||
|
action
|
||
|
{
|
||
|
close "expression_test";
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "back"
|
||
|
rect 270 360 100 17 0 0
|
||
|
style 1
|
||
|
visible 1
|
||
|
forecolor 0.4823 0.4823 0.4823 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 1
|
||
|
textaligny 13
|
||
|
textscale 0.3
|
||
|
exp text ( localvarint( "foo3" ) )
|
||
|
action
|
||
|
{
|
||
|
close "expression_test";
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|