Team Fortress 2
First Person sniper scripts
I've been trying to play sniper with the cl_first_person_uses_world_model 1 command, and the viewmodel looks great, until you scope in with the rifle. Then the model gets in the way. I've been trying to make a script that binds mouse2 to toggle the viewmodels off whenever i scope in, ther re-enbles them whenever i scope out, but i can't get them both to work on the same key. Any advice?
< >
Showing 1-10 of 10 comments
Heavenly Schizo (Banned) Jun 24, 2015 @ 9:43pm 
Use another key.
Turnment (Banned) Jun 24, 2015 @ 9:51pm 
You cant switch the viewmodels instantly
I think ou have to restart TF2 or die first
Heavenly Schizo (Banned) Jun 24, 2015 @ 9:51pm 
Originally posted by Turnment:
You cant switch the viewmodels instantly
I think ou have to restart TF2 or die first
No, you don't.
Dog wit da Hat Jun 24, 2015 @ 10:02pm 
i dont want to have to use another key, i have a laptop with a small keybooard and a lot of other binds. Besides, that would be a bit inconvenient, and i know it can be done. I'm just not sure how
.
Khorps (Banned) Jun 24, 2015 @ 10:10pm 
bind MOUSE2 "+attack2; toggle cl_first_person_uses_world_model 1 0" or bind MOUSE2 "+attack2; toggle cl_first_person_uses_world_model 0 1"

Not sure if toggle works but i'm pretty sure it does. Hope this helps.
Dog wit da Hat Jun 24, 2015 @ 10:16pm 
ill try it. thanks for the help
Dog wit da Hat Jun 24, 2015 @ 10:20pm 
it kind of works. the only flaw is that after unscoping, the viewmodel returns to the default model rather than the VR model. this message appears in console:
"cl_first_person_uses_world_model" = "108" ( def. "0" )
client archive
- Causes the third person model to be drawn instead of the view model
Dog wit da Hat Jun 24, 2015 @ 10:20pm 
it almost works
Dog wit da Hat Jun 24, 2015 @ 10:25pm 
i fixed it. new command is: ] bind MOUSE2 "+attack2; toggle cl_first_person_uses_world_model 0 1 1"

that way, the VR viewmodel remains even after countless un- and -re scoping. thanks for all the help, i appreci8.
Bao Zedong Jun 25, 2015 @ 5:00am 
Originally posted by Garry the Rainbow Donger:
i fixed it. new command is: ] bind MOUSE2 "+attack2; toggle cl_first_person_uses_world_model 0 1 1"

that way, the VR viewmodel remains even after countless un- and -re scoping. thanks for all the help, i appreci8.


Make sure thats BindToggle, or else it won't work.
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Jun 24, 2015 @ 9:36pm
Posts: 10