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.
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.
Torque Owner Eustacia Green