Add VScript convar allowlists #725
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a VScript convar allowlist for the HL2MP and TF2 mod, which is currently missing and requires the user to copy it over from TF2. The Valve titles on Steam, with the exception of TF2 also have the same issue, and therefore VScript cannot set any convars there.
In addition, the allowlist has been extended to have more harmless convars such as all the AI or NextBot ones. For TF2 the recently added convars such as
tf_mvm_defenders_team_sizeortf_gamemode_communityare also now present.This PR has two commits, one that contains the allowlist for HL2MP and TF2 mod, and one for the Valve titles. The commit for HL2MP and TF2 mod should be cherry picked, rather than merging this whole PR.