Upvote Upvoted 0 Downvote Downvoted
Medic viewmodels
posted in Customization
1
#1
0 Frags +

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?

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?
2
#2
4 Frags +

bind 1 "slot1; viewmodel_fov 130"
bind 2 "slot2; viewmodel_fov 0"
bind 3 "slot3; viewmodel_fov 130"

this should work

bind 1 "slot1; viewmodel_fov 130"
bind 2 "slot2; viewmodel_fov 0"
bind 3 "slot3; viewmodel_fov 130"

this should work
3
#3
0 Frags +

would bind2 "slot2; r_drawtracers_firstperson 0" work as well? Just curious

would bind2 "slot2; r_drawtracers_firstperson 0" work as well? Just curious
4
#4
1 Frags +
STOGEwould bind2 "slot2; r_drawtracers_firstperson 0" work as well? Just curious

don't think this changes anything on medic

[quote=STOGE]would bind2 "slot2; [b]r_drawtracers_firstperson 0[/b]" work as well? Just curious[/quote]
don't think this changes anything on medic
5
#5
-1 Frags +

I do not use 1, 2 and 3 to switch weapons

I do not use 1, 2 and 3 to switch weapons
6
#6
2 Frags +
lighthouseI do not use 1, 2 and 3 to switch weapons

Change the 1,2,3 to suit your binds then?

[quote=lighthouse]I do not use 1, 2 and 3 to switch weapons[/quote]

Change the 1,2,3 to suit your binds then?
7
#7
0 Frags +
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.

[quote=yuki][quote=lighthouse]I do not use 1, 2 and 3 to switch weapons[/quote]

Change the 1,2,3 to suit your binds then?[/quote]
yeah. there's upscroll and stuff, just make an alias script.
8
#8
0 Frags +

As in, I use scrollwheel to cycle through my weapon, not up for primary and down for secondary

As in, I use scrollwheel to cycle through my weapon, not up for primary and down for secondary
9
#9
0 Frags +

you'll need to tag that onto brosel's crosshair switcher

you'll need to tag that onto brosel's crosshair switcher
10
#10
1 Frags +

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!!

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!!
11
#11
0 Frags +

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.

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.
12
#12
0 Frags +
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

[quote=lighthouse]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.[/quote]

you can do this super easily with broessels crosshair switcher, just install it and customize to your liking
13
#13
0 Frags +

ez http://clugu.com/tf2mate/

ez http://clugu.com/tf2mate/
14
#14
-1 Frags +
AgenSpiceez http://clugu.com/tf2mate/

old

[quote=AgenSpice]ez http://clugu.com/tf2mate/[/quote]
old
Please sign in through STEAM to post a comment.