Jump to content


Photo

Solution to BG2 Fixpack incompatibility for BGT-WeiDU v1.01


  • Please log in to reply
13 replies to this topic

#1 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 08 September 2006 - 10:52 PM

Change:

IF
OnCreation()
Global("NewGame","AR0602",0)
THEN
RESPONSE #100
ActionOverride(Player1,MakeUnselectable(2147483647))
HideGUI()
FadeToColor([1.0],0)
SetGlobal("NewGame","AR0602",1)
Continue()
END


to:

IF
OnCreation()
Global("NewGame","AR0602",0)
Global("ENDOFBG1","GLOBAL",0)
THEN
RESPONSE #100
SetCursorState(TRUE)
FadeToColor([1.0],0)
SmallWait(10)
StartMovie("SOAINTRO")
SetGlobal("ENDOFBG1","GLOBAL",2)
SetGlobal("NewGame","AR0602",1)
Continue()
END

IF
OnCreation()
Global("NewGame","AR0602",0)
Global("ENDOFBG1","GLOBAL",1)
THEN
RESPONSE #100
SetCursorState(TRUE)
FadeToColor([1.0],0)
SmallWait(10)
MoveViewPoint([0.0],INSTANT)
StartMovie("SOAINTRO")
SetGlobal("NewGame","AR0602",1)
SetGlobal("ENDOFBG1","GLOBAL",2)
Continue()
END


IF
XP(Player1,1)
THEN
RESPONSE #100
AddXPObject(Player1,88999)
Continue()
END

