Posted by: erebusant
« on: May 18, 2008, 02:28:36 PM »First, let me say that WeiDU is an absolutely -awesome- tool, I've been modding my brains out with it after I finally grokked it a few days ago, and it really is an amazing tool, thanks so much to all for developing it. And I very much plan on making it up to the modding community For those who don't know already... if you were planning on running through Planescape Torment any time soon... hold off for another month or twoSo after a bit more experimentation using WeiDU v206 it appears the proper syntax for ALTER_TRANS uses a combination of @ and # to call a string from the same .tra file. My .d code that patches properly is as follows:
Anyways - on to my point. Took me a bit to figure out, but I believe I've detected an error in the WeiDU documentation, specifically the ALTER_TRANS tutorial.
It says these are some options::
# REPLY: The player’s reply, if any. i.e. "REPLY" ~REPLY #57922~
# JOURNAL: Can add or change the journal entry. i.e. "JOURNAL" ~JOURNAL @100~
# SOLVED_JOURNAL: Same as JOURNAL, except for entries into the solved section of the journal.
# UNSOLVED_JOURNAL: Same as JOURNAL, except for entries into the unsolved section of the journal.
# EPILOGUE: Specifies where the transition leads to (GOTO, EXTERN, or EXIT) i.e. EPILOGUE" ~EXTERN BVICONI 0~
# FLAGS: Used to set transition flags manually, though I can’t imagine why one would do this.
The examples for JOURNAL and REPLY, at least, are incorrect. The words REPLY and JOURNAL should not be repeated within the tildes, and it will not function if you do so. Working examples would be:
# REPLY: The player’s reply, if any. i.e. "REPLY" ~@57922~
# JOURNAL: Can add or change the journal entry. i.e. "JOURNAL" ~@100~
Took me a pretty good while to figure that out, heh.
(I'm doing PS:T which doesn't have translations, so I need to use @'s... I suspect it would need to be # signs for translations though)
Anyways, thanks all for the great work! (sinks back into weidu oblivion)
Qwinn
Code: [Select]
REPLACE_SAY JAHEIRAJ 358 @101
REPLACE_SAY KELDORJ 100 @102
REPLACE_SAY KELDORJ 101 @104
REPLACE_SAY EDWINJ 43 @103
REPLACE_SAY EDWINJ 44 @105
REPLACE_SAY MINSCJ 98 @106
REPLACE_SAY FIRKRA02 6 @107
ALTER_TRANS FIRKRA02 BEGIN 21 END BEGIN 0 END BEGIN ~UNSOLVED_JOURNAL~ ~#108~ END
ALTER_TRANS FIRKRA02 BEGIN 36 END BEGIN 2 END BEGIN ~REPLY~ ~#109~ END