Weapon selection query via number key press
Moderator: GZDoom Developers
- StroggVorbis
- Posts: 866
- Joined: Wed Nov 08, 2017 4:23 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Germany
Weapon selection query via number key press
When you have multiple weapons in a slot, for example shotgun and super shotgun in slot 3, you have to wait for the super shotgun to raise before the second keypress is effective. Pressing '3' two times in quick succession without your current weapon having fully lowered still brings up the super shotgun instead of the shotgun. Basically, what I want is that a number key can be pressed multiple times during the same deselect state to immediately select a specific weapon in a slot like you can with 'Next Weapon' and 'Previous Weapon'.
- 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: Weapon selection query via number key press
I wonder if this would be possible in ZScript, or possible to be made open to ZScript...
- StroggVorbis
- Posts: 866
- Joined: Wed Nov 08, 2017 4:23 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Germany
Re: Weapon selection query via number key press
If it isn't possible in ZScript, there's still the possibility of implementing it at the source code level. Of course, if the demand and interest in such a feature is sufficient. I have no programming knowledge whatsoever.
- Arctangent
- Posts: 1235
- Joined: Thu Nov 06, 2014 1:53 pm
- Contact:
Re: Weapon selection query via number key press
... Are you sure you aren't mistaking your Chocolate Doom or PrBoom executables for your GZDoom executable? Because while that's how it works in vanilla Doom, you've been able cancel out a weapon's raising animation at any time to select another weapon for a while in ZDoom.
- 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: Weapon selection query via number key press
I think this topic is about hitting "3" twice in rapid succession while (say) the BFG is still lowering to skip the SSG entirely and get to the shotgun right away, not just hitting 3 again while the SSG's coming up and having it go down before it's all the way up.
Re: Weapon selection query via number key press
I feel smell "half-life weapon selection menu".
And yes, this can be done in zscript, I remember I see somethig like this in some mod. Or that was ACS...
And yes, this can be done in zscript, I remember I see somethig like this in some mod. Or that was ACS...
-
- Posts: 134
- Joined: Mon Aug 14, 2017 3:04 pm
Re: Weapon selection query via number key press
Interesting, like Arctangent mentioned you can cancel a weapon swap for another weapon, but it is limited.
Assuming you have pistol selected:
-press 3 then immediately press 4: chaingun will appear instead of ssg
however the following won't work
-press 3 then immediately press 3: same as if you pressed 3 only once (won't go to single barrel)
-press 3 then immediately press 2: same as if you pressed 3 only once (won't go back to pistol)
I've replaced "slot 3" with "use shotgun", then use another key binding for "use supershotgun". Just gotta remember that you have a ssg to select when playing Doom2.
Assuming you have pistol selected:
-press 3 then immediately press 4: chaingun will appear instead of ssg
however the following won't work
-press 3 then immediately press 3: same as if you pressed 3 only once (won't go to single barrel)
-press 3 then immediately press 2: same as if you pressed 3 only once (won't go back to pistol)
I've replaced "slot 3" with "use shotgun", then use another key binding for "use supershotgun". Just gotta remember that you have a ssg to select when playing Doom2.
- StroggVorbis
- Posts: 866
- Joined: Wed Nov 08, 2017 4:23 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Germany
Re: Weapon selection query via number key press
@Arctangent, what you say is true and I already knew what, but what I mean is how @Matt and @Hypersonic understood it. I'm sorry for not describing my request clear enough.
- StroggVorbis
- Posts: 866
- Joined: Wed Nov 08, 2017 4:23 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Germany
Re: Weapon selection query via number key press
Excuse me for bumping, but what's the state on this from the developers' standpoint? I have to admit, the title and description are very ambiguous
- m8f
-
- Posts: 1445
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Manjaro Linux
- Location: Siberia (UTC+7)
- Contact:
Re: Weapon selection query via number key press
Hi! I made a mod that is very close to this with ACS.Apeirogon wrote:I feel smell "half-life weapon selection menu".
And yes, this can be done in zscript, I remember I see somethig like this in some mod. Or that was ACS...