FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
.cfg files...

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    The Ville.org Half-Life Gaming Community Forum Index -> F-A-Q
View previous topic :: View next topic  
Author Message
SoDum
Registered User


Joined: 27 Apr 2002
Location: NY
Posts: 635

PostPosted: Wed Jun 12, 2002 7:48 pm    Post subject: .cfg files... Reply with quote

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
View user's profile Send private message
Bright Red Nipples
Registered User


Joined: 26 Mar 2002
Location: at work :s
Posts: 7684

PostPosted: Wed Jun 12, 2002 11:37 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
SoDum
Registered User


Joined: 27 Apr 2002
Location: NY
Posts: 635

PostPosted: Thu Jun 13, 2002 1:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Vulcan
Registered User


Joined: 29 Dec 2001

Posts: 2773

PostPosted: Thu Jun 13, 2002 1:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
ToRaK
Registered User


Joined: 08 Feb 2002
Location: North Carolina
Posts: 1105

PostPosted: Thu Jun 13, 2002 1:15 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
CyC0Dad
Registered User


Joined: 19 Jul 2001
Location: Phoenix, AZ
Posts: 1382

PostPosted: Tue Jun 18, 2002 11:45 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
SoDum
Registered User


Joined: 27 Apr 2002
Location: NY
Posts: 635

PostPosted: Tue Jun 18, 2002 11:51 am    Post subject: Reply with quote

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
View user's profile Send private message
ToRaK
Registered User


Joined: 08 Feb 2002
Location: North Carolina
Posts: 1105

PostPosted: Tue Jun 18, 2002 12:24 pm    Post subject: Reply with quote

Hard way...?

That's the way I did it.
_________________
The most hated.
Back to top
View user's profile Send private message Send e-mail AIM Address
Doomday
Registered User


Joined: 12 May 2002
Location: Stockholm, SWE
Posts: 58

PostPosted: Tue Jun 25, 2002 6:16 am    Post subject: Reply with quote

Thx for the info guys!!
_________________


http://www.clan-njk.com/
#njk-clan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Computer
Registered User


Joined: 15 Feb 2002
Location: Dah A T L
Posts: 1336

PostPosted: Tue Jun 25, 2002 3:34 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
EagleEyes
Registered User


Joined: 30 Nov 2001
Location: San Diego
Posts: 435

PostPosted: Tue Jun 25, 2002 11:08 pm    Post subject: Reply with quote

JR you can use Notepad to make .cfgs. You just have to save it as a .cfg file.
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
Computer
Registered User


Joined: 15 Feb 2002
Location: Dah A T L
Posts: 1336

PostPosted: Tue Jun 25, 2002 11:11 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
cobra
Server Admin
Server Admin


Joined: 18 Apr 2002
Location: having fun with Loka and Tickles!
Posts: 6806

PostPosted: Wed Jun 26, 2002 11:02 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Computer
Registered User


Joined: 15 Feb 2002
Location: Dah A T L
Posts: 1336

PostPosted: Wed Jun 26, 2002 11:12 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    The Ville.org Half-Life Gaming Community Forum Index -> F-A-Q All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group