Welcome to the [HSX] website!

Been Gaming since 2003

Community Driven Site

Gaming, Web Development, and Support

  

 
Main Menu
 
DFG
 Home
 Join our Clan
 [HSX] Roster
 Forums
 News
 Downloads
 News Letter
 Video tutorials
 Supporters
 Uploads
 F.A.Q
· FAQ
· Docs
· Forums FAQ
 [HS] History
 PHP Nuke Tools
 WhoIS Lookup
 Site Map
 Write a Review
 Image Repo
 Twitch ID Finder
 Logout
DFG
DFG DFG DFG

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

26 %

Donate

End DateDec 01
Target$50.00
Below Target$36.78
CurrencyUSD

Donators This Month
Nov 04
icefreak
$8.44
Nov 04
pd35
$4.78
DFG
DFG DFG DFG

 
 Search our Site
 
DFG DFG
DFG DFG DFG

 
Theme Management
 
DFG


DFG
DFG DFG DFG

 
Survey
 
DFG What is your favorite game to play ATM?

WarThunder
World of Tanks
H1Z1
MechWarrior Online
ARK
WarFace
SWTOR
BattleField serier
COD Series
Diablo
Armored Warfare



Results
Polls

Votes 863
Comments: 0
DFG
DFG DFG DFG

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

DFG
DFG DFG DFG

     
DFG HeadShot Extreme :: View topic - L4D2 1st/3rd Person View toggle


Search for at
HeadShot Extreme Advanced Search

L4D2 1st/3rd Person View toggle
Post new topic  Reply to topic  printer-friendly view    HeadShot Extreme Forum Index -> L4D2 General Chat
View previous topic :: View next topic  
Author Message
[HSX]coRpSE
Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.

coRpSE
Currently Offline
Last Seen Online:
5 hrs, 0 mins ago

Most Played:
This week: 48.3hrs.
Total played: 181hrs.


  
Don't get much, huh?



  • » Show Info «


Status: coRpSE is offline
Post Posted: Sun Nov 10, 2019 3:20 am Post subject: No icon L4D2 1st/3rd Person View toggle 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 autoexe.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

    Quote:
    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.



Expand


Code:
//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;

//netgraph_scores
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.
Expand

3rd Person, Zoomed in:
Expand

3rd Person, Zoomed out:
Expand

Enjoy!!!
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Display posts from previous:
Post new topic   Reply to topic   printer-friendly view HeadShot Extreme Forum Index ->  L4D2 General Chat All times are UTC - 7 Hours [DST enabled]
Page 1 of 1
 


 
Jump to:  
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

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Announcement: To help me with voting on new members... 0 StoneSoldier 1857 Fri Nov 09, 2012 11:11 pm
StoneSoldier View latest post
No new posts Need help with Member Application 8 Porthos 1485 Mon Jan 04, 2016 8:45 pm
coRpSE View latest post
No new posts Tricks to help H1Z1 run better, but also all other games. 1 coRpSE 1466 Mon Aug 31, 2015 7:48 pm
Spartacus1968 View latest post
No new posts [ Poll ] I need your help 14 coRpSE 3230 Sun Jun 03, 2012 9:19 am
SCooBY_XI View latest post
 




Powered By: phpBB © 2001 - 2008 phpBB Group
SimpleBlack V2 By: killigan
© DarkForge Graphics 2008 - 2009 All Rights Reserved

Googlepage: GooglePullerPage
DFG
DFG DFG DFG
Forums ©
Copyright © HeadShotDomain 2016 By: coRpSE
SimpleBlack V2 By: Killigan
Powered By: Evolution-Xtreme