Actually, Tob starting area and position is
STARTARE.2DA
START_AREA_MP AR4000
START_XPOS_MP 1311
START_YPOS_MP 2347
and
STARTPOS.2DA
START_XPOS_MP 1300 1300 1300 1300 1300 1300
START_YPOS_MP 1840 1840 1840 1840 1840 1840
I don't know how the devs mix up multiplayer with ToB... unless MP standds for something else.
Yes, but (as I recall) they're not enabled. It's faintly possible that I've been completely incompetent here, but my experience of trying to get
ToB to start at
WK is that the game usually (maybe not in all situations) just ignores these and goes with hardcoded data. Here's
IWD-in-
BG2's (doubtless hopelessly hacky) code, for instance:
COPY ~bgmain.exe~ ~bgmain.exe~
SET ~i~=0x720000
WHILE (~i~<0x730000) BEGIN
READ_ASCII ~i~ + 0x8 ~check~ (2)
PATCH_IF ~%check%~ STRING_EQUAL_CASE ~AR~ THEN BEGIN
READ_ASCII ~i~ + 0x8 ~check1~ (6)
READ_ASCII ~i~ ~check2~ (5)
READ_ASCII ~i~ +0x10 ~check3~(<img src='http://www.shsforums.net/public/style_emoticons/<#EMO_DIR#>/cool.gif' class='bbc_emoticon' alt='8)' />
PATCH_IF (~%check1%~ STRING_EQUAL ~AR4000~ AND ~%check2%~ STRING_EQUAL ~Start~ AND ~%check3%~ STRING_EQUAL ~WorldM25~) THEN BEGIN
WRITE_ASCII ~i~ + 0x8 ~AR9100~
SET ~i~=0x730000
END
END
SET ~i~=~i~+1
END
While I'm asking favours, would it be possible to externalise the (SoA and ToB) starting experience too? That's the other hack that Cam and my conversion of IWD to the BG2 engine uses. (Not that we currently use ToBEx, but it might be worth considering as it would allow some spell conversions - notably Cat's Grace - that we're not currently able to do.) If this is half-way tricky, I think we can live without it - there are clunky script workarounds - but my guess is that it might be quite clean and surgical and not get in the way of other code.
OK, so we are talking about making BGT rely on TobEx for XP changes and XPPatcher to become obsolete (at least for SoA experience). I'm probably biased here...
Not directly. (I hadn't given much thought to
BGT; I'm not familiar with XPPatcher.)
IWD-in-
BG2 hacks the exe to change the
XP - if there's a better way, I'd be keen to hear it.
How exactly does starting experience affect a Cat's Grace spell?
Indirectly! I could make Cat's Grace work if I included ToBEx in
IWD-in-
BG2. But if I do that, I'm nervous about hacking the exe independently of ToBEx to fix the starting
XP.