Splitscreen for PS2 controller

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

joy_name "L4D2 Playstation2 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 2 // z-axis is treated like a button
joy_advaxisr 4 // r-axis controls GAME_AXIS_PITCH (look up and down)
joy_advaxisu 0 // 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

// controller1 bindings
+jlook // enable joystick look
bind "JOY3" "+jump;+menuAccept" // (A) button - Jump -menuAccpt allows us to make selections on hud menus
bind "JOY2" "+reload" // (B) button - Reload
bind "JOY4" "+use" // (X) Use
bind "JOY1" "lastinv" // (Y) button - swap pistol/rifle or z_abort -used to respawn as a ghost.
bind "JOY6" "+attack" // RT - Main weapon - Primary trigger
bind "JOY5" "+attack2" // LT - Melee
bind "JOY8" "+lookspin" // RB - Fast 180 spin
bind "JOY7" "toggle_duck" // LB - Duck - is also used to give objects to people.
// bind "JOY11" "vocalize smartlook" // LS - vocalize
bind "JOY12" "+zoom" // RS click - Rifle Zoom

// Fixed bindings, do not change these across joystick presets
bind "JOY9" "togglescores" // (back) button - scores
bind "JOY10" "gameui_activate" // (start) button - pause
bind "POV_UP" "+menuUp" // Hud menu Up
bind "POV_DOWN" "+menuDown" // Hud menu Down
bind "POV_UP" "impulse 100" // DPad Up - Toggle flashlight
bind "POV_LEFT" "slot3" // DPad Left - grenade
bind "POV_RIGHT" "slot4" // DPad Right - health
bind "POV_DOWN" "slot5" // DPad Down - Pills

// 自創 投票/麥克風指令
alias "voteyes2" "Vote Yes"
alias "voteno2" "Vote No"
alias "-joyvote2" "bind JOY7 toggle_duck;bind JOY8 +lookspin;bind JOY10 gameui_activate;vocalize smartlook"
alias "+joyvote2" "bind JOY7 voteyes2;bind JOY8 voteno2;bind JOY10 +voicerecord"
bind "JOY11" "+joyvote2"

// controller2 bindings
cmd2 +jlook // enable joystick look
cmd2 bind "JOY3" "+jump;+menuAccept" // (A) button - Jump -menuAccpt allows us to make selections on hud menus
cmd2 bind "JOY2" "+reload" // (B) button - Reload
cmd2 bind "JOY4" "+use" // (X) Use
cmd2 bind "JOY1" "lastinv" // (Y) button - swap pistol/rifle or z_abort -used to respawn as a ghost.
cmd2 bind "JOY6" "+attack" // RT - Main weapon - Primary trigger
cmd2 bind "JOY5" "+attack2" // LT - Melee
cmd2 bind "JOY8" "+lookspin" // RB - Fast 180 spin
cmd2 bind "JOY7" "toggle_duck" // LB - Duck - is also used to give objects to people.
// cmd2 bind "JOY11" "vocalize smartlook" // LS - vocalize
cmd2 bind "JOY12" "+zoom" // RS click - Rifle Zoom

// Fixed bindings, do not change these across joystick presets
cmd2 bind "JOY9" "togglescores" // (back) button - scores
cmd2 bind "JOY10" "gameui_activate" // (start) button - pause
cmd2 bind "POV_UP" "+menuUp" // Hud menu Up
cmd2 bind "POV_DOWN" "+menuDown" // Hud menu Down
cmd2 bind "POV_UP" "impulse 100" // DPad Up - Toggle flashlight
cmd2 bind "POV_LEFT" "slot3" // DPad Left - grenade
cmd2 bind "POV_RIGHT" "slot4" // DPad Right - health
cmd2 bind "POV_DOWN" "slot5" // DPad Down - Pills

// Vote/Voice chat bindings
alias "voteyes" "cmd2 Vote Yes"
alias "voteno" "cmd2 Vote No"
alias "-joyvote" "cmd2 bind JOY7 toggle_duck;cmd2 bind JOY8 +lookspin;cmd2 bind JOY10 gameui_activate;vocalize smartlook"
alias "+joyvote" "cmd2 bind JOY7 voteyes;cmd2 bind JOY8 voteno;cmd2 bind JOY10 +voicerecord"
cmd2 bind "JOY11" "+joyvote"

// Edit : CXX.LIU
// All official configs, except the "Vote/Voice chat bindings"
// When hold L3, L1=Yes, R1=No, Start=Voice Chat

Left 4 Dead 2 Splitscreen Configuration For PS2 Controllers.

This is just configs

If you want to know how to use splitscreen or for 360 , PS3 controllers

see here : http://forums.steampowered.com/forums/showthread.php?t=1029890 btw thanks to d10sfan

Also I changed some buttons

When hold [L3] [L1] = vote yes , [R1] = vote no , [START] = voice chat

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Script.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Script a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Script.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

  • momo
    Availability
    Offline
    Account Age Level
    Veteran
    5 years old
    Clearance Level
    Member
    5 years ago:

    Hey~ man minimize the use of "Chinese Notes" because it will produce some "Unknown Variables"

    Bananite
  • CXX AL
    Availability
    Offline
    Points Level
    Drudge
    2,392 points
    Account Age Level
    Elder
    8 years old
    Clearance Level
    Member
  • BenC
    Availability
    Offline
    Points Level
    Beggar
    5 points
    Account Age Level
    Veteran
    5 years old
    Clearance Level
    Member
    5 years ago:

    You think you could make a logitek double action gamepad script? or is this the same button layout since the controllers look exactly the same.

    Bananite

Credits

Key Authors
CXX.LIU
Edit
Valve
Original

Submitter

CXX AL
Availability
Offline
Points Level
Drudge
2,392 points
Account Age Level
Elder
8 years old
Clearance Level
Member

CXX AL
(Redistributor)

Rating

?/10
Not yet rated.

Stats

Post Count
3
ViewCount
12,613
Date Added
5 years ago
Date Modified
5 years ago

License

N/A

Share

Code to use:

More embeddable images

Bookmark and Share