Game Development Community

Seller /Talker bot.

by AzraelK · in General Discussion · 03/23/2002 (3:31 pm) · 5 replies

I want to add a bot that reacts only when someone chats with it /him/her, this bot could sell things, or just give info to the player, any idea on how to do this?

#1
03/23/2002 (4:38 pm)
You'd have to start parsing the chat message vector. Tons of tutorials on the net on simple text-drive message systems... just have it search for it's name and then parse whatever else is given to it.

Might be tricky to get working perfectly, but a bare-bones system shouldn't take too long.
#2
03/23/2002 (9:32 pm)
Hmm.. I was thinking more on a character that talked when you were near.. you know like the scientist in half life.
#3
03/23/2002 (10:05 pm)
Oh.... talked? You're just describing sounds that are played.

Just come up with some radius triggers for the shapebase object. Pry could do it all with script... easy.
#4
03/23/2002 (10:29 pm)
Oh thats true!, cool, sounds perfect, I will try that.
Thanks!
#5
03/23/2002 (11:37 pm)
Ever play Tribes RPG? Amazing mod...very, very original. Very fun, too. It has a high "cool" factor, being a (very) small scale MMORPG using the original Tribes engine, and it's free.

Dad, what's the point of this story?
I like stories.

(Tribes RPG had NPCs where you could buy/sell things from by saying...you guessed it..."buy" or "sell"...even had a bank. hot damn)