actionquake / aq2-tng

Action Quake 2: The Next Generation (including CVS history from SF.net)
http://aq2-tng.sourceforge.net/
5 stars 6 forks source link

Random weapons and items #39

Closed KaniZ0r closed 1 year ago

KaniZ0r commented 1 year ago

This pull request introduces new game mode and new menu options to teamplay modes.

Random weapons and items game mode

In this game mode each player spawns with random weapon and item. It's not completely random since some items doesn't work with some weapons (m3 + silencer f.ex). It's fixed to only give weapon + item combinations that are working properly.

This game mode can be played with set use_randoms 1 server configuration.

Random weapons and items menu options

There are new menu options for both weapon menu and item menu. In weapon menu you can choose: Random Weapon or Random Weapon and Item and item item menu you can choose Random Item. Notice that Random Weapond and Item will skip the item menu.