Pocket Plane Group

BG2 Completed Mods => Quest Pack => Topic started by: unreserved_Steve on November 15, 2008, 08:41:08 PM

Title: Problems with Questpack
Post by: unreserved_Steve on November 15, 2008, 08:41:08 PM
There are quite obvious syntax errors in several files.

questpack/AI/compile/d0pimag.baf, lines 692, 710:
questpack/AI/compile/d0simul.baf, lines 692, 710:
questpack/oasis/combat/scripts/d0amthea.baf, lines 258, 274, 290, 306, 322, 338, 355, 597, 615
questpack/oasis/combat/scripts/d0amtmag.baf, lines 710, 728
questpack/oasis/combat/scripts/d0amtmer.baf, lines 217, 570, 588, 622
questpack/thieves/scripts/d0edwinh.baf, lines 143, 163, 182, 200, 220, 239, 254, 1068, 1087, 1105, 1122, 1141, 1159, 1171
        !Dead("astHeardBy(Myself))")
    should be (I think):
        !Died(LastHeardBy(Myself))

questpack/thieves/scripts/rayic.baf, lines 158, 172, 493, 506
questpack/thieves/scripts/d0aranbk.baf, lines 47
        !Dead("yself)")
    should be:
        !Died(Myself)

questpack/harpers/d0jahrev.baf, lines 168, 191
        AreaCheck("UTDOOR)")
    should be:
        AreaType(OUTDOOR)
Title: Re: Problems with Questpack
Post by: unreserved_Steve on November 15, 2008, 10:17:39 PM
Well, I got smart and looked in the BG2 Fixpack, where all these problems are known and fixed.  However, the old broken files are being propogated by mods that used them as templates.  You almost need to run the scripting fixes from the Fixpack on every mod before you install it.  For the errors I listed, Fixpack would change them this way:
        !Dead("astHeardBy(Myself))")
    to:
        StateCheck(LastHeardBy(Myself),STATE_REALLY_DEAD)

        !Dead("yself)")
    to:
        StateCheck(LastSeenBy(Myself),STATE_REALLY_DEAD)