Author Topic: Quest Pack and BG2 Fixpack incompatibility  (Read 9557 times)

Offline Salk

  • Planewalker
  • *****
  • Posts: 848
Quest Pack and BG2 Fixpack incompatibility
« on: February 27, 2007, 05:54:00 AM »
Taken from an original post at G3 by ronin69hof and pasted here in hope that SimDing0 will notice it and eventually include it in Quest Pack 2.4:

Revised Hell Trials and BG2 Fixpack's "Other scripting fixes" are NOT compatible:

"The fixpack changes ar2904.bcs using this code:

CODECOPY_EXISTING ~ar2904.bcs~ ~override~
  DECOMPILE_BCS_TO_BAF
    REPLACE_TEXTUALLY ~Global("PaladinGone","AR2904"~ ~Global("AbyssPaladinGone","GLOBAL"~
    REPLACE_TEXTUALLY ~Global("RangerGone","AR2904"~  ~Global("AbyssRangerGone","GLOBAL"~
    REPLACE_TEXTUALLY ~\(OpenState("DOOR03",TRUE)\)~ ~\1 Global("OpenedDoor1","AR2904",1)~
    REPLACE_TEXTUALLY ~\(OpenState("DOOR04",TRUE)\)~ ~\1 Global("OpenedDoor2","AR2904",1)~
    REPLACE_TEXTUALLY ~\(OpenState("DOOR05",TRUE)\)~ ~\1 Global("OpenedDoor3","AR2904",1)~
    REPLACE_TEXTUALLY ~\(OpenState("DOOR06",TRUE)\)~ ~\1 Global("OpenedDoor4","AR2904",1)~
  COMPILE_BAF_TO_BCS
  BUT_ONLY_IF_IT_CHANGES

Its part of the "other scripting fixes" part. The questpack also tries to patch that .bcs file and cant find any matching blocks with the below code:

CODECOPY_EXISTING ~ar2904.bcs~ ~override/ar2904.bcs~
  REPLACE_BCS_BLOCK ~questpack/helltest/data/d2a_1.baf~ ~questpack/helltest/data/d2a_2.baf~
  REPLACE_BCS_BLOCK ~questpack/helltest/data/d2b_1.baf~ ~questpack/helltest/data/d2b_2.baf~
  REPLACE_BCS_BLOCK ~questpack/helltest/data/d4a_1.baf~ ~questpack/helltest/data/d4a_2.baf~
  REPLACE_BCS_BLOCK ~questpack/helltest/data/d4b_1.baf~ ~questpack/helltest/data/d4b_2.baf~
  REPLACE_BCS_BLOCK ~questpack/helltest/data/d6a_1.baf~ ~questpack/helltest/data/d6a_2.baf~
  REPLACE_BCS_BLOCK ~questpack/helltest/data/d6b_1.baf~ ~questpack/helltest/data/d6b_2.baf~

Is there any way to fix this so that the helltest portion of questpack will work like its supposed to?

*** edit ***

This fix is only needed if you install the "Other Scripting Fixes" component of the fixpack v1.

fixed it myself by doing the following:

you have to edit the 4 .baf's that have the warnings and add:

Global("OpenedDoor4","AR2904",1) to the d6a_1.baf and d6b_1.baf
Global("OpenedDoor2","AR2904",1) to the d4a_1.baf and d4b_1.baf

making the block look like this for the d4a_1 and d4b_1 .baf's:

CODEIF
    OpenState("DOOR04",TRUE)
    Global("OpenedDoor2","AR2904",1)   //this is the line you need to add
    Global("OpenedDoor4","AR2904",0)
    Global("OpenedDoor5","AR2904",0)
    Global("OpenedDoor6","AR2904",0)

and for the d6a_1 and d6b_1 .baf's:

CODEIF
    OpenState("DOOR06",TRUE)
    Global("OpenedDoor4","AR2904",1)  //this is the line you need to add
    Global("OpenedDoor5","AR2904",0)
    Global("OpenedDoor6","AR2904",0)

then reinstall the component.

@Sim, if your not happy with this quick fix so people can continue to enjoy your questpack feel free to delete my post.

ronin"

Offline Arkenor

  • Planewalker
  • *****
  • Posts: 9
Re: Quest Pack and BG2 Fixpack incompatibility
« Reply #1 on: November 18, 2009, 02:04:20 PM »
In what I'm guessing is a related issue, I just got the following errors trying to install Hell Trials in my lovely new BiG World installation:

WARNING: cannot find block matching [questpack/helltest/data/d4a_1.baf]
WARNING: cannot find block matching [questpack/helltest/data/d4b_1.baf]
WARNING: cannot find block matching [questpack/helltest/data/d6a_1.baf]
WARNING: cannot find block matching [questpack/helltest/data/d6b_1.baf]

Offline tatterdemalion

  • Planewalker
  • *****
  • Posts: 20
Re: Quest Pack and BG2 Fixpack incompatibility
« Reply #2 on: October 05, 2012, 08:56:35 PM »
I might as well commit thread necromancy for this since it's a small issue that seems connected to this.

I just played through the Hell Trials and chose original "Good" paths with a Chaotic Neutral character. Whereupon my character's alignment changed to Chaotic Good, then to Chaotic Evil, then to Chaotic Good, then Chaotic Evil again.  No biggie, I can correct it in Shadowkeeper, but it was a bit silly. :P

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: