Jump to content


Photo

Khalid mod for BG II released


  • Please log in to reply
175 replies to this topic

#41 Senka

Senka
  • Modder
  • 134 posts

Posted 25 June 2011 - 02:29 AM

Heh, I install Polish version on my English BG2 and play from the very beginning. Guess what? It doesn't work... Khalid keep silence. And Red Wizard still is in a cut scene...

Oh, I can make conclusion: the problem lies in non-Polish version BG2. Because English and French versions have the same problems.

Edited by Senka, 25 June 2011 - 02:59 AM.


#42 Zireael

Zireael
  • Member
  • 191 posts

Posted 25 June 2011 - 06:18 AM

I got it.
The compile command in .tp2 pointed to dlg folder, not d folder.
But when I fixed it, it turned out that there's a problem with .tra strings. Namely, it's the same that was with the PID. It doesn't find translation for @20. I'm furious. The translations are all provided and I've already checked them many times and they are correct. I have no idea how to fix that.
Why is Weidu so mean to me?!

EDIT: I uploaded the fixed .tp2 to the same post where the Khalid download is. I hope that finally we'll manage to squash the annoying @20 bug, it's been driving me crazy for 2 months.

Edited by Zireael, 25 June 2011 - 06:22 AM.


#43 Senka

Senka
  • Modder
  • 134 posts

Posted 25 June 2011 - 07:14 AM

Well, Zi, I will just download it and install with DBG and BG2TweakPack :) I guess Khalid would be install after DBG but before BG2TweakPack.

#44 Senka

Senka
  • Modder
  • 134 posts

Posted 25 June 2011 - 07:28 AM

