IW4-Dump-Files/ui/main.menu

108 lines
2.0 KiB
Plaintext

/*********************************************************
***************** Dumped by aerosoul94 *******************
*********************************************************/
{
menuDef
{
name "main"
rect 0 0 640 480 0 0
forecolor 1 1 1 1
focuscolor 1 1 1 1
fullscreen 1
fadeCycle 1
fadeClamp 1
fadeAmount 0.1
onOpen
{
setLocalVarString "ui_setfocus_to" ( "" );
if ( dvarstring( "gameMode" ) == "sp" )
{
close self;
open "main_text";
}
if ( dvarstring( "gameMode" ) == "so" )
{
close self;
open "main_specops";
}
if ( dvarstring( "gameMode" ) != "so" && dvarstring( "gameMode" ) != "sp" )
{
close self;
open "main_selection";
}
}
onClose
{
close "main_specops";
close "main_text";
}
onEsc
{
}
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 -64 0 280 480 1 0
decoration
visible 1
style 3
forecolor 1 1 1 0.1
background "gradient_fadein_fadebottom"
textscale 0.55
}
}
}