Pocket Plane Group

BG2 Completed Mods => Ashes of Embers => Topic started by: the bigg on May 30, 2005, 02:35:42 PM

Title: Bug report - Weapprof.
Post by: the bigg on May 30, 2005, 02:35:42 PM
Since I suck at making myself clear, here is how the Monk's table gets outputted now:
Code: [Select]
BASTARDSWORD              1
LONGSWORD                 1
SHORTSWORD                1
AXE                       0
TWOHANDEDSWORD            1
KATANA                    1
SCIMITARWAKISASHININJATO  1
DAGGER                    1
WARHAMMER                 1
CLUB                      0
SPEAR                     0
HALBERD                   1
FLAILMORNINGSTAR          1
MACE                      0
QUARTERSTAFF              0
CROSSBOW                  0
LONGBOW                   0
SHORTBOW                  1
DART                      1
SLING                     0
2HANDED                   1
SWORDANDSHIELD            1
SINGLEWEAPON              1
2WEAPON                   1

All proficiencies are shifted up by one, and the monk should have proficiencies only in single weapon.
Other kits are OK.
Title: Re: Bug report - Weapprof.
Post by: Ghreyfain on May 30, 2005, 04:26:37 PM
That doesn't make much sense, since here's the line for halberds.  The third last number is for monks.

  REPLACE_TEXTUALLY
~HALBERD                     99      31123           34158       0... ...0     2          0~
~HALBERD                     99      31123           34158       1... ...0     2          1~

Oh, and upon checking my in-game weapprof.2da, you're right.  I believe this calls for an "omgwtf???"

Ahem...

omgwtf???

Okay, wow, yes, it appears I've done much mangling with my SET_2DA_ENTRYs.  Dang.  Will investigate further.

Edit: Okay, fixed it.  It'll be in version whatever's-next.
Title: Re: Bug report - Weapprof.
Post by: the bigg on May 30, 2005, 04:50:38 PM
Would it be daring to suggest switching to SET_2DA_ENTRY_NOW/LATER?

Actions needed, since this feature isn't documented yet: replace all "SET_2DA_ENTRY" with "SET_2DA_ENTRY_LATER ~_#_#_#weapprof~", then remove the coloumn count.
Finally, append the following instructions to the bottom of the weapprof patching (the REPLACE_TEXTUALLY are for pretty printing and you can skip them without problem):
Code: [Select]
// changes in how REPLACE_TEXTUALLY works means that now old mods' synthax (Rogue Rebalancing)
// leaves the double entry: correct this!
  REPLACE_TEXTUALLY ~ ?ID +ID ~ ~ ID ~
  REPLACE_TEXTUALLY ~ ?ID +ID ~ ~ ID ~
  REPLACE_TEXTUALLY ~ ?ID +ID ~ ~ ID ~
// add double entry for pretty spacing
  REPLACE_TEXTUALLY ~ ID ~ ~ ID ID ~
// pretty print and then process all the S_2_E_L  I left on hold before
  SET_2DA_ENTRIES_NOW ~_#_#_#weapprof~ 5
// remove double pretty print from above
  REPLACE_TEXTUALLY ~^ID~ ~  ~

If you need more detailed explaining, just ask  :)