IF
Global("ImoenImport","GLOBAL",0)
Global("ImoenPartyBG1","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("ImoenImport","GLOBAL",1)
ReallyForceSpellRES("BGIMPORT","Imoen2")
ActionOverride("Imoen2",ChangeAIScript("Imoen",OVERRIDE))
ActionOverride("Imoen2",ChangeAIScript("",GENERAL))
ActionOverride("Imoen2",ChangeAIScript("wtasight",DEFAULT))
ActionOverride("Imoen2",ChangeAIScript("SBTIMO",RACE))
ActionOverride("Imoen2",SetDialog("Imoen10"))
ActionOverride("Imoen2",SetNumTimesTalkedTo(0))
ActionOverride("Imoen2",CreateItem("Imoenhp1",1,0,0)) // Imoen's Belt
ActionOverride("Imoen2",FillSlot(SLOT_BELT))
Continue()
END

IF
Global("ImoenImport","GLOBAL",0)
Global("ImoenPartyBG1","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("ImoenImport","GLOBAL",2)
CreateCreature("Imoen10",[3198.2837],6) // Imoen
SetGlobal("SPRITE_IS_DEADIMOEN2","GLOBAL",0)
Continue()
END

IF
Global("JaheiraImport","GLOBAL",0)
Global("JaheiraPartyBG1","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("JaheiraImport","GLOBAL",1)
ReallyForceSpellRES("BGJAPORT","Jaheira")
ActionOverride("Jaheira",ChangeAIScript("Jaheira",OVERRIDE))
ActionOverride("Jaheira",ChangeAIScript("dplayer",DEFAULT))
ActionOverride("Jaheira",ChangeAIScript("SBTJAH",RACE))
ActionOverride("Jaheira",SetDialog("Jaheira"))
ActionOverride("Jaheira",SetNumTimesTalkedTo(0))
Continue()
END

IF
Global("JaheiraImport","GLOBAL",0)
Global("JaheiraPartyBG1","GLOBAL",0)
Dead("Jaheira")
THEN
RESPONSE #100
SetGlobal("JaheiraImport","GLOBAL",2)
Continue()
END

IF
Global("JaheiraImport","GLOBAL",0)
Global("JaheiraPartyBG1","GLOBAL",0)
!Dead("Jaheira")
LevelLT(Player1,8)
THEN
RESPONSE #100
SetGlobal("JaheiraImport","GLOBAL",2)
CreateCreature("Jaheir7",[3898.2676],6) // Jaheira
SetGlobal("SPRITE_IS_DEADJAHEIRA","GLOBAL",0)
Continue()
END

IF
Global("JaheiraImport","GLOBAL",0)
Global("JaheiraPartyBG1","GLOBAL",0)
!Dead("Jaheira")
LevelGT(Player1,7)
LevelLT(Player1,11)
THEN
RESPONSE #100
SetGlobal("JaheiraImport","GLOBAL",2)
CreateCreature("Jaheir8",[3898.2676],6) // Jaheira
SetGlobal("SPRITE_IS_DEADJAHEIRA","GLOBAL",0)
Continue()
END

IF
Global("JaheiraImport","GLOBAL",0)
Global("JaheiraPartyBG1","GLOBAL",0)
!Dead("Jaheira")
Level(Player1,11)
THEN
RESPONSE #100
SetGlobal("JaheiraImport","GLOBAL",2)
CreateCreature("Jaheir11",[3898.2676],6) // Jaheira
SetGlobal("SPRITE_IS_DEADJAHEIRA","GLOBAL",0)
Continue()
END

IF
Global("JaheiraImport","GLOBAL",0)
Global("JaheiraPartyBG1","GLOBAL",0)
!Dead("Jaheira")
LevelGT(Player1,11)
THEN
RESPONSE #100
SetGlobal("JaheiraImport","GLOBAL",2)
CreateCreature("Jaheir12",[3898.2676],6) // Jaheira
SetGlobal("SPRITE_IS_DEADJAHEIRA","GLOBAL",0)
Continue()
END

IF
Global("MinscImport","GLOBAL",0)
Global("MinscPartyBG1","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("MinscImport","GLOBAL",1)
ChangeAlignment("Minsc",CHAOTIC_GOOD)
ReallyForceSpellRES("BGMIPORT","Minsc")
ActionOverride("Minsc",ChangeAIScript("Minsc",OVERRIDE))
ActionOverride("Minsc",ChangeAIScript("minscx",GENERAL))
ActionOverride("Minsc",ChangeAIScript("dplayer",DEFAULT))
ActionOverride("Minsc",ChangeAIScript("SBTMIN",RACE))
ActionOverride("Minsc",SetDialog("Minsca"))
ActionOverride("Minsc",SetNumTimesTalkedTo(0))
Continue()
END

IF
Global("MinscImport","GLOBAL",0)
Global("MinscPartyBG1","GLOBAL",0)
Dead("Minsc")
THEN
RESPONSE #100
SetGlobal("MinscImport","GLOBAL",2)
Continue()
END

IF
Global("MinscImport","GLOBAL",0)
Global("MinscPartyBG1","GLOBAL",0)
!Dead("Minsc")
LevelLT(Player1,8)
THEN
RESPONSE #100
SetGlobal("MinscImport","GLOBAL",2)
CreateCreature("Minsc7",[4029.2759],6) // Minsc
SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
Continue()
END

IF
Global("MinscImport","GLOBAL",0)
Global("MinscPartyBG1","GLOBAL",0)
!Dead("Minsc")
Level(Player1,8)
THEN
RESPONSE #100
SetGlobal("MinscImport","GLOBAL",2)
CreateCreature("Minsc8",[4029.2759],6) // Minsc
SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
Continue()
END

IF
Global("MinscImport","GLOBAL",0)
Global("MinscPartyBG1","GLOBAL",0)
!Dead("Minsc")
Level(Player1,9)
THEN
RESPONSE #100
SetGlobal("MinscImport","GLOBAL",2)
CreateCreature("Minsc9",[4029.2759],6) // Minsc
SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
Continue()
END

IF
Global("MinscImport","GLOBAL",0)
Global("MinscPartyBG1","GLOBAL",0)
!Dead("Minsc")
OR(2)
Level(Player1,10)
Level(Player1,11)
THEN
RESPONSE #100
SetGlobal("MinscImport","GLOBAL",2)
CreateCreature("Minsc10",[4029.2759],6) // Minsc
SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
Continue()
END

IF
Global("MinscImport","GLOBAL",0)
Global("MinscPartyBG1","GLOBAL",0)
!Dead("Minsc")
LevelGT(Player1,11)
THEN
RESPONSE #100
SetGlobal("MinscImport","GLOBAL",2)
CreateCreature("Minsc12",[4029.2759],6) // Minsc
SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
Continue()
END

IF
Global("IHavePants","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("IHavePants","GLOBAL",2)
SetGlobal("BG1Pantaloons","GLOBAL",1)
ActionOverride("Picture1",CreateItem("MISC47",0,0,0)) // Golden Pantaloons
Continue()
END

IF
Global("IHaveRing","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("IHaveRing","GLOBAL",2)
ActionOverride("Shelf1",CreateItem("ring25b",0,0,0)) // Koveras' Ring of Protection
Continue()
END

IF
Global("IHaveMoonblade","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("IHaveMoonblade","GLOBAL",2)
ActionOverride("Picture1",CreateItem("sw1h13",0,0,0)) // Moonblade
Continue()
END

IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMCAT") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMCAT")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END

IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMDUST") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMDUST")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END

IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMFAIR") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMFAIR")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END

IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMFER") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMFER")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END

IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMIMP") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMIMP")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END

IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMPSD") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMPSD")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END

IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMQUAS") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMQUAS")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END

IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMRAB") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMRAB")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END


Then go from a save-game BEFORE the transition.

This was a hasty post

Edited by Ascension64, 10 November 2006 - 12:13 AM.

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


#2 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 14 September 2006 - 06:06 AM

Now, if the Charming Rogue kit for Imoen in NeJ2 is installed, you also need to change TELE0700.BCS:

IF
Clicked([ANYONE])
Range(LastTrigger,25)
Global("CDEscape","AR0603",0)~
THEN
RESPONSE #100
SaveGame(0)
MultiPlayerSync()
FadeToColor([1.0],0)
TakePartyItem("MISC4E")
TakePartyItem("MISC4G")
SetGlobal("CDEscape","AR0603",1)
StartCutSceneMode()
StartCutScene("cut01")
END


