r/tf2scripthelp • • Mar 29 '22

Question Simple question, probably already answered, can't be bothered to look.

How do I make Q switch between just my knife and revolver, while removing the viewmodel for the revolver, but keeping it for the knife?

I know "slot3;slot1" is how to do the first bit, but I can't seem to tie the viewmodel removal to it. Whatever I try, pressing it removes the viewmodel upon switching, but never brings it back. It seems like it ought to be possible, and simple, but I can't figure it out.

2 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/just_a_random_dood Mar 29 '22

There is a way to put it as a script, you can do it with https://cfg.tf/make

Go to the viewmodels tab and turn on custom viewmodels for each class, then turn off the viewmodels for the revolver

It doesn't work as well as yttrium's does, but it works pretty well

1

u/analfetuslunchbox Mar 30 '22

Thank you. I wasn't able to use the config generator directly since I couldn't fathom redoing all of my existing files to support its structure and aliases, but glancing at some of the stuff in there helped me make (what presently seems to be) a working version of what I was going for.