Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use chat messages "pause" and "stop" to stop the game? #66

Closed
ChillerDragon opened this issue Dec 9, 2023 · 3 comments
Closed

Use chat messages "pause" and "stop" to stop the game? #66

ChillerDragon opened this issue Dec 9, 2023 · 3 comments

Comments

@ChillerDragon
Copy link
Member

Not sure but should "pause" and "stop" be an alias for /pause and the 0.7 ready change net message?
Should probably also include "go" then.

Should be case insensitive.

Not sure if it is good or bad tho. Rilla said it is not needed. I saw it used twice in the gctf tournament by people who wanted to stop the game. And then others used their pause binds to actually pause it.

I remember the vanilla scene back in the days used the chat messages "stop" and "go at xx" which was the code for all players to just stop moving manually. Some OG players might have "stop" muscle memory. Not sure how other pvp mods do it. I remember vaguely that you mentioned something like that @JSaurusRex what do you think?

What are the possible drawbacks? Unwanted game pauses when someone says "stop" and did not mean to pause the game but tell someone to stop doing something.

The majority of gctf players also has a /pause bind from ddrace that already works. Maybe it just needs more marketing instead of encouraging people starting to also bind the "stop" chat message.

@lukure
Copy link

lukure commented Dec 9, 2023

/pause and /go were also used in 0.7 gCTF to pause/start the game.

@JSaurusRex
Copy link

I wanted to add this as an server side option for ictf, ictf players are used to stop and go commands so its not really a problem
You could make them aliases for.
However you gotta make sure you only check for !stop /stop or stop, and not stop anywhere in the message.
Anyway I'll make a pr for it and we'll see how everybody likes it.

@ChillerDragon
Copy link
Member Author

I added sv_stop_and_go_chat it is off by default. When activated it acts like a forced ready change. If anyone writes the full match "pause", "stop", "go" or "start" in the chat it will pause or unpause the game no matter what.

If the game was paused with a ready change it can be force started with a "go" even if not everyone is ready. If i game is paused with "pause" it can still be started if everyone sends a ready change given that sv_player_ready_mode is active too.

Also the sv_countdown_unpause works for "go" and "start". With these 3 configs server admins can now fully customize what they want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants