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

Explore executing a default game mode config #27

Open
rtxa opened this issue Jan 23, 2023 · 1 comment
Open

Explore executing a default game mode config #27

rtxa opened this issue Jan 23, 2023 · 1 comment
Milestone

Comments

@rtxa
Copy link
Owner

rtxa commented Jan 23, 2023

I'm thinking of adding a gamemode_default.cfg which will be executed when we switch of game mode.

This will avoid the need of resetting all the cvars by yourself on your game mode config.

Possible issues are players voting custom options like mp_timelimit and losing the changes on map change, but this should be adressed by online resetting on game mode switch.

Not sure if we can add more things like a _pre and _post config.

@rtxa rtxa added this to AG Mod X Apr 22, 2022
@rtxa rtxa converted this from a draft issue Jan 23, 2023
@rtxa rtxa changed the title Explore how CS:GO handles gamemodes Explore executing a default game mode config Jan 23, 2023
@rtxa rtxa added this to the Next release milestone Dec 20, 2023
@rtxa
Copy link
Owner Author

rtxa commented Aug 5, 2024

We should not worry about custom plugins adding new game mode commands or custom gamemodes added, in that case administrator can edit gamemode_default.cfg to add those cvar to reset after map change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog/Ideas 🤔
Development

No branches or pull requests

1 participant