IW4-Dump-Files/ui/popmenu_specialops_difficul...

565 lines
16 KiB
Plaintext

/*********************************************************
***************** Dumped by aerosoul94 *******************
*********************************************************/
{
menuDef
{
name "popmenu_specialops_difficulty"
rect -150 -82 300 164 2 2
popup
outOfBoundsClick
visible 1
style 1
forecolor 1 1 1 1
backcolor 1 1 1 1
background "white"
focuscolor 1 1 1 1
fadeCycle 1
fadeClamp 1
fadeAmount 0.1
allowedBinding "+talk"
exp rect y ( 0 - ( 24 + 7 * 20 ) / 2 )
onOpen
{
setfocusbydvar "g_gameskill";
}
onEsc
{
close self;
}
itemDef
{
rect -1004 -562 3416 1920 2 2
decoration
visible 1
style 1
forecolor 1 1 1 1
backcolor 0 0 0 0.35
background "white"
textscale 0.55
}
itemDef
{
rect -1004 -562 3416 1920 2 2
decoration
visible 1
style 1
forecolor 1 1 1 1
backcolor 1 1 1 1
background "xpbar_stencilbase"
textscale 0.55
}
itemDef
{
rect -427 -82 854 164 2 2
decoration
visible 1
style 1
forecolor 1 1 1 1
backcolor 0.5 0.5 0.5 1
background "white"
textscale 0.55
}
itemDef
{
rect -150 -82 1708 480 2 9
decoration
visible 1
style 3
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
textscale 0.55
exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
}
itemDef
{
rect -150 -82 -1708 -480 2 9
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
textscale 0.55
exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
}
itemDef
{
rect -427 -82 854 0 2 9
decoration
visible 1
style 3
forecolor 1 1 1 1
background "mockup_popup_bg_stencilfill"
textscale 0.55
exp rect h ( ( 24 + 7 * 20 ) )
}
itemDef
{
rect -150 -82 -1708 -480 2 9
decoration
visible 1
style 3
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
textscale 0.55
exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
}
itemDef
{
rect -150 -82 -1708 -480 2 9
decoration
visible 1
style 3
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
textscale 0.55
exp rect x ( ( 0 - ( 854 - 300 ) * 0.5 ) + ( 0 - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
}
itemDef
{
rect -491 -146 64 64 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_tl"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect -427 -146 854 64 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_t"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 427 -146 64 64 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_tr"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 427 -82 64 164 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_r"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 427 82 64 64 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_br"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect -427 82 854 64 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_b"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect -491 82 64 64 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_bl"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect -491 -82 64 164 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_l"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect -150 -82 300 24 2 2
decoration
visible 1
style 1
forecolor 1 1 1 1
background "gradient_fadein"
textfont 9
textalign 4
textalignx 4
textscale 0.375
text "@MENU_SELECT_DIFFICULTY"
}
itemDef
{
rect -146 30 292 42 2 2
decoration
autowrapped
visible 1
style 1
forecolor 1 1 1 1
textfont 3
textalign 6
textscale 0.375
visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_easy" )
exp text ( locstring( "@MENU_REGULAR_DESC_3" ) + "
" + locstring( "@MENU_REGULAR_DESC_4" ) )
}
itemDef
{
rect -146 30 292 42 2 2
decoration
autowrapped
visible 1
style 1
forecolor 1 1 1 1
textfont 3
textalign 6
textscale 0.375
visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_regular" )
exp text ( locstring( "@MENU_SKILLED_DESC" ) + "
" + locstring( "@MENU_SKILLED_DESC_2" ) )
}
itemDef
{
rect -146 30 292 42 2 2
decoration
autowrapped
visible 1
style 1
forecolor 1 1 1 1
textfont 3
textalign 6
textscale 0.375
visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_hardened" )
exp text ( "@MENU_HARDENED_DESC" )
}
itemDef
{
rect -146 30 292 42 2 2
decoration
autowrapped
visible 1
style 1
forecolor 1 1 1 1
textfont 3
textalign 6
textscale 0.375
visible when ( localvarstring( "ui_highlighted_diff" ) == "newgame_veteran" )
exp text ( "@MENU_VETERAN_DESC" )
}
itemDef
{
name "newgame_regular"
rect -146 -58 292 20 2 2
visible 1
group "mw2_popup_button"
style 1
forecolor 1 1 1 1
disablecolor 0.6 0.55 0.55 1
background "popup_button_selection_bar_flipped"
type 1
textfont 3
textalign 4
textscale 0.375
text "@MENU_REGULAR_CAPS"
dvarTest "g_gameskill"
focusDvar { 1 }
action
{
play "mouse_click";
setdvar "g_gameskill" 1;
setdvar "g_gameskill_player_1" 1;
setdvar "g_gameskill_player_2" 1;
; close self;
execOnDvarStringValue "ui_load_so_level" "so_demo_so_bridge" "devmap so_demo_so_bridge";
execOnDvarStringValue "ui_load_so_level" "so_crossing_so_bridge" "devmap so_crossing_so_bridge";
execOnDvarStringValue "ui_load_so_level" "so_timed_so_quicky" "devmap so_timed_so_quicky";
execOnDvarStringValue "ui_load_so_level" "so_killspree_invasion" "devmap so_killspree_invasion";
execOnDvarStringValue "ui_load_so_level" "so_assault_oilrig" "devmap so_assault_oilrig";
execOnDvarStringValue "ui_load_so_level" "so_ac130_co_hunted" "devmap so_ac130_co_hunted";
execOnDvarStringValue "ui_load_so_level" "so_killspree_favela" "devmap so_killspree_favela";
execOnDvarStringValue "ui_load_so_level" "so_showers_gulag" "devmap so_showers_gulag";
execOnDvarStringValue "ui_load_so_level" "so_defense_invasion" "devmap so_defense_invasion";
execOnDvarStringValue "ui_load_so_level" "so_escape_airport" "devmap so_escape_airport";
execOnDvarStringValue "ui_load_so_level" "so_forest_contingency" "devmap so_forest_contingency";
execOnDvarStringValue "ui_load_so_level" "so_hidden_so_ghillies" "devmap so_hidden_so_ghillies";
execOnDvarStringValue "ui_load_so_level" "so_killspree_trainer" "devmap so_killspree_trainer";
execOnDvarStringValue "ui_load_so_level" "so_sabotage_cliffhanger" "devmap so_sabotage_cliffhanger";
execOnDvarStringValue "ui_load_so_level" "so_snowrace1_cliffhanger" "devmap so_snowrace1_cliffhanger";
execOnDvarStringValue "ui_load_so_level" "so_snowrace2_cliffhanger" "devmap so_snowrace2_cliffhanger";
execOnDvarStringValue "ui_load_so_level" "so_defuse_favela_escape" "devmap so_defuse_favela_escape";
execOnDvarStringValue "ui_load_so_level" "so_takeover_estate" "devmap so_takeover_estate";
execOnDvarStringValue "ui_load_so_level" "so_takeover_oilrig" "devmap so_takeover_oilrig";
execOnDvarStringValue "ui_load_so_level" "so_intel_boneyard" "devmap so_intel_boneyard";
execOnDvarStringValue "ui_load_so_level" "so_juggernauts_favela" "devmap so_juggernauts_favela";
execOnDvarStringValue "ui_load_so_level" "so_download_arcadia" "devmap so_download_arcadia";
execOnDvarStringValue "ui_load_so_level" "so_rooftop_contingency" "devmap so_rooftop_contingency";
execOnDvarStringValue "ui_load_so_level" "so_chopper_invasion" "devmap so_chopper_invasion";
}
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 );
play "mouse_over";
setItemColor self backcolor 0 0 0 1;
setLocalVarBool "ui_popupAButton" ( 1 );
setLocalVarString "ui_highlighted_diff" ( "newgame_regular" );
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool "ui_popupAButton" ( 0 );
}
}
itemDef
{
name "newgame_hardened"
rect -146 -38 292 20 2 2
visible 1
group "mw2_popup_button"
style 1
forecolor 1 1 1 1
disablecolor 0.6 0.55 0.55 1
background "popup_button_selection_bar_flipped"
type 1
textfont 3
textalign 4
textscale 0.375
text "@MENU_HARDENED_CAPS"
dvarTest "g_gameskill"
focusDvar { 2 }
action
{
play "mouse_click";
setdvar "g_gameskill" 2;
setdvar "g_gameskill_player_1" 2;
setdvar "g_gameskill_player_2" 2;
; close self;
execOnDvarStringValue "ui_load_so_level" "so_demo_so_bridge" "devmap so_demo_so_bridge";
execOnDvarStringValue "ui_load_so_level" "so_crossing_so_bridge" "devmap so_crossing_so_bridge";
execOnDvarStringValue "ui_load_so_level" "so_timed_so_quicky" "devmap so_timed_so_quicky";
execOnDvarStringValue "ui_load_so_level" "so_killspree_invasion" "devmap so_killspree_invasion";
execOnDvarStringValue "ui_load_so_level" "so_assault_oilrig" "devmap so_assault_oilrig";
execOnDvarStringValue "ui_load_so_level" "so_ac130_co_hunted" "devmap so_ac130_co_hunted";
execOnDvarStringValue "ui_load_so_level" "so_killspree_favela" "devmap so_killspree_favela";
execOnDvarStringValue "ui_load_so_level" "so_showers_gulag" "devmap so_showers_gulag";
execOnDvarStringValue "ui_load_so_level" "so_defense_invasion" "devmap so_defense_invasion";
execOnDvarStringValue "ui_load_so_level" "so_escape_airport" "devmap so_escape_airport";
execOnDvarStringValue "ui_load_so_level" "so_forest_contingency" "devmap so_forest_contingency";
execOnDvarStringValue "ui_load_so_level" "so_hidden_so_ghillies" "devmap so_hidden_so_ghillies";
execOnDvarStringValue "ui_load_so_level" "so_killspree_trainer" "devmap so_killspree_trainer";
execOnDvarStringValue "ui_load_so_level" "so_sabotage_cliffhanger" "devmap so_sabotage_cliffhanger";
execOnDvarStringValue "ui_load_so_level" "so_snowrace1_cliffhanger" "devmap so_snowrace1_cliffhanger";
execOnDvarStringValue "ui_load_so_level" "so_snowrace2_cliffhanger" "devmap so_snowrace2_cliffhanger";
execOnDvarStringValue "ui_load_so_level" "so_defuse_favela_escape" "devmap so_defuse_favela_escape";
execOnDvarStringValue "ui_load_so_level" "so_takeover_estate" "devmap so_takeover_estate";
execOnDvarStringValue "ui_load_so_level" "so_takeover_oilrig" "devmap so_takeover_oilrig";
execOnDvarStringValue "ui_load_so_level" "so_intel_boneyard" "devmap so_intel_boneyard";
execOnDvarStringValue "ui_load_so_level" "so_juggernauts_favela" "devmap so_juggernauts_favela";
execOnDvarStringValue "ui_load_so_level" "so_download_arcadia" "devmap so_download_arcadia";
execOnDvarStringValue "ui_load_so_level" "so_rooftop_contingency" "devmap so_rooftop_contingency";
execOnDvarStringValue "ui_load_so_level" "so_chopper_invasion" "devmap so_chopper_invasion";
}
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 );
play "mouse_over";
setItemColor self backcolor 0 0 0 1;
setLocalVarBool "ui_popupAButton" ( 1 );
setLocalVarString "ui_highlighted_diff" ( "newgame_hardened" );
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool "ui_popupAButton" ( 0 );
}
}
itemDef
{
name "newgame_veteran"
rect -146 -18 292 20 2 2
visible 1
group "mw2_popup_button"
style 1
forecolor 1 1 1 1
disablecolor 0.6 0.55 0.55 1
background "popup_button_selection_bar_flipped"
type 1
textfont 3
textalign 4
textscale 0.375
text "@MENU_VETERAN_CAPS"
dvarTest "g_gameskill"
focusDvar { 3 }
action
{
play "mouse_click";
setdvar "g_gameskill" 3;
setdvar "g_gameskill_player_1" 3;
setdvar "g_gameskill_player_2" 3;
; close self;
execOnDvarStringValue "ui_load_so_level" "so_demo_so_bridge" "devmap so_demo_so_bridge";
execOnDvarStringValue "ui_load_so_level" "so_crossing_so_bridge" "devmap so_crossing_so_bridge";
execOnDvarStringValue "ui_load_so_level" "so_timed_so_quicky" "devmap so_timed_so_quicky";
execOnDvarStringValue "ui_load_so_level" "so_killspree_invasion" "devmap so_killspree_invasion";
execOnDvarStringValue "ui_load_so_level" "so_assault_oilrig" "devmap so_assault_oilrig";
execOnDvarStringValue "ui_load_so_level" "so_ac130_co_hunted" "devmap so_ac130_co_hunted";
execOnDvarStringValue "ui_load_so_level" "so_killspree_favela" "devmap so_killspree_favela";
execOnDvarStringValue "ui_load_so_level" "so_showers_gulag" "devmap so_showers_gulag";
execOnDvarStringValue "ui_load_so_level" "so_defense_invasion" "devmap so_defense_invasion";
execOnDvarStringValue "ui_load_so_level" "so_escape_airport" "devmap so_escape_airport";
execOnDvarStringValue "ui_load_so_level" "so_forest_contingency" "devmap so_forest_contingency";
execOnDvarStringValue "ui_load_so_level" "so_hidden_so_ghillies" "devmap so_hidden_so_ghillies";
execOnDvarStringValue "ui_load_so_level" "so_killspree_trainer" "devmap so_killspree_trainer";
execOnDvarStringValue "ui_load_so_level" "so_sabotage_cliffhanger" "devmap so_sabotage_cliffhanger";
execOnDvarStringValue "ui_load_so_level" "so_snowrace1_cliffhanger" "devmap so_snowrace1_cliffhanger";
execOnDvarStringValue "ui_load_so_level" "so_snowrace2_cliffhanger" "devmap so_snowrace2_cliffhanger";
execOnDvarStringValue "ui_load_so_level" "so_defuse_favela_escape" "devmap so_defuse_favela_escape";
execOnDvarStringValue "ui_load_so_level" "so_takeover_estate" "devmap so_takeover_estate";
execOnDvarStringValue "ui_load_so_level" "so_takeover_oilrig" "devmap so_takeover_oilrig";
execOnDvarStringValue "ui_load_so_level" "so_intel_boneyard" "devmap so_intel_boneyard";
execOnDvarStringValue "ui_load_so_level" "so_juggernauts_favela" "devmap so_juggernauts_favela";
execOnDvarStringValue "ui_load_so_level" "so_download_arcadia" "devmap so_download_arcadia";
execOnDvarStringValue "ui_load_so_level" "so_rooftop_contingency" "devmap so_rooftop_contingency";
execOnDvarStringValue "ui_load_so_level" "so_chopper_invasion" "devmap so_chopper_invasion";
}
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 );
play "mouse_over";
setItemColor self backcolor 0 0 0 1;
setLocalVarBool "ui_popupAButton" ( 1 );
setLocalVarString "ui_highlighted_diff" ( "newgame_veteran" );
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool "ui_popupAButton" ( 0 );
}
}
itemDef
{
rect 94 -55 292 20 2 2
decoration
visible 1
style 3
forecolor 1 1 1 1
textscale 0.55
exp rect w ( 14 )
exp rect h ( 14 )
visible when ( 1 )
exp material ( "difficulty_star" )
}
itemDef
{
rect 94 -35 292 20 2 2
decoration
visible 1
style 3
forecolor 1 1 1 1
textscale 0.55
exp rect w ( 14 )
exp rect h ( 14 )
visible when ( 1 )
exp material ( "difficulty_star" )
}
itemDef
{
rect 81 -35 292 20 2 2
decoration
visible 1
style 3
forecolor 1 1 1 1
textscale 0.55
exp rect w ( 14 )
exp rect h ( 14 )
visible when ( 1 )
exp material ( "difficulty_star" )
}
itemDef
{
rect 94 -15 292 20 2 2
decoration
visible 1
style 3
forecolor 1 1 1 1
textscale 0.55
exp rect w ( 14 )
exp rect h ( 14 )
visible when ( 1 )
exp material ( "difficulty_star" )
}
itemDef
{
rect 81 -15 292 20 2 2
decoration
visible 1
style 3
forecolor 1 1 1 1
textscale 0.55
exp rect w ( 14 )
exp rect h ( 14 )
visible when ( 1 )
exp material ( "difficulty_star" )
}
itemDef
{
rect 68 -15 292 20 2 2
decoration
visible 1
style 3
forecolor 1 1 1 1
textscale 0.55
exp rect w ( 14 )
exp rect h ( 14 )
visible when ( 1 )
exp material ( "difficulty_star" )
}
}
}