In
BG2 SOA Chapter 14 (vanilla 2), I'm at a point on the Thief Stronghold quests that I've proven Mae'Var treachery to Renal and Renal as ordered the execution of Mae'Var on trying to interact to Mae'Var nothing happens, no dialog can be had or triggered. From what i remember of the unmodded game as soon as I was at Mae'var sight he would trigger talk to me and turn hostile. However, I'm not sure this is a bug or it is intended to work this way (maybe more content).
I've looked at the scripts and the dialog files with Near Infinity and managed to see that the Global Value "MAEVAREXPOSED" is the problem. In Renal dialog (RENAL.DLG) state 40/122:
"You won't make that smile disappear, will you? You've brought news, perhaps? You've brought some evidence of Mae'Var's foulness? Do tell, <CHARNAME>.", will lead to the following actions:
AddexperienceParty(48250)
TakePartyItemNum("MISC4V",1) // Mae'Var's Letter
TakePartyItemNum("MISC4T",1) // Letter of Transfer
SetGlobal("MaeVarExposed","GLOBAL",1)
Following the dialog and accepting to kill Mae'Var, in state 45/122 of Renal dialog:
"That's a good sport!" , and the following actions:
SetGlobal("MAEVAREXPOSED","GLOBAL",0)
SetGlobal("RenalJob","GLOBAL",3)
SetGlobal("KillMae","GLOBAL",1)
SetGlobalTimer("EdwinMae","GLOBAL",ONE_DAY)
This "MAEVAREXPOSED" reset to '0' seems to be the problem since its the trigger to Mae'Var dialog (MAEVAR.DLG) state 42/48:
"Come for me, have you? I know. I've still those loyal to me, and they have warned me. We'll not lay down for you! Do as you must!" and the following actions:
Shout(89)
Enemy()
I've tested two workaround this problem. 1) Force attack Mae'Var, did not get Mae'var dialog but was able to end the quest with Renal; 2) Use the console to SetGlobal("MaeVarExposed","GLOBAL",1), upon entering the room with Mae'var the dialog did trigger.
Finally, my concern is that some mod changed this on purpose to add content, and thus my workaround would break an intended part of the game. After searching BCS and DLG files in Near Infinity I couldn't find any other line of code that shares the same global values.
Also, I've searched some mod read mes and forums and there is a well known Ding0's Questpack bug. However my case doesn't quite fit. In that bug, all Thieves (Renal and Mae'var) turn hostile which can be solved by changing "MAEVAREXPOSED" Global value to 2. This is not my case as Shadow thieves won't turn hostile and the quest will complete with my workaround.