View previous topic :: View next topic |
Author |
Message |
Firestone Posting Spree!
Joined: 16 Mar 2004 Location: Prag, Zlin - Czech Republic
|
Posted: Wed Aug 12, 2009 12:42 pm Post subject: Bots chat block as a server variable? |
|
|
Hi,
it's possible to block bots' messages (chat) in game as a server variable or it's only one way that lead to block it via client? Thanks for info. |
|
Back to top |
|
|
Kilgore Air Cavalry
Joined: 17 Jun 2003 Location: Up the river
|
Posted: Mon Aug 17, 2009 11:29 pm Post subject: |
|
|
Here is some bot-chat related info that has slipped through the cracks and has not been documented so far.
You can adjust a bot's chat probabilities from bots.cfg with a line like:
Code: | chatprob "90 100 90 90 25 25 35" |
Each number represents the chat probability for a given event and there are 7 relevant events for bot chatter:
- 1. CHAT_EVENT_ENTRY: Bot enters the game
- 2. CHAT_EVENT_END_TOP: Bot ends the round at the top
- 3. CHAT_EVENT_MIDDLE: Bot ends the round in the middle
- 4. CHAT_EVENT_BOTTOM: Bot ends the round at the bottom
- 5. CHAT_EVENT_FRAG: Bot frags someone.
- 6. CHAT_EVENT_SUICIDE: Bot commits suicide.
- 7. CHAT_EVENT_BFG_DEATH: Bot dies from BFG.
All numbers are probabilities, so they must range between 0 and 100. If a number lies outside the range, it's ignored and the default value (as shown above) is used.
So... if you want a completely silent bot, you can specify something like:
Code: | chatprob "0 0 0 0 0 0 0" |
If you want a BFG whiner bot, you'd specify:
Code: | chatprob "0 0 0 0 0 0 100" |
Another interesting point: you can specify the probabilities either inside a given bot's section (in which case it applies to the given bot only), or outside of all bot sections (in which case it applies to all bots unless overriden by something bot-specific). It's pretty flexible that way. |
|
Back to top |
|
|
Firestone Posting Spree!
Joined: 16 Mar 2004 Location: Prag, Zlin - Czech Republic
|
Posted: Tue Aug 18, 2009 8:14 am Post subject: |
|
|
Ooh! That's GREAT! That will help. Thanks alot, man |
|
Back to top |
|
|
|