csgo-pug-setup icon indicating copy to clipboard operation
csgo-pug-setup copied to clipboard

Two Inquiries regarding demos and locking a server during a match

Open inputuserhere opened this issue 4 years ago • 1 comments

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/

inputuserhere avatar Oct 18 '20 06:10 inputuserhere

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.

splewis avatar Dec 04 '20 02:12 splewis