Thread: Dialogue system
View Single Post
  #1  
Old 01-28-2010, 09:46 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Personally, I'd prefer a scripted method. Maybe something similar to a common way behavior trees are made:
PHP Code:
this.conversation newConversation()
  .
dialogue("Bob""head0.png""Hello, World!")
  .
dialogue(player.nickplayer.headimg"Sup")
  .
question("Bob""head0.png""How you doin?", {"Good""Alright""Bad"})
    .
answer("Good")
      .
dialogue("Bob""head0.png""Awesome. ttyl")
      .
toParent()
    .
answer("Alright")
      .
dialogue("Bob""head0.png""Cool, cool")
      .
toParent()
    .
answer("Bad")
      .
dialogue("Bob""head0.png""Sorry to hear that")
      .
toParent()
    .
toParent()
  .
dialogue(player.nickplayer.headimg"Smell ya later")
  ; 
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote