Irbyz / aftershock-xe

AfterShock XE is a fork of the AfterShock mod for OpenArena FPS game.
https://discord.gg/fd79Ktf
GNU General Public License v2.0
12 stars 8 forks source link

Timeout enchancements #15

Open Irbyz opened 6 years ago

Irbyz commented 6 years ago

It would be nice to have a timein command to resume the game from timeout immediately. Maybe players should be able to timein only on the timeout they called, or the timeout that their teammate called. Also currently it seems to be only possible to issue one timeout during the map per player. Sometimes that's not enough, I think setting a custom amount of timeouts allowed per player or per team with a variable would be the best. Probably It would be good to make an option to only let the privileged players call a timeout, e.g. integrate it into the current admin system https://github.com/OpenArena/gamecode/wiki/Admin or a referee system https://aftershock.wikia.com/wiki/Referee_system This would make it possible to use the timeout feature on the public servers without the possibility of people abusing it. And if a tournament staff member is present on the server they should be able to call the timeout as spectator.

borg42 commented 6 years ago

Also currently it seems to be only possible to issue one timeout during the map per player. Sometimes that's not enough, I think setting a custom amount of timeouts allowed per player or per team with a variable would be the best.

The g_timeoutAllowed cvar sets the timeout limit. So if you set g_timeoutAllowed = 3, each player can call "/timeout" 3 times per game.