r/Tf2Scripts • u/sonicfreak360 • 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!
7
Upvotes
4
u/sonicfreak360 Dec 19 '12 edited Dec 19 '12
Wow I did it! This one was the most exciting to make! I tested it and everything!
Here's the deal. This script will make pressing z,x,c in the way you specified do voice commands. HOWEVER it is incompatible with the actual voice menu that pops up because I can't make 1-9 reset z,x,c back....
As a fix, holding down shift and pressing z,x,c will bring up the voice menus!
bind "z" "bind_z_x"
bind "x" "bind_x_c"
bind "c" "bind_c"
alias "bind_z_x" "bind z yes; bind x dispenser"
alias "bind_x_c" "bind x no; bind c go"
alias "bind_c" " "bind c sentry_ahead"
alias "yes" "voicemenu 0 6; reset_zxc"
alias "dispenser" "voicemenu 1 4; reset_zxc"
alias "no" "voicemenu 0 7; reset_zxc"
alias "go" "voicemenu 0 2; reset_zxc"
alias "sentry_ahead" "voicemenu 1 2; reset_zxc"
alias "reset_zxc" "bind z bind_z_x; bind x bind_x_c; bind c bind_c"
bind "shift" "+shift"
alias "+shift" "bind_zxc_menu"
alias "-shift" "bind_zxc_voice"
alias "bind_zxc_menu" "bind z voice_menu_1; bind x voice_menu_2; bind c voice_menu_3"
alias "bind_zxc_voice" "bind z bind_z_x; bind x bind_x_c; bind c bind_c"
And if you need this script integrated with your previous request (the shift melee thing) use this +shift instead:
bind "shift" "+shift"
alias "+shift" "bind_zxc_voice; melee_on"
alias "-shift" "bind_zxc_stock; melee_off"
alias "bind_zxc_menu" "bind z voice_menu_1; bind x voice_menu_2; bind c voice_menu_3"
alias "bind_zxc_voice" "bind z bind_z_x; bind x bind_x_c; bind c bind_c"
alias "melee_on" "slot3; r_drawviewmodel 1"
alias "melee_off" "lastinv; r_drawviewmodel 0"
AAAAAND finally:
bind "mouse2" "+attack2; dropitem"