Engine icon indicating copy to clipboard operation
Engine copied to clipboard

Remove sv_unlockedchapters cvar

Open vrad-exe opened this issue 2 years ago • 1 comments

Which component should be improved?

Other

Describe your suggestion

sv_unlockedchapters was used in HL2 era games to store the player's chapter unlock progress, but it doesn't do anything anymore in Portal 2, with chapter progress instead being stored using a hardcoded "title data" system. When the P2CE chapter progression system is eventually rebuilt, it needs to support user created campaigns including having multiple installed at once, and therefore can't use a single cvar, so this should just be removed.

Momentum lacks the concept of chapters entirely, so it also doesn't need this, but still has it currently.

vrad-exe avatar May 06 '23 21:05 vrad-exe

Some mods might use this cvar to store data or control other things, I don't see any harm in leaving it around

craftablescience avatar Oct 18 '23 08:10 craftablescience