Jagged Alliance 3

Jagged Alliance 3

42 个评价
Blood Decals Fix for Unit Deaths
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
1.952 MB
8 月 31 日 下午 1:03
1 项改动说明 ( 查看 )

订阅以下载
Blood Decals Fix for Unit Deaths

描述
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 条留言
MrNagasaki 9 月 2 日 上午 7:33 
Crazy that this wasn't officially patched
JOЯDAИ 9 月 1 日 上午 11:59 
Thanks! :Hand_Shake:
K16 9 月 1 日 上午 5:28 
very good work, i gonna test this !