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

edit 10man CFG #274

Open
zxFirefly opened this issue Mar 12, 2019 · 15 comments
Open

edit 10man CFG #274

zxFirefly opened this issue Mar 12, 2019 · 15 comments

Comments

@zxFirefly
Copy link

zxFirefly commented Mar 12, 2019

I just want to be able to change the default .10man cfg to enable knife round. I haven't seen a cfg to do this any where.

EDIT: also a way to input custom team pick orders or even add the option to select team pick order in the setup menu

@splewis
Copy link
Owner

splewis commented Mar 13, 2019

I just want to be able to change the default .10man cfg to enable knife round. I haven't seen a cfg to do this any where

You can't (it looks like the plugin just uses whatever the last game was setup as:

PugSetup_SetupGame(TeamType_Captains, MapType_Vote, 5, g_RecordGameOption, g_DoKnifeRound,
g_AutoLive);
).

I recommend just using the .setup command instead of that command.

EDIT: also a way to input custom team pick orders or even add the option to select team pick order in the setup menu

Highly unlikely to happen. Pull requests are welcome though.

@borzaka
Copy link
Contributor

borzaka commented Mar 15, 2019

Edit the setupoptions.cfg and change kniferound's default to 1

And if you enable sm_pugsetup_autosetup (plus optionally sm_pugsetup_force_defaults as well) in the generated pugsetup.cfg, your game will autosetup with the default options and thus kniferound enabled.

And if you don't want to mess with config files, you can use .setup to setup your match every time as @splewis said, and enable kniferound there. But you have to do every time you want to play.

@bboychris168
Copy link

@borzaka would you perhaps know how to setup random captains? instead of "assigning captains"?

@borzaka
Copy link
Contributor

borzaka commented May 4, 2019

There is a command for that: .rand/!rand for randomly selecting captains.

Or you can edit your config in cfg/sourcemod/pugsetup.cfg and change sm_pugsetup_auto_randomize_captains to 1

(default 0) - When games are using captains, should they be automatically randomionce? Note you can still manually set them use .rand/!rand to redo the randomization

@bboychris168
Copy link

@borzaka would you also perhaps know if i can disable the damage on console and show it after a round ends?

@borzaka
Copy link
Contributor

borzaka commented May 4, 2019

Sure. To disable the damage feed in the console, use this command:
sv_damage_print_enable 0

To show the damage done/taken from players on round ends, use the pugsetup_damageprinter plugin.

@bboychris168
Copy link

Yeah sorry im confused on where i should be placing that command? Yeh i figured out how to enable the damage printer.

@borzaka
Copy link
Contributor

borzaka commented May 4, 2019

You don't have to @ me, and you can edit your comment, no need to write a new one with zero information in it.

Put that command in your server.cfg. Or you can add to the plugin's live.cfg, or whatever config you use.

@bboychris168
Copy link

Sorry about that. But one very last thing that i also tried figuring out today but had issues doing so. Am i able to disable the ".setup" command once i configure to the settings i want? Ive had users in my csgo channel changing to unwanted settings. Ive up my admin immunities but nothing seems to stop the ".setup" command from getting unwanted changes from the users in the server.

@borzaka
Copy link
Contributor

borzaka commented May 4, 2019

You don't have to disable the .setup command, just limit who can access it.
Modify the commands permissions in the permissions.cfg

@bboychris168
Copy link

permissions folder
I have changed the setup to admin but i did a test today and people can still use the .setup command.

@borzaka
Copy link
Contributor

borzaka commented May 5, 2019

Have you restarted your server after editing the permissions?

If so, no worries, everyone can type .setup to see the settings, but only admins can change it.

@chihebloussif
Copy link

Have you restarted your server after editing the permissions?

If so, no worries, everyone can type .setup to see the settings, but only admins can change it.

can i set the sv_damage_print_enable 0 to default ????

@borzaka
Copy link
Contributor

borzaka commented Jul 3, 2023

@chihebloussif I don't understand your question. Also, wrong issue. This wasn't the topic here. Open a new issue if you have problems.

@chihebloussif
Copy link

@borzaka would you also perhaps know if i can disable the damage on console and show it after a round ends?

This is the orignal topic i was asking for , but i arrived to a solution to disable the damage feedback from the console

Solution : add sv_damage_print_enable 0
Ti live.cfg and knife.cfg in pugsetup config commands line then activate the damage_printer plugins from from disabled folder and everything work like a charm

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

5 participants