r/Tf2Scripts • • Nov 13 '18
Question Need help with a Viewmodel related script
I tried to make a script which turns off viewmodels when using the direct hit (I hate the direct hit viewmodel) and keeps viewmodel on when I use melee/shotgun.
Obviously I could just use ytterium's comp viewmodels but that doesn't work with the direct hit for whatever reason.
Here's the script:
alias unbinds "unbind mwheelup; unbind mwheeldown; unbind mouse5"
alias melee "slot3; r_drawviewmodel 1; viewmodel_fov 97"
alias secondary "slot2; r_drawviewmodel 1; viewmodel_fov 97"
alias primary "slot1; r_drawviewmodel 0; viewmodel_fov 97"
alias on "unbinds; bind mwheelup primary; bind mouse5 secondary; bind mwheelup melee"
alias off "bind mwheelup invprev; bind mwheeldown invnext"
bindtoggle l "on off"
So I was just wondering why this doesn't work and what I can do to fix it.
Thanks.
View all comments
Show parent comment
1
u/stopalreadybot Nov 14 '18
Hey CommonMisspellingBot, just a quick heads-up:
definately was the name of a goal oriented douchebag who lived in pre-historic Egypt. Because of you, definately started having sex with their very straight hair stylist.
When this was discovered by the public, it led to a street being named after them . definately's last shriek of glory was:
Stfu CommonMisspellingBot, no one cares what you have to say.
I'm a bot. Feedback? hmu
Dear mods, just ban CommonMisspellingBot and the other bots will automatically stop.