So I use the r_drawviewmodel 0 for primary,1 for second,1 for melee.
I use it find with 1,2,3 but it won't work with quick switch/lastinv/last weapon use
Please help!
I use it find with 1,2,3 but it won't work with quick switch/lastinv/last weapon use
Please help!
Here's one without nested binds to break your shit.
bind 1 eq_1
bind 2 eq_2
bind 3 eq_3
bind mouse4 eq_3
bind q eq_last
bind mwheelup eq_mwup
bind mwheeldown eq_mwdown
alias slot_1 "slot1;r_drawviewmodel 0"
alias slot_2 "slot2;r_drawviewmodel 1"
alias slot_3 "slot3;r_drawviewmodel 1"
//[ LOGIC
alias eq_1 "alias eq_mwup eq_3;alias eq_mwdown eq_2;qs_set_n1;alias qs_set_n1;alias qs_set_n2 qs_set;alias qs_set_n3 qs_set;alias qs_set alias eq_last eq_1;slot_1"
alias eq_2 "alias eq_mwup eq_1;alias eq_mwdown eq_3;qs_set_n2;alias qs_set_n2;alias qs_set_n1 qs_set;alias qs_set_n3 qs_set;alias qs_set alias eq_last eq_2;slot_2"
alias eq_3 "alias eq_mwup eq_2;alias eq_mwdown eq_1;qs_set_n3;alias qs_set_n3;alias qs_set_n1 qs_set;alias qs_set_n2 qs_set;alias qs_set alias eq_last eq_3;slot_3"
//]
alias qs_set_n1 alias eq_last eq_2
eq_1
To undo:
//[ OVERRIDE
// bind 1 slot1
// bind 2 slot2
// bind 3 slot3
// unbind mouse4
// bind q lastinv
// bind mwheelup invprev
// bind mwheeldown invnext
//]
[code]bind 1 eq_1
bind 2 eq_2
bind 3 eq_3
bind mouse4 eq_3
bind q eq_last
bind mwheelup eq_mwup
bind mwheeldown eq_mwdown
alias slot_1 "slot1;r_drawviewmodel 0"
alias slot_2 "slot2;r_drawviewmodel 1"
alias slot_3 "slot3;r_drawviewmodel 1"
//[ LOGIC
alias eq_1 "alias eq_mwup eq_3;alias eq_mwdown eq_2;qs_set_n1;alias qs_set_n1;alias qs_set_n2 qs_set;alias qs_set_n3 qs_set;alias qs_set alias eq_last eq_1;slot_1"
alias eq_2 "alias eq_mwup eq_1;alias eq_mwdown eq_3;qs_set_n2;alias qs_set_n2;alias qs_set_n1 qs_set;alias qs_set_n3 qs_set;alias qs_set alias eq_last eq_2;slot_2"
alias eq_3 "alias eq_mwup eq_2;alias eq_mwdown eq_1;qs_set_n3;alias qs_set_n3;alias qs_set_n1 qs_set;alias qs_set_n2 qs_set;alias qs_set alias eq_last eq_3;slot_3"
//]
alias qs_set_n1 alias eq_last eq_2
eq_1[/code]
To undo:
[code]//[ OVERRIDE
// bind 1 slot1
// bind 2 slot2
// bind 3 slot3
// unbind mouse4
// bind q lastinv
// bind mwheelup invprev
// bind mwheeldown invnext
//][/code]
//Viewmodeltoggle Script
echo ""
alias SON "echo [VMT loaded...]"
alias SOFF "echo [VMT unloaded...]"
bind mwheelup nextinv
bind mwheeldown previnv
bind e prevwep
bind 1 QLslot1
bind 2 QLslot2
bind 3 QLslot3
alias QLslot1 W1
alias QLslot2 W2
alias QLslot3 W3
alias W1 "r_drawviewmodel 1;slot1;alias vmodel "r_drawviewmodel 0";MwheelAliase1;LInvAliase1"
alias W2 "r_drawviewmodel 1;slot2;alias vmodel "r_drawviewmodel 0";MwheelAliase2;LInvAliase2"
alias W3 "r_drawviewmodel 1;slot3;alias vmodel "r_drawviewmodel 1";MwheelAliase3;LInvAliase3"
alias MwheelAliase1 "alias nextinv W3;alias previnv W2"
alias MwheelAliase2 "alias nextinv W1;alias previnv W3"
alias MwheelAliase3 "alias nextinv W2;alias previnv W1"
alias LInvAliase1 "alias prevwep lastW1;alias lastW2 W1;alias lastW3 W1"
alias LInvAliase2 "alias prevwep lastW2;alias lastW1 W2;alias lastW3 W2"
alias LInvAliase3 "alias prevwep lastW3;alias lastW1 W3;alias lastW2 W3"
alias VMTlever VMToff
alias VMToff "SOFF;alias VMTlever VMTon;r_drawviewmodel 1;alias vmodel "r_drawviewmodel 1";alias QLslot1 slot1;alias QLslot2 slot2;alias QLslot3 slot3;bind e lastinv;bind mwheelup invprev;bind mwheeldown invnext"
alias VMTon "exec VMT"
W1;SON
//If not having the following aliases set in another .cfg uncomment them
//bind mouse1 +primary
//bind mouse2 +secondary
//alias +primary "+attack;spec_next;vmodel";bind mouse1 +primary
//alias -primary "-attack"
//alias +secondary "+attack2;spec_prev;vmodel";bind mouse2 +secondary
//alias -secondary "-attack2"
echo ""
alias SON "echo [VMT loaded...]"
alias SOFF "echo [VMT unloaded...]"
bind mwheelup nextinv
bind mwheeldown previnv
bind e prevwep
bind 1 QLslot1
bind 2 QLslot2
bind 3 QLslot3
alias QLslot1 W1
alias QLslot2 W2
alias QLslot3 W3
alias W1 "r_drawviewmodel 1;slot1;alias vmodel "r_drawviewmodel 0";MwheelAliase1;LInvAliase1"
alias W2 "r_drawviewmodel 1;slot2;alias vmodel "r_drawviewmodel 0";MwheelAliase2;LInvAliase2"
alias W3 "r_drawviewmodel 1;slot3;alias vmodel "r_drawviewmodel 1";MwheelAliase3;LInvAliase3"
alias MwheelAliase1 "alias nextinv W3;alias previnv W2"
alias MwheelAliase2 "alias nextinv W1;alias previnv W3"
alias MwheelAliase3 "alias nextinv W2;alias previnv W1"
alias LInvAliase1 "alias prevwep lastW1;alias lastW2 W1;alias lastW3 W1"
alias LInvAliase2 "alias prevwep lastW2;alias lastW1 W2;alias lastW3 W2"
alias LInvAliase3 "alias prevwep lastW3;alias lastW1 W3;alias lastW2 W3"
alias VMTlever VMToff
alias VMToff "SOFF;alias VMTlever VMTon;r_drawviewmodel 1;alias vmodel "r_drawviewmodel 1";alias QLslot1 slot1;alias QLslot2 slot2;alias QLslot3 slot3;bind e lastinv;bind mwheelup invprev;bind mwheeldown invnext"
alias VMTon "exec VMT"
W1;SON
//If not having the following aliases set in another .cfg uncomment them
//bind mouse1 +primary
//bind mouse2 +secondary
//alias +primary "+attack;spec_next;vmodel";bind mouse1 +primary
//alias -primary "-attack"
//alias +secondary "+attack2;spec_prev;vmodel";bind mouse2 +secondary
//alias -secondary "-attack2"