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)
#52Trails of blood already appear when you bleed.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
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").
"... your rubber ducky has also gone AWOL, captain."
Re: Health Hud (In Progress)
#53This must be the coding, eh? No use for the title, I'll change it.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
Re: Health Hud (HELP NEEDED) (CODING IS ONLY LEFT NOW)
#54Thanks; I'm trying to find the wright place to put it.... and yes i have bltz3DRegalis 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
Re: Health Hud (HELP NEEDED) (CODING IS ONLY LEFT NOW)
#55Ln: 6185 in main is where HUD related stuff starts.Cridone wrote: Thanks; I'm trying to find the wright place to put it.... and yes i have bltz3D
M-x dingus-mode
Re: Health Hud (HELP NEEDED) (CODING IS ONLY LEFT NOW)
#56I must be blind; I scanned the WHOLEEE main 3 times slowly and found nothing. Wiht "6185" or Ln.MonocleBios wrote:Ln: 6185 in main is where HUD related stuff starts.Cridone wrote: 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)
#57I think he means "Line 6185".Cridone wrote:I must be blind; I scanned the WHOLEEE main 3 times slowly and found nothing. Wiht "6185" or Ln.MonocleBios wrote:Ln: 6185 in main is where HUD related stuff starts.Cridone wrote: Thanks; I'm trying to find the wright place to put it.... and yes i have bltz3D
"... your rubber ducky has also gone AWOL, captain."
Re: Health Hud (HELP NEEDED) (CODING IS ONLY LEFT NOW)
#58Just 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)
#59I 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.
https://mega.co.nz/#!wkslyQ5S!OD1SQHo-F ... m-jAEpmMfQ
There's also an .exe in there in case you can't recompile the code.