r/Tf2Scripts • • Jan 22 '16

Satisfied Spy sapper script and Medic uber script

Hel Hello all i am looking for someone who can kindly write for me these 2 scripts.

  1. A script which tells my team the text "sapping sentry PUSH" when i successfully place a sapper on a sentry
  2. a script which tells my team based on the medi gun i am using "uber / kritz / quick fix/ ready" and when the uber is used "uber/ krtiz / quick fix / used"

Thank you very much in advance

3 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/_TinkerTailor Jan 22 '16

If you keep your loadouts separate, you can actually do some nice uber message work like this. Obviously, the game doesn't know which gun you're using, but it'll work for these purposes I think. It's an adaptation of my medic.cfg with just the part OP is looking for I think. No message for Vacc ubers/charges, because nobody cares.

//Loadout Switcher
alias medigun_mode	"alias ubermsg say_team ">>>|UBER USED|<<<"; say_team "switching to uber/stock"; load_itempreset 0"
alias kritz_mode	"alias ubermsg say_team ">>>|KRITZ USED|<<<"; say_team "switching to kritz"; load_itempreset 1"
alias qf_mode		"alias ubermsg say_team ">>>|QF CHARGE USED|<<<"; say_team "switching to quickfix"; load_itempreset 2"   
alias vacc_mode		"alias ubermsg none; say_team "switching to vaccinator"; load_itempreset 3"

//Uber Calls
alias mask			"randomvoice; say_team >>>|CHARGE READY|<<<"
alias fake_charge	"uberfake; say_team >>>|FAKE CHARGE|<<<"
alias fake_use		"useuber; say_team >>>|FAKE USE|<<<"

//Auto-Pop
alias +charge		"+attack2; secondary; dropitem; +attack2; ubermsg"
alias -charge		"-attack2"

//Binds
bind "mouse2" "+charge"				//key to use uber

bind "q" "mask"						//key to mask "fully charged!" + notify your team
bind "alt" "fake_charge"			//key to fake "fully charged!" + notify your team
bind "CTRL" "fake_use"				//key to fake "uber used!" + notify your team

bind "LEFTARROW" "medigun_mode"		//loadout a
bind "DOWNARROW" "kritz_mode"		//loadout b
bind "RIGHTARROW" "qf_mode"			//loadout c
bind "UPARROW" "vacc_mode"			//loadout d