Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: japheth
« on: June 20, 2004, 12:40:11 PM »

I was able to do it with literal representations.  However, I had to use the % symbol rather than ~ or ".

Here's the test dialogue I used:

Code: [Select]
BEGIN ~japh~

IF ~~ jp1
SAY ~This is a test dialogue.~
IF ~~ THEN REPLY ~Oh yeah, test dialogue indeed.~ DO ~EraseJournalEntry(%The Night Time Is The Right Time

Blah, blah, blah.

Flippy, skippy, dippy.%)~ EXIT
END

And, after running weidu japh.d --tlkout dialog.tlk --out override and then decompiling the ensuing compiled dialogue, here's the output after decompiling:

Code: [Select]
// creator  : weidu (version 155)
// argument : JAPH.DLG
// game     : .
// source   : ./override/JAPH.DLG
// dialog   : ./dialog.tlk
// dialogF  : (none)

BEGIN ~JAPH~

IF ~~ THEN BEGIN 0 // from:
  SAY #74108 /* ~This is a test dialogue.~ */
  IF ~~ THEN REPLY #74109 /* ~Oh yeah, test dialogue indeed.~ */ DO ~EraseJournalEntry(74107)
~ EXIT
END

So, just use the % symbol as the delimeter when you want to use literal references for journal entries.
Posted by: Kismet
« on: June 20, 2004, 12:28:55 PM »

No, or at least not with the last version of WeiDU that I used (v155 perhaps?).  You don't have to traify the whole mod, build a .tra file by hand just for journal entries.

If you add/erase journal entries via a script, you can use ~text~ rather than a .tra reference.
Posted by: Guest
« on: June 20, 2004, 12:01:07 PM »

If I don't want to compose a .tra file can I write in .D file:

DO ~EraseJournalEntry(~String~)~

where ~String~ has just a literal representation?