As the title says, option is checked but bot still loots corpses anyway
Using GT 1.6.3.3 and #279
I'm reviving this thread because this is still an issue and I believe we can fix this.
Now, if only I could find where in that code Giles put the non-blocking container SNO's...
temporary solution here:I'm reviving this thread because this is still an issue and I believe we can fix this.
Now, if only I could find where in that code Giles put the non-blocking container SNO's...
if (iThisPhysicsSNO > 0 || !settings.bIgnoreCorpses)
{
bBlacklistThis = false;
iMinDistance = settings.iContainerOpenRange;
}
else
{
bBlacklistThis = true;
}
if (tmp_sThisInternalName.Contains("corpse") && settings.bIgnoreCorpses)
{
bBlacklistThis = true;
}
else if (iThisPhysicsSNO > 0 || !settings.bIgnoreCorpses)
{
Logging.WriteDiagnostic("[GilesTrinity] open container " + tmp_sThisInternalName + "[" + tmp_iThisActorSNO.ToString() + "]" + iThisPhysicsSNO);
bBlacklistThis = false;
iMinDistance = settings.iContainerOpenRange;
}
else
{
bBlacklistThis = true;
}
Man, what would I do without you?temporary solution here:
change
to thisCode:if (iThisPhysicsSNO > 0 || !settings.bIgnoreCorpses) { bBlacklistThis = false; iMinDistance = settings.iContainerOpenRange; } else { bBlacklistThis = true; }
I remember it's DB changed the physic mesh to handle some bug here... so physicSNO can't judge the corpse now.Code:if (tmp_sThisInternalName.Contains("corpse") && settings.bIgnoreCorpses) { bBlacklistThis = true; } else if (iThisPhysicsSNO > 0 || !settings.bIgnoreCorpses) { Logging.WriteDiagnostic("[GilesTrinity] open container " + tmp_sThisInternalName + "[" + tmp_iThisActorSNO.ToString() + "]" + iThisPhysicsSNO); bBlacklistThis = false; iMinDistance = settings.iContainerOpenRange; } else { bBlacklistThis = true; }
I will find more elegant solution if there is.
may change to this : tmp_sThisInternalName.ToLower().Contains("corpse")Man, what would I do without you?
Shame I'm only seeing this now, so this'll have to wait until v0.38 of Unified
Will domay change to this : tmp_sThisInternalName.ToLower().Contains("corpse")






