Left 4 Dead for PC - Splitscreen - 2 Xbox 360 Controllers or 2 Keyboards or BOTH

This topic is locked from further discussion.

Avatar image for Gaunlin
Gaunlin

26

Forum Posts

0

Wiki Points

0

Followers

Reviews: 3

User Lists: 0

#1 Gaunlin
Member since 2005 • 26 Posts

Left 4 Dead for PC's Splitscreen function supports a very flexible amount of console commands, in which specificly controls can be customized to either work on keyboard or joystick, but in this case, Xbox 360 controllers.

This post will teach you how to use BOTH Keyboard/Mouse and Xbox 360 Controllers in SPLITSCREEN mode.

POST SCRIPT: THIS IS ONLY FOR CONTROLLER CONFIGURATION, THIS IS NOT INSTRUCTIONS ON HOW TO PLAY SPLITSCREEN MODE.

STEP 1: Start up Left 4 Dead

STEP 2: Open up the console (tilde key/ to enable it, go to options)

STEP 3:

METHOD 1: Copy all of the given text for whichever specific type of controls you want, into the console command.

METHOD 2: Copy the ENTIRE text in a ".cfg" file, and save that file into your" \Left 4 Dead\left4dead\cfg\" folder, and name it "SPLITSCREEN_2_XBOX 360_CONFIG.cfg"

STEP 4: For METHOD 2, after saving and naming that file into the directory, run Left 4 Dead again and type "exec SPLITSCREEN_2_XBOX 360_CONFIG.cfg"

STEP 5: Both Xbox 360 Controllers plugged in (both wireless and wired work) should have 100% functionality with the DEFAULT GIVEN CONFIG.

TIP : Below, the given scripts either start off with "cmd1" or "cmd2". These lines are very important, and they differentiate between PLAYER 1 (cmd1) and PLAYER 2 (cmd2). They can be played around with, but be sure to make backups just in case.

HOW TO CHANGE YOUR CONTROLLER SENSITIVITY/LOOK SETTINGS:

The following lines are found in the given scripts. These 2 specific lines change the sensitivity of the right analog stick for the Xbox 360 Controller.

Depending on your taste, lower or increase the values by 0.1 decimals at the least (0.2, 0.3, 0.4, 0.5 etc), and 1.0 values at the most (1.0, 2.0, 3.0, 4.0 etc). ALWAYS REMEMBER, if you want to change the 1st ID tag player, than use the "cmd1" line, and if you want to change the 2nd ID tag palyer, then use the "cmd2" line.

(The negative value of the yaw sensitivity should not be removed, as it will not function properly if so).

cmd1 joy_pitchsensitivity "2.0";
cmd1 joy_yawsensitivity "-3.0";

cmd2 joy_pitchsensitivity "2.0";
cmd2 joy_yawsensitivity "-3.0";

==============================================================================================================

FOR 2 XBOX 360 CONTROLLERS INPUT:

===========================

joy_variable_frametime 1;
joy_autoaimdampenrange 0.85;
joy_autoaimdampen 0.5;
joy_lowend 0.65;
joy_lowmap 0.15;
joy_accelscale 3.0;
joy_accelmax 4.0;
joy_response_move 5;
joy_response_look 1;
joy_autoaimdampen 0.3;
joy_autoaimdampenrange 0.85;
joyadvancedupdate; // advanced joystick update allows for analog control of move and look
cmd1 +jlook;
cmd1 joy_pitchsensitivity "2.0";
cmd1 joy_yawsensitivity "-3.0";
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" "pause";
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";
cmd2 +jlook;
cmd2 joy_pitchsensitivity "2.0";
cmd2 joy_yawsensitivity "-3.0";
cmd2 bind "A_BUTTON" "+jump;+menuAccept";
cmd2 bind "B_BUTTON" "+reload";
cmd2 bind "X_BUTTON" "+use";
cmd2 bind "Y_BUTTON" "lastinv";
cmd2 bind "R_TRIGGER" "+attack";
cmd2 bind "L_TRIGGER" "+attack2";
cmd2 bind "R_SHOULDER" "+lookspin";
cmd2 bind "L_SHOULDER" "toggle_duck";
cmd2 bind "STICK1" "vocalize smartlook";
cmd2 bind "STICK2" "+zoom";
cmd2 bind "BACK" "togglescores";
cmd2 bind "START" "pause";
cmd2 bind "S1_UP" "+menuUp";
cmd2 bind "S1_DOWN" "+menuDown";
cmd2 bind "UP" "impulse 100";
cmd2 bind "LEFT" "slot3";
cmd2 bind "RIGHT" "slot4";
cmd2 bind "DOWN" "slot5";

