Team Fortress 2 > Általános témák > Téma részletei
Dorpsbewoner márc. 28. @ du. 9:08
"Faking Uber" and "Uber Popped" Configurations?
I see Medics with a combination of using their X + 8 voice commands to psyche out the enemy while providing a team-spoken "UBER FAKED" chat message.
When they deploy the Ubercharge, they also have an "UBER DEPLOYED" chat message.

What's the easiest way to change my X + 8 voice command to include a custom, team-displayed chat message? In addition, can a custom message be spoken when I deploy the Ubercharge by right-clicking, only when I'm playing Medic?

I know this has something to do with configurations, and I'd like to make my own without screwing everything up. The guides I was looking at are literally years old and are about remapping the entire keyboard for a Medic-centered playstyle. I still switch classes depending on the situation.

I really appreciate any help that can be spared with this. I've nearly logged in 2,000 hours in this game and I've never figured out configurations. Thanks!
115/38 megjegyzés mutatása
< >
Dorpsbewoner márc. 28. @ du. 9:21 
With some searching I found that editing class-specific configurations requires looking for it's .cfg file.
The problem is that I don't see any of the class configuration files throughout the Team Fortress 2 directory. Could it have changed from the Steam Pipe update?
Ace42 márc. 28. @ du. 9:23 
Keeltoll eredeti hozzászólása:
With some searching I found that editing class-specific configurations requires looking for it's .cfg file.

They don't exist by default. Just create them in notepad as a plaintext file; and make sure they're in the right location (same place as you'd put autoexec.cfg).

Oh, and please rethink doing this. I know if an uber's faked or not by the absence of glows and sound effects showing the uber's activation - and I know if it's not ready by the HUD showingme what my medic's %age is.

What I don't need is for chat-text to get spammed.
Legutóbb szerkesztette: Ace42; márc. 28. @ du. 9:25
5/4 (Kitiltva) márc. 28. @ du. 9:23 
Sir, I have been playing tf2 for about a month now (im a noob) and i have no idea what ur talking about but im willing to learn about it and help you solve your problome :)
noob is on vacation brb 27th (Kitiltva) márc. 28. @ du. 9:25 
bind the "uber" key (attack2) to an alias that does what m2 does and displays a message in team chat. I might know how to do it

EDIT: This:
bind mouse2 "uber"
alias uber "+attack2; say_team ****UBER POPPED****"


I'm honestly not sure if it works, and I'm too lazy to test it out.
lemme know if it doesn't work
Legutóbb szerkesztette: noob is on vacation brb 27th; márc. 28. @ du. 9:28
Dorpsbewoner márc. 28. @ du. 9:29 
Noob With No Hats eredeti hozzászólása:
bind the "uber" key (attack2) to an alias that does what m2 does and displays a message in team chat. I might know how to do it

But that would rebind the attack2 key to say that I have deployed the Ubercharge for all classes, even when I'm not playing Medic. It would be like detonating the Demoman's stickybombs or zooming into the sniper rifle scope and saying "Ubercharge Deployed; Push Up!"

I guess I could always rebind the Ubercharge command to a key I don't use at any other time, but that would take some getting used to.
noob is on vacation brb 27th (Kitiltva) márc. 28. @ du. 9:32 
Keeltoll eredeti hozzászólása:
Noob With No Hats eredeti hozzászólása:
bind the "uber" key (attack2) to an alias that does what m2 does and displays a message in team chat. I might know how to do it

But that would rebind the attack2 key to say that I have deployed the Ubercharge for all classes, even when I'm not playing Medic. It would be like detonating the Demoman's stickybombs or zooming into the sniper rifle scope and saying "Ubercharge Deployed; Push Up!"

