FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
class

 
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 -> General Ramblings
View previous topic :: View next topic  
Author Message
cobra
Server Admin
Server Admin


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

PostPosted: Sat Jul 27, 2002 8:07 am    Post subject: class Reply with quote

hey guys i could use some help with the following.

I'm helping somebody reconfigering his config files.
No he asked me if it's possible to add your class to a bind.
So if you press the key it automatically tells you the class your playing.

so it should look something like this:

bind "o" "say_team I need a medic/engineer [class] [health%h,armor%a]

does someone know the bind??????

I tryed it with "[class]" and a lot of other stuff but it didn't work.

thx
_________________
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
Lin Sivvi Defiant Hero
Registered User


Joined: 17 Jan 2002
Location: Some small boring city
Posts: 1205

PostPosted: Sat Jul 27, 2002 8:48 am    Post subject: Reply with quote

First of all, it's not that simple. To me is was a fairly easy consept, but to many it is hard. First of all you need to open config.cfg and add this to it:

Code:
setinfo "ec" "1"


Then you will need to edit each and every class config (sniper.cfg, soldier.cfg, etc), and add something like this:

For sniper

Code:
bind o "say_team Hey I need some health, I'm a sniper with %h health and %a armour"


And then you will need to do that for every file, changing the word sniper to the class config that you are editing. You can do all the editing with notepad.
Back to top
View user's profile Send private message Send e-mail AIM Address
cobra
Server Admin
Server Admin


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

PostPosted: Sun Jul 28, 2002 8:09 am    Post subject: Reply with quote

I knew it could be done like that but i thought that there was a better way to do it.

but thanks anyway, if that is the only solution, then he will have too use that one.

thx
_________________
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
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 -> General Ramblings 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