sfall-team / sfall

sfall - Engine modifications for Fallout 2
https://sfall-team.github.io/sfall/
GNU General Public License v3.0
338 stars 40 forks source link

Bug with NPC tries to spend remaining AP option #524

Closed DondeEstaTuHallPass closed 2 months ago

DondeEstaTuHallPass commented 2 months ago

When NPC kills itself by getting caught by their own AOE attacks, it will temporarily "reanimate" and walk around for a bit just to spend remaining AP. Next, you get rather hilarious looking NPC's corpse that's standing normal, sometimes even playing idle animation. The game still register them as being dead, you can loot their "corpses" just fine. It just looks hilarious.

It usually happens with Hubologist vs press gang encounter where one with plasma grenade throws one too close to their own and blows themselves up.

NovaRain commented 2 months ago

Try this test build: sfall-npc-retry-fix.zip It should prevent dead NPCs from trying to spend their remaining AP.

phobos2077 commented 2 months ago

Is this sfall fault or vanilla issue?

NovaRain commented 2 months ago

Is this sfall fault or vanilla issue?

It's from NPCsTryToSpendExtraAP.

NovaRain commented 2 months ago

OK, I replaced all encounters around San Fran with "Hubologists vs Press Gang" and got three times of this glitch in an hour of encounter grinding. I didn't get the glitch anymore with the code change in another hour of grinding, so I consider my fix works.