Lets talk about ammo counters

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
SenTex
Posts: 5
Joined: Fri Jul 14, 2017 3:56 am

Lets talk about ammo counters

Post by SenTex »

I'm new to all this but is it possible to add an ammo counter like in Alien
Spoiler:
Or in halo
Spoiler:
If so can someone help me with this

Im using GZDoom BTW if that matters
User avatar
ramon.dexter
Posts: 1290
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Lets talk about ammo counters

Post by ramon.dexter »

You cannot simply "add" it here and there. The point is that you have to:
1) prepare the graphics for this - some numbers that would fit the weapon with desired counter
2) Make decorate/zscript code that would actually drive this.

For a newbie quite hard work, but could be done.

Return to “Scripting”