View previous topic :: View next topic |
Author |
Message |
cobra Server Admin
Joined: 18 Apr 2002 Location: having fun with Loka and Tickles! Posts: 6806
|
Posted: Sat Jul 27, 2002 8:07 am Post subject: class |
|
|
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 |
|
|
Lin Sivvi Defiant Hero Registered User
Joined: 17 Jan 2002 Location: Some small boring city Posts: 1205
|
Posted: Sat Jul 27, 2002 8:48 am Post subject: |
|
|
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:
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 |
|
|
cobra Server Admin
Joined: 18 Apr 2002 Location: having fun with Loka and Tickles! Posts: 6806
|
Posted: Sun Jul 28, 2002 8:09 am Post subject: |
|
|
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 |
|
|
|