I guess I could always rebind the Ubercharge command to a key I don't use at any other time, but that would take some getting used to.
try adding that to "medic.cfg" in the cfg folder (found in the tf folder) (make the cfg file if it doesn't exist)
that way, the script would only execute when you switch to medic.
Dorpsbewoner márc. 28. @ du. 9:35 
Alright, so I make a plain text document and name it "medic.cfg", I can do that.
Would I need to add the entire list of default binds that come with the class, and just change the two custom ones that I want? Do I have to make a default configuration file for each class so the game can tell the difference, even though they will be untouched?
TiMoN márc. 28. @ du. 9:36 
Keeltoll eredeti hozzászólása:
Noob With No Hats eredeti hozzászólása:
bind the "uber" key (attack2) to an alias that does what m2 does and displays a message in team chat. I might know how to do it

But that would rebind the attack2 key to say that I have deployed the Ubercharge for all classes, even when I'm not playing Medic. It would be like detonating the Demoman's stickybombs or zooming into the sniper rifle scope and saying "Ubercharge Deployed; Push Up!"

I guess I could always rebind the Ubercharge command to a key I don't use at any other time, but that would take some getting used to.
Go to your medic.cfg and put it in. Then go to the other classes .cfgs and type "bind "mouse2" "+attack2".
Problem solved.
Dorpsbewoner márc. 28. @ du. 9:38 
I guess the only hurdle is creating configuration files for each class. I don't see them in my directory so I'm assuming that I have to make them all myself.
noob is on vacation brb 27th (Kitiltva) márc. 28. @ du. 9:38 
Keeltoll eredeti hozzászólása:
Alright, so I make a plain text document and name it "medic.cfg", I can do that.
Would I need to add the entire list of default binds that come with the class, and just change the two custom ones that I want? Do I have to make a default configuration file for each class so the game can tell the difference, even though they will be untouched?
remember that .cfg is a file format
just add the config that you want, defaults not needed
your file only executes when you play medic, so you shouldn't need a custom config for every other class (unless you executed the med config as another class, and need to fix it)
noob is on vacation brb 27th (Kitiltva) márc. 28. @ du. 9:40 
Keeltoll eredeti hozzászólása:
I guess the only hurdle is creating configuration files for each class. I don't see them in my directory so I'm assuming that I have to make them all myself.
Do you really need to do that?
My engineer config works fine without 8 other ones
Dorpsbewoner márc. 28. @ du. 9:42 
Noob With No Hats eredeti hozzászólása:
Do you really need to do that?
My engineer config works fine without 8 other ones

It's just the conflicting advice, I guess. I will make the single medic.cfg file and use your example as a substitute for my right-click.
Dorpsbewoner márc. 28. @ du. 10:03 
So let me see if I've got this right...
From my medic.cfg file I have put:

23 bind "MOUSE1" "+attack"
24 alias UberDeployed "+attack2; say_team *Übercharge Used!*"
25 bind "MOUSE2" "UberDeployed"
26 alias UberFaked "+attack3; voicemenu 1 7; say_team *Übercharge Faked!*
27 bind "MOUSE3" "UberFaked"

If I were to use my right-click in game, I'd deploy the Charge and say my line.
If I were to use my middle-click in game, I'd use the voice command to fake the Charge and say my line. Should I just get rid of that '+attack3' part just in case? Otherwise, I think I'm ready to try it out.
TiMoN márc. 28. @ du. 10:05 
Keeltoll eredeti hozzászólása:
I guess the only hurdle is creating configuration files for each class. I don't see them in my directory so I'm assuming that I have to make them all myself.
They should be in your steamapps/common/teamfortress2/cfg.
Not the one with your name in it, that's outdated.
Ace42 márc. 28. @ du. 10:08 
TiMoN eredeti hozzászólása:
Keeltoll eredeti hozzászólása:
I guess the only hurdle is creating configuration files for each class. I don't see them in my directory so I'm assuming that I have to make them all myself.
They should be in your steamapps/common/teamfortress2/cfg.
Not the one with your name in it, that's outdated.

Actually, they should be in the NESTED cfg file that is under a "TF2" sub-folder - which is ITSELF under the full Team Fortress 2 parent folder.

Keeltoll eredeti hozzászólása:
I guess the only hurdle is creating configuration files for each class. I don't see them in my directory so I'm assuming that I have to make them all myself.

Correct. While you're doing it, create a spare one called "ClassDefaults.cfg" and put "exec ClassDefaults.cfg" at the top of each class-specific config file.

That way instead of copy and pasting your mouse-2 bind to every single class, you can just put it in ClassDefaults.cfg and it will be applied to all of them. From that point on you just add "default" binds to ClassDefaults.cfg every time you add a class-specific script that deviates from that norm.
115/38 megjegyzés mutatása
< >
Laponként: 15 30 50
Küldés ideje: márc. 28. @ du. 9:08
Hozzászólások: 38