Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/overlays/HUD.oxo @ 12038

Last change on this file since 12038 was 10292, checked in by landauf, 10 years ago

fixed text size in HUD (marker which shows the enemy's name). the configured size was not used and it was completely distorted if the window was resized. now both works.

  • Property svn:eol-style set to native
File size: 2.6 KB
RevLine 
[5158]1<!-- HUD OVERLAY -->
2<OverlayGroup name = "HUD" scale = "1, 1">
3
4  <HUDSpeedBar
5   name       = "SpeedBar1"
6   background = "Orxonox/BarBackground"
7   size       = "0.35, 0.05"
8   position   = "0.0 , 1.0 "
[5160]9   pickPoint  = "0, 1"
[5158]10   value      = 0
11  >
[5159]12    <BarColour position = 0.7 colour = "0.2,0.7,0.2" />
13    <BarColour position = 0.4 colour = "0.7,0.5,0.2" />
14    <BarColour position = 0.1 colour = "0.7,0.2,0.2" />
[5158]15  </HUDSpeedBar>
16
[5161]17  <!--HUDSpeedBar
[5158]18   name       = "SpeedBar2"
19   background = "Orxonox/BarBackground"
20   size       = "0.35, 0.05"
21   position   = "1.0 , 1.0 "
[5160]22   pickPoint  = "1, 1"
[5158]23   value      = 0
[5161]24   rightToLeft = true
[5158]25  >
[5159]26    <BarColour position = 0.7 colour = "0.2,0.7,0.2" />
27    <BarColour position = 0.4 colour = "0.7,0.5,0.2" />
28    <BarColour position = 0.1 colour = "0.7,0.2,0.2" />
[5158]29  </HUDSpeedBar>
30
31  <HUDSpeedBar
32   name       = "SpeedBar3"
33   background = "Orxonox/BarBackground"
34   size       = "0.35, 0.05"
35   position   = "1.0 , 0.0 "
[5160]36   pickPoint  = "1, 0"
[5158]37   value      = 0
[5161]38   rightToLeft = true
[5158]39  >
[5159]40    <BarColour position = 0.7 colour = "0.2,0.7,0.2" />
41    <BarColour position = 0.4 colour = "0.7,0.5,0.2" />
42    <BarColour position = 0.1 colour = "0.7,0.2,0.2" />
[5158]43  </HUDSpeedBar>
44
45  <HUDSpeedBar
46   name       = "SpeedBar4"
47   background = "Orxonox/BarBackground"
48   size       = "0.35, 0.05"
49   position   = "0.0 , 0.0 "
[5160]50   pickPoint  = "0, 0"
[5159]51   rotation   = 0
[5158]52   value      = 0
53  >
[9526]54    <BarColounar position = 0.7 colour = "0.2,0.7,0.2" />
[5159]55    <BarColour position = 0.4 colour = "0.7,0.5,0.2" />
56    <BarColour position = 0.1 colour = "0.7,0.2,0.2" />
[5161]57  </HUDSpeedBar-->
[5158]58
59  <HUDNavigation
60   name          = "Navigation"
61   correctAspect = true
62   font          = "Monofur"
[10292]63   textSize      = 0.02
[5159]64   navMarkerSize = 0.03
[9526]65   aimMarkerSize = 0.02
[5158]66  />
67
68  <HUDRadar
69   name          = "Radar"
[9939]70   background    = "Orxonox/radar"
[5158]71   correctAspect = true
72   size          = "0.17, 0.17"
73   position      = "0.5, 1.0"
[5160]74   pickPoint     = "0.5, 1.0"
[5159]75   rotation      = 0
76   sensitivity   = 1.0
77   halfDotSizeDistance = 3000
78   maximumDotSize      = 0.1
[5158]79  />
80
[5215]81  <ChatOverlay
82   name     = "chat"
83   position = "0.03, 0.5"
[5219]84   font     = "VeraMono"
[5215]85   caption  = ""
86   textSize = 0.025
87  />
[5157]88</OverlayGroup>
89
[5158]90
91<!-- DEBUG OVERLAY -->
[5219]92<OverlayGroup name = "Debug" scale = "1.0, 1.0" scroll = "0, 0" visible=false>
[5158]93
94  <DebugFPSText
95   name     = "FPSText"
96   position = "0.03, 0.05"
97   font     = "Monofur"
98   caption  = "Frames per second: "
[5159]99   textSize = 0.03
[5158]100  />
101
102  <DebugRTRText
103   name     = "RTRText"
104   position = "0.03, 0.09"
105   font     = "Monofur"
[5159]106   caption  = "Tick time in ms: "
107   textSize = 0.03
[5158]108  />
[5157]109</OverlayGroup>
Note: See TracBrowser for help on using the repository browser.