UUU...
I hate to say you but...
And Polish version do not installed too... :(

WeiDU v 22700 Log

C:\bg2old\Setup-Khalid.exe
[./CHITIN.KEY] loaded, 590551 bytes
[./CHITIN.KEY] 182 BIFFs, 41793 resources
[dialog.tlk] loaded, 8737703 bytes
[dialog.tlk] 74224 string entries
[./Autorun.ini] loaded, 1452 bytes
[./baldur.ini] loaded, 3149 bytes
Possible HD/CD Path: [C:\bg2old\]
Possible HD/CD Path: [C:\bg2old\CD1\]
Possible HD/CD Path: [C:\bg2old\CD2\]
Possible HD/CD Path: [C:\bg2old\CD2\]
Possible HD/CD Path: [C:\bg2old\CD3\]
Possible HD/CD Path: [C:\bg2old\CD4\]
Possible HD/CD Path: [C:\bg2old\CD5\]
[./Keymap.ini] loaded, 5616 bytes
[./Mplaynow.ini] loaded, 230 bytes
[C:\bg2old\Setup-Khalid.exe] Using scripting style "BG2"
[dialog.tlk] claims to be writeable.
[dialog.tlk] claims to be a regular file.

Choose your language:
0 [ENGLISH]
1 [POLISH]
Using Language [ENGLISH]
[ENGLISH] has 1 top-level TRA files
[Khalid/tra/english/Khalid.tra] has 75 translation strings

The KHALID/KHALID.TP2 mod has 5 distinct optional components.
To save time, you can choose what to do with them at a high level rather
than being asked about each one.

What should be done with all components that are NOT YET installed?
[I]nstall them, [S]kip them, [A]sk about each one? SETUP-DUNGEONBEGONE.TP2 0 0 Installed

Install Component [Khalid]?
[I]nstall, or [N]ot Install or [Q]uit?
Installing [Khalid]
BIFF may be in hard-drive CD-path [C:\bg2old\CD5\/DATA/25CREATURES.BIF]
BIFF may be in hard-drive CD-path [C:\bg2old\CD4\/DATA/25CREATURES.BIF]
BIFF may be in hard-drive CD-path [C:\bg2old\CD3\/DATA/25CREATURES.BIF]
BIFF may be in hard-drive CD-path [C:\bg2old\CD2\/DATA/25CREATURES.BIF]
BIFF may be in hard-drive CD-path [C:\bg2old\CD2\/DATA/25CREATURES.BIF]
BIFF may be in hard-drive CD-path [C:\bg2old\CD1\/DATA/25CREATURES.BIF]
BIFF may be in hard-drive CD-path [C:\bg2old\/DATA/25CREATURES.BIF]
[C:\bg2old\/DATA/25CREATURES.BIF] 1463444 bytes, 807 files, 0 tilesets
Copying and patching 1 file ...
[./override/interdia.2da] loaded, 564 bytes
override/interdia.2da copied to Khalid\backup/0/interdia.2da, 564 bytes
Copied [interdia.2da] to [override/interdia.2da]
Appending to files ...
BIFF may be in hard-drive CD-path [C:\bg2old\CD5\/DATA/DEFAULT.BIF]
BIFF may be in hard-drive CD-path [C:\bg2old\CD4\/DATA/DEFAULT.BIF]
BIFF may be in hard-drive CD-path [C:\bg2old\CD3\/DATA/DEFAULT.BIF]
BIFF may be in hard-drive CD-path [C:\bg2old\CD2\/DATA/DEFAULT.BIF]
BIFF may be in hard-drive CD-path [C:\bg2old\CD2\/DATA/DEFAULT.BIF]
BIFF may be in hard-drive CD-path [C:\bg2old\CD1\/DATA/DEFAULT.BIF]
BIFF may be in hard-drive CD-path [C:\bg2old\/DATA/DEFAULT.BIF]
[C:\bg2old\/DATA/DEFAULT.BIF] 5847739 bytes, 444 files, 0 tilesets
Appending [0x80101FEF CD_STATE_NOTVALID...] to [STATE.IDS] because it does NOT contain [CD_STATE_NOTVALID]
Appended text to [STATE.IDS]
Copying 1 file ...
[Khalid\AUDIOEng/Ibelin.ogg] loaded, 2195812 bytes
Copied [Khalid\AUDIOEng/Ibelin.ogg] to [override\/Ibelin.ogg]
[Khalid\AUDIOEng/JAHER27.ogg] loaded, 36453 bytes
Copied [Khalid\AUDIOEng/JAHER27.ogg] to [override\/JAHER27.ogg]
[Khalid\AUDIOEng/JAHER28.ogg] loaded, 13450 bytes
Copied [Khalid\AUDIOEng/JAHER28.ogg] to [override\/JAHER28.ogg]
[Khalid\AUDIOEng/JAHER29.ogg] loaded, 10089 bytes
Copied [Khalid\AUDIOEng/JAHER29.ogg] to [override\/JAHER29.ogg]
[Khalid\AUDIOEng/JAHER40.ogg] loaded, 25937 bytes
Copied [Khalid\AUDIOEng/JAHER40.ogg] to [override\/JAHER40.ogg]
[Khalid\AUDIOEng/JAHER41.ogg] loaded, 46116 bytes
Copied [Khalid\AUDIOEng/JAHER41.ogg] to [override\/JAHER41.ogg]
[Khalid\AUDIOEng/KHALD01.ogg] loaded, 35903 bytes
Copied [Khalid\AUDIOEng/KHALD01.ogg] to [override\/KHALD01.ogg]
[Khalid\AUDIOEng/KHALD02.ogg] loaded, 23595 bytes
Copied [Khalid\AUDIOEng/KHALD02.ogg] to [override\/KHALD02.ogg]
[Khalid\AUDIOEng/KHALD03.ogg] loaded, 22207 bytes
Copied [Khalid\AUDIOEng/KHALD03.ogg] to [override\/KHALD03.ogg]
[Khalid\AUDIOEng/KHALD04.ogg] loaded, 21021 bytes
Copied [Khalid\AUDIOEng/KHALD04.ogg] to [override\/KHALD04.ogg]
[Khalid\AUDIOEng/KHALD05.ogg] loaded, 25941 bytes
Copied [Khalid\AUDIOEng/KHALD05.ogg] to [override\/KHALD05.ogg]
[Khalid\AUDIOEng/KHALD06.ogg] loaded, 39948 bytes
Copied [Khalid\AUDIOEng/KHALD06.ogg] to [override\/KHALD06.ogg]
[Khalid\AUDIOEng/KHALD07.ogg] loaded, 30034 bytes
Copied [Khalid\AUDIOEng/KHALD07.ogg] to [override\/KHALD07.ogg]
[Khalid\AUDIOEng/KHALD08.ogg] loaded, 43510 bytes
Copied [Khalid\AUDIOEng/KHALD08.ogg] to [override\/KHALD08.ogg]
[Khalid\AUDIOEng/KHALD09.ogg] loaded, 56484 bytes
Copied [Khalid\AUDIOEng/KHALD09.ogg] to [override\/KHALD09.ogg]
[Khalid\AUDIOEng/KHALD10.ogg] loaded, 38937 bytes
Copied [Khalid\AUDIOEng/KHALD10.ogg] to [override\/KHALD10.ogg]
[Khalid\AUDIOEng/KHALD11.ogg] loaded, 42235 bytes
Copied [Khalid\AUDIOEng/KHALD11.ogg] to [override\/KHALD11.ogg]
[Khalid\AUDIOEng/KHALD12.ogg] loaded, 21828 bytes
Copied [Khalid\AUDIOEng/KHALD12.ogg] to [override\/KHALD12.ogg]
[Khalid\AUDIOEng/KHALD13.ogg] loaded, 35517 bytes
Copied [Khalid\AUDIOEng/KHALD13.ogg] to [override\/KHALD13.ogg]
[Khalid\AUDIOEng/KHALD14.ogg] loaded, 39658 bytes
Copied [Khalid\AUDIOEng/KHALD14.ogg] to [override\/KHALD14.ogg]
[Khalid\AUDIOEng/KHALD15.ogg] loaded, 26544 bytes
Copied [Khalid\AUDIOEng/KHALD15.ogg] to [override\/KHALD15.ogg]
[Khalid\AUDIOEng/KHALD16.ogg] loaded, 25465 bytes
Copied [Khalid\AUDIOEng/KHALD16.ogg] to [override\/KHALD16.ogg]
[Khalid\AUDIOEng/KHALD17.ogg] loaded, 16987 bytes
Copied [Khalid\AUDIOEng/KHALD17.ogg] to [override\/KHALD17.ogg]
[Khalid\AUDIOEng/KHALD18.ogg] loaded, 12298 bytes
Copied [Khalid\AUDIOEng/KHALD18.ogg] to [override\/KHALD18.ogg]
[Khalid\AUDIOEng/KHALD19.ogg] loaded, 19915 bytes
Copied [Khalid\AUDIOEng/KHALD19.ogg] to [override\/KHALD19.ogg]
[Khalid\AUDIOEng/KHALD20.ogg] loaded, 13996 bytes
Copied [Khalid\AUDIOEng/KHALD20.ogg] to [override\/KHALD20.ogg]
[Khalid\AUDIOEng/KHALD21.ogg] loaded, 16366 bytes
Copied [Khalid\AUDIOEng/KHALD21.ogg] to [override\/KHALD21.ogg]
[Khalid\AUDIOEng/KHALD22.ogg] loaded, 12735 bytes
Copied [Khalid\AUDIOEng/KHALD22.ogg] to [override\/KHALD22.ogg]
[Khalid\AUDIOEng/KHALD23.ogg] loaded, 44048 bytes
Copied [Khalid\AUDIOEng/KHALD23.ogg] to [override\/KHALD23.ogg]
[Khalid\AUDIOEng/KHALD24.ogg] loaded, 27946 bytes
Copied [Khalid\AUDIOEng/KHALD24.ogg] to [override\/KHALD24.ogg]
[Khalid\AUDIOEng/KHALD25.ogg] loaded, 30149 bytes
Copied [Khalid\AUDIOEng/KHALD25.ogg] to [override\/KHALD25.ogg]
[Khalid\AUDIOEng/KHALD26.ogg] loaded, 18413 bytes
Copied [Khalid\AUDIOEng/KHALD26.ogg] to [override\/KHALD26.ogg]
[Khalid\AUDIOEng/KHALD27.ogg] loaded, 44844 bytes
Copied [Khalid\AUDIOEng/KHALD27.ogg] to [override\/KHALD27.ogg]
[Khalid\AUDIOEng/KHALD28.ogg] loaded, 21791 bytes
Copied [Khalid\AUDIOEng/KHALD28.ogg] to [override\/KHALD28.ogg]
[Khalid\AUDIOEng/KHALD29.ogg] loaded, 43714 bytes
Copied [Khalid\AUDIOEng/KHALD29.ogg] to [override\/KHALD29.ogg]
[Khalid\AUDIOEng/KHALD30.ogg] loaded, 50895 bytes
Copied [Khalid\AUDIOEng/KHALD30.ogg] to [override\/KHALD30.ogg]
[Khalid\AUDIOEng/KHALD31.ogg] loaded, 52275 bytes
Copied [Khalid\AUDIOEng/KHALD31.ogg] to [override\/KHALD31.ogg]
[Khalid\AUDIOEng/KHALD32.ogg] loaded, 38907 bytes
Copied [Khalid\AUDIOEng/KHALD32.ogg] to [override\/KHALD32.ogg]
[Khalid\AUDIOEng/KHALD33.ogg] loaded, 37616 bytes
Copied [Khalid\AUDIOEng/KHALD33.ogg] to [override\/KHALD33.ogg]
[Khalid\AUDIOEng/KHALD34.ogg] loaded, 15201 bytes
Copied [Khalid\AUDIOEng/KHALD34.ogg] to [override\/KHALD34.ogg]
[Khalid\AUDIOEng/KHALD35.ogg] loaded, 64675 bytes
Copied [Khalid\AUDIOEng/KHALD35.ogg] to [override\/KHALD35.ogg]
[Khalid\AUDIOEng/KHALD36.ogg] loaded, 36494 bytes
Copied [Khalid\AUDIOEng/KHALD36.ogg] to [override\/KHALD36.ogg]
[Khalid\AUDIOEng/KHALD37.ogg] loaded, 32228 bytes
Copied [Khalid\AUDIOEng/KHALD37.ogg] to [override\/KHALD37.ogg]
[Khalid\AUDIOEng/KHALD38.ogg] loaded, 8554 bytes
Copied [Khalid\AUDIOEng/KHALD38.ogg] to [override\/KHALD38.ogg]
[Khalid\AUDIOEng/KHALD39.ogg] loaded, 25490 bytes
Copied [Khalid\AUDIOEng/KHALD39.ogg] to [override\/KHALD39.ogg]
[Khalid\AUDIOEng/KHALD40.ogg] loaded, 33884 bytes
Copied [Khalid\AUDIOEng/KHALD40.ogg] to [override\/KHALD40.ogg]
[Khalid\AUDIOEng/KHALD41.ogg] loaded, 34992 bytes
Copied [Khalid\AUDIOEng/KHALD41.ogg] to [override\/KHALD41.ogg]
[Khalid\AUDIOEng/oggdec.exe] loaded, 155648 bytes
Copied [Khalid\AUDIOEng/oggdec.exe] to [override\/oggdec.exe]
[Khalid\AUDIOEng/POPOST.ogg] loaded, 988418 bytes
Copied [Khalid\AUDIOEng/POPOST.ogg] to [override\/POPOST.ogg]
Copying 1 file ...
[Khalid\KhalidAudioUninstall.bat] loaded, 210 bytes
Copied [Khalid\KhalidAudioUninstall.bat] to [KhalidAudioUninstall.bat]
Copying 1 file ...
[Khalid\KhalidAudioInstall.bat] loaded, 1731 bytes
Copied [Khalid\KhalidAudioInstall.bat] to [KhalidAudioInstall.bat]
Copying 1 file ...
[Khalid/itm/MISC5X.itm] loaded, 546 bytes
Copied [Khalid/itm/MISC5X.itm] to [override/MISC5X.itm]
Compiling 21 dialogue files ...
[./override/TRIGGER.IDS] loaded, 7725 bytes
[./override/STATE.IDS] loaded, 1581 bytes
[./override/ACTION.IDS] loaded, 13073 bytes
ERROR: No translation provided for @20

[Khalid/d/bzikh25.D] ERROR at line 50 column 1-3
Near Text: @20
Not_found
ERROR: parsing [Khalid/d/bzikh25.D]: Not_found
ERROR: compiling [Khalid/d/bzikh25.D]!
Stopping installation because of error.

ERROR Installing [Khalid], rolling back to previous state
[Khalid\backup/0/UNSETSTR.0] SET_STRING uninstall info not found
Will uninstall 54 files for [KHALID/KHALID.TP2] component 0.
Restoring backed-up [Khalid\backup/0/interdia.2da]
Khalid\backup/0/interdia.2da copied to override/interdia.2da, 564 bytes
Uninstalled 54 files for [KHALID/KHALID.TP2] component 0.
Unable to Unlink [Khalid\backup/0/READLN.0]: Unix.Unix_error(20, "unlink", "Khalid\\backup/0/READLN.0")
Unable to Unlink [Khalid\backup/0/READLN.0.TEXT]: Unix.Unix_error(20, "unlink", "Khalid\\backup/0/READLN.0.TEXT")
SETUP-DUNGEONBEGONE.TP2 0 0 Installed
ERROR: Not_found
PLEASE email the file SETUP-KHALID.DEBUG to Zireael
Using Language [ENGLISH]
[ENGLISH] has 1 top-level TRA files
[Khalid/tra/english/Khalid.tra] has 75 translation strings

Install Component [Khalid]?
[I]nstall, or [N]ot Install or [Q]uit? Saving This Log:
SETUP-DUNGEONBEGONE.TP2 0 0 Installed
[jassy/setup.tra] has 2 translation strings

NOT INSTALLED DUE TO ERRORS Khalid

WeiDU Timings
parsing .ids files 0.000
adding translation strings 0.000
unmarshal BIFF 0.000
OUTER_INNER_PATCH 0.000
READ_* 0.000
load TLK 0.000
AT_EXIT 0.000
ACTION_IF 0.000
DEFINE_PATCH_MACRO 0.000
AT_UNINSTALL 0.000
AT_INTERACTIVE_EXIT 0.000
DEFINE_ACTION_MACRO 0.000
find local string 0.000
parsing .tra files 0.000
parsing .log files 0.000
INCLUDE 0.000
DEFINE_ACTION_FUNCTION 0.000
process_patch2 0.000
BUT_ONLY 0.000
DEFINE_PATCH_FUNCTION 0.000
eval_pe 0.000
parsing .d files 0.015
Parsing TP2 files 0.016
COMPILE 0.016
COPY 0.030
APPEND 0.031
Parsing TPA files 0.047
unmarshal KEY 0.062
unmarshal TLK 0.125
loading files 0.158
tp2 uninstall 0.203
saving files 2.876
stuff not covered elsewhere 31.093
TOTAL 34.672
Executing: [KhalidAudioInstall.bat]

Edited by Senka, 25 June 2011 - 07:29 AM.


#45 Zireael

Zireael
  • Member
  • 191 posts

Posted 25 June 2011 - 07:35 AM

ERROR: No translation provided for @20

[Khalid/d/bzikh25.D] ERROR at line 50 column 1-3
Near Text: @20
Not_found
ERROR: parsing [Khalid/d/bzikh25.D]: Not_found
ERROR: compiling [Khalid/d/bzikh25.D]!
Stopping installation because of error.


I know. That's the @20 bug I mentioned. The one that prevented me from making the PID working. The one that's been driving me crazy for a month.

#46 Senka

Senka
  • Modder
  • 134 posts

Posted 25 June 2011 - 08:13 AM

Maybe just skip @20 and use another number?

#47 Zireael

Zireael
  • Member
  • 191 posts

Posted 25 June 2011 - 09:15 AM

Maybe just skip @20 and use another number?


Been there, done that. Didn't help.
That's why I say it's maddening. Even Lava and my other testers ran out of ideas on how to fix it.

#48 Senka

Senka
  • Modder
  • 134 posts

Posted 25 June 2011 - 09:34 AM

May be rewrite text using other words? Without shuttering may be?
Or maybe ask help in Weidu forum (PPG)?

#49 GeN1e

GeN1e

    A very GAR character

  • Modder
  • 1604 posts

Posted 26 June 2011 - 05:00 AM

Like I've said on G3 the khalid/khalid.tp2
AUTO_TRA ~Khalid\tra~
misses /%s
AUTO_TRA ~Khalid\tra\%s~

Retired from modding.


#50 Zireael

Zireael
  • Member
  • 191 posts

Posted 26 June 2011 - 06:17 AM

Problem fixed, thanks to Gen1e above.
Senka, you can download the fixed .tp2 under the same link as before and enjoy Khalid now!

I'm so sorry that the error was so tiny and we never noticed it!

#51 Senka

Senka
  • Modder
  • 134 posts

Posted 26 June 2011 - 07:42 AM

I already fixed .tp2 as Ardanis suggest by myself :)
Well, it installed now, and Khalid spoke - not by himself but after clicking on him. And a stutter bug occurs (he can't do two steps without stopping). I put boots of speed on him but this little help. And when I use ctrl-j to move party Khalid is stayed on his place.
Cut-scene in Irenicus Dangeon now works properly :)

