Jump to content


Photo

Minor Bugs, but can be big...


  • Please log in to reply
2 replies to this topic

#1 web2air

web2air
  • Member
  • 40 posts

Posted 27 January 2007 - 04:41 PM

I found a bug in BG2 part while playing in BGT.
I'm sure my installation is perfect since I only installed BG2 Fixpack and BGT. Here it goes,

When I arrived at Bridge area in BG2, I found 2 guards (BGUARD1.CRE) attecked me for no reason.
I found that they are originally the bodyguards of nobleman and woman in this area, in front of Helm temple, and their script file indicates that they will turn into enemy if Diana is dead. Diana is also the name for one of Redwizard in BG1 part, and I killed her. So I checked the script and found that the name of nobleman and woman are incorrect. They should be Bnoble1, and Bnoble2 instead of Fevron and Diana. So I correct it as following:

Bguard1.bcs

IF
OR(4)
Dead("Bnoble1") // Lord Fevron
Dead("Bnoble2") // Lady Diana
Allegiance("Bnoble1",ENEMY)
Allegiance("Bnoble2",ENEMY)
Allegiance(Myself,NEUTRAL)
THEN
RESPONSE #100
Enemy()
END

IF
HPPercentLT("Bnoble1",100)
THEN
RESPONSE #100
EquipMostDamagingMelee()
AttackReevaluate(LastAttackerOf("Bnoble1"),30)
END

IF
HPPercentLT("Bnoble2",100)
THEN
RESPONSE #100
EquipMostDamagingMelee()
AttackReevaluate(LastAttackerOf("Bnoble2"),30)
END


I think it might be related to BG2 Fixpack, but less likely. Let me know I cautch this one right.

#2 CamDawg

CamDawg

    ALL GLORY TO THE HYPNOTOAD

  • Modder
  • 1505 posts

Posted 27 January 2007 - 05:05 PM

When I arrived at Bridge area in BG2, I found 2 guards (BGUARD1.CRE) attecked me for no reason.
I found that they are originally the bodyguards of nobleman and woman in this area, in front of Helm temple, and their script file indicates that they will turn into enemy if Diana is dead. Diana is also the name for one of Redwizard in BG1 part, and I killed her. So I checked the script and found that the name of nobleman and woman are incorrect. They should be Bnoble1, and Bnoble2 instead of Fevron and Diana. So I correct it as following:

I'd suggest changing the DV of the creature in the BG part instead, as this encounter works as intended in BG2. (Fixpack doesn't change anything here as there's no bug.) Alternatively, add a SetGlobal("SPRITE_IS_DEADdiana","GLOBAL",0) variable set to the BG > BG2 transition if laziness is preferable. :) You can also use that at the CLUAConsole to avoid this issue.

Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.
____
The Gibberlings Three - Home of IE Mods

The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.


#3 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 28 January 2007 - 04:43 AM

Fixed. I normally fix all of these with the global setting way.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)