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

Auto enable custom rounds #246

Open
asphyxious opened this issue Mar 20, 2020 · 2 comments
Open

Auto enable custom rounds #246

asphyxious opened this issue Mar 20, 2020 · 2 comments

Comments

@asphyxious
Copy link

Hey Splewis, is it possible to make the custom rounds ENABLED by default for all players? They can use !gunmenu to disable it. Maybe add an autoenabled cvar if possible.

Just that most new players don't know how to use !guns properly or don't bother turning on all rounds.

@iRonicro
Copy link

You have few cvars may help you
/cfg/sourcemod/multi1v1/multi1v1.cfg

// Determines auto-open behavior of the guns menu. 0=never auto-open, 1=open if the client has no preference cookies saved, 2=always open on client connect
// -
// Default: "0"
sm_multi1v1_menu_open_behavior "2"

also you can edit more about guns in sourcemod/configs/multi1v1_customrounds.cfg & multi1v1_weapons.cfg

@splewis
Copy link
Owner

splewis commented May 17, 2020

Not currently possible, though like @iRonicro mentions, you can have the round-type/guns menu auto popup for players with that cvar.

I think it'd be a good idea for a new keyvalue in the custom rounds schema (https://github.com/splewis/csgo-multi-1v1/blob/master/configs/multi1v1_customrounds.cfg#L19) that could control this. The current enabled field is for whether the round type is enabled at all, but we could also have a enabled_by_default field that controls this behavior. PRs welcome for that.

@splewis splewis changed the title Auto enable custom rounds? Auto enable custom rounds May 17, 2020
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

3 participants