Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/radarDreiD/data/overlays/HUDTemplates3.oxo @ 9847

Last change on this file since 9847 was 9847, checked in by wroennin, 10 years ago

added variables, XMLProts for new Overlay elements for the 3D map

  • Property svn:eol-style set to native
File size: 4.4 KB
Line 
1<!--
2<Template name="defaultHUD">
3  <OverlayGroup name = "defaultHUD" scale = "1, 1">
4    <ChatOverlay
5     name     = "chat"
6     position = "0.03, 0.5"
7     font     = "VeraMono"
8     caption  = ""
9     textsize = 0.025
10    />
11
12    <GametypeStatus
13     name     = "state"
14     position = "0.5, 0.85"
15     font     = "VeraMono"
16     textsize = 0.05
17     colour   = "1.0, 1.0, 0.0, 0.8"
18     align    = "center"
19    />
20  </OverlayGroup>
21</Template>
22-->
23
24<Template name="spectatorhud">
25  <OverlayGroup name = "spectatorhud" scale = "1, 1">
26  </OverlayGroup>
27</Template>
28
29<Template name="spaceshiphud">
30  <OverlayGroup name = "spaceshiphud" scale = "1, 1">
31    <Map />
32
33    <HUDHealthBar
34     name              = "HealthBar1"
35     background        = "Orxonox/HealthBarBackground"
36     size              = "0.35, 0.0875"
37     position          = "0.0 , 0.9 "
38     pickpoint         = "0, 1"
39     bartexture        = "healthbar_bar.png"
40     textfont          = "VeraMono"
41     textusebarcolour  = true
42     textsize          = 0.039
43     textoffset        = "0.315, 0.05"
44     textpickpoint     = "0, 0"
45     textalign         = "right"
46     correctaspect     = false
47     textcorrectaspect = false
48    >
49      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
50      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
51      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
52    </HUDHealthBar>
53
54    <HUDSpeedBar
55     name          = "SpeedBar1"
56     background    = "Orxonox/BarBackground"
57     size          = "0.35, 0.05"
58     position      = "0.0 , 0.95 "
59     pickpoint     = "0, 1"
60     correctaspect = false
61    >
62      <BarColour position = 0.0 colour = "0.7,0.5,0.2" />
63      <BarColour position = 0.5 colour = "0.2,0.7,0.2" />
64      <BarColour position = 1.0 colour = "0.7,0.2,0.2" />
65    </HUDSpeedBar>
66
67    <HUDBoostBar
68     name          = "BoostBar1"
69     backgroundtex = "bar1.png"
70     size          = "0.35, 0.05"
71     position      = "0.0 , 1.0 "
72     pickpoint     = "0, 1"
73     correctaspect = false
74    >
75      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
76      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
77      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
78    </HUDBoostBar>
79
80    <HUDEnemyHealthBar
81     name              = "EnemyHealthBar"
82     background        = "Orxonox/HealthBarBackground"
83     size              = "0.35, 0.0875"
84     position          = "1.0 , 0.1 "
85     pickpoint         = "1, 1"
86     bartexture        = "healthbar_bar.png"
87     textfont          = "VeraMono"
88     textusebarcolour  = true
89     textsize          = 0.039
90     textoffset        = "0.315, 0.05"
91     textpickpoint     = "0, 0"
92     textalign         = "right"
93     correctaspect     = false
94     textcorrectaspect = false
95    >
96      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
97      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
98      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
99    </HUDEnemyHealthBar>
100
101    <HUDNavigation
102     name          = "Navigation"
103     correctaspect = true
104     font          = "Monofur"
105     textsize      = 0.05
106     navMarkerSize = 0.03
107     aimMarkerSize = 0.02
108    />
109
110<!--
111    <HUDRadar
112     name          = "Radar"
113     background    = "Orxonox/Radar"
114     correctaspect = true
115     size          = "0.17, 0.17"
116     position      = "1.0, 1.0"
117     pickpoint     = "1.0, 1.0"
118     rotation      = 0
119     sensitivity   = 1.0
120     halfDotSizeDistance = 3000
121     maximumDotSize      = 0.1
122    />
123    -->
124   
125   
126 
127    <HUDRadar
128     name                               = "Radar"
129     background                         = "Orxonox/Radar3D"
130     material2D                         = "Orxonox/Radar"
131     material3DMiddle           = "Orxonox/Radar3D"
132     material3DFront            = "Orxonox/Radar3DFront"
133     material3DBack                     = "Orxonox/Radar3DBack"
134     correctaspect                      = true
135     size                               = "0.17, 0.17"
136     position                           = "1.0, 1.0"
137     pickpoint                          = "1.0, 1.0"
138     rotation                           = 0
139     sensitivity                        = 1.0
140     halfDotSizeDistance        = 3000
141     maximumDotSize             = 0.1
142     maximumDotSize3D           = 0.07
143     mapAngle3D                         = 0.6435011
144    />
145   
146
147    <HUDTimer
148     name     = "Timer"
149     position = "0.5, 0.85"
150     font     = "VeraMono"
151     textsize = 0.1
152     colour   = "1.0, 1.0, 0.0, 0.8"
153     align    = "center"
154    />
155
156    <GUIOverlay
157      name = "QuestGUI"
158      guiname = "QuestGUI"
159      visible = "false"
160    />
161   
162    <GUIOverlay
163      name = "PickupInventory"
164      guiname = "PickupInventory"
165      visible = "false"
166    />
167
168  </OverlayGroup>
169</Template>
Note: See TracBrowser for help on using the repository browser.