Page 6 of 7
Re: Health Hud (HELP NEEDED) (CODING IS ONLY LEFT NOW)
Posted: Sun Jun 09, 2013 3:58 pm
by Dr.Moore
fox i think thats a great idea!
also when you die i think there should be blood below you and when you are bleeding, trails of blood could appear
Re: Health Hud (HELP NEEDED) (CODING IS ONLY LEFT NOW)
Posted: Sun Jun 09, 2013 6:11 pm
by Ketercheat
Dr.Moore wrote:fox i think thats a great idea!
also when you die i think there should be blood below you and when you are bleeding, trails of blood could appear
Trails of blood already appear when you bleed.
The game measures health through two variables: Injuries and bloodloss. If bloodloss goes too high, the screen gets blurrier until you die. Injuries determine the rate of bloodloss. When you get injured or heal yourself, the game manipulates these variables in a realistic way in response (i.e. variables change, message comes up saying "you're fine" or "You stopped the bleeding, but you're still a little sore").
Re: Health Hud (In Progress)
Posted: Sun Jun 09, 2013 7:28 pm
by Ltn Vasquez
Regalis wrote:I don't think a health bar is a good idea in a game where almost every enemy or hazard instakills you. Besides, the current injury/bloodloss system doesn't work like normal health system. The injuries-variable only determines how fast you're bleeding and slows you down, but you won't die even if you reach the highest injury level (which is 4.0).
Anyway, if you guys want to make a "health hud" mod, you could use something like this for measuring the blood loss:
Code: Select all
x = something
y = something
width = 204
height =20
Rect (x, y, width, height, False)
For i = 1 To Int(((width - 2) * ((100-bloodloss) / 100.0)) / 10)
DrawImage(HealthMeterIMG, x + 13 * (i - 1), y + 3)
Next
This must be the coding, eh? No use for the title, I'll change it.
Re: Health Hud (HELP NEEDED) (CODING IS ONLY LEFT NOW)
Posted: Sun Jun 09, 2013 10:00 pm
by Cridone
Regalis wrote:I don't think a health bar is a good idea in a game where almost every enemy or hazard instakills you. Besides, the current injury/bloodloss system doesn't work like normal health system. The injuries-variable only determines how fast you're bleeding and slows you down, but you won't die even if you reach the highest injury level (which is 4.0).
Anyway, if you guys want to make a "health hud" mod, you could use something like this for measuring the blood loss:
Code: Select all
x = something
y = something
width = 204
height =20
Rect (x, y, width, height, False)
For i = 1 To Int(((width - 2) * ((100-bloodloss) / 100.0)) / 10)
DrawImage(HealthMeterIMG, x + 13 * (i - 1), y + 3)
Next
Thanks; I'm trying to find the wright place to put it.... and yes i have bltz3D
Re: Health Hud (HELP NEEDED) (CODING IS ONLY LEFT NOW)
Posted: Sun Jun 09, 2013 10:13 pm
by MonocleBios
Cridone wrote:
Thanks; I'm trying to find the wright place to put it.... and yes i have bltz3D
Ln: 6185 in main is where HUD related stuff starts.
Re: Health Hud (HELP NEEDED) (CODING IS ONLY LEFT NOW)
Posted: Sun Jun 09, 2013 10:33 pm
by Cridone
MonocleBios wrote:Cridone wrote:
Thanks; I'm trying to find the wright place to put it.... and yes i have bltz3D
Ln: 6185 in main is where HUD related stuff starts.
I must be blind; I scanned the WHOLEEE main 3 times slowly and found nothing. Wiht "6185" or Ln.
Re: Health Hud (HELP NEEDED) (CODING IS ONLY LEFT NOW)
Posted: Mon Jun 10, 2013 1:51 am
by Ketercheat
Cridone wrote:MonocleBios wrote:Cridone wrote:
Thanks; I'm trying to find the wright place to put it.... and yes i have bltz3D
Ln: 6185 in main is where HUD related stuff starts.
I must be blind; I scanned the WHOLEEE main 3 times slowly and found nothing. Wiht "6185" or Ln.
I think he means "Line 6185".
Re: Health Hud (HELP NEEDED) (CODING IS ONLY LEFT NOW)
Posted: Mon Jun 10, 2013 7:19 am
by Mirocaine
Just stick it right along with the stamina + blink bar code, set the X,Y, coordinates and add the reference to the Healthbar image path.
Re: Health Hud (HELP NEEDED) (CODING IS ONLY LEFT NOW)
Posted: Mon Jun 10, 2013 3:35 pm
by InnocentSam
I went ahead and did it due to boredom. This health bar measures bloodloss. Uses the icon and bar sprite in the OP.
https://mega.co.nz/#!wkslyQ5S!OD1SQHo-F ... m-jAEpmMfQ
There's also an .exe in there in case you can't recompile the code.
Re: Health Hud (HELP NEEDED) (CODING IS ONLY LEFT NOW)
Posted: Mon Jun 10, 2013 5:33 pm
by Cridone
Good god man! it reacts to stamina XD