View Single Post
Old 2007-09-06, 10:17   Link #422
dsp2003
Member
 
Join Date: Jul 2007
Forgot to add: ALL PREVIOUS savegames will be INCOMPATIBLE with the game now. That's the UNSOLVEABLE problem (you'll have to start the new game).

Hint. If you don't have enough space for the text (i.e. 5x48 is not enough), then... you can simply ADD new string (and DELETE some of them if necessary)!

---

--------------------------------------------------------------------------
{ 0} - end of string, end of table entry, end of item ???
{ 1} - set cursor at the next line (Return)
{ 2} - end of text string byte 1, player click parser ???
{ 3} - end of text string byte 2, player click parser ???
{ 4} - ???
{ 5} - unterminated string byte 1 ???

{ 11} - begin of command selection ???
{ 12} - append string ???
{ 13} - begin of voice file identifier
{ 14} - text window type (speech dialog), Clear Screen instruction?

{128} - unterminated string byte 2 ???
--------------------------------------------------------------------------

Example (decompiled script):

{14}{5}{128}{0}{0}The string is too long...{2}{3}{0}

--->>>

{14}{5}{128}{0}{0}The string is too long...{2}{3}{14}{5}{128}{0}{0}...so we have splitted it.{2}{3}{0}

128 (integer) is a 80 in hex (use the Calculator to convert the values if you want).

A few other examples:

Simple string --

{14}{5}{128}{0}{0}This is a testing string.{2}{3}

Simple multilined string --

{14}{5}{128}{0}{0}This is {1}a testing {1}string.{2}{3}

Simple dialog string (default for player) --

{14}{5}{128}{0}{0}[Player]{1}This is a testing string.{2}{3}

{13}WAVEFILE{0} makes the string voiced, so...

Simple voiced dialog string --

{14}{13}WAVEFILE{0}{5}{128}{0}{0}[Girl]{1}This is simply a test!{2}{3}

WAVEFILE is the name of WAF file in the voices.dat (without WAF extension).
dsp2003 is offline   Reply With Quote