Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5501 was 5448, checked in by landauf, 16 years ago

added HUD for Pong gametype

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