In ZDoom, when you get a new weapon(you don't have), it should auto-switch to it. But if you hold fire key when get new weapon, it won't switch, and your current "firing" weapon still fire, but its fire rate cut to half. Until you release fire key(or run out of ammo) and it switches.
Works on ZDoom 2.3.1, GZDoom SVNs also affect.
[r1???-r1785] Weird thing about auto-switch weapon
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.
Re: [r1???-r1785] Weird thing about auto-switch weapon
I have actually noticed something similar with my own weapons - most of which appeared in my Burghead mod. If I press and hold the alt-fire button (which, on the weapons, is a "flashlight" made by firing a stream of invisible projectiles with dynamic lights attached) then either pick up a new weapon or try to change to another weapon using the mousewheel, the flashlight flickers on and off in a way that would be consistent with your observations. Only when I let go of the alt-fire button, does the weapon change.
I hadn't paid it much attention and assumed that it had always been like that but I had not noticed. However, now that I think about it, I'm pretty sure that it is a recent phenomenon.
I hadn't paid it much attention and assumed that it had always been like that but I had not noticed. However, now that I think about it, I'm pretty sure that it is a recent phenomenon.
Re: [r1???-r1785] Weird thing about auto-switch weapon
I also noticed it recently with powered weapons in Heretic: the tomed-up gauntlets, when the tome was running out, were "blinking".
- Demolisher
- Posts: 1749
- Joined: Mon Aug 11, 2008 12:59 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Winchester, VA
- Contact:
Re: [r1???-r1785] Weird thing about auto-switch weapon
Not cut in half, A_Refire simply stops working. In some guns it isn't very noticeable.PlayerLin wrote:In ZDoom, when you get a new weapon(you don't have), it should auto-switch to it. But if you hold fire key when get new weapon, it won't switch, and your current "firing" weapon still fire, but its fire rate cut to half. Until you release fire key(or run out of ammo) and it switches.
Works on ZDoom 2.3.1, GZDoom SVNs also affect.
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [r1???-r1785] Weird thing about auto-switch weapon
Fixed.
Something got mixed up with the recent A_WeaponReady enhancement. The code checked first if the weapon can be fired and only afterwards if it can be switched. These checks must be reversed for everything to work as intended.
Something got mixed up with the recent A_WeaponReady enhancement. The code checked first if the weapon can be fired and only afterwards if it can be switched. These checks must be reversed for everything to work as intended.