Left 4 Dead 2

Left 4 Dead 2

OFFLINE CO-OP Menu
 This topic has been pinned, so it's probably important
H1Z2XD  [developer] Mar 29, 2023 @ 8:22pm
ADVANCED GUIDE
Introduction
For anyone with problems or questions, read here, it may help you.

If you want to change name for player 2
First you will need to open the developer console and type the following command.
name2 yourname
Replace yourname with any name you want.

If you want to change character
First you will need to enter the offline co-op mode and open the developer console type the following command.
sv_cheats 1
followed by typing the following command.
cmd1 sb_takecontrol charactername
Replace charactername with the character name for player 1.
But if you want to change the character for player 2, use the following command instead.
cmd2 sb_takecontrol charactername
Replace charactername with the character name for player 2.

Can't move screen up and down.
First you will need to open the developer console and type the following command.
cmd2 +jlook

If you have one controller (Only works with Xbox 360 Controller!)
If you only have one controller to play with and you want the other player to use the keyboard/mouse you will need open developer console.
But, first things first, open a notepad from the start menu then copy and paste this code into it.
sv_cheats "1" in_forceuser "1" cmd1 joystick "1" cmd1 joy_advanced "1" cmd1 joy_advaxisx "3" cmd1 joy_advaxisy "1" cmd1 joy_advaxisz "0" cmd1 joy_advaxisr "2" cmd1 joy_advaxisu "4" cmd1 joy_advaxisv "0" cmd1 joy_forwardsensitivity "-1.0" cmd1 joy_sidesensitivity "1.0" cmd1 joy_forwardthreshold "0.1" cmd1 joy_sidethreshold "0.1" cmd1 joy_pitchsensitivity "1.0" cmd1 joy_yawsensitivity "-1.5" cmd1 joy_pitchthreshold "0.1" cmd1 joy_yawthreshold "0.0" cmd1 joy_variable_frametime "1" cmd1 joy_autoaimdampenrange "0.85" cmd1 joy_autoaimdampen "0.5" cmd1 joy_lowend "0.65" cmd1 joy_lowmap "0.15" cmd1 joy_accelscale "3.0" cmd1 joy_accelmax "4.0" cmd1 joy_response_move "5" cmd1 joy_response_look "1" cmd1 joy_autoaimdampen "0.3" cmd1 joy_autoaimdampenrange "0.85" cmd1 joyadvancedupdate cmd1 +jlook cmd1 bind "A_BUTTON" "+jump;+menuAccept" cmd1 bind "B_BUTTON" "+reload" cmd1 bind "X_BUTTON" "+use" cmd1 bind "Y_BUTTON" "lastinv" cmd1 bind "R_TRIGGER" "+attack" cmd1 bind "L_TRIGGER" "+attack2" cmd1 bind "R_SHOULDER" "+lookspin" cmd1 bind "L_SHOULDER" "toggle_duck" cmd1 bind "STICK1" "vocalize smartlook" cmd1 bind "STICK2" "+zoom" cmd1 bind "BACK" "togglescores" cmd1 bind "START" "gameui_activate" cmd1 bind "S1_UP" "+menuUp" cmd1 bind "S1_DOWN" "+menuDown" cmd1 bind "UP" "impulse 100" cmd1 bind "LEFT" "slot3" cmd1 bind "RIGHT" "slot4" cmd1 bind "DOWN" "slot5" cmd1 sk_autoaim_mode "2" cmd2 +jlook cmd2 bind "ESCAPE" "cancelselect" cmd2 bind "`" "toggleconsole" cmd2 bind "START" "gameui_activate" cmd2 bind "TAB" "+showscores" cmd2 bind "SPACE" "+jump" cmd2 bind "0" "slot10" cmd2 bind "1" "slot1" cmd2 bind "2" "slot2" cmd2 bind "3" "slot3" cmd2 bind "4" "slot4" cmd2 bind "5" "slot5" cmd2 bind "6" "slot6" cmd2 bind "7" "slot7" cmd2 bind "8" "slot8" cmd2 bind "9" "slot9" cmd2 bind "a" "+moveleft" cmd2 bind "d" "+moveright" cmd2 bind "e" "+use" cmd2 bind "f" "impulse 100" cmd2 bind "h" "motd" cmd2 bind "m" "chooseteam" cmd2 bind "c" "+voicerecord" cmd2 bind "q" "lastinv" cmd2 bind "r" "+reload" cmd2 bind "s" "+back" cmd2 bind "t" "impulse 201" cmd2 bind "u" "messagemode2" cmd2 bind "w" "+forward" cmd2 bind "x" "+mouse_menu QA" cmd2 bind "y" "messagemode" cmd2 bind "z" "+mouse_menu Orders" cmd2 bind "CTRL" "+duck" cmd2 bind "SHIFT" "+speed" cmd2 bind "F1" "Vote Yes" cmd2 bind "F2" "Vote No" cmd2 bind "F5" "jpeg" cmd2 bind "MWHEELDOWN" "invnext" cmd2 bind "MWHEELUP" "invprev" cmd2 bind "MOUSE1" "+attack" cmd2 bind "MOUSE2" "+attack2" cmd2 bind "MOUSE3" "+zoom"
Save the notepad file with any name you want (i chose one-controller.cfg) into:
Steam > steamapps > common > Left 4 Dead 2 > left4dead2 > cfg

Once you do that Head over to your game and enter the offline co-op mode and open the developer console and type:
exec one-controller
NOTE: In my case, the name was one-controller.cfg, depending on the name you chose you would exec the name of your cfg file.
Then simply launch a split-screen session using this add-on, you will be able to play with 1 controller and one keyboard/mouse combo.

If you want to play an add-on map
Unfortunately, this add-on does not support opening maps of add-ons that are not officially listed, But you still have a way to play add-on map.

First you will need to know the name of the map you want to play.
Then go to the main menu and open the developer console and type the following command.
map mapname coop; wait 100; connect_splitscreen localhost 2;
Replacing mapname with the name of the add-on map you wrote down before.

If you want to play mutations or any game mode on official maps or add-on maps
First you will need to know the name of the map you want to play.
Then go to the main menu and open the developer console and type the following command.
map mapname gamemode; wait 100; connect_splitscreen localhost 2;
Replacing mapname with the name of the add-on map you wrote down before and replacing gamemode with the name of your desired mutation or game mode.

An example of this if you want to play Mutations in mode Four Swordsmen on The Passing's first chapter
map c6m1_riverbank mutation5; wait 100; connect_splitscreen localhost 2;
Mutations work the same way but their names can be a bit tricky to find, you can click here[forums.alliedmods.net] to check out some names for a couple of mutations.

If you want to join the server
You should now be able to play Left 4 Dead 2 in split-screen with another friend on 1 PC, and the game doesn't support more than 2 players on one machine, so what to do if you want to have more players?

If you want to play the game with 3, 4, or even more players you will need more than one PC, all of them connected to the same network, and Left 4 Dead 2 is installed on all machines. But, still how do you do it?

Make sure all PC's are connected to the same network.
To host a game, pick one of the computer to be the host.
First, host choose online connection.
After that put the host enter the offline co-op mode.

After the host enters offline co-op, on the other player's side The steam group servers will appear, and find the host server and join the server.
Last edited by H1Z2XD; Apr 15, 2024 @ 12:10pm
< >
Showing 1-1 of 1 comments
Thanks for help
< >
Showing 1-1 of 1 comments
Per page: 1530 50