andrei-drexler / ironwail

High-performance QuakeSpasm fork
GNU General Public License v2.0
480 stars 43 forks source link

[Feature Request] Disable Switch on Pickup #285

Open tunbridgep opened 6 months ago

tunbridgep commented 6 months ago

This is a feature that currently exists in the Remastered version of quake.

This setting would have 3 options:

cl_autoswitch 0 - never switches weapons when picking up a new weapon cl_autoswitch 1 - works as it does now, when picking up a weapon it always switches to it cl_autoswitch 2 - only switches weapons when picking up a weapon we don't already have

mhQuake commented 6 months ago

Should this not be implemented in QC rather than in the engine?

tunbridgep commented 6 months ago

I wouldn't know the first thing about QC, sorry. All I know is that the remaster has this feature, and it's a good one because random weapon switches sucks. Would doing it in QC allow using it across all the different games/mods?

Same with switching when you pick up ammo for a weapon you previously had selected.

If you believe a different solution is preferable, you probably know better in this regard.

Terraformer9x commented 6 months ago

The Quake Remaster actually handles the autoswitching option via QC itself.

I don't think it's possible for it to be implemented engine wise without it breaking demo compatibility.

Konkonfaux commented 4 months ago

You can have this by using the Quake Vanilla Fixes patch maintained by Nightfright. https://quakeone.com/forum/quake-mod-releases/finished-works/283201-vanilla-quake-fixes