Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [dialog-tree]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
135 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. ...
2
votes
2answers
368 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'...
4
votes
3answers
2k 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 ...
2
votes
2answers
515 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)...
3
votes
0answers
893 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 ...
0
votes
1answer
101 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 ...
0
votes
3answers
804 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 ...
41
votes
9answers
14k 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 ...
3
votes
1answer
208 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 ...
2
votes
0answers
145 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 ...
2
votes
2answers
1k 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 ...
3
votes
1answer
744 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 ...
11
votes
3answers
5k 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 ...
-3
votes
2answers
136 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 ...
20
votes
6answers
14k 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.