Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/main_reto/Media/overlay/OrxonoxHUD.overlay @ 270

Last change on this file since 270 was 270, checked in by rgrieder, 16 years ago
  • added old version of class hierarchy in order to make things work (is not actually needed, but will be later anyway)
  • added the hud wrapper and the media files required
File size: 3.2 KB
Line 
1Orxonox/HUD
2{
3        zorder 500
4        // Stats block
5        container BorderPanel(Orxonox/Panel)
6        {
7                metrics_mode pixels
8                vert_align top
9                left 5
10                top 5
11                width 250
12                height 90
13                material Orxonox/Red
14                border_size 1 1 1 1
15                border_material Core/StatsBlockBorder
16                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
17                border_top_uv         0.0039 1.0000 0.9961 0.9961
18                border_topright_uv    0.9961 1.0000 1.0000 0.9961
19                border_left_uv        0.0000 0.9961 0.0039 0.0039
20                border_right_uv       0.9961 0.9961 1.0000 0.0039
21                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
22                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
23                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
24
25                   
26
27
28                container BorderPanel(Orxonox/HUD1/SuperEggPanel)
29                {       
30                        border_size 1 1 1 1
31                        border_material Core/StatsBlockBorder
32                        border_topleft_uv     0.0000 1.0000 0.0039 0.9961
33                        border_top_uv         0.0039 1.0000 0.9961 0.9961
34                        border_topright_uv    0.9961 1.0000 1.0000 0.9961
35                        border_left_uv        0.0000 0.9961 0.0039 0.0039
36                        border_right_uv       0.9961 0.9961 1.0000 0.0039
37                        border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
38                        border_bottom_uv      0.0039 0.0039 0.9961 0.0000
39                        border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
40                        metrics_mode pixels
41                        horz_align left
42                        vert_align top
43                        top 10
44                        left 10
45                        width 70
46                        height 70
47                        material Orxonox/SuperEgg
48                }
49
50                element TextArea(Orxonox/HUD1/HP)
51                {
52                        metrics_mode pixels
53                        left 100
54                        top 15
55                        width 50
56                        height 25
57                        font_name BlueHighway
58                        char_height 25
59                        caption HP:
60                        colour_top 0.5 0.7 0.5
61                        colour_bottom 0.3 0.5 0.3
62                }
63
64
65
66                container BorderPanel(Orxonox/HUD1/HPBar)
67                {       
68                        border_size 1 1 1 1
69                        border_material Core/StatsBlockBorder
70                        border_topleft_uv     0.0000 1.0000 0.0039 0.9961
71                        border_top_uv         0.0039 1.0000 0.9961 0.9961
72                        border_topright_uv    0.9961 1.0000 1.0000 0.9961
73                        border_left_uv        0.0000 0.9961 0.0039 0.0039
74                        border_right_uv       0.9961 0.9961 1.0000 0.0039
75                        border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
76                        border_bottom_uv      0.0039 0.0039 0.9961 0.0000
77                        border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
78                        metrics_mode pixels
79                        horz_align left
80                        vert_align top
81                        top 25
82                        left 140
83                        width 100
84                        height 15
85                        material Orxonox/Red
86                }
87
88                element TextArea(Orxonox/HUD1/HPText)
89                {
90                        metrics_mode pixels
91                        horz_align left
92                        left 140
93                        top 10
94                        width 100
95                        height 15
96                        font_name BlueHighway
97                        char_height 15
98                        caption 1000/1000
99                        colour 1 1 1
100                }
101
102                container Panel(Orxonox/HUD1/Shot1)
103                {       
104                        metrics_mode pixels
105                        horz_align left
106                        vert_align top
107                        top 55
108                        left 110
109                        width 30
110                        height 25
111                        material Orxonox/Shot
112                }
113
114                container Panel(Orxonox/HUD1/Shot2)
115                {       
116                        metrics_mode pixels
117                        horz_align left
118                        vert_align top
119                        top 55
120                        left 160
121                        width 30
122                        height 25
123                        material Orxonox/Shot
124                }
125               
126                container Panel(Orxonox/HUD1/Shot3)
127                {       
128                        metrics_mode pixels
129                        horz_align left
130                        vert_align top
131                        top 55
132                        left 210
133                        width 30
134                        height 25
135                        material Orxonox/Shot
136                }
137
138
139               
140
141        }
142}
Note: See TracBrowser for help on using the repository browser.