Page 1 of 1
Pane limits on dialogue
Posted: Thu Apr 27, 2006 5:44 am
by »StaffShock«
I'm making a level for my campaign with a LOT of trees, the max amount of players, and a bush on fire that a guy is sitting by. It starts and ends with a 22 pane dialogue, and no matter how many times I go around doing the dialogue,(which is very intricate by the way) it freezes. This happened multiple times before on other maps, but I did it just like the other times it worked and it still freezes. Is 22 panes too long? I know that the actual text isn't since I barely ever have to break a line, but it doesn't make much sense.
I'd also prefer not to disclose my dialogue for this level just yet since I'd like it to be a surprise.

Posted: Thu Apr 27, 2006 6:37 am
by Silb
Cool, another campaign!
22 panes is not too long, I've done worse. Lugaru often freezes when you're just done editing a dialogue, but you can still call the console and save your map normally, at least on my computer.
Btw, you may want to check this out:
http://wolfire.com/wiki/index.php?title ... ooting_FAQ
Posted: Thu Apr 27, 2006 10:18 pm
by Silb
Staffshock sent me his crashing dialogue. It turns out there's a general issue.
Dialogue strings of length 10 crash.
Add a "#" character at the end to fix this (it won't appear in the dialogue)
Example:
"Let's see." is 10 characters so that won't work. Change it to:
Technical explanation: when Lugaru saves the dialogue, it changes ASCII 10 to ASCII 13 for line breaks, but for some reason it does it for string lengths as well.
Posted: Fri Apr 28, 2006 5:33 am
by »StaffShock«
Woah, I'm not even gonna ask how you know that!
Thanks for your help so much!