Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/invaders/data/overlays/InvaderHUD.oxo @ 9829

Last change on this file since 9829 was 9829, checked in by zifloria, 10 years ago

points, level up, hud

File size: 2.4 KB
Line 
1<Template name="InvaderHUD">
2  <OverlayGroup name="InvaderHUD" scale = "1, 1">
3    <InvaderHUDinfo
4     position  = "0.14, 0.02"
5     pickpoint = "0.0, 0.0"
6     font      = "ShareTechMono"
7     textsize  = 0.04
8     colour    = "1.0, 1.0, 1.0, 1.0"
9     align     = "left"
10
11     showlives     = true
12     showlevel     = false
13     showpoints     = false
14    />
15    <OverlayText
16     position  = "0.02, 0.02"
17     pickpoint = "0.0, 0.0"
18     font      = "ShareTechMono"
19     textsize  = 0.04
20     colour    = "1.0, 1.0, 1.0, 1.0"
21     align     = "left"
22     caption   = "Lives:   "
23    />
24
25    <OverlayText
26     position  = "0.02, 0.055"
27     pickpoint = "0.0, 0.0"
28     font      = "ShareTechMono"
29     textsize  = 0.04
30     colour    = "1.0, 1.0, 1.0, 1.0"
31     align     = "left"
32     caption   = "Level: "
33    />
34
35    <InvaderHUDinfo
36     position  = "0.14, 0.055"
37     pickpoint = "0.0, 0.0"
38     font      = "ShareTechMono"
39     textsize  = 0.04
40     colour    = "1.0, 1.0, 1.0, 1.0"
41     align     = "left"
42
43     showlives     = false
44     showlevel     = true
45     showpoints     = false
46    />
47
48    <OverlayText
49     position  = "0.02, 0.1"
50     pickpoint = "0.0, 0.0"
51     font      = "ShareTechMono"
52     textsize  = 0.04
53     colour    = "1.0, 1.0, 1.0, 1.0"
54     align     = "left"
55     caption   = "Points: "
56    />
57
58    <InvaderHUDinfo
59     position  = "0.14, 0.1"
60     pickpoint = "0.0, 0.0"
61     font      = "ShareTechMono"
62     textsize  = 0.04
63     colour    = "1.0, 1.0, 1.0, 1.0"
64     align     = "left"
65
66     showlives     = false
67     showlevel     = false
68     showpoints     = true
69    />
70  </OverlayGroup>
71</Template>
72
73
74<Template name="spaceshiphud">
75  <OverlayGroup name = "spaceshiphud" scale = "1, 1">
76    <HUDHealthBar
77     name              = "HealthBar1"
78     background        = "Orxonox/HealthBarBackground"
79     size              = "0.35, 0.0875"
80     position          = "0.0 , 0.9 "
81     pickpoint         = "0, 1"
82     bartexture        = "healthbar_bar.png"
83     textfont          = "VeraMono"
84     textusebarcolour  = true
85     textsize          = 0.039
86     textoffset        = "0.315, 0.05"
87     textpickpoint     = "0, 0"
88     textalign         = "right"
89     correctaspect     = false
90     textcorrectaspect = false
91    >
92      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
93      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
94      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
95    </HUDHealthBar>
96 </OverlayGroup>
97</Template>
Note: See TracBrowser for help on using the repository browser.