Jagged Alliance 3

Jagged Alliance 3

42 betyg
Blood Decals Fix for Unit Deaths
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
1.952 MB
31 aug @ 13:03
1 ändringsnotis ( visa )

Abonnera för att ladda ner
Blood Decals Fix for Unit Deaths

Beskrivning
Blood Decals Fix for Unit Deaths
This mod fixes a bug where blood decals disappeared after a unit's death. With this mod, blood decals no longer vanish when a unit's death animation begins.
In my opinion, this bug was ruining immersion, but now the immersion is significantly improved.

Initially, I thought it was a game engine error and that it couldn't be fixed. However, while investigating the cause of the bug, I finally identified it.

The blood decals disappeared after a kill shot when the character was in the "Wounded" state. In the "Wounded" function, there was code responsible for clearing the blood decals. I removed it, as the code below was causing the bug.

if obj:IsKindOf("Unit") and not obj:IsDead() then
obj:ClearStains("Blood")


After the fix, the removal of graphical blood decals from mercenaries upon healing wounds and clearing the "Wounded" status effect works correctly. After deletion the code retains all its logic and the "Wounded" effect works correctly.
3 kommentarer
MrNagasaki 2 sep @ 7:33 
Crazy that this wasn't officially patched
JOЯDAИ 1 sep @ 11:59 
Thanks! :Hand_Shake:
K16 1 sep @ 5:28 
very good work, i gonna test this !