Jump to content


Photo

BG1 last battle: Sarevok immortal


9 replies to this topic

#1 Davor

Davor
  • Member
  • 11 posts

Posted 14 August 2011 - 11:24 AM

EDIT2: concerns BiG World v9.8

After my unsuccessful attempts to kill Sarevok (he regenerates very quickly) in the final battle, I searched the net and found out that I also have to kill Angelo and some other guy.

Problem is: there is neither Angelo nor Diarmid (?). There is only Tazok and Semaj. Off course, when I kill Tazok & Semaj Sarevok remains immortal.

I managed to complete the last chapter without being caught by the flaming fist. So I never met Angelo. Is this possibly the reason why he does not summon?

Diarmid is an unknown character to me.

I could put all the SPRITE_IS_DEADXXX to 1 which would make Sarevok moral, but I was wondering whether there was any way to "repair" the game so they do summon?

Some similar posts I have consulted:
http://forums.gibber...opic=11380&st=0
http://forums.gibber...php?t17477.html
http://forums.gibber...?showtopic=7785

EDIT:
BGSARVOK.BSC seems very interesting and related to this:
[...]
IF
  Detect([PC])
  Range(LastSeenBy(Myself),25)
  Global("SarevokBehavior","GLOBAL",2)
  Global("DMWWSarevokFight","GLOBAL",0)
THEN
  RESPONSE #100
    SetGlobal("DMWWSarevokFight","GLOBAL",1)
    StartDialogue("SAREVO",LastSeenBy(Myself))
    SetGlobalTimer("SarevokBanter","LOCALS",9)
    SetGlobalTimer("SarevokBackup","LOCALS",3)
END

[...]

IF
  !Global("backup","LOCALS",1)
  GlobalTimerExpired("SarevokBackup","LOCALS")
THEN
  RESPONSE #100
    SetGlobal("backup","LOCALS",1)
    CreateVisualEffect("spdimndr",[965.482])
    Wait(1)
    CreateCreature("galdor",[965.482],0)  // ~Angelo~
    CreateVisualEffect("spdimndr",[362.631])
    Wait(1)
    CreateCreature("dw#diarm",[362.631],0)  // ~Diarmid~
  RESPONSE #100
    SetGlobal("backup","LOCALS",1)
    CreateVisualEffect("spdimndr",[362.631])
    Wait(1)
    CreateCreature("galdor",[362.631],0)  // ~Angelo~
    CreateVisualEffect("spdimndr",[965.482])
    Wait(1)
    CreateCreature("dw#diarm",[965.482],0)  // ~Diarmid~
END
[...]
Now the strange thing is that I see the dimension door, but no-one is summoned. But I can summon them from the console.

Take a look at the attached file bgsarvok.bcs.log. I took BGSARVOK.00002.BCS and put it in the Override folder, and now the two summon correctly with a dimension door.

Here is the related working code from BGSARVOK.00002.BCS:
IF
  !Global("backup","LOCALS",1)
  GlobalTimerExpired("SarevokBackup","LOCALS")
THEN
  RESPONSE #100
    SetGlobal("backup","LOCALS",1)
    CreateCreatureDoor("galdor",[965.482],0)
    CreateCreatureDoor("dw#diarm",[362.631],0)
  RESPONSE #100
    SetGlobal("backup","LOCALS",1)
    CreateCreatureDoor("galdor",[362.631],0)
    CreateCreatureDoor("dw#diarm",[965.482],0)
END
Furthermore, if I replace the original code in BGSARVOK.BSC with this working piece of code, then they summon correctly.

Now I don't understand. What caused the change from BGSARVOK.00002.BCS to BGSARVOK.00003.BCS? Was it SETUP-P5TWEAKS.TP2? And why does CreateCreature not work and why does CreateCreatureDoor work?

Attached:
WeiDU.log
WeiDU --change-log SAREVO.CRE > sarevo.cre.log
WeiDU --change-log BGSARVOK.BCS > bgsarvok.bcs.log

