Left 4 Dead 2

Left 4 Dead 2

184 ratings
Third Person Mode w/ Aiming Down Sights
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
50.000 B
10 Aug, 2018 @ 10:54pm
1 Change Note ( view )

Subscribe to download
Third Person Mode w/ Aiming Down Sights

Description
DON'T PRESS SUBSCRIBE, it doesn't do anything. To actually use the mod, keep reading.

This script/mod adds a Third-Person Mode to Left 4 Dead, with "leaning" and "aim down sights"
You can "lean" left and right to peek at corners.
Aiming down sights in this mod isn't actually aiming down sights (Sorry for click bait). It just switches you from Third Person to First Person, which feels like aiming.

----------

Here's what you have to do:

OPTION 1
Copy paste the script to console in L4D2's main menu. To use console just open your settings settings and enable it, it's somewhere in there (helpful information, I know). Console is usually mapped to the "~" button.
NOTE: The entire script does NOT fit into the console's entry bar, so enter the script according to spaces between each line.

OPTION 2
1. Go to Left 4 Dead 2's file folder (Right click L4D2's launcer in your steam library, click "Properties", then "Local Files", and "Browse Local Files"
2. Click the folder named "left4dead2", then click the folder named "cfg"
3. You will see a file there named "config", copy paste it to your desktop
4. Open "config" with notepad and delete all current text inside of it
5. Copy Paste the script
6. Save as "autoexec" instead of "config"
7. Drag "autoexec" into the "cfg" folder
8. You're done!

----------

The actual script:

bind "mouse2" "thirdpersonshoulder; c_thirdpersonshoulderoffset 0; +scope"
bind "e" "c_thirdpersonshoulderoffset 25"
bind "q" "c_thirdpersonshoulderoffset -25"

c_thirdpersonshoulderaimdist 720;
c_thirdpersonshoulderheight 10;
c_thirdpersonshoulderdist 40;
cam_ideallag 0;
cam_idealdelta 4;
cam_idealpitch 0;
cam_idealyaw 0;

alias +scope "scope"
alias -scope "scope"
alias scope "alias +scope ; alias -scope ; +zoom; wait 10; -zoom; alias +scope scope; alias -scope scope"

----------

How it works:
-Right Click to activate Third Person Mode
-Right Clicking again will return you to First Person, simulating aiming down sights.
-Right Clicking also activates your scope if using a scoped weapon
-Press "Q" to lean to your right side
-Press "E" to lean to your left side
-To center your aim, you have to press Right Click twice, as pressing it the first time returns you to First Person Mode

Some Cons:
-You'll have to relocate your "Switch To Last Weapon Used" button, as it is the "Q" key by default
-You'll have to relocate your "Pick Up/Interact" button, as it is the "E" key by default
-Centering Aim requires you to Right Click twice (as said above)
-Aim when leaning isn't Zeroed-in to the crosshair, so you have to aim a bit more to right when leaning left, and vice versa
-Your head can be slightly seen when scoping, but it's not that big of a deal

Remedies for Cons:
-Set "Last Weapon Used" key to "6" (NOT the numpad one)
-Set "Pick Up/Interact" key to "F" (Since "F" is the flashlight key, change flashlight key to "G")

----------

If you wanna get rid of it:

IF USED OPTION 1
-Use the "unbind" command to unbind the keys used in the script
-if you want the keys to go back to normal function, change it back in the settings

IF USED OPTION 2
-You just have to delete the autoexec file lol

----------

Thanks for trying out my Mod, hope you like it!

P.S. Not sure if this works online, please tell me if it does!

----------

Mods used in the pictures:
-The Division HUD
-The Division Character Models
-Daybreak Map
-Grey Scale Map
-Several Weapon Re-model Mods

----------

-LORE- 2018
24 Comments
Prais 10 Jan @ 11:15pm 
why the aim is a bit moved to the left?
how can i fix it?
Doc903 13 Nov, 2022 @ 10:33am 
Would you consider ever doing this as a Mutation?
GlytchPotion 30 Oct, 2021 @ 6:53am 
is it possible to bind my dpad on controller for the lean? and additional question does this accept gamepad at all. ill read all the comments later im at work so sorry if the answers there. much love thanks!! :steamhappy:
EXODUS 3 Mar, 2021 @ 9:07pm 
How do we set the Mouse2, q, e as hold instead of toggle? Like holding aim while you hold the button and then back to originate status as you release it
Dig_Bick 3 Jul, 2020 @ 1:58am 
my hero
-LORE-  [author] 22 Feb, 2020 @ 3:11am 
If you mean the HUD, then it would The Division - HUD by user Ramm.asmiette (you should check out their other mods, they're really good)

You can find the HUD here:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1163819762
LIZI 16 Feb, 2020 @ 6:36pm 
HI,I want to know what status bar you use.
-LORE-  [author] 14 May, 2019 @ 8:23pm 
Heya thanks for notifying me about this! From testing it, I haven't had the same problem, and neither have my friends who have tested it for me. It might be two scripts interfering or from another mod. Would love to know more about your circumstances, and thanks again for telling me about this.
BoySmoocher 13 May, 2019 @ 6:21pm 
hey there just wanted to say this worked nice i was scared that it might not of worked out well but you of all others provided step by step instructions i only have one problem now and was hoping you could help i can't seem to pick anything up in game all other things work a lot of people complain about the shakyness but it doesn't bother me hope you can help whenever you see this
-LORE-  [author] 18 Apr, 2019 @ 5:24am 
thirdpersonshoulderoffset 25 and the -25 one, I've forgotten if negative or positive means left or right, but just play around with those values :^)