#52 Senka

Senka
  • Modder
  • 134 posts

Posted 26 June 2011 - 10:38 AM

I download your new files, install and play from the very beginning. Khalid made two steps and stand... Anf ctrl-j still doesn't work for him.

#53 GeN1e

GeN1e

    A very GAR character

  • Modder
  • 1604 posts

Posted 26 June 2011 - 11:05 AM

Found something else - kits use hardcoded text in TP2, instead of traified @62 and @68.

PS
EXTEND_BOTTOM ~JAHEIRA.bcs~ ~Khalid/baf/JAHEIRA.baf~
EXTEND_BOTTOM ~JAHE25.bcs~ ~Khalid/baf/JAHEIRA.baf~
You sure it's not supposed to be
EXTEND_BOTTOM ~JAHEIRA.bcs~ ~Khalid/baf/JAHEIRA.baf~
EXTEND_BOTTOM ~JAHE25.bcs~ ~Khalid/baf/JAHEI25.baf~
?

Also two last blocks in Jaheira.baf don't seem to belong there.


PPS
When you overWRITE_ASCII, you must specify the length size, preferably everywhere, otherwise
WRITE_ASCII SCRIPT_OVERRIDE ~~
will have no effect. Use
WRITE_ASCII SCRIPT_OVERRIDE ~~ (<img src='http://www.shsforums.net/public/style_emoticons/<#EMO_DIR#>/cool.gif' class='bbc_emoticon' alt='8)' />
and (32) for death variable.

Edited by GeN1e, 26 June 2011 - 11:26 AM.

Retired from modding.


#54 GeN1e

GeN1e

    A very GAR character

  • Modder
  • 1604 posts

Posted 26 June 2011 - 12:17 PM

The stutter source

khalid/baf/zikhal.baf
//Setting starting values for bantering with CHARNAME
IF
InParty(Myself)
Global("ZIPlayerTalk", "LOCALS", 0)
THEN
RESPONSE #100
RealSetGlobalTimer("ZIPlayerTalkTime","GLOBAL",1800)
		SetGlobal("ZIPlayerTalk","GLOBAL",1)
END
You check for local variable, but set a global one. Must be
//Setting starting values for bantering with CHARNAME
IF
InParty(Myself)
Global("ZIPlayerTalk", "LOCALS", 0)
THEN
RESPONSE #100
RealSetGlobalTimer("ZIPlayerTalkTime","GLOBAL",1800)
		SetGlobal("ZIPlayerTalk","LOCALS",1)
END

Retired from modding.


#55 Senka

Senka
  • Modder
  • 134 posts

Posted 26 June 2011 - 12:25 PM

Do I need to reinstall mod? And to begin it again? :(

And this would be change too?

//Fire talks with CHARNAME
IF 
InParty(Myself)
RealGlobalTimerExpired("ZIPlayerTalkTime","GLOBAL")
OR(7)
Global("ZIPlayerTalk","GLOBAL",1)
Global("ZIPlayerTalk","GLOBAL",3)
Global("ZIPlayerTalk","GLOBAL",5)
Global("ZIPlayerTalk", "GLOBAL",7)
Global("ZIPlayerTalk", "GLOBAL",9)
Global("ZIPlayerTalk", "GLOBAL",11)
Global("ZIPlayerTalk", "GLOBAL",13)
THEN
RESPONSE #100
IncrementGlobal("ZIPlayerTalk","GLOBAL",1)
Wait(1)
StartDialogueNoSet(Player1)
END

Edited by Senka, 26 June 2011 - 12:36 PM.


#56 Senka

Senka
  • Modder
  • 134 posts

Posted 26 June 2011 - 12:55 PM

And why ctrl-J doesn't work for Khalid?

#57 GeN1e

GeN1e

    A very GAR character

  • Modder
  • 1604 posts

Posted 26 June 2011 - 01:01 PM

Do I need to reinstall mod? And to begin it again?

That's a script, so if will work fine with already 'affected' saves. I don't remember if you're proficient with DLTCEP or NI, if not then simply reinstall.

And this would be change too?

Good question. I suspect not, because there appear to be only a GLOBAL checked against, and it's the LOCALS the faulty one.
So it rather should be
//Setting starting values for bantering with CHARNAME
IF
InParty(Myself)
Global("ZIPlayerTalk", "GLOBAL", 0)
THEN
RESPONSE #100
RealSetGlobalTimer("ZIPlayerTalkTime","GLOBAL",1800)
                SetGlobal("ZIPlayerTalk","GLOBAL",1)
END

And with these
Global("ZIPlayerTalk","GLOBAL",1)
Global("ZIPlayerTalk","GLOBAL",3)
Global("ZIPlayerTalk","GLOBAL",5)
Global("ZIPlayerTalk", "GLOBAL",7)
Global("ZIPlayerTalk", "GLOBAL",9)
Global("ZIPlayerTalk", "GLOBAL",11)
Global("ZIPlayerTalk", "GLOBAL",13)
I can only see the dialogue for the first two conversations. Either the rest is unfinished yet, was scraped, or I'm missing something.



khalid/d/zithief.d - states at the bottom of the file, appended to zikhalj, are all using the same trigger ~Global("ZIAisha", "GLOBAL", 2) See("ZiThief")~. Since those seem to be a part of NPC-NPC dialogue, not starting states, the trigger part should be removed, otherwise these states may possibly trigger at the wrong time and screw something up.

And why ctrl-J doesn't work for Khalid?

It's not an immediate action, and seemingly can be overridden with scripts.

Edited by GeN1e, 26 June 2011 - 01:03 PM.

Retired from modding.


#58 Senka

Senka
  • Modder
  • 134 posts

Posted 26 June 2011 - 01:48 PM

Well, I reinstalled it. Seems it work now. But strange happens when my PC gave freedom to two children in CC (near Hendak). Khalid spoke with a boy and all OK. But if my PC free a girl Khalid said "We wont't hurt you", and then leave party without any words...
What the hell?

Edited by Senka, 26 June 2011 - 01:52 PM.


#59 GeN1e

GeN1e

    A very GAR character

  • Modder
  • 1604 posts

Posted 26 June 2011 - 02:14 PM

khalid/d/zikhalj.d

I_C_T GIRL1 1 KhalidGirlSlave
== ZIKHALJ
IF ~InParty("ZIKhalid") !StateCheck("ZIKhalid",CD_STATE_NOTVALID)~ THEN
@75
END
Now, I am NOT a person to give a counsel on the proper use of I_C_T family, but afaict in this particular case it must be I_C_T2.

For more detailed explanation refer to WeiDU readme, the "7.6 INTERJECT_COPY_TRANS2".

Edited by GeN1e, 26 June 2011 - 02:15 PM.

Retired from modding.


#60 Kaeloree

Kaeloree

    Head Molder

  • Administrator
  • 9200 posts

Posted 26 June 2011 - 04:36 PM

GeN1e is right, it should be ICT2 - or ICT with a passback, which is probably the safer route. If you can, just write an extra line of dialogue in response to your NPC at the end of the interjection.

I_C_T GIRL1 1 KhalidGirlSlave
== ZIKHALJ
IF ~InParty("ZIKhalid") !StateCheck("ZIKhalid",CD_STATE_NOTVALID)~ THEN
~oh god I am a line of dialogue~
== GIRL1 ~R-really? A-are you sure? Ye don't look like one...~
END

This will ensure the actions stay with the correct author without mucking around with ICT2 (which has its own problems).