3734 lines
76 KiB
Plaintext
3734 lines
76 KiB
Plaintext
/********************************************
|
|
* dumped by: aerosoul94 *
|
|
*********************************************/
|
|
|
|
{
|
|
menuDef
|
|
{
|
|
name "player_popup_party"
|
|
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
|
|
onOpen
|
|
{
|
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
|
}
|
|
onClose
|
|
{
|
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
|
}
|
|
onEsc
|
|
{
|
|
close self;
|
|
}
|
|
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 5
|
|
textscale 0.375
|
|
text "@MPUI_PLAYER_OPTIONS"
|
|
}
|
|
itemDef
|
|
{
|
|
name "player_ps3_add_friend"
|
|
rect -146 -60 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 "@XBOXLIVE_ADDFRIEND"
|
|
disabled when ( !dvarbool( "party_playervisible" ) || dvarbool( "party_iamselected" ) || isselectedplayerfriend( ) )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
addFriendFromId;
|
|
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
|
|
{
|
|
name "player_mute"
|
|
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 "@XBOXLIVE_PLAYER_MUTE"
|
|
disabled when ( dvarbool( "party_iamselected" ) || !dvarbool( "party_playervisible" ) )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
togglePlayerMute;
|
|
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
|
|
{
|
|
name "player_kick"
|
|
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 "@XBOXLIVE_KICK"
|
|
disabled when ( !privatepartyhost( ) || !dvarbool( "party_playervisible" ) || dvarbool( "party_iamselected" ) )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
getKickPlayerQuestion;
|
|
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 -84 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 + 3 * 20 ) ) )
|
|
visible when ( localvarbool( "ui_popupAButton" ) )
|
|
}
|
|
}
|
|
menuDef
|
|
{
|
|
name "player_popup_publiclobby"
|
|
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 "@MPUI_PLAYER_OPTIONS"
|
|
}
|
|
itemDef
|
|
{
|
|
name "player_ps3_add_friend"
|
|
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 "@XBOXLIVE_ADDFRIEND"
|
|
disabled when ( !dvarbool( "party_playervisible" ) || dvarbool( "party_iamselected" ) || isselectedplayerfriend( ) )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
addFriendFromId;
|
|
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
|
|
{
|
|
name "player_mute"
|
|
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 "@XBOXLIVE_PLAYER_MUTE"
|
|
disabled when ( dvarbool( "party_iamselected" ) || !dvarbool( "party_playervisible" ) )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
togglePlayerMute;
|
|
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 -64 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 + 2 * 20 ) ) )
|
|
visible when ( localvarbool( "ui_popupAButton" ) )
|
|
}
|
|
}
|
|
menuDef
|
|
{
|
|
name "player_popup_privatematch"
|
|
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
|
|
onOpen
|
|
{
|
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
|
}
|
|
onClose
|
|
{
|
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
|
}
|
|
onEsc
|
|
{
|
|
close self;
|
|
}
|
|
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 5
|
|
textscale 0.375
|
|
text "@MPUI_PLAYER_OPTIONS"
|
|
}
|
|
itemDef
|
|
{
|
|
name "player_ps3_add_friend"
|
|
rect -146 -60 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 "@XBOXLIVE_ADDFRIEND"
|
|
disabled when ( !dvarbool( "party_playervisible" ) || dvarbool( "party_iamselected" ) || isselectedplayerfriend( ) )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
addFriendFromId;
|
|
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
|
|
{
|
|
name "player_mute"
|
|
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 "@XBOXLIVE_PLAYER_MUTE"
|
|
disabled when ( dvarbool( "party_iamselected" ) || !dvarbool( "party_playervisible" ) )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
togglePlayerMute;
|
|
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
|
|
{
|
|
name "player_kick"
|
|
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 "@XBOXLIVE_KICK"
|
|
disabled when ( menuisopen( "menu_xboxlive_lobby" ) || !privatepartyhost( ) || !dvarbool( "party_playervisible" ) || dvarbool( "party_iamselected" ) )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
getKickPlayerQuestion;
|
|
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 -84 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 + 3 * 20 ) ) )
|
|
visible when ( localvarbool( "ui_popupAButton" ) )
|
|
}
|
|
}
|
|
menuDef
|
|
{
|
|
name "hostchangewarning"
|
|
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
|
|
onOpen
|
|
{
|
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
|
setfocus "yes_button";
|
|
}
|
|
onClose
|
|
{
|
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
|
}
|
|
onEsc
|
|
{
|
|
close self;
|
|
}
|
|
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 5
|
|
textscale 0.375
|
|
text "@PATCH_CHANGEHOSTTITLE"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -146 -60 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 "menu_button_selection_bar"
|
|
type 1
|
|
textfont 3
|
|
textalign 5
|
|
textscale 0.375
|
|
exp text ( dvarstring( "party_makehostquestion" ) )
|
|
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 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
name "yes_button"
|
|
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_YES"
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
makehost;
|
|
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
|
|
{
|
|
name "cancel_button"
|
|
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_NO"
|
|
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 -84 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 + 3 * 20 ) ) )
|
|
visible when ( localvarbool( "ui_popupAButton" ) )
|
|
}
|
|
}
|
|
menuDef
|
|
{
|
|
name "youarehost"
|
|
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
|
|
onOpen
|
|
{
|
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
|
focusfirst;
|
|
}
|
|
onClose
|
|
{
|
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
|
}
|
|
onEsc
|
|
{
|
|
close self;
|
|
}
|
|
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 5
|
|
textscale 0.375
|
|
text "@MENU_NOTICE"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -146 -60 292 20 2 2
|
|
group "mw2_popup_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
|
|
text "@PATCH_YOUAREHOST"
|
|
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 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
name "ok_button"
|
|
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 -84 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 + 3 * 20 ) ) )
|
|
visible when ( localvarbool( "ui_popupAButton" ) )
|
|
}
|
|
}
|
|
menuDef
|
|
{
|
|
name "settings_map"
|
|
rect 0 0 640 480 0 0
|
|
style 1
|
|
forecolor 1 1 1 1
|
|
focuscolor 1 1 1 1
|
|
fullscreen 1
|
|
soundLoop "music_mainmenu_mp"
|
|
onOpen
|
|
{
|
|
focusfirst;
|
|
setfocusbydvar "ui_mapname";
|
|
}
|
|
onClose
|
|
{
|
|
execnow "xupdatepartystate";
|
|
}
|
|
onEsc
|
|
{
|
|
close self;
|
|
}
|
|
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
|
|
}
|
|
itemDef
|
|
{
|
|
rect -367.029 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 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -648.965 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 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 640 480 4 4
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 0.405638
|
|
background "mockup_bg_glow"
|
|
textscale 0.55
|
|
exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 640 480 4 4
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 0.588374
|
|
background "mockup_bg_glow"
|
|
textscale 0.55
|
|
exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 28 640 356 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 0.15
|
|
background "white"
|
|
textscale 0.55
|
|
}
|
|
itemDef
|
|
{
|
|
rect -32 -4 32 32 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tl"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 -4 640 32 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_t"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 640 -4 32 32 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tr"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 640 28 32 356 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_r"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 640 384 32 32 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_br"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 384 640 32 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_b"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -32 384 32 32 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_bl"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -32 28 32 356 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_l"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 272 28 1 1
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 9
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.5
|
|
text "@MENU_CHOOSE_MAP_CAP"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 28 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
visible 1
|
|
forecolor 0.55 0.93 0.56 1
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "menu_button_selection_bar"
|
|
type 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
exp text ( "@PATCH_DLC_MAPS" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
open "settings_bonus_map";
|
|
}
|
|
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( ) );
|
|
setLocalVarString "ui_info_name" ( "PATCH_DLC_MAPS" );
|
|
setLocalVarString "ui_info_icon" ( "loadscreen_mp_bonusmaps" );
|
|
if ( dowehavemappack( 4 ) || dowehavemappack( 8 ) )
|
|
{
|
|
setLocalVarString "ui_info_desc" ( "PATCH_DLC_MAPS_DESC" );
|
|
}
|
|
else
|
|
{
|
|
setLocalVarString "ui_info_desc" ( "PATCH_NEW_MAPS_PSN" );
|
|
}
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 48 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
backcolor 0 0 0 1
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "menu_button_selection_bar"
|
|
type 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_afghan" }
|
|
exp text ( "@" + "MPUI_AFGHAN" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_afghan";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_AFGHAN" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_AFGHAN" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_afghan" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 68 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_derail" }
|
|
exp text ( "@" + "MPUI_DERAIL" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_derail";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_DERAIL" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_DERAIL" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_derail" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 88 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_estate" }
|
|
exp text ( "@" + "MPUI_ESTATE" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_estate";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_ESTATE" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_ESTATE" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_estate" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 108 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_favela" }
|
|
exp text ( "@" + "MPUI_FAVELA" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_favela";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_FAVELA" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_FAVELA" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_favela" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 128 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_highrise" }
|
|
exp text ( "@" + "MPUI_HIGHRISE" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_highrise";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_HIGHRISE" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_HIGHRISE" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_highrise" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 148 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_invasion" }
|
|
exp text ( "@" + "MPUI_INVASION" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_invasion";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_INVASION" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_INVASION" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_invasion" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 168 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_checkpoint" }
|
|
exp text ( "@" + "MPUI_CHECKPOINT" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_checkpoint";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_CHECKPOINT" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_CHECKPOINT" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_checkpoint" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 188 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_quarry" }
|
|
exp text ( "@" + "MPUI_QUARRY" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_quarry";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_QUARRY" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_QUARRY" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_quarry" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 208 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_rundown" }
|
|
exp text ( "@" + "MPUI_RUNDOWN" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_rundown";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_RUNDOWN" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_RUNDOWN" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_rundown" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 228 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_rust" }
|
|
exp text ( "@" + "MPUI_RUST" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_rust";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_RUST" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_RUST" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_rust" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 248 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_boneyard" }
|
|
exp text ( "@" + "MPUI_BONEYARD" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_boneyard";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_BONEYARD" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_BONEYARD" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_boneyard" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 268 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_nightshift" }
|
|
exp text ( "@" + "MPUI_RAID" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_nightshift";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_RAID" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_NIGHTSHIFT" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_nightshift" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 288 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_subbase" }
|
|
exp text ( "@" + "MPUI_SUBBASE" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_subbase";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_SUBBASE" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_SUBBASE" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_subbase" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 308 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_terminal" }
|
|
exp text ( "@" + "MPUI_TERMINAL" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_terminal";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_TERMINAL" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_TERMINAL" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_terminal" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 328 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_underpass" }
|
|
exp text ( "@" + "MPUI_UNDERPASS" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_underpass";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_UNDERPASS" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_UNDERPASS" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_underpass" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 348 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_brecourt" }
|
|
exp text ( "@" + "MPUI_WASTELAND" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_mapname" "mp_brecourt";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_WASTELAND" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_BRECOURT" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_brecourt" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 48 272 22 1 1
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 1
|
|
textalign 10
|
|
textalignx -41
|
|
textaligny -1
|
|
textscale 0.28
|
|
text "@PLATFORM_UI_SELECTBUTTON"
|
|
exp rect y ( getfocuseditemy( ) )
|
|
visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 -20 336 24 1 3
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -30
|
|
textscale 0.375
|
|
text "@PLATFORM_BACK_CAPS"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -292 28 292 356 3 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 0.7
|
|
background "black"
|
|
textscale 0.55
|
|
}
|
|
itemDef
|
|
{
|
|
name "mapimage"
|
|
rect -282 50 272 153 3 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
background "preview_mp_afghan"
|
|
textscale 0.55
|
|
exp material ( localvarstring( "ui_info_icon" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "longname"
|
|
rect -282 28 272 22 3 1
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 9
|
|
textalign 4
|
|
textscale 0.375
|
|
exp text ( "@" + localvarstring( "ui_info_name" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "description"
|
|
rect -282 203 272 20 3 1
|
|
decoration
|
|
autowrapped
|
|
visible 1
|
|
forecolor 1 1 1 0.65
|
|
textfont 3
|
|
textalign 4
|
|
textscale 0.375
|
|
exp text ( "@" + localvarstring( "ui_info_desc" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 -20 336 24 1 3
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -30
|
|
textscale 0.375
|
|
text "@PLATFORM_BACK_CAPS"
|
|
}
|
|
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 "settings_bonus_map"
|
|
rect 0 0 640 480 0 0
|
|
style 1
|
|
forecolor 1 1 1 1
|
|
focuscolor 1 1 1 1
|
|
fullscreen 1
|
|
soundLoop "music_mainmenu_mp"
|
|
onOpen
|
|
{
|
|
focusfirst;
|
|
setfocusbydvar "ui_mapname";
|
|
}
|
|
onClose
|
|
{
|
|
}
|
|
onEsc
|
|
{
|
|
close self;
|
|
close "settings_map";
|
|
}
|
|
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
|
|
}
|
|
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 ) ) )
|
|
}
|
|
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 ) ) )
|
|
}
|
|
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 )
|
|
}
|
|
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 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 28 640 356 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 0.15
|
|
background "white"
|
|
textscale 0.55
|
|
}
|
|
itemDef
|
|
{
|
|
rect -32 -4 32 32 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tl"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 -4 640 32 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_t"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 640 -4 32 32 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tr"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 640 28 32 356 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_r"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 640 384 32 32 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_br"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 384 640 32 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_b"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -32 384 32 32 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_bl"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -32 28 32 356 4 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_l"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 272 28 1 1
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 9
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.5
|
|
text "@MENU_CHOOSE_MAP_CAP"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 28 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_complex" }
|
|
exp forecolor a ( 0.45 + ( 0.55 * dowehavemappack( 4 ) ) )
|
|
exp text ( "@" + "PATCH_COMPLEX" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
if ( !dowehavemappack( 4 ) )
|
|
{
|
|
exec "xshowmarketplace";
|
|
}
|
|
else
|
|
{
|
|
setdvar "ui_mapname" "mp_complex";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "PATCH_COMPLEX" );
|
|
setLocalVarString "ui_info_desc" ( "PATCH_DESC_MAP_COMPLEX" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_complex" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 48 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_crash" }
|
|
exp forecolor a ( 0.45 + ( 0.55 * dowehavemappack( 4 ) ) )
|
|
exp text ( "@" + "MPUI_CRASH" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
if ( !dowehavemappack( 4 ) )
|
|
{
|
|
exec "xshowmarketplace";
|
|
}
|
|
else
|
|
{
|
|
setdvar "ui_mapname" "mp_crash";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_CRASH" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_CRASH" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_crash" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 68 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_overgrown" }
|
|
exp forecolor a ( 0.45 + ( 0.55 * dowehavemappack( 4 ) ) )
|
|
exp text ( "@" + "MPUI_OVERGROWN" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
if ( !dowehavemappack( 4 ) )
|
|
{
|
|
exec "xshowmarketplace";
|
|
}
|
|
else
|
|
{
|
|
setdvar "ui_mapname" "mp_overgrown";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "MPUI_OVERGROWN" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_OVERGROWN" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_overgrown" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 88 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_compact" }
|
|
exp forecolor a ( 0.45 + ( 0.55 * dowehavemappack( 4 ) ) )
|
|
exp text ( "@" + "PATCH_COMPACT" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
if ( !dowehavemappack( 4 ) )
|
|
{
|
|
exec "xshowmarketplace";
|
|
}
|
|
else
|
|
{
|
|
setdvar "ui_mapname" "mp_compact";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "PATCH_COMPACT" );
|
|
setLocalVarString "ui_info_desc" ( "PATCH_DESC_MAP_COMPACT" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_compact" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 108 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_storm" }
|
|
exp forecolor a ( 0.45 + ( 0.55 * dowehavemappack( 4 ) ) )
|
|
exp text ( "@" + "PATCH_STORM" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
if ( !dowehavemappack( 4 ) )
|
|
{
|
|
exec "xshowmarketplace";
|
|
}
|
|
else
|
|
{
|
|
setdvar "ui_mapname" "mp_storm";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "PATCH_STORM" );
|
|
setLocalVarString "ui_info_desc" ( "PATCH_DESC_MAP_STORM" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_storm" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 128 216 1 1 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 0.65
|
|
background "gradient_fadein"
|
|
textscale 0.55
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 128 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_abandon" }
|
|
exp forecolor a ( 0.45 + ( 0.55 * dowehavemappack( 8 ) ) )
|
|
exp text ( "@" + "PATCH_ABANDON" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
if ( !dowehavemappack( 8 ) )
|
|
{
|
|
exec "xshowmarketplace";
|
|
}
|
|
else
|
|
{
|
|
setdvar "ui_mapname" "mp_abandon";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "PATCH_ABANDON" );
|
|
setLocalVarString "ui_info_desc" ( "PATCH_DESC_MAP_ABANDON" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_abandon" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 148 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_fuel2" }
|
|
exp forecolor a ( 0.45 + ( 0.55 * dowehavemappack( 8 ) ) )
|
|
exp text ( "@" + "PATCH_FUEL2" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
if ( !dowehavemappack( 8 ) )
|
|
{
|
|
exec "xshowmarketplace";
|
|
}
|
|
else
|
|
{
|
|
setdvar "ui_mapname" "mp_fuel2";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "PATCH_FUEL2" );
|
|
setLocalVarString "ui_info_desc" ( "PATCH_DESC_MAP_FUEL2" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_fuel2" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 168 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_strike" }
|
|
exp forecolor a ( 0.45 + ( 0.55 * dowehavemappack( 8 ) ) )
|
|
exp text ( "@" + "PATCH_STRIKE" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
if ( !dowehavemappack( 8 ) )
|
|
{
|
|
exec "xshowmarketplace";
|
|
}
|
|
else
|
|
{
|
|
setdvar "ui_mapname" "mp_strike";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "PATCH_STRIKE" );
|
|
setLocalVarString "ui_info_desc" ( "MPUI_DESC_MAP_STRIKE" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_strike" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 188 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_trailerpark" }
|
|
exp forecolor a ( 0.45 + ( 0.55 * dowehavemappack( 8 ) ) )
|
|
exp text ( "@" + "PATCH_TRAILERPARK" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
if ( !dowehavemappack( 8 ) )
|
|
{
|
|
exec "xshowmarketplace";
|
|
}
|
|
else
|
|
{
|
|
setdvar "ui_mapname" "mp_trailerpark";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "PATCH_TRAILERPARK" );
|
|
setLocalVarString "ui_info_desc" ( "PATCH_DESC_MAP_TRAILERPARK" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_trailerpark" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 208 336 20 1 1
|
|
group "mw2_button"
|
|
style 1
|
|
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 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
dvarTest "ui_mapname"
|
|
focusDvar { "mp_vacant" }
|
|
exp forecolor a ( 0.45 + ( 0.55 * dowehavemappack( 8 ) ) )
|
|
exp text ( "@" + "PATCH_VACANT" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
if ( !dowehavemappack( 8 ) )
|
|
{
|
|
exec "xshowmarketplace";
|
|
}
|
|
else
|
|
{
|
|
setdvar "ui_mapname" "mp_vacant";
|
|
close "settings_map";
|
|
close self;
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
|
setLocalVarString "ui_info_name" ( "PATCH_VACANT" );
|
|
setLocalVarString "ui_info_desc" ( "PATCH_DESC_MAP_VACANT" );
|
|
setLocalVarString "ui_info_icon" ( "preview_mp_vacant" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 272 22 1 1
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 1
|
|
textalign 10
|
|
textalignx -41
|
|
textaligny -1
|
|
textscale 0.28
|
|
text "@PLATFORM_UI_SELECTBUTTON"
|
|
exp rect y ( getfocuseditemy( ) )
|
|
visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 -20 336 24 1 3
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -30
|
|
textscale 0.375
|
|
text "@PLATFORM_BACK_CAPS"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -292 28 292 356 3 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 0 0 0 0.7
|
|
background "black"
|
|
textscale 0.55
|
|
}
|
|
itemDef
|
|
{
|
|
name "mapimage"
|
|
rect -282 50 272 153 3 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
exp material ( localvarstring( "ui_info_icon" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "longname"
|
|
rect -282 28 272 22 3 1
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 9
|
|
textalign 4
|
|
textscale 0.375
|
|
exp text ( "@" + localvarstring( "ui_info_name" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "description"
|
|
rect -282 203 272 20 3 1
|
|
decoration
|
|
autowrapped
|
|
visible 1
|
|
forecolor 1 1 1 0.65
|
|
textfont 3
|
|
textalign 4
|
|
textscale 0.375
|
|
exp text ( "@" + localvarstring( "ui_info_desc" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 -20 336 24 1 3
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -30
|
|
textscale 0.375
|
|
text "@PLATFORM_BACK_CAPS"
|
|
}
|
|
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" ) ) )
|
|
}
|
|
}
|
|
} |