Jump to content


Photo

Xan leaving due to reputation though you are bonded with him


4 replies to this topic

#1 lac

lac
  • Members
  • 490 posts
  • Location:Göteborg, Sweden

Posted 25 October 2008 - 09:47 PM

Before I forget -- I decided that the optimal party size for rescuing Duke Eltan was size 1 (only 1 pair of boots of speed,
saves on the invisibility cast, etc.) But despite being bonded to Xan, and getting a promise from him that he would not
leave me in Candlekeep, even after learning of my parentage .... he just ups and disappears when I reform the party.
My rep is only 17, so I thought that was low enough to keep him. In any event, I think that after you bond to Xan he
needs to have the reputation rule changed, even for people who did not install the happy patch. I could see him refusing
to let me go on this mission alone, or waiting anxiously for my return, but not deciding that it is all over with me because
today's spell lists didn't contain enough invisibility spells. Is the reputation check something that can be done on a
per-NPC basis, or is this an all-or-none sort of thing?

Edited by lac, 25 October 2008 - 09:55 PM.


#2 cmorgan

cmorgan

    journeyman investigator

  • Gibberlings
  • 6910 posts
  • Gender:Male
  • Location:Glencoe, IL, USA

Posted 26 October 2008 - 06:14 AM

It is possible - it would just be patching the single dialog state on Xan's XANP.dlg to check for whatever the "bonded" variable is. For your game right now, though, open up the dialog XANP in DLTCEP and modify (on Tutu it is state #4, where there is a "HappinessLT(0)" - you would have to check for the BGT one if you are running BGT) with either a HappinessLT(-299) or an unattainable global, like Global("lac_bonded","GLOBAL",1).

The advantage of adding unattainable globals is that if you want to roll the fix back in your current game, you can just set the global via CLUAConsole.
I love deadlines. I love the whooshing noise they make as they go by. - Douglas Adams

#3 cmorgan

cmorgan

    journeyman investigator

  • Gibberlings
  • 6910 posts
  • Gender:Male
  • Location:Glencoe, IL, USA

Posted 23 November 2008 - 09:54 AM

This is possible to fix, but will need permission from Kulyok. She goes to great pains to have several talks fire at both high and low reputations, which tells me she expected to have situations where PC and Xan part ways over reputation extremes.

The solution is to change Xan's P-file HappinessLT value and/or add the active romance variable to block him from leaving the party when extremes of reputation is reached and PC<>Xan are bonded.

Held pending author confirmation

Kulyok cleared this via PPg emil - This repair is first on the list for tomorrow. Signing off for the weekend.
I love deadlines. I love the whooshing noise they make as they go by. - Douglas Adams

#4 lac

lac
  • Members
  • 490 posts
  • Location:Göteborg, Sweden

Posted 23 November 2008 - 12:55 PM

Thanks cmorgan (and thanks for the other fixes) and thanks Kulyok.

I am most grateful.

#5 cmorgan

cmorgan

    journeyman investigator

  • Gibberlings
  • 6910 posts
  • Gender:Male
  • Location:Glencoe, IL, USA

Posted 24 November 2008 - 04:49 PM

In decompiled _XANP, state 3 ("reputation reaction on rejoining party")

IF WEIGHT #4 /* Triggers after states #: 6 11 12 even though they appear after this state */
~HappinessLT(Myself,0)
~ THEN BEGIN 3 // from:
  SAY #86955 /* ~This whole mission has been a dismal failure from the very start. Consider my debt repaid, friends, as I certainly do.~ */
  IF ~~ THEN DO ~SetGlobal("IHATEYOUALL","LOCALS",0)
ChangeAIScript("",DEFAULT)
LeaveParty()
EscapeArea()
~ EXIT
END


Rechecking BGT\Compat\BG1NPC\FluidStates.tpa, BG1NPC's .tp2, and BG1NPC\lib\g3_fluid_cpmvars.tpa - the entries are there for BGT 1.06+ and 1.05- as well as Tutu, so no problems with crossmod variables on this one. Apparently no one else plays around with Xan's Post file in such a way as to create fluid states.

Added to bg1npc-v17\bg1npc\core\dlg\x#jfix_bgt.d
line 16
ADD_STATE_TRIGGER %XAN_POST% 3 ~!Global("X#XARomanceActive","GLOBAL",2)~


Added to bg1npc-v17\bg1npc\core\dlg\x#jfix_bgt.d
line 14
ADD_STATE_TRIGGER %XAN_POST% 3 ~!Global("X#XARomanceActive","GLOBAL",2)~


A recheck of "HappinessLT(" on Xan's decompiled _XANJ.D with BG1NPC installed shows no Happiness/Breaking Point condition left open. X#JClean takes all of them out to allow PID. The player will not face Xan just leaving while force-clicking. Instead, it takes an active response from a player to trigger him leaving the party forever.

This should mean that on both Tutu and BGT, when you kick Xan out of the party at reputation extremes, one of two things will happen:

1. If he is not in an active romance with PC, he will leave.

2. If he is in an active romance, he should be able to rejoin.

repaired 11/24/2008 prerelease v17
I love deadlines. I love the whooshing noise they make as they go by. - Douglas Adams



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users