Left 4 Dead 2

Left 4 Dead 2

Not enough ratings
Viewmodel config. No gun Viewmodel.
By 󠁳⁧⁧sva̍̍̍̍̍̍̍mpen
This guide helps you who doesnt want to have a weapon viewmodel but wants viewmodel for Medical items and Grenades.
   
Award
Favorite
Favorited
Unfavorite
Script
bind 1 "slot1; exec FILE NAME #1"
bind 2 "slot2; exec FILE NAME #1"
bind 3 "slot3; exec FILE NAME #2"
bind 4 "slot4; exec FILE NAME #2"
bind 5 "slot5; exec FILE NAME #2"


You want to put these in an Autoexec folder or in the Config folder but only (exec FILE NAME) So it should look like this

bind "1" "slot1; exec FILE NAME #1"
bind "2" "slot2; exec FILE NAME #1"
bind "3" "slot3; exec FILE NAME #2"
bind "4" "slot4; exec FILE NAME #2"
bind "5" "slot5; exec FILE NAME #2"

File number 1 will contain
cl_viewmodelfovsurvivor 180
Name the folder something and make sure it matches what you wrote in your config!
Do that ATLEAST 2 TIMES! Or else it wont work!

FILE NUMBER 1 Must always contain ( cl_viewmodelfovsurvivor 180 ) For the viewmodel to disappear. You can use r_drawviewmodel 0 But it can be glitchy with Sniper scopes!

FILE NUMBER 2 Will contain
cl_viewmodelfovsurvivor 1-100 (Which ever you want!)

Put -console in your startup options! and then type (exec "Config name") for it to work!
How it will look
PICTURE 1
With a Rifle.


PICTURE 2
With Medkit.


If you have Any problems make sure you followed the steps and if it doesnt work ask me!
.
3 Comments
deafaims 24 Aug, 2021 @ 11:52am 
How interesting. Either way, thank you very much for this guide!
󠁳⁧⁧sva̍̍̍̍̍̍̍mpen  [author] 24 Aug, 2021 @ 11:40am 
I have never had this problem. All though older Valve games like L4D2 or TF2 do sometimes mess with configs. This is the only way to do this im afraid. Unless you disable viewmodels entirely.
deafaims 24 Aug, 2021 @ 10:18am 
Interesting, yet helpful guide. However, I do notice the issue of using this method. If you ends up dead, it'll show the hand or not on another survivors within pressing slots.. just as if you get rescued out of closets or jumping to another match. It won't do the job except the fact you have to exec the autoexec inbetween matches.