Page 1 of 1

Modifying a SBARINFO HUD into a ZScript Hud

PostPosted: Mon Dec 14, 2020 7:41 am
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

Re: Modifying a SBARINFO HUD into a ZScript Hud

PostPosted: Mon Dec 14, 2020 8:49 am
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.

Re: Modifying a SBARINFO HUD into a ZScript Hud

PostPosted: Mon Dec 14, 2020 9:45 am
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.

Re: Modifying a SBARINFO HUD into a ZScript Hud

PostPosted: Sat Mar 20, 2021 12:25 am
by Graaicko
That hud setup looks cool. I am also needing something custom like this. Did you make those elements yourself? They look siiic.