Left 4 Dead 2

Left 4 Dead 2

1,163 ratings
Setting Lock (ConVar Reset)
3
3
3
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
4.849 KB
Nov 24, 2021 @ 8:39am
Jul 12, 2024 @ 7:42am
5 Change Notes ( view )

Subscribe to download
Setting Lock (ConVar Reset)

In 1 collection by MANACAT
MANACAT's Local Server Support Tools
36 items
Description
This add-on prevents the variable value settings of the game from being changed when you create a local server after connecting to some steam community server(=dedicated server).
In other words, after entering & leaving the dedicated server, you want to play on the local server, but you have a lot of bullets, or fast-use the first aid kit, or you can incap crawl, or some special infected is strangely fast, or the Smoker blows your tongue every 1000ft, or the Boomer vomits every second, or something, anyway it means avoiding such weird situations without restarting the game. Because that's not an ordinary game.

This add-on works by forcing default values to variables(ConVar, Cvar) when the local server starts, so it may conflict with other add-ons that change the variables in your game.

※ This add-on includes a function to set the sv_consistency value to 0 by default.
It remains at 1 until lobby, but changes to 0 when the game starts, so there is no need to manually input sv_consistency to 0.
Popular Discussions View All (1)
1
Mar 8, 2024 @ 11:05am
stuff
Nescius
52 Comments
Crashado Apr 11 @ 2:32pm 
awesome
Frank Tenpenny Mar 25 @ 12:49am 
관두 씨ㅡ발거
호야옵빠 Dec 31, 2024 @ 1:14am 
사랑해요
胡口桃生 Nov 26, 2024 @ 8:36am 
中文版省流:打了这个mod后的本地服务器不会被你之前玩过的社区服污染,可以在不重新启动遊戲的情況下避免這些奇怪的情況
Big fish Jul 19, 2024 @ 4:33pm 
Hey! Was this never officially patched? Is it still necessary to use this when jumping community servers?
TestGGA Jun 23, 2024 @ 9:05am 
ty this help a lot
Interneted May 11, 2024 @ 1:13am 
@Nescius, ah yes, I totally forgot about that, mainly because I mostly play campaign XD
corpse part Mar 14, 2024 @ 3:42am 
Sorry, but do need any libraries for this mod? For example VScripts or VSlib?
Nescius Mar 8, 2024 @ 8:59am 
@Interneted
The sv_cheats 1 thing doesn't sound like a good idea considering that would also reset all the cheat flagged cvars that are set in mode files
Interneted Mar 6, 2024 @ 10:04pm 
Sadly though, some of the cvars aren't included in this, such as incap health amount, and you might also want to update it just like Nescius suggested in the discussion.

In addition to this, I personally add sv_cheats 1 to my listenserver.cfg to force cheat flagged cvars to the default value as well.