==============================================================================================================

MIXED KEYBOARD/MOUSE AND XBOX 360 CONTROLLER INPUT

For this type of setup, you must have the Xbox 360 controller on the "2nd" ID tag, in order for it to work.

However, if you cant get it to work, then you must manually change the Xbox 360 controllers config settings - if the line is "cmd1", then change it to "cmd2". If you do this, then you must also change the keyboard/mouse config settings to the opposite ID tag.

==============================================================================================================

FOR 1 XBOX 360 CONTROLLER AND 1 KEYBOARD/MOUSE:

========================================

cmd1 bind "0" "slot10";
cmd1 bind "1" "slot1";
cmd1 bind "2" "slot2";
cmd1 bind "3" "slot3";
cmd1 bind "4" "slot4";
cmd1 bind "5" "slot5";
cmd1 bind "6" "slot6";
cmd1 bind "7" "slot7";
cmd1 bind "8" "slot8";
cmd1 bind "9" "slot9";
cmd1 bind "a" "+moveleft";
cmd1 bind "c" "+voicerecord";
cmd1 bind "d" "+moveright";
cmd1 bind "SPACE" "+use";
cmd1 bind "f" "impulse 100";
cmd1 bind "h" "motd";
cmd1 bind "m" "chooseteam";
cmd1 bind "q" "lastinv";
cmd1 bind "r" "+reload";
cmd1 bind "s" "+back";
cmd1 bind "t" "impulse 201";
cmd1 bind "u" "messagemode2";
cmd1 bind "w" "+forward";
cmd1 bind "x" "+mouse_menu QA";
cmd1 bind "y" "messagemode";
cmd1 bind "z" "+mouse_menu Orders";
cmd1 bind "`" "toggleconsole";
cmd1 bind "MOUSE3" "+jump";
cmd1 bind "TAB" "+showscores";
cmd1 bind "ESCAPE" "cancelselect";
cmd1 bind "SHIFT" "+speed";
cmd1 bind "c" "+duck";
cmd1 bind "F1" "Vote Yes";
cmd1 bind "F2" "Vote No";
cmd1 bind "F5" "jpeg";
cmd1 bind "MOUSE1" "+attack";
cmd1 bind "MOUSE2" "+attack2";
cmd1 bind "e" "+zoom";
cmd1 bind "MWHEELUP" "invprev";
cmd1 bind "MWHEELDOWN" "invnext";

joy_variable_frametime 1;
joy_autoaimdampenrange 0.85;
joy_autoaimdampen 0.5;
joy_lowend 0.65;
joy_lowmap 0.15;
joy_accelscale 3.0;
joy_accelmax 4.0;
joy_response_move 5;
joy_response_look 1;
joy_autoaimdampen 0.3;
joy_autoaimdampenrange 0.85;
joyadvancedupdate; // advanced joystick update allows for analog control of move and look
cmd2 +jlook;
cmd2 joy_pitchsensitivity "2.0";
cmd2 joy_yawsensitivity "-3.0";
cmd2 bind "A_BUTTON" "+jump;+menuAccept";
cmd2 bind "B_BUTTON" "+reload";
cmd2 bind "X_BUTTON" "+use";
cmd2 bind "Y_BUTTON" "lastinv";
cmd2 bind "R_TRIGGER" "+attack";
cmd2 bind "L_TRIGGER" "+attack2";
cmd2 bind "R_SHOULDER" "+lookspin";
cmd2 bind "L_SHOULDER" "toggle_duck";
cmd2 bind "STICK1" "vocalize smartlook";
cmd2 bind "STICK2" "+zoom";
cmd2 bind "BACK" "togglescores";
cmd2 bind "START" "pause";
cmd2 bind "S1_UP" "+menuUp";
cmd2 bind "S1_DOWN" "+menuDown";
cmd2 bind "UP" "impulse 100";
cmd2 bind "LEFT" "slot3";
cmd2 bind "RIGHT" "slot4";
cmd2 bind "DOWN" "slot5";

