page views

Left 4 dead splitscreen

For those who have been wondering about the leftover splitscreen code in left 4 dead and how to get it working, I have gotten it working. Below are the steps to get it working yourself

1. Find an XBOX360 controller

2. Plug it in

3. Edit your 360controller.cfg file located in your \left4dead\cfg folder



Copy and paste the following and overwrite other information in your 360controller.cfg
Code:
unbindall    // Prevent mouse/keyboard control when gamepad is in use (to prevent autoaim exploit)

joystick 1
joy_advanced "1"   // use advanced joystick options (allows for multiple axes)

joy_name "L4D Xbox360 Joystick Configuration"
joy_advaxisx 3    // x-axis controls GAME_AXIS_SIDE (strafing left and right)
joy_advaxisy 1    // y-axis controls GAME_AXIS_FORWARD (move forward and back)
joy_advaxisz 0    // z-axis is treated like a button
joy_advaxisr 2    // r-axis controls GAME_AXIS_PITCH (look up and down)
joy_advaxisu 4    // u-axis controls GAME_AXIS_YAW (look left and right)
joy_advaxisv 0    // v-axis is unused
joy_forwardsensitivity -1.0 // movement sensitivity
joy_sidesensitivity 1.0
joy_forwardthreshold 0.1 // movement dead zone settings
joy_sidethreshold 0.1
joy_pitchsensitivity 1.0 // look sensitivity
joy_yawsensitivity -1.5
joy_pitchthreshold 0.1  // look dead zone settings
joy_yawthreshold 0.0

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

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


// controller2 bindings
cmd2 +jlook     // enable joystick look
cmd2 bind "A_BUTTON" "+jump;+menuAccept"  // (A) button - Jump  -menuAccpt allows us to make selections on hud menus
cmd2 bind "B_BUTTON" "+reload"   // (B) button - Reload
cmd2 bind "X_BUTTON" "+use"    // (X) Use
cmd2 bind "Y_BUTTON" "lastinv"   // (Y) button - swap pistol/rifle or z_abort -used to respawn as a ghost.
cmd2 bind "R_TRIGGER" "+attack"   // RT - Main weapon - Primary trigger
cmd2 bind "L_TRIGGER" "+attack2"   // LT - Melee
cmd2 bind "R_SHOULDER" "+lookspin"   // RB - Fast 180 spin
cmd2 bind "L_SHOULDER" "toggle_duck"   // LB - Duck - is also used to give objects to people.
cmd2 bind "STICK1" "vocalize smartlook"  // LS - vocalize
cmd2 bind "STICK2" "+zoom"    // RS click - Rifle Zoom

// Fixed bindings, do not change these across joystick presets
cmd2 bind "BACK" "togglescores"   // (back) button - scores
cmd2 bind "START" "pause"    // (start) button - pause
cmd2 bind "S1_UP" "+menuUp"    // Hud menu Up
cmd2 bind "S1_DOWN" "+menuDown"   // Hud menu Down
cmd2 bind "UP" "impulse 100"    // DPad Up - Toggle flashlight
cmd2 bind "LEFT" "slot3"     // DPad Left - grenade
cmd2 bind "RIGHT" "slot4"    // DPad Right - health
cmd2 bind "DOWN" "slot5"     // DPad Down - Pills
4. IT IS NECESSARY THAT YOU SET THE 360 CONTROLLER SET TO PLAYER 2, THIS MEANS THE LIGHT INDICATOR ON THE CONTROLLER MUST BE ON THE NUMBER 2! -Red text below indicates how to do this

5. Boot up the game

6. open console and type "Exec 360controller.cfg" without the quotations

7. Set your split screen mode to either Horizontal-Cut (ss_splitmode 1) or Vertical-Cut (ss_splitmode 2) through the console, vertical cut is meant for widescreen monitors and dual monitor setups while the horizontal for standard monitors

8. Open the console and enter ss_enable 1 once this is enabled you can simply start a single player game through the menu and splitscreen will already be enabled.

Alternatively, join an online game and enter "ss_connect" to add a splitscreen player and "ss_disconnect" to remove.



ATTENTION; IF SECOND PLAYER JOINS GAME AND DOES NOT AUTOMATICLY JOIN A TEAM USE THE COMMAND "cmd2 jointeam 2" FOR 2nd PLAYER TO JOIN SURVIVORS AND "cmd2 jointeam 3" FOR 2nd PLAYER TO JOIN INFECTED

9. HAVE THE CONTROLLER SET TO PLAYER 1, START A GAME AND AS SOON AS THE LOADING SCREEN APPEARS UNPLUG THE CONTROLLER, WAIT ONE OR TWO SECONDS AND PLUG IT BACK IN BEFORE THE GAME STARTS

10. PLAY CO-OP THE WAY ITS MEANT TO BE PLAYED!

11. People with controllers other than Xbox 360 controllers will have to create their own controller configurations, simply edit the above CFG to match your controller. Lines that start with "cmd2 bind" are the controls you will need to set.


This is really fantastic VALVe is the last developer I would expect to make a splitscreen pc game and I am crying with joy that this is possible, note the fact that the game is running at 1680X1050 in those screenshots with a solid 60fps on both screens with max settings 4xaa on only an 8800gt.

Hope this helps those who want to play in splitscreen on their pc, hopefully a patch will come out that can make this process much simpiler.

Other stuff



0 comments:

Twitter Delicious Facebook Digg Stumbleupon Favorites More