Welcome to the [HSX] website!

Been Gaming since 2003

Community Driven Site

Gaming, Web Development, and Support


Main Menu
 Join our Clan
 [HSX] Roster
 News Letter
 Video tutorials
· Docs
· Forums FAQ
 [HS] History
 Site Map
 Write a Review
 Image Repo
 Twitch ID Finder

[HSX] Donations
This here is a combined total of what we need to keep us going each month.

5 %


End DateMar 01
Below Target$95.45

Donators This Month
Feb 04

Search our Site

Theme Management

DFG What is your favorite game to play ATM?

World of Tanks
MechWarrior Online
BattleField serier
COD Series
Armored Warfare


Votes 995
Comments: 0

Honey Pot
Bots in the pot!
We have [1895] bots stopped!


Forum Index Members Search Usergroups
Ranks Staff Statistics Forum FAQ
Board Rules Edit your profile Login, Check Messages Log in

Search for at

L4D2 1st/3rd Person View toggle
Post new topic Reply to topic printer-friendly view List users that have viewed this topic Forum Index L4D2 General Chat
View previous topic View next topic
PostPosted: Sun Nov 10, 2019 3:20 am Reply with quote
Well, 1st off, DO NOT SKIM THROUGH, Read this damn post because I typed it out to help you install this.

This was inspired by
Please login to see this link
Get registered or Log in
on there, but our codes are completely different. I tried his and had issues with the bullets going to where the crosshairs were pointed. After a few hours of testing, I rewrote the whole system to be mine from the ground up.

Pretty much everyone 3rd person script I found was for camera over shoulder. The only big problem with that, bullets don't line up with crosshairs. I tried everything, but once I got it dialed in for a certain distance, try a different and was off again, so I decided to do a straight over the head was best. Next, I wanted to give options for distance of the 3rd person camera, well, that is by changing the c_maxdistance. Well, in order to do that, I had to have it switch between 1st and 3rd  quickly so it would show.

Added bonus, I added in a net graph with the scores to give more info about what's going on with system information.

Now, I am providing the file to install, but before you install it, you will need to edit your keys you want for the controls, or you can just stick with what I set it at.

My Defaults are as follows:
F7: toggle 3rd person camera distance
V: Toggle between 1st Person and 3rd Person
Tab: Scores and graph. //Default for scores is already tab.

If you want to create this your self, just copy the code below and follow my instructions.

If you're going to Download the attached file, skip to step 3.

  1. First, create a .txt file on your desktop and called it autoexec.txt. Once done, then rename it to autoexec.cfg so it now will become a configuration file. If you can't see the file extension, then do a Google search on how to show file extensions for your operating systems, (eg. Windows 7,8,10, Linux, ect...).

  2. Now you have that done, open the file using notepad++, sublime text, or any editor. I don't recommend notepad and definitely not Word pad, but if your lazy to get an editor, then you can use notepad. Once open, copy the code below and paste it into the file.

  3. Now, for both making your own file or using the one you downloaded from below, open up the autoexec.cfg and look for lines 25 - 27. You will see

    bind v "tps";
    bind f7 "tpz1";
    bind Tab "+ngs";

    Now, just change those to what ever you want the keys to be. You can use the key chart I provide below. Just note, if you're going to try using the keypad on the right, then like the 8 key over there is called kp_uparrow. Just look at the red arrows which point to what goes to what, and kp_ always comes first in the name.

    When done editing the keys, save the file and close your editor.

  4. Next, Open Steam and right click on the L4D2 name and select "Properties". At the top, click the "Local Files" tab then click "Browse Local Files". Now, if you wanted to run the SweetFX and Reshade, this is where you would need to be. But for this, click on the folder called left4dead2 -> cfg.

    The folder patch should look something like this:
    C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\cfg\

  5. Once you're in the cfg folder, put your autoexec.cfg file in there and close the folder and hop in game.
    It should load up automatically, but, if it doesn't, don't worry, just press the Tild key, ( ~ ), and type
    exec autoexec.cfg.

That's it. Nothing to it at all.


Code: [ Select all ]

//Lets set some of the default paramters I want
c_thirdpersonshoulderaimdist 360;  //Default: 120
c_thirdpersonshoulderdist 120;     //Default: 40
c_thirdpersonshoulderheight 10;    //Default: 5
c_thirdpersonshoulderoffset 0;     //Default: 20
cam_collision 1; //This is default value, Just making sure its set to this.
cam_ideallag 4.0; //This is default value, Just making sure its set to this.
net_graphheight 250;
net_graphmsecs 400;
net_graphpos 1;

// 1st/3rd person toggle
alias fps "firstperson;bind v tps"
alias tps "thirdpersonshoulder;bind v fps"

//3rd person max zoomed out
alias "tpz1" "c_maxdistance 60; firstperson; wait 1; thirdpersonshoulder; bind f7 tpz2;";
alias "tpz2" "c_maxdistance 200; firstperson; wait 1; thirdpersonshoulder; bind f7 tpz1;"; //c_maxdistance default is: 200;

alias "+ngs" "+showscores; net_graph 5;";
alias "-ngs" "-showscores; net_graph 0;";

//Now the binds
bind v tps
bind f7 tpz1
bind Tab "+ngs"

echo ****************************************************;
echo ********** coRpSE's 3rd Person Activated ***********;
echo ****************************************************;

Now, you will not have to execute this every time you log in, it should automatically store the last values you had inputted.
Any questions, feel free to ask so as long as you give a true effort and not a half ass one I know a few of you will do.

Here are a few example images:

Graph, Look in the lower right area.

3rd Person, Zoomed in:

3rd Person, Zoomed out:


Top Dog
Nuke Dev / Coder

Groups Top Dog
Nuke Dev / Coder
Posts 2376
Joined Jan 12, 2012
Status Offline
View user's profile Send coRpSE a private message Visit user's website Find all posts by coRpSE

Display posts from previous:
Post new topic Reply to topic printer-friendly view List users that have viewed this topic All times are UTC - 7 Hours [DST enabled]
Page 1 of 1

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2019 phpBB Group
Forums ©
Copyright © HeadShotDomain 2016 By: coRpSE
SimpleBlack V2 By: Killigan
Powered By: Evolution-Xtreme