Left 4 Dead 2

Left 4 Dead 2

1,065 ratings
Setting Lock (ConVar Reset)
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
4.849 KB
24 Nov, 2021 @ 8:39am
12 Jul, 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
34 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
8 Mar, 2024 @ 11:05am
stuff
Nescius
50 Comments
호야옵빠 31 Dec, 2024 @ 1:14am 
사랑해요
胡口桃生 26 Nov, 2024 @ 8:36am 
中文版省流:打了这个mod后的本地服务器不会被你之前玩过的社区服污染,可以在不重新启动遊戲的情況下避免這些奇怪的情況
Big fish 19 Jul, 2024 @ 4:33pm 
Hey! Was this never officially patched? Is it still necessary to use this when jumping community servers?
TestGGA 23 Jun, 2024 @ 9:05am 
ty this help a lot
Interneted 11 May, 2024 @ 1:13am 
@Nescius, ah yes, I totally forgot about that, mainly because I mostly play campaign XD
corpse part 14 Mar, 2024 @ 3:42am 
Sorry, but do need any libraries for this mod? For example VScripts or VSlib?
Nescius 8 Mar, 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 6 Mar, 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.
「 saturnz 」 2 Mar, 2024 @ 12:36am 
maybe dumb question but i have to ask, does this fix the infinite loading screen for clients?
Jakkub 1 Feb, 2024 @ 10:25pm 
ty this fixed my infinite ammo issues