Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/BigShip_HS16/data/overlays/HUD.oxo @ 11342

Last change on this file since 11342 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
Line 
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 "
9   pickPoint  = "0, 1"
10   value      = 0
11  >
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" />
15  </HUDSpeedBar>
16
17  <!--HUDSpeedBar
18   name       = "SpeedBar2"
19   background = "Orxonox/BarBackground"
20   size       = "0.35, 0.05"
21   position   = "1.0 , 1.0 "
22   pickPoint  = "1, 1"
23   value      = 0
24   rightToLeft = true
25  >
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" />
29  </HUDSpeedBar>
30
31  <HUDSpeedBar
32   name       = "SpeedBar3"
33   background = "Orxonox/BarBackground"
34   size       = "0.35, 0.05"
35   position   = "1.0 , 0.0 "
36   pickPoint  = "1, 0"
37   value      = 0
38   rightToLeft = true
39  >
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" />
43  </HUDSpeedBar>
44
45  <HUDSpeedBar
46   name       = "SpeedBar4"
47   background = "Orxonox/BarBackground"
48   size       = "0.35, 0.05"
49   position   = "0.0 , 0.0 "
50   pickPoint  = "0, 0"
51   rotation   = 0
52   value      = 0
53  >
54    <BarColounar position = 0.7 colour = "0.2,0.7,0.2" />
55    <BarColour position = 0.4 colour = "0.7,0.5,0.2" />
56    <BarColour position = 0.1 colour = "0.7,0.2,0.2" />
57  </HUDSpeedBar-->
58
59  <HUDNavigation
60   name          = "Navigation"
61   correctAspect = true
62   font          = "Monofur"
63   textSize      = 0.02
64   navMarkerSize = 0.03
65   aimMarkerSize = 0.02
66  />
67
68  <HUDRadar
69   name          = "Radar"
70   background    = "Orxonox/radar"
71   correctAspect = true
72   size          = "0.17, 0.17"
73   position      = "0.5, 1.0"
74   pickPoint     = "0.5, 1.0"
75   rotation      = 0
76   sensitivity   = 1.0
77   halfDotSizeDistance = 3000
78   maximumDotSize      = 0.1
79  />
80
81  <ChatOverlay
82   name     = "chat"
83   position = "0.03, 0.5"
84   font     = "VeraMono"
85   caption  = ""
86   textSize = 0.025
87  />
88</OverlayGroup>
89
90
91<!-- DEBUG OVERLAY -->
92<OverlayGroup name = "Debug" scale = "1.0, 1.0" scroll = "0, 0" visible=false>
93
94  <DebugFPSText
95   name     = "FPSText"
96   position = "0.03, 0.05"
97   font     = "Monofur"
98   caption  = "Frames per second: "
99   textSize = 0.03
100  />
101
102  <DebugRTRText
103   name     = "RTRText"
104   position = "0.03, 0.09"
105   font     = "Monofur"
106   caption  = "Tick time in ms: "
107   textSize = 0.03
108  />
109</OverlayGroup>
Note: See TracBrowser for help on using the repository browser.