Left 4 Dead 2

Left 4 Dead 2

Admin Menu 2.0
.l3lackstar. 18 Jul, 2024 @ 4:19pm
Persistence?
Is there a way to have certain things remain toggled on when you move on the next chapter of a map. For instance super flashlight.. it does not persist through chapters, so you have to turn it on every time.
< >
Showing 1-1 of 1 comments
Maur0  [developer] 19 Jul, 2024 @ 3:47pm 
Using a cvars.txt File

You can create a file called "cvars.txt" and place it in the following directory:
Steam\SteamApps\common\left 4 dead 2\left4dead2\ems\admin system

This file will automatically execute all Cvars upon loading each map. Keep in mind each Cvar will need to be on its own line within the file.

Here's an example of how you can enter the Cvars:
god "1" "sv_infinite_ammo" "1" sv_gravity 200 scripted_user_func give,all,rifle_m60 scripted_user_func max_health,all,300

To know all the commands. You look on the page in the list of all the cvars commands that the game offers.

List of Left 4 Dead 2 console commands and variables
Last edited by Maur0; 19 Jul, 2024 @ 3:48pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50