I'm having a bit of an issue with a weapon i'm workin on for a Hexen mod. I set it up (or so i thought) to consume 3 of a set ammo type, but ingame it completely refuses to consume it. At first I thought I intentionally commented out the Weapon.AmmoUse property for testing purposes and forgot about it, but upon looking at the decorate code i found out that's not the case and it's just broken.
I triple checked the code and it seems fine, so I'm at a bit of a loss as to what I did wrong there. Tested it on GZDoom 3.2.5, 3.3.0 and 3.3.2 and it works correctly in neither of em, but my other weapon does, so that's a bit weird.
Attached: a wad with the offending weapon, including the decorate code of course. (inb4 the issue is something really trivial and i'm just a decorate dummy)
I'm having a bit of an issue with a weapon i'm workin on for a Hexen mod. I set it up (or so i thought) to consume 3 of a set ammo type, but ingame it completely refuses to consume it. At first I thought I intentionally commented out the Weapon.AmmoUse property for testing purposes and forgot about it, but upon looking at the decorate code i found out that's not the case and it's just broken.
I triple checked the code and it seems fine, so I'm at a bit of a loss as to what I did wrong there. Tested it on GZDoom 3.2.5, 3.3.0 and 3.3.2 and it works correctly in neither of em, but my other weapon does, so that's a bit weird.
Attached: a wad with the offending weapon, including the decorate code of course. (inb4 the issue is something really trivial and i'm just a decorate dummy)
xbow (ammo issue).zip
Share this post
Link to post