It's a very special case, but if a lowering weapon loops, and is allowed to fire at any time during the loop, the player can continue to take shots long after he's passed away. He can't do anything else.
Check the download HERE and get killed, making sure you have the Blaster set. ... You can avenge your own death without respawning.
[1739] Dead players can still fire?
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- Project Shadowcat
- Posts: 9369
- Joined: Thu Jul 14, 2005 8:33 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: Blacksburg, SC USA
- Contact:
Re: [1739] Dead players can still fire?
I'm guessing this is a case of "don't do that," but I could be wrong. I don't think firing was designed to be allowed during the lowering state. If I'm correct, then this is working exactly as intended, because I think death continually loops the lowering state.
Re: [1739] Dead players can still fire?
Clear case of user error. The Raise and Lower states should consist of a single 1-tic frame calling A_WeaponRaise / A_WeaponLower and the loop command. Anything else is going to give you unpredictable results.
Re: [1739] Dead players can still fire?
the problem has been fixed, and it was because the deselect state was open ended, not because of multiple A_Lowers at 0 tic. I forgot to add Loop afterwards, but it's since been fixed and will be in an update