hey there, i started playing competitive tf2 few months ago, and i dont ususually use viewmodel, but i have seen people have viewmodel on melee, is there like a script or something to only hide the primary and secondary wep? plz tell me below ty
bind "MWHEELUP" "slot1; viewmodel_fov 0"
bind "MWHEELDOWN" "slot2; viewmodel_fov 0"
bind "q" "slot3; viewmodel_fov 90"
replace the key binding with whatever you use
bind "MWHEELDOWN" "slot2; viewmodel_fov 0"
bind "q" "slot3; viewmodel_fov 90"
replace the key binding with whatever you use
also, bindtoggle <key> r_drawviewmodel will give you a key that toggles viewmodels on and off if you want them for different classes.
I might have fucked up there a bit so someone please correct me I set this on my personal config like a year ago and havent looked back since.
I might have fucked up there a bit so someone please correct me I set this on my personal config like a year ago and havent looked back since.
jake_also, bindtoggle <key> r_drawviewmodel will give you a key that toggles viewmodels on and off if you want them for different classes.
I might have fucked up there a bit so someone please correct me I set this on my personal config like a year ago and havent looked back since.
I normally see: bind [key] "toggle r_drawviewmodel 0 1"
I might have fucked up there a bit so someone please correct me I set this on my personal config like a year ago and havent looked back since.[/quote]
I normally see: bind [key] "toggle r_drawviewmodel 0 1"
What about quickswitching? If i have melee out (viewmodel on) and i quickswitch to primary (viewmodel off) the viewmodel stays on untill i press 1 (which i have bound to slot 1)
DamnEasyWhat about quickswitching? If i have melee out (viewmodel on) and i quickswitch to primary (viewmodel off) the viewmodel stays on untill i press 1 (which i have bound to slot 1)
https://code.google.com/p/broesels-crosshair-switcher/
Broesel's crosshair switcher works with lastinv.
https://code.google.com/p/broesels-crosshair-switcher/
Broesel's crosshair switcher works with lastinv.
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"
alias wep1com "r_drawviewmodel 0"
alias wep2com "r_drawviewmodel 0"
alias wep3com "r_drawviewmodel 1"
bind Q quickswap
bind 1 key1
bind 2 key2
bind 3 key3
bind 4 key4
bind 5 key5
no idea who made this, but i have used it for a long time and it has always worked.
change these values to either 1 or 0. 0 = viewmodel off and 1 = viewmodel on
alias wep1com "r_drawviewmodel 0"
alias wep2com "r_drawviewmodel 0"
alias wep3com "r_drawviewmodel 1"
p.s this works with both quickswap and normal shit
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"
alias wep1com "r_drawviewmodel 0"
alias wep2com "r_drawviewmodel 0"
alias wep3com "r_drawviewmodel 1"
bind Q quickswap
bind 1 key1
bind 2 key2
bind 3 key3
bind 4 key4
bind 5 key5[/quote]
no idea who made this, but i have used it for a long time and it has always worked.
change these values to either 1 or 0. 0 = viewmodel off and 1 = viewmodel on [quote]alias wep1com "r_drawviewmodel 0"
alias wep2com "r_drawviewmodel 0"
alias wep3com "r_drawviewmodel 1"[/quote]
p.s this works with both quickswap and normal shit
You could also use http://clugu.com/tf2mate/
It has a bunch of options for configs.
It has a bunch of options for configs.
If you frequently change which slots are active, try this:
bind 1 "slot1; primary; alias currenttog primarytog"
bind 2 "slot2; secondary; alias currenttog secondarytog"
bind 3 "slot3; melee; alias currenttog meleetog"
bind t currenttog
alias currenttog primarytog
alias primary primaryvis
alias primaryvis "r_drawviewmodel 1; viewmodel_fov 90"
alias primaryhid "r_drawviewmodel 0; viewmodel_fov 0"
alias primarytog primarytoghid
alias primarytogvis "primaryvis; alias primary primaryvis; alias primarytog primarytoghid"
alias primarytoghid "primaryhid; alias primary primaryhid; alias primarytog primarytogvis"
alias secondary secondaryvis
alias secondaryvis "r_drawviewmodel 1; viewmodel_fov 90"
alias secondaryhid "r_drawviewmodel 0; viewmodel_fov 0"
alias secondarytog secondarytoghid
alias secondarytogvis "secondaryvis; alias secondary secondaryvis; alias secondarytog secondarytoghid"
alias secondarytoghid "secondaryhid; alias secondary secondaryhid; alias secondarytog secondarytogvis"
alias melee meleevis
alias meleevis "r_drawviewmodel 1; viewmodel_fov 90"
alias meleehid "r_drawviewmodel 0; viewmodel_fov 0"
alias meleetog meleetoghid
alias meleetogvis "meleevis; alias melee meleevis; alias meleetog meleetoghid"
alias meleetoghid "meleehid; alias melee meleehid; alias meleetog meleetogvis"
[code]bind 1 "slot1; primary; alias currenttog primarytog"
bind 2 "slot2; secondary; alias currenttog secondarytog"
bind 3 "slot3; melee; alias currenttog meleetog"
bind t currenttog
alias currenttog primarytog
alias primary primaryvis
alias primaryvis "r_drawviewmodel 1; viewmodel_fov 90"
alias primaryhid "r_drawviewmodel 0; viewmodel_fov 0"
alias primarytog primarytoghid
alias primarytogvis "primaryvis; alias primary primaryvis; alias primarytog primarytoghid"
alias primarytoghid "primaryhid; alias primary primaryhid; alias primarytog primarytogvis"
alias secondary secondaryvis
alias secondaryvis "r_drawviewmodel 1; viewmodel_fov 90"
alias secondaryhid "r_drawviewmodel 0; viewmodel_fov 0"
alias secondarytog secondarytoghid
alias secondarytogvis "secondaryvis; alias secondary secondaryvis; alias secondarytog secondarytoghid"
alias secondarytoghid "secondaryhid; alias secondary secondaryhid; alias secondarytog secondarytogvis"
alias melee meleevis
alias meleevis "r_drawviewmodel 1; viewmodel_fov 90"
alias meleehid "r_drawviewmodel 0; viewmodel_fov 0"
alias meleetog meleetoghid
alias meleetogvis "meleevis; alias melee meleevis; alias meleetog meleetoghid"
alias meleetoghid "meleehid; alias melee meleehid; alias meleetog meleetogvis"[/code]
This may sound extremely picky, but is there a script that allows you to toggle different viewmodel sets? For example, t is the toggle key, and by pressing it, your set switches from
slot1: hidden, slot2: visible, slot3: hidden, to becoming
slot1: visible, slot2: hidden, slot3: visible.
slot1: hidden, slot2: visible, slot3: hidden, to becoming
slot1: visible, slot2: hidden, slot3: visible.
MoistMelonsThis may sound extremely picky, but is there a script that allows you to toggle different viewmodel sets? For example, t is the toggle key, and by pressing it, your set switches from
slot1: hidden, slot2: visible, slot3: hidden, to becoming
slot1: visible, slot2: hidden, slot3: visible.
The script above switches whatever the current slot is.
slot1: hidden, slot2: visible, slot3: hidden, to becoming
slot1: visible, slot2: hidden, slot3: visible.[/quote]
The script above switches whatever the current slot is.
Like, a script that binds "t" to a toggle, and it will toggle between
"slot1; bind q weapon2; r_drawviewmodel 0; viewmodel_fov 0"
"slot2; bind q weapon1; r_drawviewmodel 0; viewmodel_fov 0"
"slot3; bind q weapon1; r_drawviewmodel 1; viewmodel_fov 80"
and
"slot1; bind q weapon2; r_drawviewmodel 1; viewmodel_fov 90"
"slot2; bind q weapon1; r_drawviewmodel 1; viewmodel_fov 90"
"slot3; bind q weapon1; r_drawviewmodel 1; viewmodel_fov 80"
so to get the second set of commands, "t" is to be pressed and to go back to the first one, "t" again.
I know nothing about scripting :(
"slot1; bind q weapon2; r_drawviewmodel 0; viewmodel_fov 0"
"slot2; bind q weapon1; r_drawviewmodel 0; viewmodel_fov 0"
"slot3; bind q weapon1; r_drawviewmodel 1; viewmodel_fov 80"
and
"slot1; bind q weapon2; r_drawviewmodel 1; viewmodel_fov 90"
"slot2; bind q weapon1; r_drawviewmodel 1; viewmodel_fov 90"
"slot3; bind q weapon1; r_drawviewmodel 1; viewmodel_fov 80"
so to get the second set of commands, "t" is to be pressed and to go back to the first one, "t" again.
I know nothing about scripting :(
Bind x "viewmodel_fov 0"
Bind c "viewmodel_fov 100"
Iunno i use it and it works
Bind c "viewmodel_fov 100"
Iunno i use it and it works
#13
I made this quite some time ago, it broke for some reason that I was unable to identify so I haven't used it ever since, but it should theoretically still work.
Here pressing 9 on my numpad would switch between having viewmodels on/off for specific weapons.
// Resetting all configs
alias "resetcfg" "unbind "shift";bind "mouse1" "+attack";bind "mouse2" "+attack2";bind "mwheelup" "invprev";bind "mwheeldown" "invnext";unbind "mouse4";unbind "mouse5;bind "C" "voice_menu_3";unbind "V";-forward"
resetcfg
// Viewmodel aliases
alias view "viewmodel_fov 110; r_drawviewmodel 0"
bind "KP_PGUP" toggle
alias toggle "enable"
alias enable "alias toggle disable; r_drawviewmodel 0;alias view "viewmodel_fov 110;r_drawviewmodel 0""
alias disable "alias toggle enable; r_drawviewmodel 1;alias view "viewmodel_fov 110;r_drawviewmodel 1""
alias off "viewmodel_fov 110; r_drawviewmodel 0"
alias on "viewmodel_fov 110; r_drawviewmodel 1"
// Scattergun
alias "+scatter" "slot1;+attack;view"
alias "-scatter" "-attack"
// Pistol
alias "+pistol" "slot2;+attack;view"
alias "-pistol" "-attack"
// Bat
alias "+bat" "slot3;+attack;on"
alias "-bat" "-attack"
// BINDINGS
bind "mouse1" "+scatter"
bind "mouse2" "+pistol"
bind "mouse4" "+bat"
I made this quite some time ago, it broke for some reason that I was unable to identify so I haven't used it ever since, but it should theoretically still work.
Here pressing 9 on my numpad would switch between having viewmodels on/off for specific weapons.
// Resetting all configs
alias "resetcfg" "unbind "shift";bind "mouse1" "+attack";bind "mouse2" "+attack2";bind "mwheelup" "invprev";bind "mwheeldown" "invnext";unbind "mouse4";unbind "mouse5;bind "C" "voice_menu_3";unbind "V";-forward"
resetcfg
// Viewmodel aliases
alias view "viewmodel_fov 110; r_drawviewmodel 0"
bind "KP_PGUP" toggle
alias toggle "enable"
alias enable "alias toggle disable; r_drawviewmodel 0;alias view "viewmodel_fov 110;r_drawviewmodel 0""
alias disable "alias toggle enable; r_drawviewmodel 1;alias view "viewmodel_fov 110;r_drawviewmodel 1""
alias off "viewmodel_fov 110; r_drawviewmodel 0"
alias on "viewmodel_fov 110; r_drawviewmodel 1"
// Scattergun
alias "+scatter" "slot1;+attack;view"
alias "-scatter" "-attack"
// Pistol
alias "+pistol" "slot2;+attack;view"
alias "-pistol" "-attack"
// Bat
alias "+bat" "slot3;+attack;on"
alias "-bat" "-attack"
// BINDINGS
bind "mouse1" "+scatter"
bind "mouse2" "+pistol"
bind "mouse4" "+bat"
bind 1 "slot1; r_drawviewmodel 0; viewmodel_fov 100"
bind 2 "slot2; r_drawviewmodel 0; viewmodel_fov 100"
bind 3 "slot3; r_drawviewmodel 1; viewmodel_fov 100"
this should work i believe
bind 2 "slot2; r_drawviewmodel 0; viewmodel_fov 100"
bind 3 "slot3; r_drawviewmodel 1; viewmodel_fov 100"
this should work i believe
I did bind r "toggle r_drawviewmodel" and put autoreload on.
forgetsbind 1 "slot1; r_drawviewmodel 0; viewmodel_fov 100"
bind 2 "slot2; r_drawviewmodel 0; viewmodel_fov 100"
bind 3 "slot3; r_drawviewmodel 1; viewmodel_fov 100"
this should work i believe
that doesn't work with scroll wheel or q, so it's not very practical.
bind 2 "slot2; r_drawviewmodel 0; viewmodel_fov 100"
bind 3 "slot3; r_drawviewmodel 1; viewmodel_fov 100"
this should work i believe[/quote]
that doesn't work with scroll wheel or q, so it's not very practical.
Deathyforgetsbind 1 "slot1; r_drawviewmodel 0; viewmodel_fov 100"
bind 2 "slot2; r_drawviewmodel 0; viewmodel_fov 100"
bind 3 "slot3; r_drawviewmodel 1; viewmodel_fov 100"
this should work i believe
that doesn't work with scroll wheel or q, so it's not very practical.
Who actually uses either of those though?
bind 2 "slot2; r_drawviewmodel 0; viewmodel_fov 100"
bind 3 "slot3; r_drawviewmodel 1; viewmodel_fov 100"
this should work i believe[/quote]
that doesn't work with scroll wheel or q, so it's not very practical.[/quote]
Who actually uses either of those though?
mage24365Deathythat doesn't work with scroll wheel or q, so it's not very practical.Who actually uses either of those though?
that doesn't work with scroll wheel or q, so it's not very practical.[/quote]
Who actually uses either of those though?[/quote]
bind r "toggle r_drawviewmodel 1 0; toggle viewmodel_fov 90 0"
works perfect here
works perfect here