RSS Feed

need help with this ubered script

#  Jul 21, 2009 at 12:19 PM
Join Date:
Jun 13, 2009
Post Count:
324
 
M_24 90984
Loading...
Steam ID: Hardboiled_24
 

can't get this script to work, I want it to say Ubered in team chat when I pop. it works the first time, but then I can only use the medigun (mouse1 only works for medigun), and when I get to 100% again it automatically deploys the uber.

Here's my medic.cfg: the part thats the problem is underlined

// Crosshair
cl_crosshair_file crosshair7
cl_crosshair_red 0
cl_crosshair_green 255
cl_crosshair_blue 255
cl_crosshair_scale 24
bind mouse1 +attack
bind mouse2 +attack2
bind q lastinv
bind 1 slot1
bind 2 slot2
bind 3 slot3
bind f slot3
-reload
viewmodel_fov 70
// Fake Uber
alias fakeuber "say_team #FAKED UBER^"
bind mouse4 "fakeuber; voicemenu 1 7"

// Hide Uber
alias hideuber "say_team #HIDING UBER^"
bind mouse3 "hideuber; voicemenu 2 6"

// Uber Config
alias ubercall "say_team #UBERED^"
bind mouse2 "ubercall; +attack2"


note that eveything else works fine until I deploy uber.

thanks

#  Jul 21, 2009 at 12:29 PM
Join Date:
Mar 13, 2008
Post Count:
1864
 
Cascade 83566
Loading...
Specialty: Heavy
Steam ID: coriolis_cascade
Clan: ++nato++
Sponsor
 
This is easy to fix.

Let's imagine that your right mouse button was bound to attack2.

+attack2 is like pushing the mouse button down and never releasing it.

You need to do -attack2 to release the button again.

So, your script should read:

alias ubercall "say_team #UBERED^"
bind mouse2 "ubercall; +attack2; wait; -attack2"

#  Jul 21, 2009 at 12:39 PM
Join Date:
Nov 24, 2007
Post Count:
2105
 
Chupathingy 80641
Loading...
Specialty: Engineer
Steam ID: ChupathingyMan
Clan: {TF2F}
Brawl KingJump Map KingL4D KingSquigMember
 
Except the wait command crashes on most servers, right?
#  Jul 21, 2009 at 12:59 PM
Join Date:
Oct 16, 2007
Post Count:
3372
 
trainRiderJ 78536
Loading...
Steam ID: trainRiderJ
Clan: {TF2F}
SquigMember
 

// Fake Uber
alias fakeuber "say_team #FAKED UBER^; voicemenu 1 7"

bind mouse4 "fakeuber"

// Hide Uber
alias hideuber "say_team #HIDING UBER^; voicemenu 2 6"

bind mouse3 "hideuber"

// Uber Config 
alias ubercall "say_team #UBERED^; attack2"

bind mouse2 "ubercall"


Not 100% on this but give it a shot. You might have to do

alias +ubercall "say_team #UBERED^; +attack2"

alias -ubercall "-attack2"

bind mouse2 "+ubercall"

#  Jul 21, 2009 at 1:05 PM
Join Date:
Nov 29, 2007
Post Count:
2158
 
sp3cialk 80790
Loading...
Specialty: Soldier
Steam ID: ChiefSpecialK
GamerTag: ChiefSpecial K
Clan: {TF2F} Community
King AdminsSponsorSquigMember
 
not true chupa.. wait command crashes for certain scripts "pistol script" because of it's nature.. the pistol script is more or less a loop that is ran when the button is held and depends on the waits for it to function properly.  Without the waits you it gets caught in the loop which is what causes your game to crash.

Though I've never set up a uber call script.. I'm just guessing here but you could try this.  Should switch to healgun (if not out) and uber and call out the uber.  If this doesn't work, I'll mess with it some tonight, kinda hard to do some of this off memory

alias +ubertime "slot2;+attack2; uberalert"
alias -ubertime "-attack2"
alias uberalert "say_team #UBERED^"
bind mouse2 +ubertime


Edit: guess I'm slow.. train and I seem to be on the same wavelength
#  Jul 21, 2009 at 2:04 PM
Join Date:
Mar 13, 2008
Post Count:
1864
 
Cascade 83566
Loading...
Specialty: Heavy
Steam ID: coriolis_cascade
Clan: ++nato++
Sponsor
 
The wait crash I added will not crash your client even on servers with it disabled, and it will make your script more reliable on those which enable it.
#  Jul 21, 2009 at 5:48 PM
Join Date:
Jun 13, 2009
Post Count:
324
 
M_24 90984
Loading...
Steam ID: Hardboiled_24
 
alright thanks guys!

Cascade, your script did not work. The chat bind worked but the ubercharge wasn't activated.

