Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2008, 3:38:53 AM (15 years ago)
Author:
landauf
Message:

added healthbar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/media/levels/hudtemplates3.oxw

    r5286 r5325  
    55   font     = "VeraMono"
    66   caption  = ""
    7    textSize = 0.025
     7   textsize = 0.025
    88  />
    99</OverlayGroup>
     
    1616     font     = "VeraMono"
    1717     caption  = "Press [Fire] to start the match"
    18      textSize = 0.05
     18     textsize = 0.05
    1919     colour   = "1.0, 1.0, 0.0, 0.8"
    2020     align    = "center"
     
    2525<Template name="spaceshiphud">
    2626  <OverlayGroup name = "HUD" scale = "1, 1">
     27    <HUDHealthBar
     28     name              = "HealthBar1"
     29     background        = "Orxonox/HealthBarBackground"
     30     size              = "0.35, 0.0875"
     31     position          = "0.0 , 0.95 "
     32     pickpoint         = "0, 1"
     33     bartexture        = "healthbar_bar.tga"
     34     textfont          = "VeraMono"
     35     textusebarcolour  = true
     36     textsize          = 0.039
     37     textoffset        = "0.315, 0.05"
     38     textpickpoint     = "0, 0"
     39     textalign         = "right"
     40     correctaspect     = false
     41     textcorrectaspect = false
     42    >
     43      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
     44      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
     45      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
     46    </HUDHealthBar>
     47
    2748    <HUDSpeedBar
    28      name       = "SpeedBar1"
    29      background = "Orxonox/BarBackground"
    30      size       = "0.35, 0.05"
    31      position   = "0.0 , 1.0 "
    32      pickPoint  = "0, 1"
    33      value      = 0
     49     name          = "SpeedBar1"
     50     background    = "Orxonox/BarBackground"
     51     size          = "0.35, 0.05"
     52     position      = "0.0 , 1.0 "
     53     pickpoint     = "0, 1"
     54     correctaspect = false
    3455    >
    35       <BarColour position = 0.7 colour = "0.2,0.7,0.2" />
    36       <BarColour position = 0.4 colour = "0.7,0.5,0.2" />
    37       <BarColour position = 0.1 colour = "0.7,0.2,0.2" />
     56      <BarColour position = 0.0 colour = "0.7,0.5,0.2" />
     57      <BarColour position = 0.5 colour = "0.2,0.7,0.2" />
     58      <BarColour position = 1.0 colour = "0.7,0.2,0.2" />
    3859    </HUDSpeedBar>
    3960
    4061    <HUDNavigation
    4162     name          = "Navigation"
    42      correctAspect = true
     63     correctaspect = true
    4364     font          = "Monofur"
    44      textSize      = 0.05
     65     textsize      = 0.05
    4566     navMarkerSize = 0.03
    4667     aimMarkerSize = 0.04
     
    5071     name          = "Radar"
    5172     background    = "Orxonox/Radar"
    52      correctAspect = true
     73     correctaspect = true
    5374     size          = "0.17, 0.17"
    5475     position      = "1.0, 1.0"
    55      pickPoint     = "1.0, 1.0"
     76     pickpoint     = "1.0, 1.0"
    5677     rotation      = 0
    5778     sensitivity   = 1.0
Note: See TracChangeset for help on using the changeset viewer.