i use the mouse wheel instead of any numbers or letters for my weapon slots and i'd like to know, how do you exactly turn off viewmodels (for scout) but leave the melee weapon viewmodel on? like, scrolling through weapons and stuff. thanks.
Easiest way would be using this site to create a config for you: http://clugu.com/tf2mate/
class & weapons section is near the bottom. can be unique for each class, so scout only shows melee, but soldier could show melee + shotgun for example
you'll want to pay attention to the other options too, to make sure you don't enable/disable something by accident
class & weapons section is near the bottom. can be unique for each class, so scout only shows melee, but soldier could show melee + shotgun for example
you'll want to pay attention to the other options too, to make sure you don't enable/disable something by accident
bind mwheelup slot1settings
bind mwheeldown slot2settings
bind KP_END slot3settings
alias "slot1settings" "slot1; r_drawviewmodel 0"
alias "slot2settings" "slot2; r_drawviewmodel 0"
alias "slot3settings" "slot3; r_drawviewmodel 1"
replace KP_END with your mele button of choice
bind mwheeldown slot2settings
bind KP_END slot3settings
alias "slot1settings" "slot1; r_drawviewmodel 0"
alias "slot2settings" "slot2; r_drawviewmodel 0"
alias "slot3settings" "slot3; r_drawviewmodel 1"
[/code]
replace KP_END with your mele button of choice
What I use is a crosshair switcher.
There's a couple different kinds, so figure out the features you want and then go from there. Most of the differences are in what buttons you want to use to switch weapons. I know the one I use has mousewheel, number keys, and the lastinv or Q functionality. I like having all three available to me, so I use that. In the switcher you can pick whether you want viewmodels for each weapon slot and you can also pick FOV and crosshair.
https://www.google.com/search?q=tf2+crosshair+switcher&oq=tf2+crosshair+switcher&sugexp=chrome,mod=0&sourceid=chrome&ie=UTF-8
There's a couple different kinds, so figure out the features you want and then go from there. Most of the differences are in what buttons you want to use to switch weapons. I know the one I use has mousewheel, number keys, and the lastinv or Q functionality. I like having all three available to me, so I use that. In the switcher you can pick whether you want viewmodels for each weapon slot and you can also pick FOV and crosshair.
use broesels crosshair switcher http://code.google.com/p/broesels-crosshair-switcher/
way better than any hacked up solution you come up with on your own, I replaced all my custom scripts with this.
way better than any hacked up solution you come up with on your own, I replaced all my custom scripts with this.
I like broesels but it's really annoying to use on MGE :c
Everyone here misunderstood the question from what I can see. I think he's asking if he can scroll trough the items, up or down, and still get the right viewmodel setting for the right item. Afaik that's not possible, and if it is it's quite complicated.
HallowEveryone here misunderstood the question from what I can see. I think he's asking if he can scroll trough the items, up or down, and still get the right viewmodel setting for the right item. Afaik that's not possible, and if it is it's quite complicated.
Broesel's switcher can handle that.
Broesel's switcher can handle that.
HallowAfaik that's not possible, and if it is it's quite complicated.
This. I can come up with a solution using eight aliases, but even that will not be perfect. It will get out of sync under various conditions, such as when your weapon changes due to lack of ammo. You can blame TF2 for not having a more dynamic, hook-based scripting system.
I do believe broesel's crosshair switcher will do what you want to the extent which I specified above. I'm not entirely sure as I've never used it.
Anyhow, the best thing to do is use a different key for each weapon.
This. I can come up with a solution using eight aliases, but even that will not be perfect. It will get out of sync under various conditions, such as when your weapon changes due to lack of ammo. You can blame TF2 for not having a more dynamic, hook-based scripting system.
I do believe broesel's crosshair switcher will do what you want to the extent which I specified above. I'm not entirely sure as I've never used it.
Anyhow, the best thing to do is use a different key for each weapon.
I use mouse forward for melee and just bound that to turn on view models as well. For toggling view models on and off I just use the middle mouse button.
bind mouse3 "toggle r_drawviewmodel 1 0"
bind "mouse5" "toggle r_drawviewmodel 1; slot3"
[quote]bind mouse3 "toggle r_drawviewmodel 1 0"
bind "mouse5" "toggle r_drawviewmodel 1; slot3"[/quote]
I agree with bluee, http://clugu.com/tf2mate/ is the way to go.