668 lines
14 KiB
Plaintext
668 lines
14 KiB
Plaintext
/*********************************************************
|
|
***************** Dumped by aerosoul94 *******************
|
|
*********************************************************/
|
|
|
|
{
|
|
menuDef
|
|
{
|
|
name "levels"
|
|
rect 0 0 640 480 0 0
|
|
style 1
|
|
forecolor 1 1 1 1
|
|
focuscolor 1 1 1 1
|
|
fullscreen 1
|
|
fadeCycle 1
|
|
fadeClamp 1
|
|
fadeAmount 0.1
|
|
soundLoop "music_mainmenu_mp"
|
|
onOpen
|
|
{
|
|
hide "act_group";
|
|
setLocalVarInt "ui_hide_act_button" ( 0 );
|
|
focusfirst;
|
|
setdvar "splitscreen" 0;
|
|
}
|
|
onClose
|
|
{
|
|
}
|
|
onEsc
|
|
{
|
|
close "levels";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 640 480 4 4
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "mw2_main_background"
|
|
textscale 0.55
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 1708 480 0 0
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 0.5
|
|
background "mw2_main_cloud_overlay"
|
|
textscale 0.55
|
|
exp rect x 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 -1708 -480 0 0
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 0.5
|
|
background "mw2_main_cloud_overlay"
|
|
textscale 0.55
|
|
exp rect x - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 640 480 4 4
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 0
|
|
background "mockup_bg_glow"
|
|
textscale 0.55
|
|
exp forecolor a ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 640 480 4 4
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 0
|
|
background "mockup_bg_glow"
|
|
textscale 0.55
|
|
exp forecolor a ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 272 28 1 1
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 9
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.5
|
|
text "@MENU_MISSIONS_CAP"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 28 640 356 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 0.15
|
|
background "white"
|
|
textscale 0.55
|
|
}
|
|
itemDef
|
|
{
|
|
rect -126 28 633.383 356 1 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 0.2
|
|
background "mw2_main_sp_image"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -32 -4 32 32 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tl"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 -4 640 32 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_t"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 640 -4 32 32 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tr"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 640 28 32 356 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_r"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 640 384 32 32 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_br"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 384 640 32 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_b"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -32 384 32 32 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_bl"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -32 28 32 356 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_l"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -292 28 292 356 3 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.7 0.7 0.7 1
|
|
background "black"
|
|
textscale 0.55
|
|
}
|
|
itemDef
|
|
{
|
|
name "mapimage"
|
|
rect -282 38 272 272 3 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
exp material ( localvarstring( "ui_act_levelshot" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "mapimage_gradient"
|
|
rect -282 308 272 -24 3 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.7 0.7 0.7 1
|
|
textscale 0.55
|
|
visible when ( 0 )
|
|
exp material ( "gradient_top" )
|
|
}
|
|
itemDef
|
|
{
|
|
name "completion"
|
|
rect -282 28 272 20 3 1
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 0.75
|
|
textfont 9
|
|
textalign 4
|
|
textscale 0.375
|
|
visible when ( 0 )
|
|
exp text ( "@MENU_SP_COMPLETION" )
|
|
}
|
|
itemDef
|
|
{
|
|
name "description"
|
|
rect -282 332 272 20 3 1
|
|
decoration
|
|
autowrapped
|
|
visible 1
|
|
forecolor 1 1 1 0.75
|
|
textfont 3
|
|
textalign 4
|
|
textscale 0.375
|
|
exp text ( localvarstring( "ui_act_desc" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cheat_indicator"
|
|
rect -64 -44 336 24 1 3
|
|
decoration
|
|
visible 1
|
|
forecolor 1 0.8 0.4 1
|
|
textfont 9
|
|
textalign 6
|
|
textalignx -30
|
|
textscale 0.375
|
|
text "@MENU_CHEAT_ENABLED"
|
|
visible when ( dvarbool( "mis_cheat" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "@MENU_SP_ACT_I_CAPS"
|
|
rect -64 28 336 20 1 1
|
|
visible 1
|
|
group "mw2_button"
|
|
style 1
|
|
forecolor 1 1 1 1
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "menu_button_selection_bar"
|
|
type 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
visible when ( ( localvarint( "ui_hide_act_button" ) == 0 ) && ( 1 ) )
|
|
exp text ( "@MENU_SP_ACT_I_CAPS" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
open "popmenu_act1";
|
|
}
|
|
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( ) );
|
|
setLocalVarInt "ui_group_highlight" ( 1 );
|
|
setLocalVarString "ui_act_desc" ( "" );
|
|
setLocalVarString "ui_act_levelshot" ( "levelshot_mw2_trainer" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
name "@MENU_SP_ACT_II_CAPS"
|
|
rect -64 48 336 20 1 1
|
|
visible 1
|
|
group "mw2_button"
|
|
style 1
|
|
forecolor 1 1 1 1
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "menu_button_selection_bar"
|
|
type 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
visible when ( ( localvarint( "ui_hide_act_button" ) == 0 ) && ( ( getprofiledata( "highestMission" ) >= 5 || dvarbool( "mis_cheat" ) || dvarbool( "developer" ) ) ) )
|
|
exp text ( "@MENU_SP_ACT_II_CAPS" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
open "popmenu_act2";
|
|
}
|
|
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( ) );
|
|
setLocalVarInt "ui_group_highlight" ( 2 );
|
|
setLocalVarString "ui_act_desc" ( "" );
|
|
setLocalVarString "ui_act_levelshot" ( "levelshot_mw2_invasion" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
name "@MENU_SP_ACT_III_CAPS"
|
|
rect -64 68 336 20 1 1
|
|
visible 1
|
|
group "mw2_button"
|
|
style 1
|
|
forecolor 1 1 1 1
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "menu_button_selection_bar"
|
|
type 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
visible when ( ( localvarint( "ui_hide_act_button" ) == 0 ) && ( ( getprofiledata( "highestMission" ) >= 11 || dvarbool( "mis_cheat" ) || dvarbool( "developer" ) ) ) )
|
|
exp text ( "@MENU_SP_ACT_III_CAPS" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
open "popmenu_act3";
|
|
}
|
|
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( ) );
|
|
setLocalVarInt "ui_group_highlight" ( 3 );
|
|
setLocalVarString "ui_act_desc" ( "" );
|
|
setLocalVarString "ui_act_levelshot" ( "levelshot_mw2_contingency" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
name "MUSEUM"
|
|
rect -64 88 336 20 1 1
|
|
visible 1
|
|
group "mw2_button"
|
|
style 1
|
|
forecolor 1 1 1 1
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "menu_button_selection_bar"
|
|
type 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
visible when ( ( localvarint( "ui_hide_act_button" ) == 0 ) && ( ( getprofiledata( "highestMission" ) >= 18 || dvarbool( "mis_cheat" ) || dvarbool( "developer" ) ) ) )
|
|
exp text ( "MUSEUM" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
setdvar "ui_char_museum_mode" "free";
|
|
exec "devmap ending" ;;
|
|
}
|
|
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( ) );
|
|
setLocalVarInt "ui_group_highlight" ( 4 );
|
|
setLocalVarString "ui_act_desc" ( "" );
|
|
setLocalVarString "ui_act_levelshot" ( "levelshot_mw2_museum" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
name "@MENU_SP_ACT_II_CAPS"
|
|
rect -64 48 336 20 1 1
|
|
decoration
|
|
visible 1
|
|
group "mw2_button"
|
|
style 1
|
|
forecolor 0.6 0.6 0.6 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
|
|
visible when ( ( localvarint( "ui_hide_act_button" ) == 0 ) && ( ( !( getprofiledata( "highestMission" ) >= 5 ) && !dvarbool( "mis_cheat" ) && !dvarbool( "developer" ) ) ) )
|
|
exp text ( "@MENU_SP_ACT_II_CAPS" )
|
|
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( ) );
|
|
"phint";
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
name "@MENU_SP_ACT_III_CAPS"
|
|
rect -64 68 336 20 1 1
|
|
decoration
|
|
visible 1
|
|
group "mw2_button"
|
|
style 1
|
|
forecolor 0.6 0.6 0.6 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
|
|
visible when ( ( localvarint( "ui_hide_act_button" ) == 0 ) && ( ( !( getprofiledata( "highestMission" ) >= 11 ) && !dvarbool( "mis_cheat" ) && !dvarbool( "developer" ) ) ) )
|
|
exp text ( "@MENU_SP_ACT_III_CAPS" )
|
|
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( ) );
|
|
"phint";
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 88 216 1 1 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 0.65
|
|
background "gradient_fadein"
|
|
textscale 0.55
|
|
visible when ( ( getprofiledata( "highestMission" ) >= 18 || dvarbool( "mis_cheat" ) || dvarbool( "developer" ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "GAME LEVELS"
|
|
rect -64 128 336 20 1 1
|
|
visible 1
|
|
group "mw2_button"
|
|
style 1
|
|
forecolor 1 1 1 1
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "menu_button_selection_bar"
|
|
type 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
visible when ( ( localvarint( "ui_hide_act_button" ) == 0 ) && ( dvarbool( "developer" ) ) )
|
|
exp text ( "GAME LEVELS" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
open "levels_game";
|
|
}
|
|
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( ) );
|
|
setLocalVarInt "ui_group_highlight" ( 5 );
|
|
setLocalVarString "ui_act_desc" ( "" );
|
|
setLocalVarString "ui_act_levelshot" ( "black" );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 -20 336 20 1 3
|
|
visible 1
|
|
group "mw2_button"
|
|
style 1
|
|
forecolor 1 1 1 1
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "menu_button_selection_bar"
|
|
type 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
text "@PLATFORM_BACK_CAPS"
|
|
visible when ( "@PLATFORM_BACK_CAPS" == "@PLATFORM_BACK_CAPS" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
play "mouse_click";
|
|
"escape" self;
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 -20 336 20 1 3
|
|
visible 1
|
|
group "mw2_button"
|
|
style 1
|
|
forecolor 1 1 1 1
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "menu_button_selection_bar"
|
|
type 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
text "@PLATFORM_BACK_CAPS"
|
|
visible when ( "@PLATFORM_BACK_CAPS" == "@PLATFORM_GAME_SUMMARY_CAPS" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
play "mouse_click";
|
|
open "popup_summary";
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
if ( dvarstring( "gameMode" ) != "mp" )
|
|
{
|
|
setItemColor "mw2_button" backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
}
|
|
} |