Page 1 of 1
(Solved) DECORATE shotgun consuming two ammo instead of one.
Posted: Sun Oct 22, 2017 3:41 pm
by Samarai1000
I have a terribly-coded (but normally functional) shotgun in my mod, but I've started noticing it's consuming 2 ammo every shot despite its AmmoUse1 property being set to use 1 ammo. Code below, I'll warn you, it's a mess.
https://pastebin.com/ZhSMcJQE
Will give more information if needed, I've never asked for help on these forums before.
Re: DECORATE shotgun consuming two ammo instead of one.
Posted: Sun Oct 22, 2017 3:45 pm
by Cherno
I'd be nice if you just pasted the relevant code here so people don't have to download and open your archive file

Re: DECORATE shotgun consuming two ammo instead of one.
Posted: Sun Oct 22, 2017 3:50 pm
by Samarai1000
Cherno wrote:I'd be nice if you just pasted the relevant code here so people don't have to download and open your archive file

Right, sorry, but I didn't realize pastebin caused downloads? Anyways, I figured it out. A_Spawnitem takes ammo by default and I'm a moron that forgot to set it to not do that. Will delete the thread.
Re: (Solved) DECORATE shotgun consuming two ammo instead of
Posted: Mon Oct 23, 2017 5:25 am
by Accensus
Official ZDoom Community Rules wrote:Don't "blank" your posts. Yes, it is possible to edit your post and delete all the text out of it, but if you're not comfortable with the replies you're seeing to your post, then the most you should do about it is tell a moderator. If your editing question was answered, leave the question up, or else nobody else will be able to find the thread later.