Unfortunately, since the keyboard ID tag cannot be changed, as all keyboards are read from ID tag 1, that means that you cannot have 2 keyboard inputs at any time.

Avatar image for deactivated-57af49c27f4e8
deactivated-57af49c27f4e8

14149

Forum Posts

0

Wiki Points

0

Followers

Reviews: 33

User Lists: 0

#2 deactivated-57af49c27f4e8
Member since 2005 • 14149 Posts
wow. i'll just play by myself so i don't get yelled at because i don't have the map memorized. but this could be useful for sure.
Avatar image for Swiftstrike5
Swiftstrike5

6950

Forum Posts

0

Wiki Points

0

Followers

Reviews: 17

User Lists: 0

#3 Swiftstrike5
Member since 2005 • 6950 Posts

Thanks I'll try it

Avatar image for LongZhiZi
LongZhiZi

2453

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#4 LongZhiZi
Member since 2009 • 2453 Posts
Wow- thanks. If I knew I had someone that would like to play L4D, I'd buy it and play it with them like this.
Avatar image for Swiftstrike5
Swiftstrike5

6950

Forum Posts

0

Wiki Points

0

Followers

Reviews: 17

User Lists: 0

#5 Swiftstrike5
Member since 2005 • 6950 Posts

I put it in the common/left4dead/config folder, but it can't execute it?

Nevermind, wrong config folder.

I managed to run the .cfg, but how do I get the second player on? I tried a singleplayer campaign, but I'm not sure where to go from there since it only has one player.

exec splitscreen_on says "cannot run r_flashlightdepth"

Avatar image for Vlaimir_Lem86
Vlaimir_Lem86

439

Forum Posts

0

Wiki Points

0

Followers

Reviews: 7

User Lists: 0

#6 Vlaimir_Lem86
Member since 2006 • 439 Posts
wow man isnt this game on the 360 also? wouldnt that be a better solution? Split screen on a PC makes me feel like a console fanboi, ill stay away from that.
Avatar image for Willie_Dynamite
Willie_Dynamite

25

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#7  Edited By Willie_Dynamite
Member since 2007 • 25 Posts

Wow this worked perfectly! I tried doing split screen multiplayer with the x360ce XBOX 360 controller emulator but I couldn't get controller 2 to look up or down. I would tell people that they should execute these 3 commands from the command console in game to get it working though. The first command you already have.

exec SPLITSCREEN_2_XBOX 360_CONFIG.cfg
ss_map <after you type that and press the space bar press up or down to pick a map to load>
connect_splitscreen localhost 2

Now you're all set and ready to go. Thank you again!

Avatar image for FelipeInside
FelipeInside

28548

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#8 FelipeInside
Member since 2003 • 28548 Posts

@Willie_Dynamite said:

Wow this worked perfectly! I tried doing split screen multiplayer with the x360ce XBOX 360 controller emulator but I couldn't get controller 2 to look up or down. I would tell people that they should execute these 3 commands from the command console in game to get it working though. The first command you already have.

exec SPLITSCREEN_2_XBOX 360_CONFIG.cfg

ss_map <after you type that and press the space bar press up or down to pick a map to load>

connect_splitscreen localhost 2

Now you're all set and ready to go. Thank you again!

For heaven's sake.... stop bumping old threads.