freenode/#shirakumo - IRC Chatlog
Search
14:40:40
Shinmera
From what I can figure, the game consists of multiple storylines, some of which may happen in parallel
14:41:18
Shinmera
each storyline is composed of a number of dialog sequences, where a dialog is invoked by a trigger.
14:42:20
Shinmera
a dialog is composed of textual strings and other display data, such as the current profile and expression displayed along the text
14:44:07
Shinmera
one problem I'm not sure how to deal with yet is if you had multiple interaction triggers with the same NPC at once
14:44:41
Shinmera
in that case there'd have to be a choice where the player can select what to talk about
14:45:28
Shinmera
I'm also not sure how to neatly organise the information of triggers and dialog sequences
14:45:46
Shinmera
since it's a graph, textual representations for that kind of thing tend to get messy
17:45:14
jasom
Shinmera: IF engines have solved this problem many times already; if you do want to go the graph route, I suggest stealing their ideas.
17:46:36
jasom
Shinmera: also for games that do not offer dialog choices (e.g. early JRPGs) they usually just use the first entry in their table if 2 different events have been triggered. Then subsequent talking will move on to the next item
17:47:08
Shinmera
Yeah, I thought of that but if you have multiple questlines it would be confusing to do it that way
17:48:12
Shinmera
Doing it like infinity engine games (fallout etc) where you get a menu system to choose what to talk about would solve the problem adequately in my opinion
17:48:35
jasom
they often present the illusion of very complex behavior with very simple rules (since they were written in the era of cassette drives).
17:49:56
jasom
If it's unusual for a single NPC to have multiple choices, it may be more expedient to go the simpler route, but otherwise you'll want menus.
17:50:21
Shinmera
I was thinking just picking the first one automatically if there's only one active storyline
17:52:06
jasom
If each questline has a natural name, you could just have interactions with PCs that have multipe triggers be "Talk about ...\n -> Quest Name 1\n Quest Name 2"