Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/Media/levels/hudtemplates.oxw @ 5236

Last change on this file since 5236 was 5236, checked in by landauf, 16 years ago
  • put hudtemplates into a separate file
  • added dedicated button to loadGUI
  • changed some parameters in some material files
File size: 1.5 KB
RevLine 
[5236]1<Template name="spectatorhud">
2  <OverlayGroup name = "spectatorhud" scale = "1, 1">
3    <OverlayText
4     position = "0.5, 0.85"
5     font     = "VeraMono"
6     caption  = "Press [Fire] to start the match!"
7     textSize = 0.05
8     colour   = "1.0, 1.0, 0.0, 0.8"
9     align    = "center"
10    />
11  </OverlayGroup>
12</Template>
13
14<Template name="spaceshiphud">
15  <OverlayGroup name = "HUD" scale = "1, 1">
16    <HUDSpeedBar
17     name       = "SpeedBar1"
18     background = "Orxonox/BarBackground"
19     size       = "0.35, 0.05"
20     position   = "0.0 , 1.0 "
21     pickPoint  = "0, 1"
22     value      = 0
23    >
24      <BarColour position = 0.7 colour = "0.2,0.7,0.2" />
25      <BarColour position = 0.4 colour = "0.7,0.5,0.2" />
26      <BarColour position = 0.1 colour = "0.7,0.2,0.2" />
27    </HUDSpeedBar>
28
29    <HUDNavigation
30     name          = "Navigation"
31     correctAspect = true
32     font          = "Monofur"
33     textSize      = 0.05
34     navMarkerSize = 0.03
35     aimMarkerSize = 0.04
36    />
37
38    <HUDRadar
39     name          = "Radar"
40     background    = "Orxonox/Radar"
41     correctAspect = true
42     size          = "0.17, 0.17"
43     position      = "0.5, 1.0"
44     pickPoint     = "0.5, 1.0"
45     rotation      = 0
46     sensitivity   = 1.0
47     halfDotSizeDistance = 3000
48     maximumDotSize      = 0.1
49    />
50
51    <ChatOverlay
52     name     = "chat"
53     position = "0.03, 0.5"
54     font     = "VeraMono"
55     caption  = ""
56     textSize = 0.025
57    />
58  </OverlayGroup>
59</Template>
Note: See TracBrowser for help on using the repository browser.