Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [dialogue-tree]

Dialogue trees are a gameplay mechanic used in many video games. They manage player interaction with NPCs and help gameplay and storytelling be more varied.

Filter by
Sorted by
Tagged with
1 vote
2 answers
118 views

Design patterns for non-modal (in-game) dialogues/cutscenes in a game engine

I want to create a scripted dialogues/sequences between NPCs and/or PC during the game. I have a DSL to configure a PC's dialogue with one NPC, inspired by Inkle and Twine. Now, I need a dialogue ...
user avatar
0 votes
2 answers
472 views

Dialogue trees voiceover

I am planning to get my game dialogue trees voiced. Something like this: However I am not sure how can I hand in the dialogue scripts in any understandable format for both me and the voice actor. The ...
user avatar
0 votes
1 answer
144 views

looking for a system for writing branching dialog

I'm creating an HTML5 RPG and need to write NPC dialog. In my beta, I wrote the dialog in spreadsheets and assigned lines to NPC by ID. Branching required writing a complicated flag system. It was ...
user avatar
  • 1,035
0 votes
2 answers
145 views

Is it possible to use a string somehow converted to match name of a bool?

I have a Json file holding data for my LineData type i created. ...
user avatar
2 votes
2 answers
2k views

Structuring game narrative. Handling NPC, Quest, General Dialogue. Is Json/XML the right way to go? Or any other solutions?

Hello guys I'm try to make some games that have more to it than just simple high score scrolling shooters etc. I'm trying to design my own systm of handling narrative. I want to be able to place NPC'...
user avatar
4 votes
3 answers
4k views

Making dialogue different with each playthrough

I'm making a little demo game where roughly half of the NPCs in a little town have a profession, as well as a personality. I'm trying to have the game procedurally create dialogue, so when an NPC is ...
user avatar
  • 53
2 votes
2 answers
675 views

C# Adventure Game - Simple Dialog System

For school we have to make a small adventure game in C# (Visual Studio 2015) with a custom game engine made by our teacher. Now I want to implement a small dialog system between Liz (The main characer)...
user avatar
  • 105
4 votes
0 answers
914 views

How to develop and optimize the illusion of meaningful character development between the player and NPCs? [closed]

How to develop and optimize the illusion of meaningful character development between the player and NPCs? It's very hard for a game developer to create unlimited dialogue options for just one NPC for ...
user avatar
0 votes
1 answer
114 views

XML format for dialogs with choices [closed]

I'm trying to figure out a good way to implement dialogs (that is, talks, not UI's). My thoughts so far: I see a dialog as a tree of sentences (or better, a forest), so I think that XML is a good ...
user avatar
  • 103
0 votes
3 answers
1k views

In HaxeFlixel, how do I avoid hard-coding dialogue?

I'm planning to develop a visual novel in Haxe Flixel and wanted to know if there is a easier way to add dialogue than to hardcode them in every square. I don't know if I can import a txt file with ...
user avatar
41 votes
9 answers
15k views

Why is it bad to hard-code content?

I know most games store dialogue text in files, but I've also seen a few text-based games actually program the content (map, choices, possible player commands, story text) into the game code. I can ...
user avatar
  • 509
3 votes
1 answer
248 views

Conversation tree and question locking/unlocking

I have been having issues with managing a conversation tree. I am using PAWN as a scripting language (I have no other options, unfortunately) and I use MySQL databases to store user and game data. My ...
user avatar
2 votes
0 answers
149 views

Pitfalls in designing a coop dialog system [closed]

I like the complex, branching structure of games like visual novels and RPGs like Mass Effect. But I also like multiplayer cooperative games. So I thought, "What if there was a multiplayer dialog ...
user avatar
2 votes
2 answers
2k views

RPG: store dialog

I'm creating a single player web RPG. I was originally storing NPC dialog in a JS object. I could cycle through lengthy dialog in an array as I wanted. I can also store objects with K:V pairs. That ...
user avatar
  • 1,035
3 votes
1 answer
894 views

How to implement scripted events?

I'm building a game in C++ (using SDL) for a college project, I'm trying to figure out how to script events that happens when a player does something, or some time passes etc. I have a and idea of ...
user avatar
11 votes
3 answers
7k views

How do I implement branching dialogue in javascript?

I'm making a very basic visual novel type of game in JavaScript. I'm a beginner, so I'm just doing this for fun and learning, and due to bad planning I have run into a bit of a problem when you get to ...
user avatar
-3 votes
2 answers
150 views

Where can I find complete multilingual in-game dialogue transcripts? [closed]

I'd like to do some linguistic analysis. It doesn't matter if it's a AAA title or not; the requirement is only that it should be the complete transcript from the official game and that it's ...
user avatar
  • 2,298
24 votes
6 answers
19k views

How do dialog trees work?

That is, what is connected to what and how to move between lines of speech when a sub-conversation ends? If you have any examples of a basic dialog tree in C#, please post them.
user avatar
  • 1,379