Left 4 Dead 2

Left 4 Dead 2

H.U.N.K'S THIRDPERSON KEYBOARD EDITION
 This topic has been pinned, so it's probably important
H.U.N.K  [developer] 13 Jan, 2023 @ 4:23pm
V5 "RESIDENT EVIL MODE"
Just a minor update for more compatibility with the fov slider and now "P" turns ON or OFF the smooth cam feature ( I will also soon make a BARE-BONES edition)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

COPY EVERYTHING FROM DOWN HERE:


////////// H.U.N.K'S THIRDPERSON REMAKE EDITION V5 "RESIDENT EVIL MODE" //////////

//// AIM SECTION: //// *Controls how much you "zoom in" "zoom out" and height whem aiming and not aiming*

//// AIM SECTION HEIGHT BILL/NICK: ////

bind "OFF" "+aim"

alias "+aim" "alias +aim -aim"

alias "+aim" "+speed; cam_idealdist 0;c_thirdpersonshoulderheight 0;crosshair 1;cam_ideallag 4;wait 10;cam_ideallag 0;unbind backspace; unbind uparrow; unbind downarrow; unbind leftarrow; unbind rightarrow; unbind b; cam_idealyaw 0"

alias "-aim" "-speed; cam_idealdist 1000;c_thirdpersonshoulderheight -10;crosshair 0;cam_ideallag 4;wait 10;cam_ideallag 0;bind backspace thirdperson-; bind uparrow up; bind downarrow down; bind leftarrow left; bind rightarrow right; bind b +look_behind"

//// AIM SECTION HEIGHT ZOEY/ROCHELLE: ////

bind "OFF" "+aim2"

alias "+aim2" "alias +aim2 -aim2"

alias "+aim2" "+speed; cam_idealdist 0;c_thirdpersonshoulderheight -5;crosshair 1;cam_ideallag 4;wait 10;cam_ideallag 0;unbind backspace; unbind uparrow; unbind downarrow; unbind leftarrow; unbind rightarrow; unbind b; cam_idealyaw 0"

alias "-aim2" "-speed; cam_idealdist 1000;c_thirdpersonshoulderheight -10;crosshair 0;cam_ideallag 4;wait 10;cam_ideallag 0;bind backspace thirdperson-2; bind uparrow up; bind downarrow down; bind leftarrow left; bind rightarrow right; bind b +look_behind"

//// AIM SECTION HEIGHT LOUIS/COACH: ////

bind "OFF" "+aim3"

alias "+aim3" "alias +aim3 -aim3"

alias "+aim3" "+speed; cam_idealdist 0;c_thirdpersonshoulderheight 5;crosshair 1;cam_ideallag 4;wait 10;cam_ideallag 0;unbind backspace; unbind uparrow; unbind downarrow; unbind leftarrow; unbind rightarrow; unbind b; cam_idealyaw 0"

alias "-aim3" "-speed; cam_idealdist 1000;c_thirdpersonshoulderheight -10;crosshair 0;cam_ideallag 4;wait 10;cam_ideallag 0;bind backspace thirdperson-3; bind uparrow up; bind downarrow down; bind leftarrow left; bind rightarrow right; bind b +look_behind"

//// AIM SECTION HEIGHT FRANCIS/ELLIS: ////

bind "OFF" "+aim4"

alias "+aim4" "alias +aim4 -aim4"

alias "+aim4" "+speed; cam_idealdist 0;c_thirdpersonshoulderheight 3;crosshair 1;cam_ideallag 4;wait 10;cam_ideallag 0;unbind backspace; unbind uparrow; unbind downarrow; unbind leftarrow; unbind rightarrow; unbind b; cam_idealyaw 0"

alias "-aim4" "-speed; cam_idealdist 1000;c_thirdpersonshoulderheight -10;crosshair 0;cam_ideallag 4;wait 10;cam_ideallag 0;bind backspace thirdperson-4; bind uparrow up; bind downarrow down; bind leftarrow left; bind rightarrow right; bind b +look_behind"

//// SHOULDER SECTION: //// *Value "17" is for the right side of the shoulder and Value "15" is for the left side of the shoulder*

bind "alt" "switch_shoulder+"

alias "switch_shoulder+" "c_thirdpersonshoulderoffset -15; bind alt switch_shoulder-"

alias "switch_shoulder-" "c_thirdpersonshoulderoffset 17; bind alt switch_shoulder+"

"c_thirdpersonshoulderoffset" "17"

//// LOOK BEHIND SECTION: ////

bind "b" "+look_behind"

alias "+look_behind" "alias +look_behind -look_behind"

alias "+look_behind" "cam_idealyaw 177;cam_ideallag 4;wait 10;cam_ideallag 0"

alias "-look_behind" "cam_idealyaw 0;cam_ideallag 4;wait 10;cam_ideallag 0"

"c_maxyaw" "2000"

//// SWITCH CAM TYPE: ////

alias "up" "bind mouse2 +aim; -aim; playgamesound Menu.Select"

alias "down" "bind mouse2 +aim2; -aim2; playgamesound Menu.Select"

alias "left" "bind mouse2 +aim3; -aim3; playgamesound Menu.Select"

