Hey guys,
So I've been using the following binds to switch between my 3 weapons.
bind "mouse5" "slot1; slot2"
bind "mouse4" "slot1; slot3"
But lately, I've started to look for a way to turn my primary viewmodels off and leave the secondary and melee ones on.
The problem beeing that the script that everybody uses can't aplly to the switching system that I use without messing it all up. In the following script which I"m refering to, the VM hides when the keen bound to a certain slot is pressed; but in my case, the same key (mouse4 or Mouse5) is used for different weapons depending on how many times y press it.
The script :
alias "weaponone" "slot1;r_drawviewmodel 0"
alias "weapontwo" "slot2;r_drawviewmodel 0"
alias "weaponthree" "slot3;r_drawviewmodel 1"
bind 1 weaponone
bind 2 weapontwo
bind 3 weaponthree
So I've been searching around for a way to do this for my kind of configuration but I haven't really found anything useful.
Any help appreciated, ty .
Talik
PS: Also, I'm using transparent vm, I guess I could specify it too even if I don t think this as any impact.