Jump to content

SOA to TOB script transition


Sillara of the Tamari

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:;)

Link to comment

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?

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...