// Name of overall dialogue dictionary (currently not used in dialogue system)
[Header]
WarrenBeforeFire
// Default Character Information
// [CharacterName]:PortraitPosition[Left|Right]:[PortraitName]:[PortraitX int]:[PortraitY int]:[Mirrored|NotMirrored]:[ShowFrame|HideWindowFrame]
[Characters]
Thistle:Left:Portrait2:0:0:NotMirrored:ShowFrame
Nettle:Right:Portrait1:0:0:NotMirrored:ShowFrame
NettleSad:Right:Portrait3:0:0:NotMirrored:ShowFrame
// DialogueBlock
[Dialogue]
// Dialogue Header / Key
DialogueExample2
// Actual Dialogue
// CharacterName: "blah blah blah"
Thistle: "{enablefog:192,192,192}Thistle you look worried.{pause} Is that smoke I smell in the warren?"
Nettle: "{showcutscene:GreenForestPath} Nettle, a fire! It's close we must escape to the swamp. We'll be safe there.{pause}{removecutscene}"
Thistle: "{showcutscene:ForestFire} Ah! The fire comes, now I hear the roar is it too late?{wait:500}{removecutscene}"
[Dialogue]
DialogueExample4
Nettle: "The smoke is choking us out!"
Thistle: "Let's run for it!"
Nettle: "No, I am ready to do that, wait for my doe!"
Thistle: "We don't have time, we must go now."
NettleSad: ".{pause}.{pause}.{pause} Sigh, all right, I hope she has already left!"
// End section required (all lines ignored in this section)
[End]
[/code:3eweohlp]
This produces a json file:
[code:3eweohlp]
{
"c2dictionary": true,
"data": {
"DialogueExample2": "{\"c2array\":true,\"size\":[3,7,1],\"data\":[[[ \"{enablefog:192,192,192}Thistle you look worried.{pause} Is that smoke I smell in the warren?\"],[1],[\"Portrait2\"],[0],[0],[0],[0]], [[ \"{showcutscene:GreenForestPath} Nettle, a fire! It's close we must escape to the swamp. We'll be safe there.{pause}{removecutscene}\"],[2],[\"Portrait1\"],[0],[0],[0],[0]], [[ \"{showcutscene:ForestFire} Ah! The fire comes, now I hear the roar is it too late?{wait:500}{removecutscene}\"],[1],[\"Portrait2\"],[0],[0],[0],[0]]]}"
, "DialogueExample4": "{\"c2array\":true,\"size\":[5,7,1],\"data\":[[[ \"The smoke is choking us out!\"],[2],[\"Portrait1\"],[0],[0],[0],[0]], [[ \"Let's run for it!\"],[1],[\"Portrait2\"],[0],[0],[0],[0]], [[ \"No, I am ready to do that, wait for my doe!\"],[2],[\"Portrait1\"],[0],[0],[0],[0]], [[ \"We don't have time, we must go now.\"],[1],[\"Portrait2\"],[0],[0],[0],[0]], [[ \".{pause}.{pause}.{pause} Sigh, all right, I hope she has already left!\"],[2],[\"Portrait3\"],[0],[0],[0],[0]]]}"
}
}
[/code:3eweohlp]
Which I can then import into Construct and use.
(I also use a Makefile and cpp (preprocessor) to allow me to do file includes and use defines with my text files, but that's for another tool flow discussion...)