Is it intended, necessary, and or a good idea to have every AI respond to every chat message typed in the messages window?
Particularly for a multiplayer game with two humans who actually are trying to chat, this seems like it would be quite annoying.
AI Chattiness
Moderator: Committer
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
AI Chattiness
- Attachments
-
- ai responding to chat messages
- ai_chat_responses.png (48.97 KiB) Viewed 1586 times
Re: AI Chattiness
Currently intended, yes, though largely as a placeholder. I didn't want them to just be totally ignoring all chat, but until we get something more interesting going we could just have them respond that first time.Geoff the Medio wrote:Is it intended, necessary, and or a good idea to have every AI respond to every chat message typed in the messages window?
Well, I would think they should using directed chat then, not open channel?Particularly for a multiplayer game with two humans who actually are trying to chat, this seems like it would be quite annoying.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: AI Chattiness
If there's just two, or all the humans are friendly, not necessarily.Dilvish wrote:Well, I would think they should using directed chat then, not open channel?...a multiplayer game with two humans...
Re: AI Chattiness
ok, sometime over the weekend I should be able to hush them up a fair bit. It's also making me think we should adjust the main interface spec also (AIInterface.h) it calls for the AI to respond to the message knowing only the sender and the text, but it's actually in AIClient.cpp that the ReceivingPlayer info gets stripped out -- I guess it hadn't crossed anyone's mind that it could be useful to distinguish open channel chat from directed chat.
Also, something that comes to mind, akin to the 'help' command, we could have all the AI's accept a "Be quiet" command via chat. I guess that would solve the problem too
Also, something that comes to mind, akin to the 'help' command, we could have all the AI's accept a "Be quiet" command via chat. I guess that would solve the problem too
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
- adrian_broher
- Programmer
- Posts: 1156
- Joined: Fri Mar 01, 2013 9:52 am
- Location: Germany
Re: AI Chattiness
Just let them respond if they're directly addressed. Matching them only respond when the text contains a pattern like '@<NAME>' for a single AI to respond and '@all' for making them all respond.Dilvish wrote:Also, something that comes to mind, akin to the 'help' command, we could have all the AI's accept a "Be quiet" command via chat. I guess that would solve the problem too :lol:
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
Re: AI Chattiness
Something like that will be good if/when we have them saying something more. For now I already put in some more restrictions so they don't respond more than once, and not necessarily to the first chat, so they don't all respond at the same time. It's all just a trivial bit of flavor.adrian_broher wrote:Just let them respond if they're directly addressed. Matching them only respond when the text contains a pattern like '@<NAME>' for a single AI to respond and '@all' for making them all respond.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0