Page 1 of 1

a Wish: Talking bots

Posted: Sat Mar 22, 2014 3:48 pm UTC
by icaro440

Bots are fine (especially compared to urban terror bots), Fuma did a great job. Would be nice if the bots could talk, insult, taunt, provoke. as in quake 3.

in quake3 you can modify the dialogues of of the bots (its a text file) so you can even translate the dialogues into another language, or make them talk harder :)


Re: a Wish: Talking bots

Posted: Sat Mar 22, 2014 5:16 pm UTC
by Viech

They should definitely use vsays to tell you what they are about to do. That would even help debugging them, given that currently the only way to do so is gdb. :tongue:


Re: a Wish: Talking bots

Posted: Mon Mar 24, 2014 9:27 pm UTC
by Fuma

The existing behavior tree system does have limited "say" and "teamsay" actions available which take a string argument.
The best course of action would be to break up the current high level actions into their own behavior tree based behaviors ( e.g. action fight becomes a bunch of sequences, selectors, and conditions and low level actions like "fire" ). Then you could add say actions wherever you want among the behavior's code. Long ago, I nearly broke up the fight action ( which is definitely the most complex of all the behaviors ) just using behavior tree logic, so it is definitely possible.

The current system allows you to integrate these complex behaviors just by using "behavior <filename>" where <filename> is the name of a file that contains the other behavior tree.

I'm rather busy with real life atm, so I don't think I will be able to do this myself.