Upvote Upvoted 3 Downvote Downvoted
Script for Viewmodels
posted in Customization
1
#1
1 Frags +

The goal of this script is to have q toggle slot 1 and 2, having viewmodels off for each. Then, I bound mouse 2 to slot 3, and to have viewmodels on, but they stay off. Is there any way to fix this, or a work around?

alias to_slot1 "slot1;r_drawviewmodel 0; bind q "to_slot2;r_drawviewmodel 0""
alias to_slot2 "slot2;r_drawviewmodel 0; bind q "to_slot1;r_drawviewmodel 0""
bind q "to_slot1"

bind MOUSE2 slot3;r_drawviewmodel 1

The goal of this script is to have q toggle slot 1 and 2, having viewmodels off for each. Then, I bound mouse 2 to slot 3, and to have viewmodels on, but they stay off. Is there any way to fix this, or a work around?

alias to_slot1 "slot1;r_drawviewmodel 0; bind q "to_slot2;r_drawviewmodel 0""
alias to_slot2 "slot2;r_drawviewmodel 0; bind q "to_slot1;r_drawviewmodel 0""
bind q "to_slot1"

bind MOUSE2 slot3;r_drawviewmodel 1
2
#2
0 Frags +

i didnt try this out myself but just by looking at it by itself, you dont have the mouse2 bind in quotation marks, which i would assume would only make mouse2 register as slot3 and not viewmodels on

bind MOUSE2 "slot3;r_drawviewmodel 1" should fix????

i didnt try this out myself but just by looking at it by itself, you dont have the mouse2 bind in quotation marks, which i would assume would only make mouse2 register as slot3 and not viewmodels on

bind MOUSE2 "slot3;r_drawviewmodel 1" should fix????
3
#3
6 Frags +

oh man that's gross
never have binds in your aliases
here's how i'd do it

alias key1 "slot1;r_drawviewmodel 0"
alias key2 "slot2;r_drawviewmodel 0"
alias key3 "slot3;r_drawviewmodel 1"
alias qs "key2;key1"
bind q qs
bind mouse2 key3

oh man that's gross
never have binds in your aliases
here's how i'd do it

alias key1 "slot1;r_drawviewmodel 0"
alias key2 "slot2;r_drawviewmodel 0"
alias key3 "slot3;r_drawviewmodel 1"
alias qs "key2;key1"
bind q qs
bind mouse2 key3
4
#4
1 Frags +

thanks man that worked perfectly

thanks man that worked perfectly
Please sign in through STEAM to post a comment.