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

Two Inquiries regarding demos and locking a server during a match #359

Open
inputuserhere opened this issue Oct 18, 2020 · 1 comment
Open

Comments

@inputuserhere
Copy link

I have two inquiries.

  1. Is it possible to lock the server during a match, e.g. 3v3?

  2. Change the demos folder to csgo/demo instead of csgo/

@splewis
Copy link
Owner

splewis commented Dec 4, 2020

Is it possible to lock the server during a match, e.g. 3v3?

There's a pugsetup_teamlocker plugin, but it's known to be somewhat buggy. I don't recall whether it would let spectators continue to join. (Ideally someone could submit a PR to fix that plugin up.)

Change the demos folder to csgo/demo instead of csgo/

Probably. All pugsetup does is issue a tv_record command to the server using the formatted file path from sm_pugsetup_demo_name_format ( (default "pug_{TIME}_{MAP}"))

So you could try:

  • make sure the csgo/demo directroy already exists
  • set sm_pugsetup_demo_name_format to "demo/pug_{TIME}_{MAP}"

However whether that works depends on CS:GO itself - not pugsetup. I think it should work, with the caveat that the directory probably already must exist.

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

No branches or pull requests

2 participants