thebigsleepjoe / TTT-Bots-2

Player bots for Garry's Mod TTT
Creative Commons Attribution Share Alike 4.0 International
11 stars 4 forks source link

[FEATURE] Allow players to be controlled by bots if AFK #25

Open thebigsleepjoe opened 11 months ago

thebigsleepjoe commented 11 months ago

What is the new feature?

A player should be able to do !botafk or, if a cvar is enabled, have their character be controlled by a bot until they interact with the game again.

Purpose/motivation

It would be a small but valuable QOL feature that would prevent situations where players are AFK during a round and thus must be RDM'd to play usually.

Additional context

This is low-priority and may require a bit of refactoring, but it may be worth it if people want it.

github-actions[bot] commented 7 months ago

Stale issue message

DaBassman1 commented 5 months ago

i think this is a good idea. However, if you're playing alone, it can make it somewhat cheating. I think it would be a good idea to make it so that you can enable or disable that feature.

thebigsleepjoe commented 5 months ago

Since it would have a large impact on the game, it would indeed be a cvar. One for each type (automatic and manual !botafk). I wouldn't really consider it cheating due to the number of "fair play" systems in place, but server owners may disagree. Which is why it would be configurable :)