Jump to content
Sillara of the Tamari

SOA to TOB script transition

Recommended Posts

All right, I have a single mod installation for both SoA and ToB. I have used this Ghareth-esque setup before (for Tsujatha), and it worked without difficulty. Now, however, I am having problems. My new NPC, Yasraena, gets into ToB from SoA, and her ToB .baf suddenly does not work. wallbash.gif Her 25J file works (except, for some reason, the Volo bit, posted later in this), and her B25 works. I tested those. But her .baf does NOT function. It is not supposed to do much, really, just control her area-specific interjections and her sword upgrades and code. But NOTHING is happening. NONE of her area-specifics fire, nor does she upgrade her weapons. I cannot see why, however. This is the relevant code from my .tp2:

 

COMPILE ~Yasraena\Scripts\YSAR0603.baf~ ~Yasraena\Scripts\YSAR2200.baf~ ~Yasraena\Scripts\YSAR2800.baf~ ~Yasraena\Scripts\YSAR0300.baf~ ~Yasraena\Scripts\YSAR0704.baf~ ~Yasraena\Scripts\YSAR5202.baf~ ~Yasraena\Scripts\YSAR6100.baf~
COMPILE ~Yasraena\Scripts\YASRAENA.baf~ ~Yasraena\Scripts\YASRAE25.baf~ ~Yasraena\Scripts\DIVALIR.baf~ ~Yasraena\Scripts\DIVALIR1.baf~ ~Yasraena\Scripts\YSDROW.baf~ ~Yasraena\Scripts\YSCPTN.baf~ ~Yasraena\Scripts\YSTMCPTN.baf~ ~Yasraena\Scripts\YSTMELF.baf~ ~Yasraena\Scripts\YSNETHR.baf~ ~Yasraena\Scripts\YSMOM.baf~ ~Yasraena\Scripts\YSSIS.baf~ ~Yasraena\Scripts\YSDIVELF.baf~ ~Yasraena\Scripts\YSDEMON.baf~ ~Yasraena\Scripts\YASRAENX.baf~

COMPILE ~Yasraena\Scripts\YASRAEND.baf~
COMPILE ~Yasraena\Scripts\YSARREST.baf~
COMPILE ~Yasraena\Scripts\YSDEATH.baf~
COMPILE ~Yasraena\Scripts\YSBETRAY.baf~
COMPILE ~Yasraena\Scripts\YSFIX.baf~

 

And this, later in the .tp2:

 

COPY_EXISTING ~Yasraena.bcs~ ~override\Yasraena.bcs~
REPLACE ~99990~ ~You shall never touch Fireflower again! Divalir gave it to ME!~
REPLACE ~99991~ ~I refuse to leave without Fireflower.~
REPLACE ~99992~ ~Ironkiss is MINE alone!~
REPLACE ~99993~ ~I will not leave this gift of Divalir's behind!~


COPY_EXISTING ~Yasrae25.bcs~ ~override\Yasrae25.bcs~
REPLACE ~00001~ ~You shall never touch Fireflower again! Divalir gave it to ME!~
REPLACE ~00002~ ~I refuse to leave without Fireflower.~
REPLACE ~00004~ ~Ironkiss is MINE alone!~
REPLACE ~00003~ ~I will not leave this gift of Divalir's behind!~


/* Append dialogue files to pdialog.2da */
APPEND ~pdialog.2da~
~YASRAENA YASRAENP YASRAENJ YASRAEND~
UNLESS ~YASRAENA~
UNLESS ~25POST~

APPEND ~pdialog.2da~
~YASRAENA YASRAENP YASRAENJ YASRAEND YASRA25P YASRA25J YASRAE25~
UNLESS ~YASRAENA~
IF ~25POST~

/* Append banter dialogue to interdia.2da */
APPEND ~interdia.2da~
~YASRAENA BYASRAEN~
UNLESS ~YASRAENA~
UNLESS ~25FILE~

APPEND ~interdia.2da~
~YASRAENA BYASRAEN BYASRA25~
UNLESS ~YASRAENA~
IF ~25FILE~

 

Now, I do realize that I am switching to a .bcs instead of the .baf. Is that what is causing the problem? (I have to do this because of the string heads.) Is there something else that is not right here? Weidu has no problem with any of this.

 

(I posted this earlier over at FWS, too, but CamDawg is the one helping me out here. I figured it might be easier to move it back here. ;) )

 

Anyway, using CamDawg's :blush: help with another problem, I think that the reason my NPC's script is not working is that somehow the game does not think she is in the party. You see, I was having a problem with a Volo loop, but, according to the code (since fixed), the loop should only have occurred if she was NOT in the party.

 

This is really odd. Does anyone have any ideas?

 

Sillara, the sadly perplexed :cry:;)

Share this post


Link to post

Hmm. One possibility is that her death variable isn't set properly in the cre file. It might explain why nothing in the script is triggering and why that Volo InParty interject is evaluating false.

Share this post


Link to post

The script isn't assigned because you're missing a slot.

 

~J#Kelsey J#KlsyP J#KlsyJ J#KlsyD J#Kls25P J#Kls25J J#Kls25D J#Klsy25~

 

~YASRAENA YASRAENP YASRAENJ YASRAEND YASRA25P YASRA25J YASRAE25~

 

Notice what's missing here? Your TOB D script.

 

(Paranoid, I double-checked Ghareth's code as well, but he has all 8 slots populated, too.)

 

Oh, and good call moving your question somewhere that doesn't ban modders. See how much more efficient it is when people are allowed to give answers?

Edited by jcompton

Share this post


Link to post

Thank you! Her DV was working throughout all of SOA, so I figured there was some other problem. That's it! I don't have a dream script for TOB because I don't have anything triggered by it. But it is easy to whip up an empty one. Thank you again!

 

And, yes FWS is not what it used to be. :blush:

 

Sillara, the extremely happy :cry:;);)

Share this post


Link to post

@ CamDawg and jcompton

 

hey, thanks a bunch for your help. just tested it, and it works! nice to know there are people out there with great advice!! :blush:

Share this post


Link to post

As a side note, I don't think you need an empty D.bcs file. If it's listed but doesn't exist, the engine just ignores it instead of going flaky.

Share this post


Link to post
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...