Jump to content


Davor

Member Since 16 Mar 2011
Offline Last Active Nov 06 2011 12:49 AM

Topics I've Started

Visible item effects

17 August 2011 - 12:36 PM

Semaj's Cloak
Cloak of Displacement
Cloak of non-detection
...?

All these have an effect while equipped. As far as I could find, only the blur-effect of the Cloak of Displacement can be disabled (and the code looks complicated). But the same effect of Semaj's Cloak can not, which is inconsistent. Same with the blue sphere of the Cloak of non-detection.

Because I could not find any posts about disabling those, I though to start one. So, in case one has an idea for disabling those visuals, feel free to write it down.

BG1 last battle: Sarevok immortal

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