229 lines
8.7 KiB
Plaintext
229 lines
8.7 KiB
Plaintext
{
|
|
menuDef
|
|
{
|
|
name "connect"
|
|
rect 0 0 640 480 0 0
|
|
style 1
|
|
focuscolor 1 1 1 1
|
|
onOpen
|
|
{
|
|
exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow";
|
|
}
|
|
itemDef
|
|
{
|
|
rect -426.667 -240 853.333 480 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
background "$levelbriefing"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -426.667 -236 853.333 -400 2 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
background "gradient_bottom"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -426.667 -163 853.333 200 2 3
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
background "gradient_bottom"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 26 3 1
|
|
decoration
|
|
visible 1
|
|
textalign 6
|
|
textalignx -8
|
|
textscale 0.5833
|
|
textstyle 3
|
|
textfont 9
|
|
forecolor 0.051 0.741 0 1
|
|
exp text gametypename();
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 26 0 26 3 1
|
|
decoration
|
|
visible 1
|
|
textalign 6
|
|
textalignx -8
|
|
textscale 0.5833
|
|
textstyle 3
|
|
textfont 9
|
|
exp text getmapname();
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 56 0 26 3 1
|
|
decoration
|
|
visible 1
|
|
textalign 6
|
|
textalignx -8
|
|
textscale 0.275
|
|
textstyle 3
|
|
textfont 9
|
|
exp text connectioninfo();
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 56 0 26 3 1
|
|
decoration
|
|
visible when((connectioninfo() != "") && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.25));
|
|
textalign 4
|
|
textalignx -6
|
|
textscale 0.275
|
|
textstyle 3
|
|
textfont 9
|
|
exp text "";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 56 0 26 3 1
|
|
decoration
|
|
visible when((connectioninfo() != "") && ((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.25) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.5)));
|
|
textalign 4
|
|
textalignx -6
|
|
textscale 0.275
|
|
textstyle 3
|
|
textfont 9
|
|
exp text ".";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 56 0 26 3 1
|
|
decoration
|
|
visible when((connectioninfo() != "") && ((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.5) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.75)));
|
|
textalign 4
|
|
textalignx -6
|
|
textscale 0.275
|
|
textstyle 3
|
|
textfont 9
|
|
exp text "..";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 56 0 26 3 1
|
|
decoration
|
|
visible when((connectioninfo() != "") && (((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.75));
|
|
textalign 4
|
|
textalignx -6
|
|
textscale 0.275
|
|
textstyle 3
|
|
textfont 9
|
|
exp text "...";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 86 0 26 3 1
|
|
decoration
|
|
visible when(dvarstring(fs_game) != "");
|
|
textalign 6
|
|
textalignx -8
|
|
textscale 0.375
|
|
textstyle 3
|
|
textfont 9
|
|
exp text dvarstring(fs_game);
|
|
}
|
|
itemDef
|
|
{
|
|
rect -252 -60 504 3 2 3
|
|
style 1
|
|
decoration
|
|
visible when(!dvarbool(wideScreen));
|
|
textscale 0.55
|
|
backcolor 1 1 1 0.2
|
|
}
|
|
itemDef
|
|
{
|
|
name "loadbar"
|
|
rect -252 -60 504 3 2 3
|
|
style 6
|
|
decoration
|
|
visible when(!dvarbool(wideScreen));
|
|
textscale 0.55
|
|
forecolor 1 1 1 0.5
|
|
background "white"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 20 -60 410 2 1 3
|
|
decoration
|
|
autowrapped
|
|
visible when(!dvarbool(wideScreen));
|
|
textalign 4
|
|
textaligny 4
|
|
textscale 0.275
|
|
textstyle 3
|
|
textfont 9
|
|
}
|
|
itemDef
|
|
{
|
|
text "@MENU_INTEL"
|
|
rect -20 -60 0 2 1 3
|
|
decoration
|
|
visible when(!dvarbool(wideScreen));
|
|
textalign 4
|
|
textalignx 40
|
|
textaligny -26
|
|
textscale 0.5833
|
|
textstyle 3
|
|
textfont 9
|
|
}
|
|
itemDef
|
|
{
|
|
rect -320 -60 640 3 2 3
|
|
style 1
|
|
decoration
|
|
visible when(dvarbool(wideScreen));
|
|
textscale 0.55
|
|
backcolor 1 1 1 0.2
|
|
}
|
|
itemDef
|
|
{
|
|
name "loadbar"
|
|
rect -320 -60 640 3 2 3
|
|
style 6
|
|
decoration
|
|
visible when(dvarbool(wideScreen));
|
|
textscale 0.55
|
|
forecolor 1 1 1 0.5
|
|
background "white"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -36 -56 484 2 1 3
|
|
decoration
|
|
autowrapped
|
|
visible when(dvarbool(wideScreen));
|
|
textalign 4
|
|
textalignx 80
|
|
textaligny 4
|
|
textscale 0.275
|
|
textstyle 3
|
|
textfont 9
|
|
}
|
|
itemDef
|
|
{
|
|
text "@MENU_INTEL"
|
|
rect -36 -60 0 2 1 3
|
|
decoration
|
|
visible when(dvarbool(wideScreen));
|
|
textalign 4
|
|
textalignx 80
|
|
textaligny -26
|
|
textscale 0.5833
|
|
textstyle 3
|
|
textfont 9
|
|
}
|
|
}
|
|
}
|