S
|
 |
Console Commands, Aliases, Binds, & Configs
What are all of the files ending with .cfg in my tfc folder and what can I do with them?
When I take a screenshot, it gives me a .pcx file that looks strange. Is there a way to fix this?
How do I bind a key to send a message to other players on the server, other than having to type messages in?
How do I turn off the blood in TFC?
How do I change my name while in the game?
How can I set up a bind that will let me use the ALT and Function keys together to do something (ie ALT+F1)?
How do I use green letters or numbers in my name or say_team messages?
How do I enable/disable the display of the message of the day on servers?
What are all of the files ending with .cfg in my tfc folder and what can I do with them?
The answer to this one is lenghty and resulted in its own section,
TFC config info. Shoe -TPF- had posted
excellent info on configs on the PF forums.
You will find that info on the TFC config info
section. Read that first, and if you still have trouble, feel free to mail TF Tech!
Special thanks to Shoe for taking the time to write that puppy up!
When I take a screenshot in the game, I get a .pcx file that comes out all scrambled when I look at it. What is messing up my screenshots, why are they in .pcx format, and how can I fix this problem?
It sounds like you have a key bound to "screenshot" that you are using to take your screenshots
(I know, this sounds correct, and oddly enough, it is if you want to do things the way Quake did them).
However, in Half-life and TFC (and most likely in other mods as well) you can bind a key to
"snapshot" and it will take a screenshot in .bmp format and will be clear. So, in the console, or in
your .cfg files, type bind x snapshot (where x is the key you want to use to take a screenshot).
How do I bind a key to send a message
to other players on the server, other than having to type messages in? Do I
still have to use the same buttons that send the message to everyone on the
server or just my team when I do this?
To bind a key to send a message to your
teammates, simply input the following either into the console or into one
of your .cfg files:
bind x "say_team Your message here"
where x is the key you want to use to send the message. After that you can
simply hit x and it will send the message to your teammates, no need to hit
any other keys.
Sending a message to everyone on the server is pretty much the same, you
just need to use the following:
bind x "say Your message here"
and when you hit x it will send the message to everyone. I don't recommend
using the second command, as many people find it annoying when people are
constantly spamming messages to everyone on the server. More often than
not, if a server admin is around, they will kick you if you're spamming a
lot of annoying stuff to the other people on the server. Just think a
little ahead of time, and act responsibly ;-)
How can I turn off the blood in TFC? I tried
using the parental control, but it won't allow me to play multiplayer when
I use that.
This should work:
bring down the console and type in the following commands:
violence_ablood 0
violence_agibs 0
violence_hblood 0
violence_hgibs 0
You may also want to turn decals off by typing
r_decals 0
but that will also cause blast marks and bullet holes (and things like
that) to go away as well.
How can I change my name while I’m playing TFC
(not in the game's menu)?
You should be able to bring down the
console and type the following to change your name:
name “newname”
How can I set up a bind that will let me use the ALT
and Function keys together to do something (ie ALT+F1)?
First, remember that many of the alt+F#
keys are windows hot keys that may do weird things when you use them in
combination. In other words, be careful, and DON'T bind anything to ALT+F4
unless you have some way of overriding those default hotkeys (I don't know
how to do it, but I think there are some programs that do). Now that that's
done, here's how it works:
alias +switch "bind F1 command;bind
F2 command;bind F3 command;bind F5 command"
alias -switch "bind F1
othercommand;bind F2 othercommand;bind F3 othercommand;bind F5
othercommand"
bind ALT +switch
Basically, when you press down on the ALT
key, it will rebind the F1, F2, F3, and F5 keys to whatever you put in
command, when you release the ALT key it will bind the F keys to
othercommand. You can do this with any keys you like (which may help avoid
problems like ALT+TAB and ALT+F4 by using Z or some other key as your
switch).
I sometimes see people using green letters or numbers in their names or their say_team messages, how do I do this in my messages?
These green letters and numbers are generated by using higher ASCII codes
in the cfg files where the name or say_team message is defined. For a reference on which codes give which results, check here:
http://half-life.pcgame.com/faq/4.html
It should be noted that using these in your name will probably cause problems with displaying the name.
When I join a server, it doesn't display the message of the day, how do I enable/disable the display of the message of the day on servers?
The message of the day display is for some reason tied to the display of map briefings. In order to display it you need
to find the
line in your config.cfg that says:
setinfo "dm" "0"
and change the 0 to 1.
|
|