Modify

Ticket #74 (closed bug: fixed)

Opened 10 years ago

Last modified 9 years ago

Implement framework for dialog options in npc dialog

Reported by: anonymous Owned by: bretzel_parpg
Priority: major Milestone: Milestone 1
Component: scripts Version: trunk
Keywords: Cc:
Blocked By: Blocking:
Department:

Description

This is the first step in implementing a multiple tree dialog system. The goal of this task is to implement the framework for allowing the user to pick from a several dialog options when talking with an NPC and to have the npc respond differently to each option. A GUI is not required at this point, options could be choosen by numbers or letter mapped to each option.

Attachments

Change History

comment:1 Changed 10 years ago by bretzel_parpg

  • Owner changed from parpg to bretzel_parpg

comment:1 Changed 10 years ago by Kaydeth_parpg

  • Milestone changed from Techdemo 1 to Milestone 1

comment:3 Changed 9 years ago by orlandov

  • Status changed from new to closed
  • Resolution set to fixed

(In [287]) Ticket #74: Patch by or1andov, Integrate dialogue GUI and engine into game.

It should now be possible to engage in a conversation with NPC characters by selecting talk from their context menu.

Known Issues:


  • the GUI is terrible. instead of a dialog window, we could use a better looking background image and fixed position widgets
  • requires PyYAML to be installed

  • we have to create a simple state model for the PC can remember tasks
  • need to make NPC's be able to remember things - need a model in NPCs for this
  • no way currently to give or take items from npc's; again, more model work. this could be done by adding another callback similar to start_quest. may be necessary for npc's to have an inventory for this
  • The dialogue engine is not hooked up to specific NPC's... it currently always loads dialogue/sample.yaml - need to have the dialogue looked up from some XML attribute
  • dialogue is not broken off if the PC moves away from the NPC
  • npc image is hardcoded, it should use the image specified in the yaml file closes #74
View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.