Make weapon switching via number keys less restricted
Moderator: GZDoom Developers
- StroggVorbis
- Posts: 866
- Joined: Wed Nov 08, 2017 4:23 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Germany
Make weapon switching via number keys less restricted
In vanilla Doom, you could only switch to another weapon when the current was in its Ready state. While GZDoom allows to switch mid De-/Select, there are problems when the desired weapon is not the first in a different slot than your current one. For example, if you wield the chaingun and carry both shotguns, you would instinctively press '3' two times if you want to directly select the shotgun, skipping the SSG. Except it doesn't work. You will always select the SSG first and can only switch to the Shotgun as soon as the SSG's in its Raise state. Would it be possible to implement this?
Re: Make weapon switching via number keys less restricted
Already implemented by matef
viewtopic.php?f=43&t=59498#p1040474
viewtopic.php?f=43&t=59498#p1040474
Re: Make weapon switching via number keys less restricted
Great job not reading the first post, y'all two. This suggestion has nothing to do with m8f's mod, and I'm not sure what the heck a single-word "ZScript" reply is supposed to mean except for "Whoops, I accidentally hit Submit too early and didn't notice."
The OP is pointing out an inconsistency of sorts in the way the mid-selection interrupt code works. Here's a summary/example: presume the player has the pistol selected, with both shotguns and the chaingun in inventory:
There's a chance this might be a [Duplicate], though -- I swear I remember this being brought up somewhere, but I can't find it offhand. Either my search-fu is weak, or the discussion happened somewhere outside the Bugs/Feature Suggestions forum realm.
The OP is pointing out an inconsistency of sorts in the way the mid-selection interrupt code works. Here's a summary/example: presume the player has the pistol selected, with both shotguns and the chaingun in inventory:
- Press 3, then quickly press 4. The Chaingun is selected -- i.e. the initial selection (SSG) is overridden.
- Press 3, then quickly press 3 again. The Super Shotgun is selected -- i.e. the initial selection (SSG) is not overridden.
There's a chance this might be a [Duplicate], though -- I swear I remember this being brought up somewhere, but I can't find it offhand. Either my search-fu is weak, or the discussion happened somewhere outside the Bugs/Feature Suggestions forum realm.
- gwHero
- Posts: 360
- Joined: Mon May 08, 2017 3:23 am
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: The Netherlands
Re: Make weapon switching via number keys less restricted
I was almost certain too - I think it's this post viewtopic.php?f=15&t=59235Xaser wrote: There's a chance this might be a [Duplicate], though -- I swear I remember this being brought up somewhere, but I can't find it offhand. Either my search-fu is weak, or the discussion happened somewhere outside the Bugs/Feature Suggestions forum realm.
- StroggVorbis
- Posts: 866
- Joined: Wed Nov 08, 2017 4:23 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Germany
Re: Make weapon switching via number keys less restricted
Thank you, Xaser. I don't know what I'd do without you :D This is exactly what I was trying to bring across. :) I was afraid to fall on deaf ears, again, and you're right. This is a duplicate, also by me. Since I got no replies except from Matt and m8f in the former (where they ironically already brought up ZScript and Weapon Menu Mod before) I wasn't quite sure what to do with it. Delete it? Edit the first post and make it appear on the first page again? I thought my first attempt at stating this was so unintelligible that I found it would better fade into obscurity, the replies I got certainly didn't help either and would only add to the confusion and misunderstanding.
The thread's still there, tho viewtopic.php?f=15&t=59235
Someone more knowledgeable than me can merge them if necessary. Also, I would like to obtain the opinions of the developers about this suggestion.
The thread's still there, tho viewtopic.php?f=15&t=59235
Someone more knowledgeable than me can merge them if necessary. Also, I would like to obtain the opinions of the developers about this suggestion.
- Matt
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
- Contact:
Re: Make weapon switching via number keys less restricted
If only there were a sane method of retrieving when a player has given a slot-related input... (and if it is something included in player.cmd someone please post here)
Re: Make weapon switching via number keys less restricted
Huh, OK. So this is a literal duplicate request -- please don't do that, then. It doesn't motivate the developers to do anything about it at all.
Re: Make weapon switching via number keys less restricted
Xaser said it best. Thank you Xaser.
Both about the one-word reply, as well as duplicate requests.
Both about the one-word reply, as well as duplicate requests.