Jump to content


Photo

BGT 1.01 + BG1NPC Jaheira problem


  • Please log in to reply
7 replies to this topic

#1 ScuD

ScuD
  • Member
  • 492 posts

Posted 13 July 2006 - 12:16 PM

I have meda-modification installed and BGT and BG1NPC are there.
I've found out the source of the problem of Jaheira's leaving on initiating the dialog. It appears that her happiness value drops to -80 and this triggers the appropriate dialog.
The most interesting thing is that her happiness drops just at the moment the reputation was increased by 1 (previous value was 20) from 80 to -80.
Can anyone of our gurus help me to resolve the situation? ;)
I could not find any commands controlling the happiness...

#2 ScuD

ScuD
  • Member
  • 492 posts

Posted 14 July 2006 - 01:01 AM

OK, I've figured it out using IESDP :)
There's a HAPPY.2DA file that controls the reputation effect on character or creature happiness. According to it, NEUTRAL character happiness (Jaheira) will always be -80 if the party reputation is 19-20.
The problem of Jaheira's leaving appeared because of the following dialog trigger:
HappinessLT(Myself,0)
!InParty("Khalid")
GlobalLT("ENDOFBG1","GLOBAL",2)
It triggers when Jaheira initiates the dialog with the PC, so she and Khalid leave.
IMHO to avoid it and initiate the correct Jaheira's dialog we need to have HappinessLT(Myself,-80) or HappinessLT(Myself,-160) in the trigger.
Correct me if I'm wrong.

Edited by ScuD, 14 July 2006 - 02:08 AM.


#3 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 16 July 2006 - 03:13 AM

Well, are neutral characters supposed to get annoyed and leave when your reputation gets too high?

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#4 ScuD

ScuD
  • Member
  • 492 posts

Posted 17 July 2006 - 12:18 AM

Don't know, but Jaheira's dialog made the way I've written above.

#5 Pablo

Pablo
  • Member
  • 19 posts

Posted 18 July 2006 - 03:24 PM

Well, are neutral characters supposed to get annoyed and leave when your reputation gets too high?

Hi!

Evil Characters will leave a party with a very high reputation, but neutral characters should remain and complain continuously.

Pablo

#6 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 19 July 2006 - 05:28 AM

OK. I'll check this out.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#7 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 14 September 2006 - 06:16 AM

Right, you can't get a drop from 80 to -80 happiness with a reputation increase of one, as governed by HAPPY.2DA. Whether Neutral NPCs should remain and continuously complain, someone will have to advise me on that, but this certainly is not the case in BG1. If we are to keep faithful to the BG1 mechanic, then a tweak component could soften the leaving impetus (although there already is a component that removes leaving altogether).

Suggestions?

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#8 cmorgan

cmorgan
  • Modder
  • 2301 posts

Posted 14 September 2006 - 02:40 PM

I am still researching a way to directly modify the happiness value of an actor. If we could do that, we could simply add an equivalent happiness "bonus" to offset Jaheira's quandry -- if a high-rep PC does poorly on the quest and loses Beador, Jaheira will stay because reputation will drop; if you do a good job of it, she will definitely leave even though you have done just what she wanted you to do.

Consensus on Tutu's end was that the BG1 behavior should be preserved (Jaheira should take off if your rep is too high or too low); currently, this happens less on the Tutu side because a number of people appear to modify Jaheira to Neutral Good, allowing her to remain with a party that has a high reputation.

Short of figuring out how to add a positive boost to Happiness via script, as a final resort, I can contact Domi and request removal of the reputation evaluation until the end of the quest. This is not a great way out of it because it merely delays when Jaheria leaves. If you are a high rep party, you will get a 2 point boost over the course of the quest, and Neutral Jaheira will leave to preserve the balance with a less "good" party. Removal of all reputation bonus if the party is above a target reputation (ReputationGT(Player1,15) ? ) could also take place, but would need some additional bonus given to the party to compensate.

I, too, am open to suggestions :)

Edited by cmorgan, 14 September 2006 - 02:43 PM.