For most classes I have an r_drawviewmodel toggle, because I like being able to see tracers when I shoot, but want to be able to see my melee when I use it (I use quickswitch and scroll wheel). However on medic I do not like seeing the heal beam. Is there any way to make a toggle between viewmodel_fov 130 and viewmodel_fov 0, so I can have a clear screen while healing but be able to toggle 130 fov to be able to see melee/crossbow?
bind 1 "slot1; viewmodel_fov 130"
bind 2 "slot2; viewmodel_fov 0"
bind 3 "slot3; viewmodel_fov 130"
this should work
bind 2 "slot2; viewmodel_fov 0"
bind 3 "slot3; viewmodel_fov 130"
this should work
would bind2 "slot2; r_drawtracers_firstperson 0" work as well? Just curious
STOGEwould bind2 "slot2; r_drawtracers_firstperson 0" work as well? Just curious
don't think this changes anything on medic
don't think this changes anything on medic
lighthouseI do not use 1, 2 and 3 to switch weapons
Change the 1,2,3 to suit your binds then?
Change the 1,2,3 to suit your binds then?
yukilighthouseI do not use 1, 2 and 3 to switch weapons
Change the 1,2,3 to suit your binds then?
yeah. there's upscroll and stuff, just make an alias script.
Change the 1,2,3 to suit your binds then?[/quote]
yeah. there's upscroll and stuff, just make an alias script.
As in, I use scrollwheel to cycle through my weapon, not up for primary and down for secondary
you'll need to tag that onto brosel's crosshair switcher
This is a little bit of a different take on your question, but basically what this script does is show your medi gun when you get it out, and on click, changes the viewmodel fov to 0
viewmodel_fov 130
alias primary "slot1;r_drawviewmodel 1; viewmodel_fov 130; bind "MOUSE1" "+basicattack""
alias secondary "slot2;r_drawviewmodel 1; bind "MOUSE1" "+heal""
alias melee "slot3;r_drawviewmodel; viewmodel_fov 130; bind "MOUSE1" "+basicattack""
alias "+heal" "+attack; viewmodel_fov 0"
alias "-heal" "-attack"
alias "+basicattack" "+attack; viewmodel_fov 130"
alias "-basicattack" "-attack"
it's pretty self explanatory when you look at it, but it's got a bit of an extra touch to it. There may be some extra unnecessary code, but that should get the job done. The only problem that you may have is that if you use your scroll wheel for cycling through weapons, it breaks the basic aliases. So binding your stuff to absolute functions (such as mouse down being secondary, mouse up primary, and mouse3 being melee for example) is probably better for this specific script. It's how my scripts are set up and it works for me.
Hope this is helpful!!
viewmodel_fov 130
alias primary "slot1;r_drawviewmodel 1; viewmodel_fov 130; bind "MOUSE1" "+basicattack""
alias secondary "slot2;r_drawviewmodel 1; bind "MOUSE1" "+heal""
alias melee "slot3;r_drawviewmodel; viewmodel_fov 130; bind "MOUSE1" "+basicattack""
alias "+heal" "+attack; viewmodel_fov 0"
alias "-heal" "-attack"
alias "+basicattack" "+attack; viewmodel_fov 130"
alias "-basicattack" "-attack"
it's pretty self explanatory when you look at it, but it's got a bit of an extra touch to it. There may be some extra unnecessary code, but that should get the job done. The only problem that you may have is that if you use your scroll wheel for cycling through weapons, it breaks the basic aliases. So binding your stuff to absolute functions (such as mouse down being secondary, mouse up primary, and mouse3 being melee for example) is probably better for this specific script. It's how my scripts are set up and it works for me.
Hope this is helpful!!
Thanks for the help so far everyone but I would still like to keep my scroll wheel for cycling weapons and quickswitch available. If it is not possible to do so then I will just get over the heal beam being there.
lighthouseThanks for the help so far everyone but I would still like to keep my scroll wheel for cycling weapons and quickswitch available. If it is not possible to do so then I will just get over the heal beam being there.
you can do this super easily with broessels crosshair switcher, just install it and customize to your liking
you can do this super easily with broessels crosshair switcher, just install it and customize to your liking