View previous topic :: View next topic |
Author |
Message |
SoDum Registered User
Joined: 27 Apr 2002 Location: NY Posts: 635
|
Posted: Wed Jun 12, 2002 7:48 pm Post subject: .cfg files... |
|
|
How do you make them? Like, say, perhaps i wanted to do one of those cfg things where you say your class and health and armor. How could i got about doing it? _________________
Stillness of Body, Focus of thought, oneness of spirit. These are the virtues of a concer.
The only man to boycott happiness! |
|
Back to top |
|
|
Bright Red Nipples Registered User
Joined: 26 Mar 2002 Location: at work :s Posts: 7684
|
Posted: Wed Jun 12, 2002 11:37 pm Post subject: |
|
|
I don't know the one for class but the one for health is %h, the one for armor is %a, the one for last person you view is %i. That's all I have to say about that . _________________
God Bless You Blue Ruler |
|
Back to top |
|
|
SoDum Registered User
Joined: 27 Apr 2002 Location: NY Posts: 635
|
Posted: Thu Jun 13, 2002 1:00 am Post subject: |
|
|
Not what i meant.
I'm sure at least some people have noticed that A large portion of EP, and a few others have a status thing when they team chat. Dahak posted it, and i'm trying to do it.
I figured it out though. It still won't automatically change when i select a class, but, i have the talk configs anyway... _________________
Stillness of Body, Focus of thought, oneness of spirit. These are the virtues of a concer.
The only man to boycott happiness! |
|
Back to top |
|
|
Vulcan Registered User
Joined: 29 Dec 2001
Posts: 2773
|
Posted: Thu Jun 13, 2002 1:10 pm Post subject: |
|
|
There is a command that will exec the class cfgs. You are talking about ones for engie, solly, etc. I don't remember it right now. I will look in my config and try to find it. I will post with the answer. _________________ I need to make a sig, but I don't have the time. Maybe I will eventually. |
|
Back to top |
|
|
ToRaK Registered User
Joined: 08 Feb 2002 Location: North Carolina Posts: 1105
|
Posted: Thu Jun 13, 2002 1:15 pm Post subject: |
|
|
Like so JR...
For a soldier using 'u' for team say.
=====================================
/tfc/soldier.cfg
bind u "exec /talk/soldier.cfg"
=====================================
/tfc/talk/soldier.cfg
messagemode "say_team [Soldier %h|%a]"
Hope this helps ya... _________________ The most hated.
|
|
Back to top |
|
|
CyC0Dad Registered User
Joined: 19 Jul 2001 Location: Phoenix, AZ Posts: 1382
|
Posted: Tue Jun 18, 2002 11:45 am Post subject: |
|
|
Man that is the hard way Torak....
In your config.cfg file add the line:
setinfo "ec" "1"
This enables classs specific files to executed. Now you just need to create files like soldier.cfg and demo.cfg etc and add the binds in there that you want. This is where I set class specific binds like detdispenser and +det20 etc. I also have defined a key that switches weapons in the order I prefer. I also have a key bound to grab my crowbar etc. I refer to it as my humiliation key. I use it when I find a feigned spy etc
If you want to do the same thing for map specific files you will need to add the line:
setinfo "em" "1"
to your config.cfg file. I also have(had) a file called common.cfg where I had bound the NEO commands to keys since the buildspecial and detspecial keys could be the same regardless of class. You would need to add the line
exec common.cfg
to your config.cfg or to each <class>.cfg file. The <class>.cfg files are only executed when you switch to that class not each time you respawn.
If this didn't answer your question...try to explain what you are missing please. |
|
Back to top |
|
|
SoDum Registered User
Joined: 27 Apr 2002 Location: NY Posts: 635
|
Posted: Tue Jun 18, 2002 11:51 am Post subject: |
|
|
I figured that out a while back. :p
I didn't know what i needed to make the files. I dled HLToolz though, which has a config editor. _________________
Stillness of Body, Focus of thought, oneness of spirit. These are the virtues of a concer.
The only man to boycott happiness! |
|
Back to top |
|
|
ToRaK Registered User
Joined: 08 Feb 2002 Location: North Carolina Posts: 1105
|
Posted: Tue Jun 18, 2002 12:24 pm Post subject: |
|
|
Hard way...?
That's the way I did it. _________________ The most hated.
|
|
Back to top |
|
|
Doomday Registered User
Joined: 12 May 2002 Location: Stockholm, SWE Posts: 58
|
Posted: Tue Jun 25, 2002 6:16 am Post subject: |
|
|
Thx for the info guys!! _________________
http://www.clan-njk.com/
#njk-clan |
|
Back to top |
|
|
Computer Registered User
Joined: 15 Feb 2002 Location: Dah A T L Posts: 1336
|
Posted: Tue Jun 25, 2002 3:34 pm Post subject: |
|
|
Ok I attempted to combine the thoughts of cyco and torak on this. In my class.cfg I added
messagemode "say_team [Class] |%h : %a|
which worked!!!!! ................. once.
is there anyway to get this to be before my name each time I speak by just adding it to the class specific .cfg file in my SEIRRA/Half-life/tfc folder? _________________ "Don't be so humble - you are not that great."
|
|
Back to top |
|
|
EagleEyes Registered User
Joined: 30 Nov 2001 Location: San Diego Posts: 435
|
Posted: Tue Jun 25, 2002 11:08 pm Post subject: |
|
|
JR you can use Notepad to make .cfgs. You just have to save it as a .cfg file. _________________
|
|
Back to top |
|
|
Computer Registered User
Joined: 15 Feb 2002 Location: Dah A T L Posts: 1336
|
Posted: Tue Jun 25, 2002 11:11 pm Post subject: |
|
|
That was my problem teh whole time. I had them saved as .txt files and i was try exec a .cfg file and it was giving me and error.
Don't I hate getting beat by my Computer? _________________ "Don't be so humble - you are not that great."
|
|
Back to top |
|
|
cobra Server Admin
Joined: 18 Apr 2002 Location: having fun with Loka and Tickles! Posts: 6806
|
Posted: Wed Jun 26, 2002 11:02 am Post subject: |
|
|
just go to your config.cfg, like this it counts for every class you play.
here's one:
bind "o" "say_team I need a medic/engineer [Health%h,Armor%a]"
or you can just use: bind "o" "say_team [Health%h,Armor%a]"
i prefer the first one like that you don't need to call the medic each time.
Certaintly don't forget to set say_team otherwise everybody will be able to read it!!!!!!!!!!!!!! _________________ PROUD TO BE A MEMBER OF =US-V= & VILLE $UPPORTER |
|
Back to top |
|
|
Computer Registered User
Joined: 15 Feb 2002 Location: Dah A T L Posts: 1336
|
Posted: Wed Jun 26, 2002 11:12 am Post subject: |
|
|
This wasn't what I was referring to. I when I hit "u" or whatever you have bound to "say_team" automatically have written "[Class] %h | %a" without havign to type it at all and it's before no matter what I say in team chat.
To make that bind a little better why don't you add "saveme" before that and you will also be shouting medic , _________________ "Don't be so humble - you are not that great."
|
|
Back to top |
|
|
|