This guide will show you how to make multi-box dialogue, in simpler words, have an NPC talk within multiple dialogue boxes instead of one
Step 1
- Place your NPC, I will take a pet Slime for example
- (Optional): Enter a unique dialogue, for example: "Pet Slime - Change this :D"
Step 2
- Save, and quit your dungeon
Step 3
- Open the dungeon file with the Locate button, you can also find your dungeon manually in your
CreateDungeonsfolder
Step 4
- In the file, locate your NPC, You can use the
Search and Findand search for your dialogue, in my case i search for: "Pet Slime - Change this :D", you can also search forQuestMaster:Slime, but if you have multiple Pet Slime in your dungeon it could be very hard to modify the right one
You will find something like this:
{
"Entity": "QuestMaster:Slime",
"Position": {
"X": 0.5,
"Y": 1.5
},
"Condition": null,
"Group": null,
"Receivable": null,
"Direction": "Right",
"Message": "Pet Slime - Change this :D",
"Buffs": [],
"Focus": "QuestMaster:NeverFocus"
}
Step 5
- Modify the
Messagepart, if the message is too long, the game will split the message in different dialogue boxes, you can use:\n(new line) to pad your message
Here is what I end up this:
{
"Entity": "QuestMaster:Slime",
"Position": {
"X": 0.5,
"Y": 1.5
},
"Condition": null,
"Group": null,
"Receivable": null,
"Direction": "Right",
"Message": "Test\n\n\nTest2\n\n\nTest3\n\n\nTest4",
"Buffs": [],
"Focus": "QuestMaster:NeverFocus"
}
Step 6
- Make sure to save your file
- Can you now safely open your dungeon in game to test your change, if the change does not match your expectations, close your dungeon, without saving, modify your file, and repeat
Demo:
