Upvote Upvoted 3 Downvote Downvoted
Viewmodel config with quickswitch
1
#1
2 Frags +

I primarily use "q" to switch weapons with the quickswitch function. I have a viewmodel config that has viewmodels on for my primary (launcher) and viewmodels off for my secondary (shotty). In order for the config to work properly I have to use 1,2, and 3 for the right viewmodels to show up for the right weapon. Are there any scripts out there that use the quickswitch function to do all of this?

Thanks

I primarily use "q" to switch weapons with the quickswitch function. I have a viewmodel config that has viewmodels on for my primary (launcher) and viewmodels off for my secondary (shotty). In order for the config to work properly I have to use 1,2, and 3 for the right viewmodels to show up for the right weapon. Are there any scripts out there that use the quickswitch function to do all of this?

Thanks
2
#2
2 Frags +

If you scroll down to the bottom of this page http://clugu.com/tf2mate/ there is a crosshair switcher script maker that uses q and 1 2 3 etc. Just make sure when you go to download it you only copy the crosshairswitcher folder, everything else has to do with graphical configuartion. Also be aware that this may change your crosshairs around, I'm not sure if that's something you want, but I believe there is a way to just use the switching script, I'm afraid that's all the help I can give you off the top of my head

If you scroll down to the bottom of this page http://clugu.com/tf2mate/ there is a crosshair switcher script maker that uses q and 1 2 3 etc. Just make sure when you go to download it you only copy the crosshairswitcher folder, everything else has to do with graphical configuartion. Also be aware that this may change your crosshairs around, I'm not sure if that's something you want, but I believe there is a way to just use the switching script, I'm afraid that's all the help I can give you off the top of my head
3
#3
2 Frags +

What you need is called a cyclical alias. I'll copy + paste the script I made for spy interp and you can switch the phrases to your liking.

bind "1" "gun"
bind "2" "slot2;cl_interp 0.01"
bind "3" "knife"

bind "q" "quickswitch"
alias "quickswitch" "knife"
alias "knife" "slot3;cl_interp 0.01; alias quickswitch gun"
alias "gun" "slot1;cl_interp 0.033; alias quickswitch knife"

Basically, the alias redefines itself when you change weapons. You can just switch out gun/knife for primary/secondary and interp for viewmodels. You will also need to rebind q to "lastinv" in your other class configs.

What you need is called a cyclical alias. I'll copy + paste the script I made for spy interp and you can switch the phrases to your liking.

bind "1" "gun"
bind "2" "slot2;cl_interp 0.01"
bind "3" "knife"

bind "q" "quickswitch"
alias "quickswitch" "knife"
alias "knife" "slot3;cl_interp 0.01; alias quickswitch gun"
alias "gun" "slot1;cl_interp 0.033; alias quickswitch knife"

Basically, the alias redefines itself when you change weapons. You can just switch out gun/knife for primary/secondary and interp for viewmodels. You will also need to rebind q to "lastinv" in your other class configs.
4
#4
0 Frags +
dan_cIf you scroll down to the bottom of this page http://clugu.com/tf2mate/ there is a crosshair switcher script maker that uses q and 1 2 3 etc. Just make sure when you go to download it you only copy the crosshairswitcher folder, everything else has to do with graphical configuartion. Also be aware that this may change your crosshairs around, I'm not sure if that's something you want, but I believe there is a way to just use the switching script, I'm afraid that's all the help I can give you off the top of my head

The crosshair switcher here is really good and easy to modify if you go into the config files.

[quote=dan_c]If you scroll down to the bottom of this page http://clugu.com/tf2mate/ there is a crosshair switcher script maker that uses q and 1 2 3 etc. Just make sure when you go to download it you only copy the crosshairswitcher folder, everything else has to do with graphical configuartion. Also be aware that this may change your crosshairs around, I'm not sure if that's something you want, but I believe there is a way to just use the switching script, I'm afraid that's all the help I can give you off the top of my head[/quote]

The crosshair switcher here is really good and easy to modify if you go into the config files.
Please sign in through STEAM to post a comment.