Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/fabienHS15/data/overlays/HUDTemplates3.oxo @ 10739

Last change on this file since 10739 was 10739, checked in by fvultier, 8 years ago

HUD improved. Corrected text rescaling. Renamed reload to shieldRecharge in Pawn.cc, … to avoid confusion with the weapon system.

  • Property svn:eol-style set to native
File size: 4.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="spaceshiphud">
30  <OverlayGroup name = "spaceshiphud" scale = "1, 1">
31    <Map />
32
33    <HUDHealthBar
34     name              = "HealthBar1"
35     background        = "Orxonox/HealthBarBackground"
36     size              = "0.40, 0.08"
37     position          = "0.0 , 0.9 "
38     pickpoint         = "0, 1"
39     bartexture        = "healthbar_bar.png"
40     textfont          = "VeraMono"
41     textusebarcolour  = true
42     textscale          = 0.4
43     textoffset        = "0.325, -0.825"
44     textpickpoint     = "0, 0"
45     textalign         = "right"
46     correctaspect     = true
47     iconmaterial      = "Orxonox/BarIconHealth"
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.40, 0.04"
58     position      = "0.0 , 0.95 "
59     pickpoint     = "0, 1"
60     correctaspect = true
61     iconmaterial  = "Orxonox/BarIconSpeed"
62    >
63      <BarColour position = 0.0 colour = "0.7,0.5,0.2" />
64      <BarColour position = 0.5 colour = "0.2,0.7,0.2" />
65      <BarColour position = 1.0 colour = "0.7,0.2,0.2" />
66    </HUDSpeedBar>
67
68    <HUDBoostBar
69     name          = "BoostBar1"
70     background    = "Orxonox/BarBackground"
71     size          = "0.40, 0.04"
72     position      = "0.0 , 1.0 "
73     pickpoint     = "0, 1"
74     correctaspect = true
75     iconmaterial  = "Orxonox/BarIconBoost"
76    >
77      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
78      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
79      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
80    </HUDBoostBar>
81
82    <HUDEnemyHealthBar
83     name              = "EnemyHealthBar"
84     background        = "Orxonox/HealthBarBackground"
85     size              = "0.4, 0.08"
86     position          = "1 ,0"
87     pickpoint         = "1, 0"
88     bartexture        = "healthbar_bar.png"
89     textfont          = "VeraMono"
90     textusebarcolour  = true
91     textscale         = 0.4
92     textoffset        = "-0.675, 0.175"
93     textpickpoint     = "0, 0"
94     textalign         = "right"
95     correctaspect     = true
96     iconmaterial      = "Orxonox/BarIconHealth"
97    >
98      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
99      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
100      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
101    </HUDEnemyHealthBar>
102
103    <HUDNavigation
104     name          = "Navigation"
105     correctaspect = true
106     font          = "Monofur"
107     textsize      = 0.02
108     navMarkerSize = 0.03
109     aimMarkerSize = 0.02
110    />
111
112        <HUDRadar
113     name                               = "Radar"
114     background                         = "Orxonox/Radar3D"
115     material2D                         = "Orxonox/Radar"
116     material3DMiddle           = "Orxonox/Radar3D"
117     material3DFront            = "Orxonox/Radar3DFront"
118     material3DBack                     = "Orxonox/Radar3DBack"
119     correctaspect                      = true
120     size                               = "0.17, 0.17"
121     position                           = "1.0, 1.0"
122     pickpoint                          = "1.0, 1.0"
123     rotation                           = 0
124     sensitivity                        = 1.0
125     halfDotSizeDistance        = 3000
126     detectionLimit             = 10000.0
127     maximumDotSize             = 0.1
128     maximumDotSize3D           = 0.06
129     mapAngle3D                         = 0.6435011
130    />
131
132    <HUDWeaponSystem
133     name                   = "WeaponSystem"
134     correctaspect          = true
135     position               = "0.01, 0.01"
136     pickpoint              = "0, 0"
137     visible                = "true"
138     weaponModeHUDSize      = "0.09, 0.03"
139    />
140   
141    <HUDTimer
142     name     = "Timer"
143     position = "0.5, 0.85"
144     font     = "VeraMono"
145     textsize = 0.1
146     colour   = "1.0, 1.0, 0.0, 0.8"
147     align    = "center"
148    />
149
150    <GUIOverlay
151      name = "QuestGUI"
152      guiname = "QuestGUI"
153      visible = "false"
154    />
155   
156    <GUIOverlay
157      name = "PickupInventory"
158      guiname = "PickupInventory"
159      visible = "false"
160    />
161
162  </OverlayGroup>
163</Template>
Note: See TracBrowser for help on using the repository browser.