Custom HUD drawing and conditions
- doomista
- Forum Regular
- Posts: 147
- Joined: Sat Mar 07, 2015 6:58 pm
- Location: I've been to hell. Twice
Custom HUD drawing and conditions
Hi, I am currently teaching myself DECORATE and stuff and I have a problem. I am doing Shootmania mod (I mean that online game, no silly name for weapon madness).
So far I have the basic weapon, ammo recharge and stuff, but I started working on HUD.
I need to draw images based on how much ammo player has and how much health he has (I am not dealing with stamina right now, but some guidelines will be appreciated too), because ammo and health indicators are just image chunks.
So far I discovered that SBARINFO has not conditions, I definitely don't want to use ACS if possible.
Thanks for help in advance
So far I have the basic weapon, ammo recharge and stuff, but I started working on HUD.
I need to draw images based on how much ammo player has and how much health he has (I am not dealing with stamina right now, but some guidelines will be appreciated too), because ammo and health indicators are just image chunks.
So far I discovered that SBARINFO has not conditions, I definitely don't want to use ACS if possible.
Thanks for help in advance
- doomista
- Forum Regular
- Posts: 147
- Joined: Sat Mar 07, 2015 6:58 pm
- Location: I've been to hell. Twice
RE: Custom HUD drawing and conditions
EDIT: I eventually figured out how to do what I wanted with DrawBar function. I am still lost with the stamina thing.
-
Kara Kurt
- Frequent Poster Miles card holder
- Posts: 887
- Joined: Sat Oct 12, 2013 6:58 pm
- Location: Strasbourg, France
- Contact:
RE: Custom HUD drawing and conditions
Out of curiosity what do you mean by Shootmania, are you adapting a game mode for Zandro? If so, you might want to check this:
https://www.youtube.com/watch?v=iDiXhEbjqTc
https://www.youtube.com/watch?v=iDiXhEbjqTc
-
Watermelon
- Zandrone
- Posts: 1244
- Joined: Thu Jun 28, 2012 9:07 pm
- Location: Rwanda
RE: Custom HUD drawing and conditions
Why not use ACS? It would require a ton of work, but it definitely could fill in for when SBARINFO doesn't cover what you want.
Last edited by Watermelon on Tue Mar 31, 2015 11:21 pm, edited 1 time in total.
- doomista
- Forum Regular
- Posts: 147
- Joined: Sat Mar 07, 2015 6:58 pm
- Location: I've been to hell. Twice
RE: Custom HUD drawing and conditions
For now, I've solved it with just one DrawBar call and that's cool for me.Watermelon wrote: Why not use ACS? It would require a ton of work, but it definitely could fill in for when SBARINFO doesn't cover what you want.
Yes I do. Actually I want to do a different Shootmania mode - Royal, but when I'll have youtube friendly net access, I will check this one out. But I have this project more for an education purposes.Kara Kurt wrote: Out of curiosity what do you mean by Shootmania, are you adapting a game mode for Zandro? If so, you might want to check this:
https://www.youtube.com/watch?v=iDiXhEbjqTc
Last edited by doomista on Wed Apr 01, 2015 11:49 am, edited 1 time in total.
RE: Custom HUD drawing and conditions
If you need any help for test and suggestions, im here. I m in love with shootmania :D The one i made with xsnake is joust!

A beta wad is actually hosted in a BaseQ server if you want to see it.

A beta wad is actually hosted in a BaseQ server if you want to see it.
-
Kara Kurt
- Frequent Poster Miles card holder
- Posts: 887
- Joined: Sat Oct 12, 2013 6:58 pm
- Location: Strasbourg, France
- Contact:
RE: Custom HUD drawing and conditions
He's also Shootmania's best railer just so you know!