Upvote Upvoted 0 Downvote Downvoted
Viewmodel Config
posted in Q/A Help
1
#1
0 Frags +

This is the viewmodel config I use:

alias wep1 "slot1; wep1com; alias mouseup wep-3; alias mousedown wep2; alias quickswap wep-3; alias lastwep wep1; keybind1"
alias wep2 "slot2; wep2com; alias mouseup wep-1; alias mousedown wep3; alias quickswap wep-1; alias lastwep wep2; keybind2"
alias wep3 "slot3; wep3com; alias mouseup wep-2; alias mousedown wep1; alias quickswap wep-2; alias lastwep wep3; keybind3"
alias wep-1 "slot1; wep1com; alias mouseup wep-3; alias mousedown wep2; alias quickswap wep2; alias lastwep wep-1; keybind-1"
alias wep-2 "slot2; wep2com; alias mouseup wep-1; alias mousedown wep3; alias quickswap wep3; alias lastwep wep-2; keybind-2"
alias wep-3 "slot3; wep3com; alias mouseup wep-2; alias mousedown wep1; alias quickswap wep1; alias lastwep wep-3; keybind-3"
alias keybind1 "alias key1 wep1; alias key2 mousedown; alias key3 mouseup"
alias keybind2 "alias key1 mouseup; alias key2 wep2; alias key3 mousedown"
alias keybind3 "alias key1 mousedown; alias key2 mouseup; alias key3 wep3"
alias keybind-1 "alias key1 wep-1; alias key2 mousedown; alias key3 mouseup"
alias keybind-2 "alias key1 mouseup; alias key2 wep-2; alias key3 mousedown"
alias keybind-3 "alias key1 mousedown; alias key2 mouseup; alias key3 wep-3"
alias mouseup "wep-3"
alias mousedown "wep2"
alias quickswap "lastwep"
alias lastwep "wep2"
alias key1 "wep1"
alias key2 "mousedown"
alias key3 "mouseup"
alias key4 "slot4; extrakey"
alias key5 "slot5; extrakey"
alias extrakey "alias mouseup wep-3; alias mousedown wep1; alias quickswap lastwep; alias lastwep wep3"
// DO NOT MESS WITH THE ABOVE STUFF
// EDIT THE FOLLOWING ALIASES, SEE DESCRIPTION BELOW
alias wep1com "r_drawviewmodel 0"
alias wep2com "r_drawviewmodel 0"
alias wep3com "r_drawviewmodel 1"
//BACKUP
bind MWHEELUP mouseup
bind MWHEELDOWN mousedown
bind Q quickswap
bind 1 key1
bind 2 key2
bind 3 key3
bind 4 key4
bind 5 key5

I did not create this config and I don't remember where I got it from. But what I do know is that I like it, it's what I need and I'd like someone to help me!
The problem is that this config is supposed to support quickswitch, scroll wheel and numbers. It does support quick switch and the scroll wheel but when I use numbers it doesn't change the viewmodel, it keeps the viewmodel on/off depending on what it was before I switched.

For example: If I'm playing on soldier I want my primary weapon to be visable to it has viewmodels on, the secendary to have viewmodels off and melee to have viewmodels on. It works when using quickswitch or scroll wheel but if I go to the shotgun by scroll wheel or quickswitch everythings fine but if I go to my primary the viewmodel stays off. I have to scroll wheel to that slot for it to be on.

I would REALLY appreciate if someone could help me out.

This is the viewmodel config I use:

alias wep1 "slot1; wep1com; alias mouseup wep-3; alias mousedown wep2; alias quickswap wep-3; alias lastwep wep1; keybind1"
alias wep2 "slot2; wep2com; alias mouseup wep-1; alias mousedown wep3; alias quickswap wep-1; alias lastwep wep2; keybind2"
alias wep3 "slot3; wep3com; alias mouseup wep-2; alias mousedown wep1; alias quickswap wep-2; alias lastwep wep3; keybind3"
alias wep-1 "slot1; wep1com; alias mouseup wep-3; alias mousedown wep2; alias quickswap wep2; alias lastwep wep-1; keybind-1"
alias wep-2 "slot2; wep2com; alias mouseup wep-1; alias mousedown wep3; alias quickswap wep3; alias lastwep wep-2; keybind-2"
alias wep-3 "slot3; wep3com; alias mouseup wep-2; alias mousedown wep1; alias quickswap wep1; alias lastwep wep-3; keybind-3"
alias keybind1 "alias key1 wep1; alias key2 mousedown; alias key3 mouseup"
alias keybind2 "alias key1 mouseup; alias key2 wep2; alias key3 mousedown"
alias keybind3 "alias key1 mousedown; alias key2 mouseup; alias key3 wep3"
alias keybind-1 "alias key1 wep-1; alias key2 mousedown; alias key3 mouseup"
alias keybind-2 "alias key1 mouseup; alias key2 wep-2; alias key3 mousedown"
alias keybind-3 "alias key1 mousedown; alias key2 mouseup; alias key3 wep-3"
alias mouseup "wep-3"
alias mousedown "wep2"
alias quickswap "lastwep"
alias lastwep "wep2"
alias key1 "wep1"
alias key2 "mousedown"
alias key3 "mouseup"
alias key4 "slot4; extrakey"
alias key5 "slot5; extrakey"
alias extrakey "alias mouseup wep-3; alias mousedown wep1; alias quickswap lastwep; alias lastwep wep3"
// DO NOT MESS WITH THE ABOVE STUFF
// EDIT THE FOLLOWING ALIASES, SEE DESCRIPTION BELOW
alias wep1com "r_drawviewmodel 0"
alias wep2com "r_drawviewmodel 0"
alias wep3com "r_drawviewmodel 1"
//BACKUP
bind MWHEELUP mouseup
bind MWHEELDOWN mousedown
bind Q quickswap
bind 1 key1
bind 2 key2
bind 3 key3
bind 4 key4
bind 5 key5

I did not create this config and I don't remember where I got it from. But what I do know is that I like it, it's what I need and I'd like someone to help me!
The problem is that this config is supposed to support quickswitch, scroll wheel and numbers. It does support quick switch and the scroll wheel but when I use numbers it doesn't change the viewmodel, it keeps the viewmodel on/off depending on what it was before I switched.

For example: If I'm playing on soldier I want my primary weapon to be visable to it has viewmodels on, the secendary to have viewmodels off and melee to have viewmodels on. It works when using quickswitch or scroll wheel but if I go to the shotgun by scroll wheel or quickswitch everythings fine but if I go to my primary the viewmodel stays off. I have to scroll wheel to that slot for it to be on.

I would REALLY appreciate if someone could help me out.
2
#2
3 Frags +

thats a very complicated viewmodel script dude

thats a very complicated viewmodel script dude
3
#3
0 Frags +

the problem with using mousewheel with a viewmodel script is that you need to do 3 actions with 2 keys

using 3 keys for 3 actions is the easiest way to make a viewmodel script, its possible but i dont know how to do it, mousewheel makes it difficult

the problem with using mousewheel with a viewmodel script is that you need to do 3 actions with 2 keys

using 3 keys for 3 actions is the easiest way to make a viewmodel script, its possible but i dont know how to do it, mousewheel makes it difficult
4
#4
4 Frags +

http://www.teamfortress.tv/34834/yttriums-competitive-viewmodels

http://www.teamfortress.tv/34834/yttriums-competitive-viewmodels
Please sign in through STEAM to post a comment.