Raptor007 / aq2-tng

Action Quake 2: The Next Generation. Raptor007's sandbox for testing changes. When verified stable, this code is pushed to the official aq2-tng repo:
https://github.com/aq2-tng/aq2-tng/tree/bots
4 stars 2 forks source link

teamplay: team none idle players #125

Open MVarland opened 2 years ago

MVarland commented 2 years ago

Hi, Please implement forcing "team none" if a player hasn't moved for an entire round.

One idea could be a server setting to team none them instead of playing the insane sounds or a separate command & counter for the idle team-none feature.

Right now as a fellow player can only vote to kick the idling players, which might be a bit harsh if tempbanning is activated

Raptor007 commented 1 year ago

Excellent idea! I usually sv slap idle players to death on my server, but that only works if I'm there playing. Removing them from their team automatically would be a better solution.

darkshade9 commented 1 year ago

My master branch appears to be out of whack and no longer in sync with yours, I will see if I can get them back on track so I can perform PRs again. In the meantime, I did write this up in an attempt to solve this https://github.com/actionquake/aq2-tng/pull/48/files

darkshade9 commented 1 year ago

https://github.com/Raptor007/aq2-tng/pull/139

Raptor007 commented 1 year ago

This is now implemented as cvar sv_idleremove (thanks @darkshade9!) and will be pushed upstream to aq2-tng after a bit more testing.