Skip to content

Allow gamemodes to set a GM var to disable forced playermodel#7

Open
VickyFrenzy wants to merge 1 commit intoLibertyForce-Gmod:masterfrom
VickyFrenzy:gamemode-based-var-to-disable-enforcer
Open

Allow gamemodes to set a GM var to disable forced playermodel#7
VickyFrenzy wants to merge 1 commit intoLibertyForce-Gmod:masterfrom
VickyFrenzy:gamemode-based-var-to-disable-enforcer

Conversation

@VickyFrenzy
Copy link
Copy Markdown

A gamemode would be able to set GM.lf_pms_DisableEnforcer to completely disable the playermodel enforcer.

This can be useful for asymetric team based gamemodes that offers both sides: one team has complete freedom of choice for their playermodels (cl_playermodel compliant) and the other team only enforced playermodels by the gamemode for critical gameplay reasons.

This is an issue I have with one of my gamemode where I need a team to have restricted playermodels in order to make the gamemode playable.

The workaround I've been using is setting sv_playermodel_selector_force to 0 from the gamemode which is not ideal...

So if you could implement this it would be cool.

This can be useful for asymetric team based gamemodes that offers both sides: one team has complete freedom of choice for their playermodels (cl_playermodel compliant) and the other team only enforced playermodels by the gamemode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant