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
RevLine 
[5448]1<!--
[5353]2<Template name="defaultHUD">
[5448]3  <OverlayGroup name = "defaultHUD" scale = "1, 1">
[5353]4    <ChatOverlay
5     name     = "chat"
6     position = "0.03, 0.5"
7     font     = "VeraMono"
8     caption  = ""
9     textsize = 0.025
10    />
[5267]11
[5353]12    <GametypeStatus
[5267]13     name     = "state"
14     position = "0.5, 0.85"
15     font     = "VeraMono"
[5325]16     textsize = 0.05
[5267]17     colour   = "1.0, 1.0, 0.0, 0.8"
18     align    = "center"
19    />
20  </OverlayGroup>
21</Template>
[5448]22-->
[5267]23
[5353]24<Template name="spectatorhud">
25  <OverlayGroup name = "spectatorhud" scale = "1, 1">
26  </OverlayGroup>
27</Template>
28
[5267]29<Template name="spaceshiphud">
[5448]30  <OverlayGroup name = "spaceshiphud" scale = "1, 1">
[5325]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
[5267]52    <HUDSpeedBar
[5325]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
[5267]59    >
[5325]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" />
[5267]63    </HUDSpeedBar>
64
65    <HUDNavigation
66     name          = "Navigation"
[5325]67     correctaspect = true
[5267]68     font          = "Monofur"
[5325]69     textsize      = 0.05
[5267]70     navMarkerSize = 0.03
71     aimMarkerSize = 0.04
72    />
73
74    <HUDRadar
75     name          = "Radar"
76     background    = "Orxonox/Radar"
[5325]77     correctaspect = true
[5267]78     size          = "0.17, 0.17"
[5286]79     position      = "1.0, 1.0"
[5325]80     pickpoint     = "1.0, 1.0"
[5267]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.