lavenderdotpet / LibreQuake

A freesoftware quake one remake with art under the BSD license
https://discord.gg/nsr6DTF6RX
Other
415 stars 34 forks source link

QC, DOCS: Added infokey for disabling backpacks in deathmatch #191

Closed Zungrysoft closed 2 weeks ago

Zungrysoft commented 1 month ago

Description of Changes


I've always disliked the backpack mechanic in Quake 1 deathmatch. In duels, it punishes the out-of-control player for picking up ammo since often it will do little more than deliver the in-control player free ammo. I've added an infokey that lets you disable it. They're still enabled by default, of course.

Checklist


Nolcoz commented 1 month ago

How does this work? Is it a command you have to put in console?

Zungrysoft commented 1 month ago

@Nolcoz QuakeWorld engines support infokeys, which are additional settings that change the way the game plays. The original QuakeWorld had infokeys like "dq", which controls whether or players drop the Quad Damage if they die while holding it or if it's just gone for good. I've added some new ones to let players customize their deathmatch play a bit more. They're all optional and must be enabled in the console. The console command to enable this particular infokey would be:

serverinfo disable_backpacks 1