Attached Files


Edited by Davor, 15 August 2011 - 01:07 PM.


#2 Bloodtitan

Bloodtitan
  • Member
  • 317 posts

Posted 15 August 2011 - 08:36 AM

french logs unfortunately, just to explain the missiing replies so far...

#3 Davor

Davor
  • Member
  • 11 posts

Posted 15 August 2011 - 10:06 AM

french logs unfortunately, just to explain the missiing replies so far...

Pfff... but code isn't french :rolleyes:

Edited by Davor, 15 August 2011 - 10:07 AM.


#4 Bloodtitan

Bloodtitan
  • Member
  • 317 posts

Posted 15 August 2011 - 11:32 AM

i do not think you have a generic code problem but a problem with mod installation order, or installing a beta state mod. this info would be gotten from the logfiles.

if your problem would be just code, other players would have reported it here as well or chimed in on your problem.

#5 Davor

Davor
  • Member
  • 11 posts

Posted 15 August 2011 - 01:02 PM

i do not think you have a generic code problem but a problem with mod installation order, or installing a beta state mod. this info would be gotten from the logfiles.


I used BiG World v9.8 for the installation. Maybe I should have stated that first. I adjusted the default install a bit without breaking the dependencies. While playing I didn’t have any issues, except this one and one which concerned the invitation to the Palace (and which was already reported). I think this is the correct forum for this mod.

I have not installed any mods that are flagged as "unstable" by BiG World v9.8.

Edited by Davor, 15 August 2011 - 01:06 PM.


#6 -max-

-max-
  • Guest

Posted 16 August 2011 - 09:19 PM

This is a problem with an older version of Sword Coast Strategems from a couple of years ago. I actually was one of the first complaining about it. :lol: Anyway it was resolved in newer versions. You could check for the hotfix that originally fixed this (before the mod was updated with the fix in it).

Maybe you downloaded an old version or something went screwy with your install. Also the "DMWW" is for David Wallace the creator of SCS and its in all his scripts, if that helps narrow it down. You might want to check out the SCS forum too.

#7 Davor

Davor
  • Member
  • 11 posts

Posted 16 August 2011 - 11:27 PM

This is a problem with an older version of Sword Coast Strategems from a couple of years ago.


Thanks. My version is quite new: v17.

I fixed it for myself as stated in the first post, but I believe it remains a problem in general for BWP. That is why I came here...

I narrowed the problem down to the "Wait(1)" command. If I remove it, all goes well. From the moment I put "Wait(1)" before "CreateCreature(...)", "CreateCreature(...)" is not executed. No idea why.

Edited by Davor, 16 August 2011 - 11:52 PM.


#8 -loco88-

-loco88-
  • Guest

Posted 28 October 2012 - 09:03 PM

Thanks for the heads up, while I couldn't find the file manually summoning Angelo and Diarmid allowed me to finish the fight.

#9 -Xarn-

-Xarn-
  • Guest

Posted 26 November 2012 - 10:37 AM

Had exact same problem yesterday. Thanks Davor, your thread/solution probably saved me good few hours of bashig my head against the wall. Still managed to waste some time cause i didn't remember that he should have 4 helpers not 2, and was wondering why the heck i can't kill him.

Anyways, removing "wait(1)" from the part of bgsarvok.bsc responsible for spawning Angelo and Diarmid solved the problem. Seems there is some bug/incompatibility in aTweaks component 324 ("use IWD dimension door animation").

This makes me wonder, this animation is used sparsely in BG1, but much more often in BG2, I'm kinda worried that other encounters that use same technique may be bugged for me too :(

#10 -Casper-

-Casper-
  • Guest

Posted 27 November 2012 - 08:55 AM

These are nice observations, that could possibly lead to some big problem-solving revelation (reminds me of susliks stutter fix). I hope someone can figure out what's going wrong here.



Reply to this topic