to:

IF
Clicked([ANYONE])
Range(LastTrigger,25)
Global("ImoenPartyBG1","GLOBAL",0)
THEN
RESPONSE #100
SaveGame(0)
MultiPlayerSync()
FadeToColor([1.0],0)
TakePartyItem("MISC4E")
TakePartyItem("MISC4G")
StartCutSceneMode()
StartCutScene("cut01")
END

IF
Clicked([ANYONE])
Range(LastTrigger,25)
Global("ImoenPartyBG1","GLOBAL",1)
THEN
RESPONSE #100
SaveGame(0)
MultiPlayerSync()
FadeToColor([1.0],0)
TakePartyItem("MISC4E")
TakePartyItem("MISC4G")
StartCutSceneMode()
StartCutScene("cut01BGT")
END


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


#3 melkor_morgoth75

melkor_morgoth75

    Lord

  • Modder
  • 1509 posts

Posted 14 September 2006 - 06:20 AM

Fix for Imoen is ONLY for BG2 Fixpack installed or for ANY installation with BGT+imoen kit?

mm75

Tired of the same boring spawned creatures u face in BG? Try BGSpawn


#4 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 14 September 2006 - 06:31 AM

Fix must be used if installed in the following order (with any extraneous bits in-between):

1. BG2 Fixpack
2. NeJ2 (which requires Charming Rogue Kit)
3. BGT-WeiDU

1 and 2 might be interchangeable, but regardless, if BGT-WeiDU is installed after both of those, the fix is required.

Edited by Ascension64, 14 September 2006 - 06:32 AM.

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


#5 melkor_morgoth75

melkor_morgoth75

    Lord

  • Modder
  • 1509 posts

Posted 14 September 2006 - 06:35 AM

Sorry ... i'm a bit slow today maybe ;) But the fix is needed for the kit to have her the very same as she WAS during BG1 part of the game? Or it's just a fix for the kit with the BG2 fixpack?

thanks,

mm75

Edited by melkor_morgoth75, 14 September 2006 - 06:35 AM.

Tired of the same boring spawned creatures u face in BG? Try BGSpawn


#6 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 14 September 2006 - 07:02 AM

Doesn't matter. Regardless of what kit Imoen has, she will have continuity problems in BG2 if imported from BG1. The only reason I mention the Charming Rogue kit is that BGT-WeiDU modifies TELE0700.BCS only if the Charming Rogue Kit component is installed. However, since this component is required for NeJ2 to work properly, then it follows that the fix is required for the entire NeJ2 installation.

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


#7 Vlad

Vlad
  • Member
  • 577 posts

Posted 14 September 2006 - 11:24 AM

Please, do yourself a favour, don't bother with this issue anymore. NeJ2 installed after BGT takes care of all these and other issues. Just correct the two blocks in the BGT TP2 file which I have highlighted and that's all.

#8 WizWom

WizWom
  • Member
  • 270 posts

Posted 14 September 2006 - 11:26 AM

Er, you want
SetGlobal("IHaveFamiliar","GLOBAL",2)
for FAMCAT and FAMDUST, too, right? They aren't in that code.

#9 Chevalier

Chevalier

    Knight of the Realms

  • Modder
  • 2405 posts

Posted 14 September 2006 - 02:22 PM

Vlad,

That is only if we are useing your latest version of NeJ2. If we are useing the older BP comaptibile version this will still need to be done.

I Ride for the King!


a.k.a. Chev


#10 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 14 September 2006 - 08:50 PM

Er, you want
SetGlobal("IHaveFamiliar","GLOBAL",2)
for FAMCAT and FAMDUST, too, right? They aren't in that code.

Yes, good spotting. Fixed. Thanks.

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


#11 kimmel

kimmel
  • Member
  • 37 posts

Posted 15 September 2006 - 08:39 AM

Thanks for this!

Just one question: when editing TELE0700 (in the NEJ2 biff override file) with NI, after I put in the code you suggest, I got a warning message saying that cut01BGT could not be found. I assume that's not a real problem?

#12 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 15 September 2006 - 11:05 PM

Thanks for this!

Just one question: when editing TELE0700 (in the NEJ2 biff override file) with NI, after I put in the code you suggest, I got a warning message saying that cut01BGT could not be found. I assume that's not a real problem?

If you have ignore overrides on, then that might occur. It could be a problem if you didn't install NeJ2-BGT properly though.

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


#13 seanas

seanas
  • Modder
  • 1906 posts

Posted 06 October 2006 - 07:42 AM

i've posted a weiduised form of this fix in this thread.

"A simple test of the relative merits of science and religion is to compare lighting your house at night by prayer or electricity" - A. C. Grayling
"EFF files have saves, too." - CamDawg
|| this is radio seanas || BP Series v3 || seanas at work ||


#14 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 07 October 2006 - 04:10 AM

i've posted a weiduised form of this fix in this thread.

Thank you seanas. Very appreciated. :Bow:

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