Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/hud/Media/overlay/OrxonoxHUD1.2.overlay @ 284

Last change on this file since 284 was 284, checked in by rgrieder, 16 years ago
  • added the necessary media material for the overlay
  • adjustd the resources.cfg file
File size: 7.0 KB
RevLine 
[284]1Orxonox/HUD1.2
2{
3        zorder 500
4        // Stats block
5
6
7       
8
9
10
11        container Panel(Orxonox/HUD1.2/MapBackGround)
12        {
13                metrics_mode pixels
14                vert_align bottom
15                horz_align center
16                left -75
17                top -160
18                width 150
19                height 150
20                material Orxonox/MapBackGround
21        }
22
23        container Panel(Orxonox/HUD1.2/MyShip)
24        {
25                metrics_mode pixels
26                vert_align bottom
27                horz_align center
28                left 100
29                top -140
30                width 100
31                height 100
32                material Orxonox/MyShip
33               
34                container Panel(Orxonox/HUD1.2/ShildLeftTop)
35                {
36                        metrics_mode pixels
37                        left -5
38                        top 0
39                        width 30
40                        height 30
41                        material Orxonox/ShildLeftTop
42                }
43
44                container Panel(Orxonox/HUD1.2/ShildRightTop)
45                {
46                        metrics_mode pixels
47                        horz_align right
48                        left -30
49                        top 0
50                        width 30
51                        height 30
52                        material Orxonox/ShildRightTop
53                }
54
55                container Panel(Orxonox/HUD1.2/ShildLeftBottom)
56                {
57                        metrics_mode pixels
58                        vert_align bottom
59                        left -5
60                        top -30
61                        width 30
62                        height 30
63                        material Orxonox/ShildLeftBottom
64                }
65
66                container Panel(Orxonox/HUD1.2/ShildRightBottom)
67                {
68                        metrics_mode pixels
69                        vert_align bottom
70                        horz_align right
71                        left -30
72                        top -30
73                        width 30
74                        height 30
75                        material Orxonox/ShildRightBottom
76                }
77               
78        }
79
80
81        container Panel(Orxonox/HUD1.2/PrimarBackground)
82        {
83                metrics_mode pixels
84                vert_align bottom
85                horz_align right
86                left -180
87                top -180
88                width 150
89                height 50
90                material Orxonox/PrimarBackground
91
92                container Panel(Orxonox/HUD1.2/PrimarSample1)
93                {
94                        metrics_mode pixels
95                        left 0
96                        top 0
97                        width 50
98                        height 50
99                        material Orxonox/PrimarSample
100                }
101
102                container Panel(Orxonox/HUD1.2/PrimarSample2)
103                {
104                        metrics_mode pixels
105                        left 50
106                        top 0
107                        width 50
108                        height 50
109                        material Orxonox/PrimarSample
110                }
111
112                container Panel(Orxonox/HUD1.2/PrimarSample3)
113                {
114                        metrics_mode pixels
115                        left 100
116                        top 0
117                        width 50
118                        height 50
119                        material Orxonox/PrimarSample
120                }
121
122                container Panel(Orxonox/HUD1.2/PrimarChoice)
123                {
124                        metrics_mode pixels
125                        left 2
126                        top 2
127                        width 48
128                        height 46
129                        material Orxonox/PrimarChoice
130                }
131
132
133
134
135        }
136       
137        container Panel(Orxonox/HUD1.2/RacketBackground)
138        {
139                metrics_mode pixels
140                vert_align bottom
141                horz_align right
142                left -180
143                top -130
144                width 150
145                height 100
146                material Orxonox/RacketBackground
147
148                element TextArea(Orxonox/HUD1.2/Rocket1)
149                {
150                        metrics_mode pixels
151                        left 10
152                        top 7
153                        width 150
154                        height 20
155                        font_name BlueHighway
156                        char_height 25
157                        caption Rocket1
158                        colour_top 0 1 0
159                }       
160
161                element TextArea(Orxonox/HUD1.2/Rocket2)
162                {
163                        metrics_mode pixels
164                        left 10
165                        top 29
166                        width 150
167                        height 20
168                        font_name BlueHighway
169                        char_height 25
170                        caption Rocket2
171                        colour_top 0 1 0
172                }       
173
174                element TextArea(Orxonox/HUD1.2/Rocket3)
175                {
176                        metrics_mode pixels
177                        left 10
178                        top 51
179                        width 150
180                        height 20
181                        font_name BlueHighway
182                        char_height 25
183                        caption Rocket3
184                        colour_top 0 1 0
185                }
186       
187                element TextArea(Orxonox/HUD1.2/Rocket4)
188                {
189                        metrics_mode pixels
190                        left 10
191                        top 74
192                        width 150
193                        height 20
194                        font_name BlueHighway
195                        char_height 25
196                        caption Rocket4
197                        colour_top 0 1 0
198                }
199
200
201                element TextArea(Orxonox/HUD1.2/RocketNum1)
202                {
203                        metrics_mode pixels
204                        horz_align right
205                        left -30
206                        top 7
207                        width 150
208                        height 20
209                        font_name BlueHighway
210                        char_height 25
211                        caption 20
212                        colour_top 0 1 0
213                }       
214
215                element TextArea(Orxonox/HUD1.2/RocketNum2)
216                {
217                        metrics_mode pixels
218                        horz_align right
219                        left -30
220                        top 29
221                        width 150
222                        height 20
223                        font_name BlueHighway
224                        char_height 25
225                        caption 99
226                        colour_top 0 1 0
227                }       
228
229                element TextArea(Orxonox/HUD1.2/RocketNum3)
230                {
231                        metrics_mode pixels
232                        horz_align right
233                        left -30
234                        top 51
235                        width 150
236                        height 20
237                        font_name BlueHighway
238                        char_height 25
239                        caption 01
240                        colour_top 0 1 0
241                }
242       
243                element TextArea(Orxonox/HUD1.2/RocketNum4)
244                {
245                        metrics_mode pixels
246                        horz_align right
247                        left -30
248                        top 74
249                        width 150
250                        height 20
251                        font_name BlueHighway
252                        char_height 25
253                        caption 55
254                        colour_top 0 1 0
255                }       
256       
257               
258       
259
260
261        }
262
263
264        container Panel(Orxonox/HUD1.2/Energy)
265        {
266                metrics_mode pixels
267                vert_align top
268                horz_align center
269                left -100
270                top 20
271                width 200
272                height 20
273
274                container Panel(Orxonox/HUD1.2/EnergyBackground)
275                {
276                        metrics_mode pixels
277                        width 200
278                        height 20
279                        material Orxonox/EnergyBackground
280                }
281               
282                element TextArea(Orxonox/HUD1.2/EnergyText)
283                {
284                        metrics_mode pixels
285                        horz_align center
286                        left -20
287                        top 2
288                        width 200
289                        height 20
290                        font_name BlueHighway
291                        char_height 20
292                        caption Energy
293                        colour_top 1 1 0
294                }
295        }
296
297        container Panel(Orxonox/HUD1.2/TargetWindow)
298        {
299                metrics_mode pixels
300                vert_align bottom
301                horz_align left
302                left 40
303                top -130
304                width 150
305                height 100
306                material Orxonox/TargetBackground
307
308                element TextArea(Orxonox/HUD1.2/TargetWindow/Name)
309                {
310                        metrics_mode pixels
311                        left 20
312                        top 5
313                        width 200
314                        height 20
315                        font_name BlueHighway
316                        char_height 25
317                        caption Moesonator
318                        colour_top 0 1 0
319                }
320
321                element TextArea(Orxonox/HUD1.2/TargetWindow/Distance)
322                {
323                        metrics_mode pixels
324                        left 9
325                        top 35
326                        width 150
327                        height 20
328                        font_name BlueHighway
329                        char_height 20
330                        caption Distance
331                        colour_top 0 1 0
332                }
333
334                element TextArea(Orxonox/HUD1.2/TargetWindow/Status)
335                {
336                        metrics_mode pixels
337                        left 7
338                        top 55
339                        width 150
340                        height 20
341                        font_name BlueHighway
342                        char_height 20
343                        caption Status
344                        colour_top 0 1 0
345                }
346
347                element TextArea(Orxonox/HUD1.2/TargetWindow/HitRating)
348                {
349                        metrics_mode pixels
350                        left 7
351                        top 75
352                        width 150
353                        height 20
354                        font_name BlueHighway
355                        char_height 20
356                        caption Hit Rating
357                        colour_top 0 1 0
358                }
359
360                element TextArea(Orxonox/HUD1.2/TargetWindow/DistanceText)
361                {
362                        metrics_mode pixels
363                        horz_align right
364                        left -50
365                        top 35
366                        width 150
367                        height 20
368                        font_name BlueHighway
369                        char_height 20
370                        caption 50km
371                        colour_top 0 1 0
372                }
373
374                element TextArea(Orxonox/HUD1.2/TargetWindow/StatusText)
375                {
376                        metrics_mode pixels
377                        horz_align right
378                        left -50
379                        top 55
380                        width 150
381                        height 20
382                        font_name BlueHighway
383                        char_height 20
384                        caption huhu
385                        colour_top 0 1 0
386                }
387
388                element TextArea(Orxonox/HUD1.2/TargetWindow/HitRatingText)
389                {
390                        metrics_mode pixels
391                        horz_align right
392                        left -50
393                        top 75
394                        width 150
395                        height 20
396                        font_name BlueHighway
397                        char_height 20
398                        caption 50%
399                        colour_top 0 1 0
400                }
401
402
403
404        }
405
406
407
408
409        container Panel(Orxonox/HUD1.2/EnergyDistrWindow)
410        {
411                metrics_mode pixels
412                vert_align bottom
413                horz_align right
414                left -150
415                top -300
416                width 100
417                height 86
418                material Orxonox/EnergyDistrBackground
419
420                container Panel(Orxonox/HUD1.2/EnergyDistrPoint)
421                {
422                        metrics_mode pixels
423                        left 40
424                        top 36
425                        width 7
426                        height 7
427                        material Orxonox/RedPoint
428                }
429        }
430
431        container Panel(Orxonox/HUD1.2/Time)
432        {
433                metrics_mode pixels
434                vert_align top
435                horz_align left
436                left 30
437                top 10
438                width 60
439                height 30
440
441               
442                element TextArea(Orxonox/HUD1.2/Time/Text)
443                {
444                        metrics_mode pixels
445                        horz_align left
446                        left 10
447                        top 5
448                        width 100
449                        height 20
450                        font_name BlueHighway
451                        char_height 25
452                        caption 99:99
453                        colour_top 0 1 0
454                }
455
456}
Note: See TracBrowser for help on using the repository browser.