Modifying a SBARINFO HUD into a ZScript Hud

Requests go in THIS forum!
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
Cyann3
Posts: 39
Joined: Sun May 12, 2019 3:43 pm

Modifying a SBARINFO HUD into a ZScript Hud

Post by Cyann3 »

I've been working on a mod, lately, and a kind soul has helped me out with making the HUD, however, he used SBARINFO for the hud, and as I got farther into the project, I realised that I couldn't keep using SBARINFO. I've tried learning ZScript Hud stuff, but I cannot wrap my head around it, I'm looking for someone to be able to help me out with it.

Here's the download for it, I hope it works:
https://cdn.discordapp.com/attachments/ ... 18/HUD.zip
Jarewill
 
 
Posts: 1641
Joined: Sun Jul 21, 2019 8:54 am

Re: Modifying a SBARINFO HUD into a ZScript Hud

Post by Jarewill »

This is what I was able to do:
Spoiler:
Granted, I'm not really good with ZScript and I was unsure what some of the stuff was in your SBARINFO code. (Such as "weapon.ammoCount" and Pillshere)
Hope this helps though.
User avatar
Cyann3
Posts: 39
Joined: Sun May 12, 2019 3:43 pm

Re: Modifying a SBARINFO HUD into a ZScript Hud

Post by Cyann3 »

Yes, thank you! This is great, exactly what I was looking for! I'll make sure to credit you in the final mod!
And, for the record, "Pillshere" is the internal item for a Painkiller item, basically it works just like the Quartz Flasks from Raven games, or the Painkillers from Max Payne.
User avatar
Graaicko
Posts: 531
Joined: Tue Jun 17, 2014 11:22 pm
Graphics Processor: nVidia (Legacy GZDoom)

Re: Modifying a SBARINFO HUD into a ZScript Hud

Post by Graaicko »

That hud setup looks cool. I am also needing something custom like this. Did you make those elements yourself? They look siiic.

Return to “Requests”