Game Development Community

Adventure game - implementing conversations

by James Brady · in Torque Game Engine · 08/17/2004 (10:57 am) · 3 replies

Hi,

I'd like to implement conversations with bots (NPCs) in an adventure game in Torque. The conversations could be menu-driven, where the player can select an answer from a list like:

Angry Orc: "Hey! Nobody gets in here without the password."

A. "Yes. The password. I know it."
B. "The password? Oh, I forgot it. It's downstairs. I'll be right back."
C. "Password? I don't need no stinkin' password!"

I guess I could use triggers to initiate the conversation when the player approaches a bot. I am looking for suggestions on how to:

1) make the GUI which shows the text and the choices
2) make this GUI appear (on the HUD) when the trigger is activated and disappear when a choice is selected
3) let the script know which choice was selected

Has anyone tried something like this ? Anyone know of any resources which could help me here ?

Thanks a lot,

James.

About the author

Recent Threads

  • Scripting Vehicle Bots

  • #2
    08/17/2004 (11:11 am)
    I'm not sure how much help it would be for an adventure, but there's an RPGDialog mod available in the resources section.
    #3
    08/18/2004 (3:07 am)
    Perfect guys - thanks for these links - I will try them out.