all the lugaru wiki data on dialogues can be found here: http://wiki.wolfire.com/index.php/Dialogues
there is lots of data that show how to make and save dialogues, yet opening and rendering dialogues seems to be out of focus in the wiki.You can write your dialogue following the patterns of the dialogue files found in "Dialogues", inside the "Data" folder located within your Lugaru folder. There are plenty of examples.
Try opening "Example.txt", for instance. You'll get:
Dialogue boxes: 7
Box 1:
Location: 1
Color: 0.0 0.0 0.0
Name: Turner
Text: Hi, Skipper!
Sound: 7
Box 2:
Location: 2
Color: 0.0 0.0 0.2
Name: Skipper
Text: Hey, Turner!
Sound: 7
Box 3:
Location: 2
Color: 0.0 0.0 0.2
Name: Skipper
Text: What's all this talk about hiring guards?
Sound: 1
Box 4:
Location: 2
Color: 0.0 0.0 0.2
Name: Skipper
Text: There's never been any trouble here while I've been in\charge!
Sound: 4
Box 5:
Location: 1
Color: 0.0 0.0 0.0
Name: Turner
Text: The raiders are getting more confident... you never\know.
Sound: 1
Box 6:
Location: 2
Color: 0.0 0.0 0.2
Name: Skipper
Text: I've seen you when you get mad; I think you could\take care of yourself.
Sound: 6
Box 7:
Location: 1
Color: 0.0 0.0 0.0
Name: Turner
Text: It's not me that I'm worried about.
Sound: 4
Just write your own dialogue using the precise same format. Here is a description of the different attributes:
Dialogue boxes: n- number of panes in your dialogue.
Box n:- pane number n.
Location: n"- 1 = on top of screen, 2 = on bottom.
Color: r g b- each number r, g, b corresponds to the amount of red, green, and blue. It should be a number between 0.0 and 1.0, written in the format of 0.2, for example.
Name: Whatever- Name of the speaker.
Text: Whatever- The text itself. Must never be longer than 128 characters, and should include a "\" (backslash) every 50 or so characters to create a line break.
Sound: n- Quote David: "I think 1-2 are chitter sounds, 3-4 are pain, 5-8 are attack, or something along those lines".
Here's a kind of guide:
-0 Silence
-1 chitchat, mountingdescending
-2 Very similar to above
-3 Scroosh, plain and short
-4 Screech! pain!
-5 truhu, short chatter
-6 Creetsh, attack!
-7 aha, short banter
-8 Scroosh, short, affirmative tone
-9 Wolf growl
-D Wolf casual bark
-F Wolf bark
-10 Wolf chitchat bark
BUG!: 'Text' fields that are either 10 or 13 characters long make the map crash. For example:
Text: You knew him?
won't work because 'You knew him?' is 13 characters. To solve the problem, add a '#' at the end of the string, like this:
Text: You knew him?#
The '#' won't appear in the actual dialogue.
Then, save your dialogue as, say, "YourDialogue.txt" in the aforementioned Dialogues folder.