Jump to content


Photo

Pelltar's 'broken' dialog


  • Please log in to reply
5 replies to this topic

#1 AerosAtar

AerosAtar
  • Member
  • 24 posts

Posted 17 December 2005 - 07:38 AM

Pelltar's dialog seems to break every time he starts descibing the murder suspects - he never describes the third one. Having dug around, I *think* (and correct me if I am wrong, please! :)) that this is being caused by one of the conditions set in that part of the dialog - Fabio's interjection.

The current conditions use 'Exists' triggers. From my understanding, this means that if Fabio exists anywhere in the game he will attempt to interject. However, if he is not in the party the dialog terminates.

Would it be better to use 'IfValidForPartyDialog' triggers, as has been done with Imoen? I've modified my own files to reflect this and the dialog proceeds through without a hitch - I get descriptions of all three suspects and can finish the chain.

The file attached to this post is my own 'fixed' version of the .D file from the /BGT/D subfolder.

Attached Files

  • Attached File  BHPELL.D   11.78K   212 downloads


#2 Sir BillyBob

Sir BillyBob
  • Modder
  • 5315 posts

Posted 17 December 2005 - 10:36 AM

Exists() checks to see if the CRE (actually the DeathName variable) is on the same map, not somewhere in the game. Unless Fabio is dead, he should be on the BH0500 area with you even though he isn't a member of your team.

By the way, who came you for assistance outside of Candlekeep? Fabio or Pelltar?

Tired of Bhaal? Try some classics mods instead:
Classic Adventures
Official Classic Adventures Website


#3 AerosAtar

AerosAtar
  • Member
  • 24 posts

Posted 17 December 2005 - 10:42 AM

Exists() checks to see if the CRE (actually the DeathName variable) is on the same map, not somewhere in the game. Unless Fabio is dead, he should be on the BH0500 area with you even though he isn't a member of your team.

By the way, who came you for assistance outside of Candlekeep? Fabio or Pelltar?


I believe, although I am not 100% certain, that it was Fabio (he had a scroll Pelltar had given him).

So I was wrong about the Exists() trigger? Thanks for clearing that up :). I wonder what could be causing the issue then... I've seen it every time I have played through part 2 of SoBH - Pelltar never describes the third suspect and CHARNAME never gets given the three clues because the dialog terminates before the appropriate endpoint.

I'm still learning when it comes to the whole modding thing... although I am enjoying it and hopefully will be able to make my own mod someday instead of annoying all of you... ;)

Edited by AerosAtar, 17 December 2005 - 10:45 AM.


#4 Sir BillyBob

Sir BillyBob
  • Modder
  • 5315 posts

Posted 17 December 2005 - 01:20 PM

I think I have found the problem. Pelltar's dialog calls to BHFabio, which is Fabio's dialog if he is not a member of the party (BHFABIOJ is the dialog when he is a member). If you had Fabio in the party prior to this, he left you before you teleported back to the Lathander temple. When he does, his dialog is BHFABIOP. The P dialogs are what is used when an NPC leaves you. So the problems seems to be that if Fabio was never in your party, this dialog between Pelltar and Fabio should work. If he ever was a member of the party, I don't the right dialog set for him when he talks to you again. Never mind the Fabio you see outside Candlekeep, I use a different CRE file then.

So, to confirm my thinking; did you have Fabio in your party at any point?

Tired of Bhaal? Try some classics mods instead:
Classic Adventures
Official Classic Adventures Website


#5 AerosAtar

AerosAtar
  • Member
  • 24 posts

Posted 17 December 2005 - 02:43 PM

So, to confirm my thinking; did you have Fabio in your party at any point?


I have been running Solo characters recently, but it is possible that I had him join, stripped him of his equipment, and then dumped him (I did this with evey other NPC I encountered, to the likelihood is high). So I guess the answer is... a strong maybe...

That's... not very helpful, is it? :ermm:

#6 Sir BillyBob

Sir BillyBob
  • Modder
  • 5315 posts

Posted 18 December 2005 - 05:57 AM

No, but another post shows that Pelltar's dialog works if Fabio is currently in your party. Therefore, this makes sense. I will have to work on a small patch for this.

Tired of Bhaal? Try some classics mods instead:
Classic Adventures
Official Classic Adventures Website