Make "Weapon State x" keybinds mod-specific

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Make "Weapon State x" keybinds mod-specific

Postby Caligari87 » Sat Jun 03, 2017 4:30 pm

So the idea behind the "Weapon State x" keybinds is pretty awesome. Four extra binds with stock state support accessible from GetPlayerInput, so a modmaker doesn't have to do as much messing around with custom keybinds or whatnot.

The problem is, there's no universal standard for what these keys should do. For example, many players conceivably have Fire bound to Mouse1. But with the Weapon State keys, one modmaker might use a bind for "secondary reload", while another uses that bind for "buy items" and a different bind for "secondary reload", leading to player confusion. Also, if a bind for one mod goes unused in another, it's likely the player will see ugly error messages for missing scripts or whatever if they accidentally hit that key. This is particularly noticeable with mods like Hideous Destructor or D4D, where it's practically a requirement to have a separate INI config for just that mod. That raises the issue of other settings a player has to manually sync across config files if they want to have a consistent experience (like resolution, map colors, etc). If you don't keep a separate INI, then you have to rebind your keys every time you play something new.

IMO, a reasonable solution would be to break out the "Weapon State x" binds in the INI to be mod-specific (like custom CVARs), rather than universally bound. They could still appear in the same space in the menu, but having them tracked separately would be a godsend.

User avatar
I'm just here for the community
User Accounts Assistant
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089
Github ID: caligari87
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Make "Weapon State x" keybinds mod-specific

Postby Major Cooke » Sat Jun 03, 2017 5:59 pm

I would love for something like this.
User avatar
Major Cooke
QZDoom Maintenance Team
Joined: 28 Jan 2007

Re: Make "Weapon State x" keybinds mod-specific

Postby Graf Zahl » Sun Jun 04, 2017 2:08 am

The entire keybinding system has its share of problems, once a mod adds its own ones. This needs some larger refactoring but I have no good idea how to do it without breaking stuff and annoying the users.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Joined: 19 Jul 2003
Location: Germany

Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests