IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Bot Chatting, expanding the situations?
Petco
post Feb 9 2008, 09:35 PM
Post #1


Newbie
*

Group: Members
Posts: 2
Joined: 26-January 08
Member No.: 1,290



CODE
############################################################
# RCBot chat file:
# %r : random player
# %b : random bad rep player
# %g : random good rep player (on team if teamplay)
# %m : map name
# %e : random enemy player
# %n : name of player in current chat situation.
#
# note: %r,%b,%g and %e lines will only be said by bots if a
#       good/bad rep/random/enemy player exists, same with %l
#       if a location doesnt exist
############################################################


As you know, this is the following stuff that can be used for chat.

Is there anyway to sort of expand this, is there a way to make bots chat to the person who killed them or bots chatting to the person they killed?

Also is there a way to make bots chat when they build a structure?

Another thing, is there anyway to make bots reply to specific words people type? Like if someone typed "Hacker", is it possible to make the bot reply to that person?

CODE
[thanks-friendly]
thx m8
cheers m8
thx %n
nice one
# talk a little, put some smileys in
[thanks-neutral]
thx
;)
:)
:D
:P
# hardly talk, gotta say something though :P
[thanks-unfriendly]
bleh
heh
...
:/
[greetings-friendly]
hello %n!
hi %n
hi m8
lo m8
hi
hello!


Also, about editing the bot chats. Things like "[thanks-friendly]", "[greetings-friendly]", [killed-friendly], [killed-unfriendly] I am kind of confused on how these work and how to edit them. First of all, what determines if a bot replies friendly or unfriendly? Second, is there a way to add more [situations] where the bots talks about events that are occuring (AKA, the hive is dying, someone built a structure, etc).


One last thing, is there a way to make bots just "randomly" talk and say stuff anytime?


Edit: Also, for some reason, the settings in bots_config.ini and other .ini files don't take affect, the settings are always the default even though I changed them.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LordSkitch
post Feb 10 2008, 09:11 PM
Post #2


I cuddle with my bots.
*****

Group: Moderator
Posts: 980
Joined: 16-April 04
From: Alvin, Texas
Member No.: 291



the bot chat file is a listing of things for the bots to say whenever it is they feel like saying stuff. they dont learn how to talk in that file or anything like that.

the megahal stuff in the bot profiles is where they learn, open up common_hal.trn in the profiles folder, youll see their basic brain training there. megahal is a system developed by some dude back in the day for a contest to make a computer seem intelligent while talking to people.. the more you talk to it the more words it learns, and learns how to use those words, etc...

the bots will reply to players if their name is said, minus any clan tags (eg: [RC] SpootBot will respond if you say, spootbot, how are you? or [RC] i hearts bots will respond if you say i heart bots what in the crap are you doing!) they'll also reply if they decide they want to (yes, the bots have to want to, or you have to say their name) and they detect key words.

so if you and i and some bots were in the game, you could say

lord skitch is a damn hacker!

and they'll learn <player name> = noun/subject "is a damn hacker!" = predicate, and theyll pick apart "is a damn hacker" for the individual word components, so later you could say

lord skitch is a fancy bastard!

and later the bots may end up saying

petco is a fancy hacker!


just make sure in bot_config.ini you have these settings:

config chat_percent 1
config chat_reply_percent 1
config chat_reply_to_bots 1
config chat_dont_learn 0
config chatting 1

and if youre using one of my builds you can add

config disable_humanize 1

cause for some reason they seem to mess words up more than they get it right...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 10:34 AM