Jump to content


Zireael07

Member Since 19 Mar 2011
Offline Last Active Oct 20 2012 02:43 AM

Topics I've Started

Khalid resident bugs

19 May 2011 - 01:41 AM

1. An error during installation of PID that is stupid, but I don't know how to fix it.
ERROR: No translation provided for @20

[Khalid\pid/zijahpid.D] ERROR at line 62 column 1-7
Near Text: @20
Not_found
ERROR: parsing [Khalid\pid/zijahpid.D]: Not_found
ERROR: compiling [Khalid\pid/zijahpid.D]!
Stopping installation because of error.


2. Khalid's dialogue with CHARNAME fires off all the time

D. file:

APPEND ZIKHALJ

//Windspear
IF ~InParty("ZIKhalid") !StateCheck("ZIKhalid",CD_STATE_NOTVALID) Global("DomainPaladinBattle","GLOBAL",1) ~ THEN BEGIN KhalidWindspear
SAY @0
= @1
END

//Reakcja na śmierć
IF ~InParty("ZIKhalid") !StateCheck("ZIKhalid",CD_STATE_NOTVALID) InParty ("JAHEIRA") Dead("JAHEIRA")~ THEN BEGIN KhalidJaheiraDead
SAY @2
= @3
END

//Banter z graczem 1
IF ~InParty("ZIKhalid") !StateCheck("ZIKhalid",CD_STATE_NOTVALID) Global("ZIPlayerTalk", "LOCALS", 2)~ THEN BEGIN KhalidPlayer1
SAY @4
++ @5 DO ~SetGlobal("ZIPlayerTalk", "LOCALS", 3)~ GOTO KhalidPlayer1.1
++ @6 DO ~SetGlobal("ZIPlayerTalk", "LOCALS", 3)~ GOTO KhalidPlayer1.2
END

IF ~~ THEN BEGIN KhalidPlayer1.1
SAY @7
= @8
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KhalidPlayer1.2
SAY @9
IF ~~ THEN EXIT
END

//Banter z graczem 2
IF ~InParty("ZIKhalid") !StateCheck("ZIKhalid",CD_STATE_NOTVALID) Global("ZIPlayerTalk", "LOCALS", 4)~ THEN BEGIN KhalidPlayer2
SAY @10
++ @11 DO ~SetGlobal("ZIPlayerTalk", "LOCALS", 5)~ GOTO KhalidPlayer2.1
++ @12 DO ~SetGlobal("ZIPlayerTalk", "LOCALS", 5)~ GOTO KhalidPlayer2.2
++ @13 DO ~SetGlobal("ZIPlayerTalk", "LOCALS", 5)~ GOTO KhalidPlayer2.3
END

IF ~~ THEN BEGIN KhalidPlayer2.1
SAY @14
++ @15 GOTO KhalidPlayer2.1.1
++ @12 GOTO KhalidPlayer2.2
++ @13 GOTO KhalidPlayer2.3
END

IF ~~ THEN BEGIN KhalidPlayer2.1.1
SAY @16
++ @12 GOTO KhalidPlayer2.2
++ @13 GOTO KhalidPlayer2.3
END

IF ~~ THEN BEGIN KhalidPlayer2.2
SAY @17
= @18
= @19
++ @20 GOTO KhalidPlayer2.2.1
++ @21 GOTO KhalidPlayer2.2.2
++ @22 GOTO KhalidPlayer2.2.3
END

IF ~~ THEN BEGIN KhalidPlayer2.2.1
SAY @23
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KhalidPlayer2.2.2
SAY @24
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KhalidPlayer2.2.3
SAY @25
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KhalidPlayer2.3
SAY @26
= @27
++ @11 GOTO KhalidPlayer2.1
++ @12 GOTO KhalidPlayer2.2
END

END


------------------------------------------------
Relevant parts of 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","LOCALS",1)
END


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


----------------------------
Lava reported one more thing, but I have to fix those two before I can check on her problem (lack of the line to summon Khalid in Fate Spirit dialogue)

Thanks in advance
Zi

Underdark special flirts, banters

02 April 2011 - 05:24 AM

How to make them? I noticed some mods do have them... I was wondering about making some for Khalid (& Jaheira, and then have Viconia comment that Jaheira is dominating him like a real drow woman would).

BG2 NPC Project?

21 March 2011 - 09:01 AM

Well, since we have such a wonderful mod for BG1, why not do a similar one for BG2?

Whom should I contact?

20 March 2011 - 10:16 AM

I'm planning to do some crossmod content for my Khalid mod. It's still in closed beta, but when it comes out... I'll probably have some banters prepared by then. Whom should I contact then and how?
The NPCs I'd like Khalid to have banters with are: Kulyok's Xan, Coran, Kivan & Deheriana, Angelo... There's one more, but it's Polish and I won't have trouble contacting the author.
Zi

PIDs - how to code them?

20 March 2011 - 07:13 AM

As the topic says, I'm contemplating including PIDs for both Khalid & Jaheira in my mod, but I don't know how to do it.
BTW I can't seem to find a guide nor a topic regarding PIDs, so I start a new one for anyone who wants to know...