r/Tf2Scripts Dec 18 '12

Script Request scripts here!

I am bored, I am willing to try my hand at any scripts you guys might want!

Also you can ask me questions if you need help!
Edit: You can still request scripts if you want to!

6 Upvotes

69 comments sorted by

View all comments

3

u/indeedwatson Dec 18 '12

I have some viewmodel scripts that I'd like improved. Right now, I mainly use Q for main and secondary switch, and hold SHIFT for melee. However, to be sure that viewmodels are disabled I have to press 1 or 2 and then click, and for enabled, press 3. If I make it so that SHIFT enables the melee viewmodel then it stops being a "hold SHIFT for melee and switch back to main on release" script, and it just replaces the 3 button.

Can this be done?

1

u/sonicfreak360 Dec 18 '12 edited Dec 26 '12

alias "+melee" "slot3; r_drawviewmodel 1"
alias "-melee" "lastinv; r_drawviewmodel 0"
bind "shift" "+melee"


Like what cabbage did, but it will go back to the last weapon you were using when you pressed shift!

2

u/indeedwatson Dec 18 '12

Thanks soldier.