Make "Weapon State x" keybinds mod-specific

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

Moderator: GZDoom Developers

User avatar
Caligari87
Admin
Posts: 6174
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Make "Weapon State x" keybinds mod-specific

Post by Caligari87 »

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.

8-)
User avatar
Major Cooke
Posts: 8170
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

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

Post by Major Cooke »

I would love for something like this.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

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

Post by Graf Zahl »

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.
Post Reply

Return to “Feature Suggestions [GZDoom]”