Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5350 was 5325, checked in by landauf, 16 years ago

added healthbar

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