Project Zomboid

Project Zomboid

Zombie Breaking Car Window
Počet komentářů: 17
williamasecas 18. dub. v 12.10 
Hello. When game attepts to spawn zombies an error pops up.

Game shows: client/ZombieInCars.lua line # 84

Console shows:
function: OnPlayerMove -- file: ZombieInCars.lua line # 84 | MOD: ZombieInCar

LOG : General , 1745002926802> __add not defined for operands in OnPlayerMove
123 4. říj. 2024 v 5.54 
支持cdda吗
darkanu  [autor] 25. čvn. 2024 v 2.19 
Hi there Zniky, That's amazing we are always trying to improve our plays, I was missing some random factor that could change the play scenario here in PZ so then I created that one rsrs.

Ben it has an option within the Sandbox options that if you let unmarked the zombie has a possibility of spawning stuck, I let the window position through it, so still possible.

The second one I'm sure it isn't, PZ doesn't have any mechanic with the Inside car for example. So this would not be allowed or it will be truly OP letting the person enter and then killing you by entering in the car or something like that (You would not have any chance of defence)

Sorry for the late answer guys!
Ben_OnAir 20. čvn. 2024 v 10.35 
do you think it's possible to make the zombie "stuck" in the car instead of it crawling out from the window? also if it's possible to emulate a zombie that would be inside the car but wouldn't have broken the window?
ZnikyBaztard 10. čvn. 2024 v 8.49 
dude i tho about making a mod like this 2 days ago and now it pops out wow amazing!!
darkanu  [autor] 24. kvě. 2024 v 10.29 
That's really strange :s to be pretty sure I have no idea why you are facing this, if you put up a local server with my mode only can you check the behavior?
WitheringHex 20. kvě. 2024 v 12.04 
Yes, I waited for each 10 minute tick. No zombies spawned at any time.

I have other mods on my server that alter zombie behavior, so I disabled them as well.

I also checked your code, and it seems valid. I tried different load orders, and finally just ran it alongside some basic QoL UI Mods which don't affect anything with zombies, and it still did not spawn any zombies.

Couldn't see any errors thrown in the console, or server debug logs either.

Everything fires in the function up to breaking the glass, and then no zombie spawns, either standing or crawling.
darkanu  [autor] 20. kvě. 2024 v 4.23 
Hi Withering the mod is coordinated with the 10 minutes events, if you set the probsbility to 100% you need to at least wait for 10 min in game to be "able" to spawn again, can you check this?? Did the zombie spawn anytime or never happened with you ?? Thanks for the feedback I need to have more concrete data, you're the first to give this feedback as seems to be working normally for the others, also it's just available on build 41 >
WitheringHex 20. kvě. 2024 v 3.39 
Sounds like an awesome mod, but the zombies do not spawn in.

I have tried in Single Player, as well as Multiplayer Hosted/Dedicated.

I can walk up to a window and the glass will break, which is awesome and startling.

But that is all that happens. No zombies, standing, or crawling.

Major bummer
darkanu  [autor] 13. kvě. 2024 v 1.29 
hmm it's a good point I can add that into the next fix, So the Idea would be both random like 50% of happening one or the other when it happens.
suzinistherealjuno 11. kvě. 2024 v 16.17 
you should add the possibilty of either a crawler or a walker spawning not one or the other
darkanu  [autor] 11. kvě. 2024 v 3.09 
Video / Screenshots and descriptions updated.
xynm 11. kvě. 2024 v 1.53 
Can we get a video of how this works?
JOMBi 10. kvě. 2024 v 13.00 
working in multiplayer?
RamboTurkey 10. kvě. 2024 v 12.18 
its not exactly clear what it does
darkanu  [autor] 9. kvě. 2024 v 14.43 
Thanks sampson there's a customisable probability of some zombie break some car window so be careful outside !! =)
suzinistherealjuno 9. kvě. 2024 v 13.52 
sounds really interesting and i think it will be added to a lot of hardcore collections