Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/overlays/HUDTemplatesFPS.oxo @ 10621

Last change on this file since 10621 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.1 KB
RevLine 
[6867]1<Template name="spectatorhud">
2  <OverlayGroup name = "spectatorhud" scale = "1, 1">
3  </OverlayGroup>
4</Template>
5
[6883]6<Template name="fpshud">
7  <OverlayGroup name = "fpshud" scale = "1, 1">
[6867]8    <Map />
9
10    <HUDHealthBar
11     name              = "HealthBar1"
12     background        = "Orxonox/HealthBarBackground"
13     size              = "0.35, 0.0875"
14     position          = "0.0 , 0.95 "
15     pickpoint         = "0, 1"
[7368]16     bartexture        = "healthbar_bar.png"
[6867]17     textfont          = "VeraMono"
18     textusebarcolour  = true
19     textsize          = 0.039
20     textoffset        = "0.315, 0.05"
21     textpickpoint     = "0, 0"
22     textalign         = "right"
23     correctaspect     = false
24     textcorrectaspect = false
25    >
26      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
27      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
28      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
29    </HUDHealthBar>
30
31 <!--   <HUDSpeedBar
32     name          = "SpeedBar1"
33     background    = "Orxonox/BarBackground"
34     size          = "0.35, 0.05"
35     position      = "0.0 , 1.0 "
36     pickpoint     = "0, 1"
37     correctaspect = false
38    >
39      <BarColour position = 0.0 colour = "0.7,0.5,0.2" />
40      <BarColour position = 0.5 colour = "0.2,0.7,0.2" />
41      <BarColour position = 1.0 colour = "0.7,0.2,0.2" />
42    </HUDSpeedBar>
43-->
44    <HUDNavigation
45     name          = "Navigation"
46     correctaspect = true
47     font          = "Monofur"
[10292]48     textsize      = 0.02
[6867]49     navMarkerSize = 0.03
50     aimMarkerSize = 0.04
51    />
52
53    <HUDRadar
54     name          = "Radar"
55     background    = "Orxonox/Radar"
56     correctaspect = true
57     size          = "0.17, 0.17"
58     position      = "1.0, 1.0"
59     pickpoint     = "1.0, 1.0"
60     rotation      = 0
61     sensitivity   = 1.0
62     halfDotSizeDistance = 3000
63     maximumDotSize      = 0.1
64    />
65
66    <HUDTimer
67     name     = "Timer"
68     position = "0.5, 0.85"
69     font     = "VeraMono"
70     textsize = 0.1
71     colour   = "1.0, 1.0, 0.0, 0.8"
72     align    = "center"
73    />
74
[6883]75 <!--   <GUIOverlay
[6867]76      name = "QuestGUI"
77      guiname = "QuestGUI"
78      visible = "false"
79    />
[6883]80-->
[6867]81  </OverlayGroup>
82</Template>
Note: See TracBrowser for help on using the repository browser.