Project Zomboid

Project Zomboid

ZombieReanimator
正在显示第 1 - 4 项,共 4 项条目
更新于:2022 年 7 月 7 日 上午 7:51

For some reason, the player may not have a square.
Add null check.

更新于:2022 年 7 月 3 日 上午 4:46

Fix OnClientCommand.

更新于:2022 年 5 月 7 日 上午 9:30

Fix reanimation time (Maybe this time it start work properly)
Added chance of true dead, can be configured in sandbox options.

Changed player input capture to OnPlayerUpdate.
Yes, this bad for performance.

But dat F***NG game is totally broken, no one event trigger properly:
onItemFall - broken after Build 41 (Thanks LUA), it's work only on older versions...
OnContainerUpdate - trigger when body create(good), but not when you drop body (seriously?)
- yes it's triggered when body picked up (huray), but only information provide to method is isoSquare, not the body.
OnObjectAdded - Trigger only inventory objects.
OnObjectAboutToBeRemoved - Doesn't trigger at all
Other events just suck.

I spend about 12 hours, lurking in decompiled java code and native LUA scripts.
And i give up, this java/LUA half dead abomination defeat me.

Oh, yes, almost forgot.
Reanimating corpse fully recreate zombie, copy all the data, but not mod data. (Thx Cris)

Maybe i'm too angry right now...

更新于:2022 年 5 月 4 日 上午 11:16