Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/levels/hudtemplates3.oxw @ 5363

Last change on this file since 5363 was 5353, checked in by landauf, 16 years ago

added defaultHUD, used by HumanController

  • Property svn:eol-style set to native
File size: 2.3 KB
Line 
1<Template name="defaultHUD">
2  <OverlayGroup name = "chatoverlay" scale = "1, 1">
3    <ChatOverlay
4     name     = "chat"
5     position = "0.03, 0.5"
6     font     = "VeraMono"
7     caption  = ""
8     textsize = 0.025
9    />
10
11    <GametypeStatus
12     name     = "state"
13     position = "0.5, 0.85"
14     font     = "VeraMono"
15     textsize = 0.05
16     colour   = "1.0, 1.0, 0.0, 0.8"
17     align    = "center"
18    />
19  </OverlayGroup>
20</Template>
21
22<Template name="spectatorhud">
23  <OverlayGroup name = "spectatorhud" scale = "1, 1">
24  </OverlayGroup>
25</Template>
26
27<Template name="spaceshiphud">
28  <OverlayGroup name = "HUD" scale = "1, 1">
29    <HUDHealthBar
30     name              = "HealthBar1"
31     background        = "Orxonox/HealthBarBackground"
32     size              = "0.35, 0.0875"
33     position          = "0.0 , 0.95 "
34     pickpoint         = "0, 1"
35     bartexture        = "healthbar_bar.tga"
36     textfont          = "VeraMono"
37     textusebarcolour  = true
38     textsize          = 0.039
39     textoffset        = "0.315, 0.05"
40     textpickpoint     = "0, 0"
41     textalign         = "right"
42     correctaspect     = false
43     textcorrectaspect = false
44    >
45      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
46      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
47      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
48    </HUDHealthBar>
49
50    <HUDSpeedBar
51     name          = "SpeedBar1"
52     background    = "Orxonox/BarBackground"
53     size          = "0.35, 0.05"
54     position      = "0.0 , 1.0 "
55     pickpoint     = "0, 1"
56     correctaspect = false
57    >
58      <BarColour position = 0.0 colour = "0.7,0.5,0.2" />
59      <BarColour position = 0.5 colour = "0.2,0.7,0.2" />
60      <BarColour position = 1.0 colour = "0.7,0.2,0.2" />
61    </HUDSpeedBar>
62
63    <HUDNavigation
64     name          = "Navigation"
65     correctaspect = true
66     font          = "Monofur"
67     textsize      = 0.05
68     navMarkerSize = 0.03
69     aimMarkerSize = 0.04
70    />
71
72    <HUDRadar
73     name          = "Radar"
74     background    = "Orxonox/Radar"
75     correctaspect = true
76     size          = "0.17, 0.17"
77     position      = "1.0, 1.0"
78     pickpoint     = "1.0, 1.0"
79     rotation      = 0
80     sensitivity   = 1.0
81     halfDotSizeDistance = 3000
82     maximumDotSize      = 0.1
83    />
84  </OverlayGroup>
85</Template>
Note: See TracBrowser for help on using the repository browser.