180 lines
6.9 KiB
Plaintext
180 lines
6.9 KiB
Plaintext
{
|
|
menuDef
|
|
{
|
|
name "iw4x_credits"
|
|
fullscreen 1
|
|
rect 0 0 640 480 0 0
|
|
focuscolor 1 1 1 1
|
|
soundLoop "music_mainmenu_mp"
|
|
fadeClamp 1
|
|
fadeCycle 1
|
|
fadeAmount 0.1
|
|
onESC
|
|
{
|
|
close self;
|
|
}
|
|
itemDef
|
|
{
|
|
rect -427 -240 854 480 2 2
|
|
style 3
|
|
decoration
|
|
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
|
textscale 0.55
|
|
forecolor 0 0 0 0.4
|
|
background "white"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 640 480 4 4
|
|
style 3
|
|
decoration
|
|
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
|
textscale 0.55
|
|
background "mw2_main_background"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 1708 480 0 0
|
|
style 3
|
|
decoration
|
|
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
|
textscale 0.55
|
|
forecolor 1 1 1 0.5
|
|
background "mw2_main_cloud_overlay"
|
|
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 -1708 -480 0 0
|
|
style 3
|
|
decoration
|
|
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
|
textscale 0.55
|
|
forecolor 1 1 1 0.5
|
|
background "mw2_main_cloud_overlay"
|
|
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 640 480 4 4
|
|
style 3
|
|
decoration
|
|
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
|
textscale 0.55
|
|
forecolor 1 1 1 0.523696
|
|
background "mockup_bg_glow"
|
|
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 640 480 4 4
|
|
style 3
|
|
decoration
|
|
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
|
textscale 0.55
|
|
forecolor 1 1 1 0.476023
|
|
background "mockup_bg_glow"
|
|
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
|
}
|
|
itemDef
|
|
{
|
|
rect -256 -246 512 128 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
background "logo_cod2"
|
|
exp forecolor a ((sin(milliseconds() / 1000) + 1) * 0.25) + 0.5;
|
|
}
|
|
itemDef
|
|
{
|
|
name "box_background"
|
|
rect 0 -130 600 320 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0.3 0.3 0.3 0.5
|
|
background "white"
|
|
exp rect x 0 - 300;
|
|
}
|
|
itemDef
|
|
{
|
|
name "welcome_box"
|
|
text "IW4x"
|
|
rect 0 -130 600 320 2 2
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textalign 5
|
|
textaligny -5
|
|
textscale 1
|
|
textfont 9
|
|
backcolor 0 0 0 0.375
|
|
background "white"
|
|
exp rect x 0 - 300;
|
|
}
|
|
itemDef
|
|
{
|
|
text "DEVELOPED BY"
|
|
rect 0 -90 500 280 2 2
|
|
style 1
|
|
decoration
|
|
autowrapped
|
|
visible 1
|
|
textalign 5
|
|
textscale 0.375
|
|
textfont 7
|
|
exp rect x 0 - 250;
|
|
}
|
|
itemDef
|
|
{
|
|
name "welcome_message"
|
|
text "@IW4X_CREDITS"
|
|
rect 0 -70 500 250 2 2
|
|
style 1
|
|
decoration
|
|
autowrapped
|
|
type 21
|
|
visible 1
|
|
textalign 5
|
|
textscale 0.375
|
|
textfont 7
|
|
exp rect x 0 - 250;
|
|
}
|
|
itemDef
|
|
{
|
|
name "back"
|
|
text "@PLATFORM_BACK_CAPS"
|
|
group "mw2_button"
|
|
rect -64 -4 336 20 1 3
|
|
style 1
|
|
type 1
|
|
visible 1
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
textfont 3
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "menu_button_selection_bar"
|
|
onFocus
|
|
{
|
|
setItemColor self backColor 0 0 0 1;
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backColor 0 0 0 0;
|
|
}
|
|
mouseEnter
|
|
{
|
|
play mouse_over;
|
|
}
|
|
action
|
|
{
|
|
play mouse_click;
|
|
close self;
|
|
}
|
|
}
|
|
}
|
|
}
|