Train's worked though, and I'm using it. thanks.

also thanks to Chief, I've stored your script as a backup, and i'll probably test it later
#  Jul 21, 2009 at 10:41 PM
Join Date:
Oct 16, 2007
Post Count:
3372
 
trainRiderJ 78536
Loading...
Steam ID: trainRiderJ
Clan: {TF2F}
SquigMember
 
By the way, you'll want to rebind your mouse2 in your other class configs. If you don't, and you switch to something like demo, you'll be spamming "#UBERED^" every time you det a sticky, for instance.
#  Jul 22, 2009 at 2:38 AM
Join Date:
Nov 29, 2007
Post Count:
2158
 
sp3cialk 80790
Loading...
Specialty: Soldier
Steam ID: ChiefSpecialK
GamerTag: ChiefSpecial K
Clan: {TF2F} Community
King AdminsSponsorSquigMember
 
cool deal.. I actually added one to my medic script earlier.. just because I was curious
#  Jul 22, 2009 at 9:36 AM
Join Date:
Jun 13, 2009
Post Count:
324
 
M_24 90984
Loading...
Steam ID: Hardboiled_24
 
Quote:
Originally Posted by trainRiderJ
By the way, you'll want to rebind your mouse2 in your other class configs. If you don't, and you switch to something like demo, you'll be spamming "#UBERED^" every time you det a sticky, for instance.

already did that

Copyright 2007-2008 All Rights Reserved

Team Fortress 2


2 Guys 1 Kill: {TF2F} FlyingPenguin - (102 kill assists)
Captures Blocked: Nimbli Bimbli - (26 captures blocked)
Dominator: {TF2F} Bitch Nasty - (25 dominations)
Flags Captured: Corporal Clegg - (11 flags captured)
Flags Defended: MechaEdd - (12 flags defended)
Physician Assisted Homicide: {TF2F}SME®BUI©K - (271 medic kill assists)
Points Captured: {TF2F}SME®BUI©K - (30 points captured)
Revenger: Count_Flakula - (10 revenges)
Spy Power: Chro - (19 objects killed as spy)
Ubercharger: {TF2F}SME®BUI©K - (89 ubercharges)
Axe Man: {TF2F} Ninja Dude - (18 kills with fireaxe)
Axtinguished: {TF2F} BOOSH Rizzilio - (81 kills with axtinguisher)
Batter Up!: soup! - (16 kills with bat)
Biggest Prick: Sam - ClutchKill.com - (8 kills with syringegun)
Blood Sucker: {TF2F}SME®BUI©K - (30 kills with blutsauger)
Broke Backburner: {TF2F} FlyingPenguin - (223 kills with backburner)
Can You Dig It?: {TF2F}.TüRb!NE. - (3 kills with shovel)
Doctor's Certificate: Maero - (16 kills with bonesaw)
Drunken Brawler: [???] Deviruchi - (4 kills with bottle)
Epic Defender: {TF2F} Spy - (9 kills with wrench)
Fire Spitter: {TF2F}blistering - (100 kills with flamethrower)
Flare Gunner: {TF2F} FlyingPenguin - (12 kills with flare gun)
Grenade Spammer: GeneralSheep - (47 kills with pipe)
Grey Matter: STar - (168 snipings as sniper)
Hadouken Master: Xandier - (1 kills with pyro taunt)
Hot Potato: {TF2F} BOOSH Rizzilio - (4 kills with rocket deflection)
I <3 Sasha: {TF2F} Bitch Nasty - (181 kills with minigun)
Knife Maniac: {TF2F} Dartagnan - (109 knifings)
Last Resort: [Ba-El] BoC - (26 kills with smg)
Manslayer: [FRGT] Klare - (10 kills with machete)
Master Fister: Maero - (3 kills with fists)
Peashooter Marksman: Corporal Clegg - (48 kills with scout pistol)
Pickle Squad Award: [NH]Pitt - (18 pickles man handled)
Rocket Scientist: [TF2F]Lancer - (217 kills with rocket)
Scatter Shot: Corporal Clegg - (147 kills with scattergun)
Sentrygun Master: Numenor - (142 kills with sentrygun)
Spam Blocker: {TF2F} BOOSH Rizzilio - (1 kills with pipe deflection)
Spy Checker: {TF2F} Fanlaen - (5 kills with pistol)
Sticky Explosion: {TF2F}Album - (105 kills with pipe remote)
Ubersawer: Psycholord - (27 kills with ubersaw)
Stats Refreshed 6/24/2008 5:00:03 AM CST
AddThis Social Bookmark Button
Fortcast Podcast
Donate
Welcome, you are not logged in.
Login or Register
Team Fortress 2 Fort Team Fortress 2 Fort