fgsfdsfgs / perfect_dark

work in progress port of n64decomp/perfect_dark to modern platforms
MIT License
1.19k stars 74 forks source link

[Feature Request] Weapon switching with number keys / Half-Life style inventory system #365

Open megatog615 opened 8 months ago

megatog615 commented 8 months ago

Requesting the ability to switch weapons with the number keys like other PC FPS games. Half-Life for example uses a cascading weapon selection menu that, when you press a number it shows all weapons in that category, and subsequent presses changes the selection. This is a useful system for FPS games with more than ten weapons/items. PD would need each weapon/item given a slot number so that it always appears in the menu in the same position, and 'higher priority' items taking precedent. Of course all of this could be configured by the user.

Here's some defaults I came up with. It's not extremely good; this could be workshopped.

1: melee 2: pistols 3: miscellaneous(shotgun, mines, grenades, tranquilizer, crossbow, anything you probably dont want to spend time reloading in a firefight) 4: automatics/smgs/rifles 5: rocket launchers 6: ???

I suggest this system because simply assigning guns to number keys based on the time the item was picked up(the simpler method) can be confusing and hard to get used to.

tunbridgep commented 8 months ago

I don't think this is necessary, most missions you only find a handful of items.

One feature I would very much like to see from half life is the last weapon used button, especially if it's clever and knows to not reselect utility or one off items (mines, camspy, etc etc).

megatog615 commented 8 months ago

I don't think this is necessary, most missions you only find a handful of items.

It's so that weapons always show up in an expected category and thus have the same hotkey no matter what.

tunbridgep commented 8 months ago

The issue with the wheel is that things often appear in seemingly random positions, so maybe that can be addressed

throwaway29292 commented 7 months ago

I'd absolutely support that. The stock PD wheel menu is cool looking, but impractical to use with mouse.