Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic medHUD (Read 2000 times)
Helen
YaBB Administrator
*****
Offline


hello

Posts: 1594
Location: earth
Joined: Nov 8th, 2005
Gender: Male
medHUD
Nov 2nd, 2014 at 10:18pm
Print Post  
Edited:
Don't bother reading this. Due to the inflexibility of a vanilla HUD mutator, this particular implementation of the medHUD is legacy.
I was hoping to keep it generic to eventually share it, but it just wasn't good enough.

Instead I put it into my scoreboard mutator. Details on how to use it are here:
http://www.birdieman.com/cgi-bin/yabb2/YaBB.pl?num=1416079929/0#0


I have created a very minor implementation of a hud. It shows only the stuff I am interested in. It has a timer so it is fair that I share it with you if you want to use it. This is what it looks like.
  • left box - timer that ticks either up or down (your choice)
  • middle box - health (including any armor, belt, and thigh pads)
  • right box - weapon name and ammo count (and the background color of this box changes depending on the weapon)




Here is what you do to show it. I'll start with my normal preferences. This is optional for you, but, I guess you'll find out if any of your stuff overlaps with the medHUD.

Basically I hide everything:



Now.... even though we have unchecked "Show Player Status", this doesn't mean UT is going to hide it. No, no. Instead it is going to draw it smaller and at the bottom of your screen. Yeesh!

But the is where I wanted my hud stuff drawn, and, I don't need the UT hud health if I'm going to draw it myself. Fortunately, we can change this with a medScoreBoard setting.

Look in your system folder. If you don't have a medHUD.ini, make one.
Now open the medHUD.ini
If you do not see a [medScoreBoard224.medHUD] section in there, add one.
Now add this key/value to that section, end result looks like this:

Code
Select All
[medScoreBoard224.medHUD]
bHideHealth=True 



Now we add the medHUD section. Add this into the file too, so by now it should at least look like this:

Code
Select All
[medScoreBoard224.medHUD]
bHideHealth=True

[medHUD001.medHUD]
show=true
timerMode=up 



The show=true is what tells the game if it has to show it or not. So if you don't want to use it, set show=false.

For the timerMode setting, it accepts either up or down.
up means it simply ticks upwards.
down means it ticks down the remaining time in the game.

Any questions just ask.

« Last Edit: Nov 15th, 2014 at 7:36pm by Helen »  

One of the Scriveners.
Back to top
WWW  
IP Logged
 
Helen
YaBB Administrator
*****
Offline


hello

Posts: 1594
Location: earth
Joined: Nov 8th, 2005
Gender: Male
Re: medHUD
Reply #1 - Nov 15th, 2014 at 7:34pm
Print Post  
Due to the inflexibility of a vanilla HUD mutator, this particular implementation of the medHUD is legacy.
I was hoping to keep it generic to eventually share it, but it just wasn't good enough.

Instead I put it into my scoreboard mutator. Details on how to use it are here:
http://www.birdieman.com/cgi-bin/yabb2/YaBB.pl?num=1416079929/0#0
  

One of the Scriveners.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint