blob: bb6a7ab8bc3ea4bc83a296fbce76a776af490aab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
|
#include "ui/menudef.h"
{
\\ score_menu \\
menuDef
{
name "teamscore_menu"
visible 0
fullscreen 0
rect 0 0 640 480
focusColor 1 .75 0 1
style 0
border 1
// GAMETYPE BAR //
// TEAM NAME //
itemDef
{
name teamNameWindow
rect 14 78 612 30
style WINDOW_STYLE_FILLED
border 1
bordercolor .5 .5 .5 1
forecolor 1 1 1 1
backcolor 0 0 0 .5
visible 1
decoration
}
itemDef
{
name alienteamname
text "Aliens"
textalign 0
textscale .5
textaligny 26
rect 20 78 306 23
forecolor 1 1 1 1
decoration
visible 1
}
itemDef
{
name humanteamname
text "Humans"
textalign 2
textscale .5
textaligny 26
rect 620 78 0 23
forecolor 1 1 1 1
decoration
visible 1
}
// TEAM BARS //
itemDef
{
name leftteambar
rect 14 112 307 25
style WINDOW_STYLE_FILLED
border 1
bordercolor .5 .5 .5 1
forecolor 1 1 1 1
backcolor 0 0 0 .5
visible 1
decoration
}
itemDef
{
name rightteambar
rect 320 112 306 25
style WINDOW_STYLE_FILLED
border 1
bordercolor .5 .5 .5 1
forecolor 1 1 1 1
backcolor 0 0 0 .5
visible 1
decoration
}
// TEAM HEADINGS //
itemDef
{
name leftteamheadings
text "Status Name Kills Time Ping"
textscale .25
style 0
rect 25 112 128 30
textalign 0
textalignx 0 // x alignment point for text
// use it to offset left/right text from the edge
// or to center the text on a different point
textaligny 18
backcolor 0 0 0 0
forecolor 1 .75 0 1
decoration
visible 1
}
itemDef
{
name rightteamheadings
text "Status Name Kills Time Ping"
textscale .25
style 0
rect 331 112 128 30
textalign 0
textalignx 0 // x alignment point for text
// use it to offset left/right text from the edge
// or to center the text on a different point
textaligny 18
backcolor 0 0 0 0
forecolor 1 .75 0 1
decoration
visible 1
}
// GRADIENT BACKGROUNDS //
itemDef
{
name window
rect 320 142 1 220
style WINDOW_STYLE_FILLED
border 1
bordercolor .5 .5 .5 1
forecolor 1 1 1 1
backcolor 0 0 0 1
visible 1
decoration
}
itemDef
{
name window
rect 300 142 1 220
style WINDOW_STYLE_FILLED
border 1
bordercolor .5 .5 .5 1
visible 1
decoration
}
itemDef
{
name window
rect 606 142 1 220
style WINDOW_STYLE_FILLED
border 1
bordercolor .5 .5 .5 1
visible 1
decoration
}
// LIST //
itemDef
{
name leftlist
rect 14 142 306 222
forecolor .75 .75 .75 1
visible 1
type ITEM_TYPE_LISTBOX
elementwidth 135
elementheight 20
textscale .25
elementtype LISTBOX_TEXT
feeder FEEDER_ALIENTEAM_LIST
notselectable
columns 5
7 30 5 ITEM_ALIGN_LEFT
45 100 24 ITEM_ALIGN_LEFT
172 20 4 ITEM_ALIGN_RIGHT
209 20 4 ITEM_ALIGN_RIGHT
247 20 4 ITEM_ALIGN_RIGHT
}
itemDef
{
name rightlist
rect 320 142 306 222
forecolor 1 1 1 1
visible 1
type ITEM_TYPE_LISTBOX
elementwidth 135
elementheight 20
textscale .25
elementtype LISTBOX_TEXT
feeder FEEDER_HUMANTEAM_LIST
notselectable
columns 5
7 30 5 ITEM_ALIGN_LEFT
45 100 24 ITEM_ALIGN_LEFT
172 20 4 ITEM_ALIGN_RIGHT
209 20 4 ITEM_ALIGN_RIGHT
247 20 4 ITEM_ALIGN_RIGHT
}
// PLAYER LIST BORDER //
itemDef
{
name window
rect 14 141 612 221
style WINDOW_STYLE_EMPTY
border 1
bordercolor .5 .5 .5 1
forecolor 1 1 1 1
backcolor 0 0 0 .5
visible 1
decoration
}
// spectators //
itemDef
{
name window
rect 14 366 612 24
style WINDOW_STYLE_FILLED
border 1
bordercolor .5 .5 .5 1
forecolor 1 1 1 .7
backcolor 0 0 0 .5
textscale .33
visible 1
decoration
}
itemDef
{
name window
text "Spectating:"
textaligny 20
rect 19 366 82 24
style WINDOW_STYLE_FILLED
forecolor 1 1 1 1
textscale .33
textalignx 3
visible 1
decoration
}
itemDef
{
name window
rect 100 366 520 24
style WINDOW_STYLE_FILLED
forecolor 1 1 1 1
textscale .33
visible 1
ownerdraw CG_SPECTATORS
decoration
}
}
}
|