Jump to content


Photo

Compatibility issue Haer'Dalis + Sarevok Romance


  • Please log in to reply
No replies to this topic

#1 jastey

jastey
  • Administrator
  • 3219 posts

Posted 14 September 2019 - 09:28 AM

There is a compatibility issue if Haer'Dalis Romance is installed after Sarevok Romance: in ToB Sarevok's conflict dialogue leads to a stutter.

It's an easy fix: the dialogue needs to be tagged with WEIGHT #-1 so it can bypass the PID from the Sarevok Romance mod:

 

in tobbanter.d, this:

APPEND SAREV25J

IF ~Global("LS_SarevokHaerDalisPC","GLOBAL",2)~ LS_tobsar1
SAY @172
++ @173 DO ~SetGlobal("LS_SarevokHaerDalisPC","GLOBAL",3)~ + LS_tobsar1.a
++ @174 DO ~SetGlobal("LS_SarevokHaerDalisPC","GLOBAL",3)~ + LS_tobsar1.b
++ @175 DO ~SetGlobal("LS_SarevokHaerDalisPC","GLOBAL",3)~ + LS_tobsar1.c
++ @176 DO ~SetGlobal("LS_SarevokHaerDalisPC","GLOBAL",3)~ + LS_tobsar1.d
++ @177 DO ~SetGlobal("LS_SarevokHaerDalisPC","GLOBAL",3)~ + LS_tobsar1.e
END

needs to be this:

 

APPEND SAREV25J

IF WEIGHT #-1

~Global("LS_SarevokHaerDalisPC","GLOBAL",2)~ LS_tobsar1
SAY @172
++ @173 DO ~SetGlobal("LS_SarevokHaerDalisPC","GLOBAL",3)~ + LS_tobsar1.a
++ @174 DO ~SetGlobal("LS_SarevokHaerDalisPC","GLOBAL",3)~ + LS_tobsar1.b
++ @175 DO ~SetGlobal("LS_SarevokHaerDalisPC","GLOBAL",3)~ + LS_tobsar1.c
++ @176 DO ~SetGlobal("LS_SarevokHaerDalisPC","GLOBAL",3)~ + LS_tobsar1.d
++ @177 DO ~SetGlobal("LS_SarevokHaerDalisPC","GLOBAL",3)~ + LS_tobsar1.e
END

 

Adding WEIGHTs is probably useful for all dialogues added to other NPCs, too, exactly because of this problem.