well i am making a new sbarinfo for superdoom3, all the weapons with ammo, the ammo icon is visible on the hud, the problem are the melee weapons like chainsaw, flashlight or fists,becuase they dont need ammo types...my question is, exist a way to put a ammo type for this melee weapons but at the same time the numbers of ammo cant be visible? is very strange to see that for melee weapons...
here some types, i dont want to use acs for use hudmessage for this, only sbarinfo.
problem with the ammo icon of melee weapons on sbarinfo
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- DOOMERO-21
- Posts: 1423
- Joined: Wed Jan 02, 2008 10:02 pm
- Location: Chile
problem with the ammo icon of melee weapons on sbarinfo
- Attachments
-
- this is for the chainsaw
- h_csaw.PNG (826 Bytes) Viewed 182 times
-
- this is the ammo icon for bfg 9000
- h_bfg.PNG (1.98 KiB) Viewed 182 times
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: problem with the ammo icon of melee weapons on sbarinfo
You want an icon for them but not a number?DOOMERO-21 wrote:my question is, exist a way to put a ammo type for this melee weapons but at the same time the numbers of ammo cant be visible?
In SBarInfo, use IsSelected for each melee weapon, inside each block use DrawImage to draw your "ammo" icon.
- DOOMERO-21
- Posts: 1423
- Joined: Wed Jan 02, 2008 10:02 pm
- Location: Chile
Re: problem with the ammo icon of melee weapons on sbarinfo
really wonderfull thanks =)