r/Tf2Scripts • u/[deleted] • Apr 10 '13
Satisfied [Request]Medic uber.
I would like a script that on a right click will switch from my current weapon pop uber and say in chat "Uber popped" Or If I press 4 will fake uber. Thank you in advanced.
8
Upvotes
0
u/Shaggy_Xx Apr 12 '13
Idk if this is exactly what you want, I spent like 5 hours messing with autoexecs 2 days ago or so and this is what I currently have.
alias +charge "+attack2;slot2;dropitem;voicemenu 2 4;say_team "(>^.^)> POPPING THE UBES <(^.^<)""
alias -charge "-attack2"
alias fake ""voicemenu 1 7";say_team "*** FAKED THE UBES ***""
bind mouse2 "+charge"
bind v "fake"then make another autoexec cfg file called "resetmedcfg" and put this in it:
alias "resetmedcfg" "bind mouse2 "+attack2";bind mouse3 "+attack3";bind v "+record";bind f "inspect"; echo "*** MEDIC CONFIG UNLOADED ***""
resetmedcfgand put:
exec resetmedcfgin every class execp meds autoexec and in your regular autoexec.
If that didn't help check out This thread - http://www.ugcleague.com/forum/showthread.php?t=6171
3
u/clovervidia Apr 10 '13
The only problem I see is that this would need
waitcommands, which may crash your game if the server has them disabled.Since you can't immediately use a weapon once you switch you it (you gotta wait a little bit), this can't be achieved with scripts without using the
waitfor delays.If you know for sure the server you plan to use this on has wait enabled, then I can make it using the command. Otherwise you would have to do it manually.
Alternatively, I could make it so that you press MOUSE2 to switch to the medi-gun and release to pop the uber and send the chat message.
Which option would you prefer?