This script adds support for skill level-specific .cfg files, which in turn can be used to implement HL:S skill level configs. Since "exec" is a blacklisted concommand, the script also includes a .cfg file reader to manually execute each command.
skill_manifest.cfg is still executed on change and maintains full compatibility.
- Fixed game.SetSkillLevel reverting to the "skill" convar's value.
- Added GM:OnSkillLevelChanged(number NewSkillLevel).
- Added cvars.ExecConfig(string File) - executes a file relative to ~/garrysmod/cfg/*.
- Added Half-Life: Source skill files.
- skill#.cfg is now run on skill level change.
- A "Think" hook with ID "game.SetSkillLevel" is used by this addon.
- Changes to the skill convar will not update game.GetSkillLevel or call the configs until the next tick due to a bug with convar callbacks.
Facepunch: https://gmod.facepunch.com/f/gmodaddon/bsyyr/Half-Life-Source-Skill-Levels-and-cfg-File-Reader/1/