Add teamselect.menu.
[divverent/nexuiz.git] / data / menu / teamselect.menu
1 // Property of Alientrap\r
2 //\r
3 // teamselect.menu\r
4 Item Window TeamSelect\r
5 {\r
6         key     Nex_Global_Key\r
7         pos     '256 256'\r
8         size    '512 216'\r
9 \r
10         Derive Picture Background\r
11         {\r
12                 size    '512 216'\r
13                 picture "gfx/tbackground"\r
14         }\r
15 \r
16         DeriveTemplate PictureButton TeamSelectButton\r
17         {\r
18                 color           '0.5 0.5 0.5'\r
19                 colorSelected   '0.8 0.8 0.8'\r
20                 colorPressed    '1.0 1.0 1.0'\r
21 \r
22                 init            Nex_Action_ConsoleCmd\r
23         }\r
24         Derive TeamSelectButton RedTeam\r
25         {\r
26                 pos     '15 54'\r
27                 size    '186 66'\r
28                 normal  "$gfx/tred"\r
29 \r
30                 syncCmd "cmd selectteam red; cmd join; togglemenu\n"\r
31         }\r
32         Derive TeamSelectButton AutoSelect\r
33         {\r
34                 pos     '204 54'\r
35                 size    '104 68'\r
36                 normal  "$gfx/tauto"\r
37 \r
38                 syncCmd "cmd selectteam auto; cmd join; togglemenu\n"\r
39         }\r
40         Derive TeamSelectButton BlueTeam\r
41         {\r
42                 pos     '311 54'\r
43                 size    '186 66'\r
44                 normal  "$gfx/tblue"\r
45 \r
46                 syncCmd "cmd selectteam blue; cmd join; togglemenu\n"\r
47         }\r
48         Derive TeamSelectButton YellowTeam\r
49         {\r
50                 pos     '15 127'\r
51                 size    '186 66'\r
52                 normal  "$gfx/tyellow"\r
53 \r
54                 syncCmd "cmd selectteam yellow; cmd join; togglemenu\n"\r
55         }\r
56         Derive TeamSelectButton Spectator\r
57         {\r
58                 pos     '204 116'\r
59                 size    '104 76'\r
60                 normal  "$gfx/tspec"\r
61 \r
62                 syncCmd "cmd spectate; togglemenu\n"\r
63         }\r
64         Derive TeamSelectButton PinkTeam\r
65         {\r
66                 pos     '311 127'\r
67                 size    '186 66'\r
68                 normal  "$gfx/tpink"\r
69 \r
70                 syncCmd "cmd selectteam green; cmd join; togglemenu\n"\r
71         }\r
72 }\r