Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/CampaignMap_HS17/data/overlays/HUDTemplates3.oxo @ 11560

Last change on this file since 11560 was 11560, checked in by fanconic, 6 years ago

Das StoryModeHUD.cc wurde kompiliert und ist momentan bugfrei. Es funktioniert ein Text an einer gewuenschten Stelle im Spiel zu generieren,

  • Property svn:eol-style set to native
File size: 6.5 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="rockethud">
30  <OverlayGroup name = "rockethud" scale = "1, 1">
31    <HUDRocketFuelBar
32     name          = "RocketFuelBar1"
33     background    = "Orxonox/BarBackground"
34     size          = "0.40, 0.04"
35     position      = "0.0 , 1.0 "
36     pickpoint     = "0, 1"
37     correctaspect = true
38     iconmaterial  = "Orxonox/BarIconFuel"
39    >
40      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
41      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
42      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
43    </HUDRocketFuelBar>
44  </OverlayGroup>
45</Template>
46
47<Template name="spaceshiphud">
48  <OverlayGroup name = "spaceshiphud" scale = "1, 1">
49    <Map />
50
51
52
53    <StoryModeHUD
54     name           = "StoryMode"
55     correctaspect  = false
56     font           = "Monofur"
57     textSize       = 0.05
58     align          = "center"
59    />
60
61
62
63    <HUDHealthBar
64     name              = "HealthBar1"
65     background        = "Orxonox/HealthBarBackground"
66     size              = "0.40, 0.08"
67     position          = "0.0 , 0.85 "
68     pickpoint         = "0, 1"
69     bartexture        = "healthbar_bar.png"
70     textfont          = "VeraMono"
71     textusebarcolour  = true
72     textscale          = 0.4
73     textoffset        = "0.325, -0.825"
74     textpickpoint     = "0, 0"
75     textalign         = "right"
76     correctaspect     = true
77     iconmaterial      = "Orxonox/BarIconHealth"
78    >
79      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
80      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
81      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
82    </HUDHealthBar>
83
84    <HUDShieldBar
85     name          = "ShieldBar1"
86     background    = "Orxonox/BarBackground"
87     size          = "0.40, 0.04"
88     position      = "0.0 , 0.9 "
89     pickpoint     = "0, 1"
90     correctaspect = true
91     iconmaterial  = "Orxonox/BarIconShield"
92    >
93      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
94      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
95      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
96    </HUDShieldBar>   
97
98    <HUDSpeedBar
99     name          = "SpeedBar1"
100     background    = "Orxonox/BarBackground"
101     size          = "0.40, 0.04"
102     position      = "0.0 , 0.95 "
103     pickpoint     = "0, 1"
104     correctaspect = true
105     iconmaterial  = "Orxonox/BarIconSpeed"
106    >
107      <BarColour position = 0.0 colour = "0.7,0.5,0.2" />
108      <BarColour position = 0.5 colour = "0.2,0.7,0.2" />
109      <BarColour position = 1.0 colour = "0.7,0.2,0.2" />
110    </HUDSpeedBar>
111
112    <HUDBoostBar
113     name          = "BoostBar1"
114     background    = "Orxonox/BarBackground"
115     size          = "0.40, 0.04"
116     position      = "0.0 , 1.0 "
117     pickpoint     = "0, 1"
118     correctaspect = true
119     iconmaterial  = "Orxonox/BarIconBoost"
120    >
121      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
122      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
123      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
124    </HUDBoostBar>
125
126    <HUDEnemyHealthBar
127     name              = "EnemyHealthBar"
128     background        = "Orxonox/HealthBarBackground"
129     size              = "0.4, 0.08"
130     position          = "1 ,0"
131     pickpoint         = "1, 0"
132     bartexture        = "healthbar_bar.png"
133     textfont          = "VeraMono"
134     textusebarcolour  = true
135     textscale         = 0.4
136     textoffset        = "-0.675, 0.175"
137     textpickpoint     = "0, 0"
138     textalign         = "right"
139     correctaspect     = true
140     iconmaterial      = "Orxonox/BarIconHealth"
141    >
142      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
143      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
144      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
145    </HUDEnemyHealthBar>
146
147    <HUDEnemyShieldBar
148     name          = "EnemyShieldBar1"
149     background    = "Orxonox/BarBackground"
150     size          = "0.40, 0.04"
151     position      = "1.0 , 0.1 "
152     pickpoint     = "1, 0"
153     correctaspect = true
154     iconmaterial  = "Orxonox/BarIconShield"
155    >
156      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
157      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
158      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
159    </HUDEnemyShieldBar>   
160
161    <HUDNavigation
162     name          = "Navigation"
163     correctaspect = true
164     font          = "Monofur"
165     textsize      = 0.02
166     navMarkerSize = 0.03
167     aimMarkerSize = 0.02
168    />
169
170        <HUDRadar
171     name                               = "Radar"
172     background                         = "Orxonox/Radar3D"
173     material2D                         = "Orxonox/Radar"
174     material3DMiddle           = "Orxonox/Radar3D"
175     material3DFront            = "Orxonox/Radar3DFront"
176     material3DBack                     = "Orxonox/Radar3DBack"
177     correctaspect                      = true
178     size                               = "0.17, 0.17"
179     position                           = "1.0, 1.0"
180     pickpoint                          = "1.0, 1.0"
181     rotation                           = 0
182     sensitivity                        = 1.0
183     halfDotSizeDistance        = 3000
184     detectionLimit             = 10000.0
185     maximumDotSize             = 0.1
186     maximumDotSize3D           = 0.06
187     mapAngle3D                         = 0.6435011
188    />
189
190    <HUDWeaponSystem
191     name                   = "WeaponSystem"
192     correctaspect          = true
193     position               = "0.01, 0.01"
194     pickpoint              = "0, 0"
195     visible                = "true"
196     weaponModeHUDSize      = "0.09, 0.03"
197    />
198   
199    <HUDPickupSystem
200     name                   = "PickupSystem"
201     correctaspect          = true
202     position               = "0.32, 0.81"
203     pickpoint              = "0.0, 0.0"
204     visible                = "false"
205    />
206
207    <HUDTimer
208     name     = "Timer"
209     position = "0.5, 0.25"
210     font     = "VeraMono"
211     textsize = 0.1
212     colour   = "1.0, 1.0, 0.0, 0.8"
213     align    = "center"
214    />
215
216    <GUIOverlay
217      name = "QuestGUI"
218      guiname = "QuestGUI"
219      visible = "false"
220    />
221   
222    <GUIOverlay
223      name = "PickupInventory"
224      guiname = "PickupInventory"
225      visible = "false"
226    />
227
228    <GUIOverlay
229      name = "Dialogue"
230      guiname = "Dialogue"
231      visible = "false"
232    />
233
234  </OverlayGroup>
235</Template>
Note: See TracBrowser for help on using the repository browser.