alias "right" "bind mouse2 +aim4; -aim4; playgamesound Menu.Select"

unbind "uparrow"

unbind "downarrow"

unbind "leftarrow"

unbind "rightarrow"

//// THIRDPERSON/FIRSTPERSON CAM *DON'T TOUCH THESE IF YOU DON'T KNOW WHAT YOU ARE DOING!* ////

//// This (thirdperson+) controls which "BUTTON" will activate the thirdperson camera (just change the "backspace" to whatever key you want to)

//// BILL/NICK: ////

bind "backspace" "thirdperson+"

alias "thirdperson+" "thirdpersonshoulder; crosshair 0; bind mouse2 +aim; bind backspace thirdperson-; bind uparrow up; bind downarrow down; bind leftarrow left; bind rightarrow right;"

alias "thirdperson-" "firstperson; crosshair 1; bind mouse2 +speed; bind backspace thirdperson+; unbind uparrow; unbind downarrow; unbind leftarrow; unbind rightarrow"

//// ZOEY/ROCHELLE: ////

bind "off" "thirdperson+2"

alias "thirdperson+2" "thirdpersonshoulder; crosshair 0; bind mouse2 +aim2; bind backspace thirdperson-2; bind uparrow up; bind downarrow down; bind leftarrow left; bind rightarrow right;"

alias "thirdperson-2" "firstperson; crosshair 1; bind mouse2 +speed; bind backspace thirdperson+2; unbind uparrow; unbind downarrow; unbind leftarrow; unbind rightarrow"

//// LOUIS/COACH: ////

bind "off" "thirdperson+3"

alias "thirdperson+3" "thirdpersonshoulder; crosshair 0; bind mouse2 +aim3; bind backspace thirdperson-3; bind uparrow up; bind downarrow down; bind leftarrow left; bind rightarrow right;"

alias "thirdperson-3" "firstperson; crosshair 1; bind mouse2 +speed; bind backspace thirdperson+3; unbind uparrow; unbind downarrow; unbind leftarrow; unbind rightarrow"

//// FRANCIS/ELLIS: ////

bind "off" "thirdperson+4"

alias "thirdperson+4" "thirdpersonshoulder; crosshair 0; bind mouse2 +aim4; bind backspace thirdperson-4; bind uparrow up; bind downarrow down; bind leftarrow left; bind rightarrow right;"

alias "thirdperson-4" "firstperson; crosshair 1; bind mouse2 +speed; bind backspace thirdperson+4; unbind uparrow; unbind downarrow; unbind leftarrow; unbind rightarrow"

//// SMOOTH CAM: //// (ON:cam_snapto 0) (OFF:cam_snapto 1)

bind "p" "+smooth_cam"

alias "+smooth_cam -smooth_cam"

alias "+smooth_cam" "cam_snapto 1;bind p -smooth_cam;playgamesound Menu.Select"

alias "-smooth_cam" "cam_snapto 0; bind p +smooth_cam;playgamesound Menu.Select"

"cam_snapto" "0"

//// THIRDPERSON AIM ACCURACY: //// (MEDIUM RANGE: 720, LONG RANGE: 1000, SNIPER RANGE: 2000*)

"c_thirdpersonshoulderaimdist" "1000"

//// CAM DISTANCE: ////

bind "pgup" "cam_40"

alias "cam_40" "c_maxdistance 40;cam_idealdist 40; bind pgdn cam_50; unbind pgup; playgamesound Menu.Select"

alias "cam_50" "c_maxdistance 50;cam_idealdist 50; bind pgdn cam_60; bind pgup cam_40; playgamesound Menu.Select"

alias "cam_60" "c_maxdistance 60;cam_idealdist 60; bind pgdn cam_70; bind pgup cam_50; playgamesound Menu.Select"

alias "cam_70" "c_maxdistance 70;cam_idealdist 70; bind pgdn cam_80; bind pgup cam_60; playgamesound Menu.Select"

alias "cam_80" "c_maxdistance 80;cam_idealdist 80; bind pgdn cam_90; bind pgup cam_70; playgamesound Menu.Select"

alias "cam_90" "c_maxdistance 90;cam_idealdist 90; bind pgdn cam_100; bind pgup cam_80; playgamesound Menu.Select"

alias "cam_100" "c_maxdistance 100;cam_idealdist 100; unbind pgdn; bind pgup cam_90;"

"cam_40"

//// FIRSTPERSON WALKING: ////

bind "mouse2" "+speed"

//// CAM HEIGHT: //// *Should also be tweaked on the "AIM SECTION"*

c_thirdpersonshoulderheight -10

//// This (+attack2) controls which BUTTON push enemies (just change the "V" to whatever key you want to)

bind "v" "+attack2"

//// MISC *DONT TOUCH THESE*: ////

"cam_ideallag" "0"

"c_mindistance" "20"

"c_thirdpersonshoulderdist" "1000"

"crosshair" "1"

firstperson

//// MISC DEBUG COMMANDS THAT YOU CAN ADD: ////

bind "g" "+zoom"
Last edited by H.U.N.K; 17 Jan, 2023 @ 11:07am