Open Rez2557 opened 3 months ago
To anyone who encounters this before the issue is fixed, here's a workaround:
This will teleport you to Xardas' room, bypassing having to talk to the demon
Hi, @Rez2557 and thanks for report!
I can't seem to attach my save file, but here's the log.txt
zipping save file should help - github usually complains about unknown extensions
@Try looked already what's happening and found the issue plus two additional ones.
To reproduce take option Find Xardas
in chapter 4 story helper dialog and then goto waypoint DT_MAINGATE
.
PercTime is never set for demon leading to an infinite AI_StandUp
loop. Changing the default value for perceptionTime
to 1000 fixes it in a new game.
There are two other problems where I haven't found a good solution besides hacking something in.
Talking perc is linked to ZS_Talk
in ZS_XardasDemon
instead of the usual B_AssessTalk
which doesn't trigger talk state but only executing ZS_Talk
function. At a second talking attempt AIV_INVINCIBLE
is still true which prevents talking.
FUNC void ZS_Talk ()
{
PrintDebugNpc(PD_ZS_FRAME,"ZS_Talk");
// early exit
if (other.aivar[AIV_INVINCIBLE]==TRUE)
{
PrintDebugNpc (PD_ZS_CHECK, "...SC spricht schon!");
AI_ContinueRoutine (self);
return;
};
C_ZSInit();
B_SetFaceExpression(self, other);
self.aivar[AIV_INVINCIBLE]=TRUE;
other.aivar[AIV_INVINCIBLE]=TRUE;
Third problem is that hero is still talking but can already move and camera is no longer in dialog mode when ending the dialog.
FUNC VOID Info_XardasDemon_EXIT_Info()
{
AI_Output (self, other,"DIA_BaalCadar_NoTalk_Hi_02_01"); //
AI_Output (hero, self,"Info_Saturas_EXIT_15_01"); //... Mortal?... who, me?... Okay, I'm on my way!
AI_StopProcessInfos (self); // called before Info_Saturas_EXIT_15_01; ended
};
I'm playing on Fedora Linux, GOG version. I just got to the Xardas' tower in the fourth chapter. When I enter the tower, to the left there is a Lesser Demon, that seems to autotalk with me. When in does that my character and the demon freeze mid-animation, no text pops up, but I can still move the camera up and down with the mouse. I can't seem to attach my save file, but here's the log.txt: