Project Zomboid

Project Zomboid

62 ratings
[B42] Arcade Machines
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
11.364 MB
2 Jan @ 9:28am
2 Jan @ 9:54am
2 Change Notes ( view )

Subscribe to download
[B42] Arcade Machines

Description
Introduction

This is my first "serious" LUA mod. I was a fan of Playable Arcade Machines mod, and it's still stuck on 41.

As an excercise in coding, I've decided to make my own mod from scratch.
As the result, this one doesn't have fantastic animations by AuthenticZ, it uses vanilla "making" animation.

Features

- Both Arcade Cabinets and Pinball machines can be played by standing in front of them, right clicking them and selecting "play".
- Playing produces sound, and sound atttracts zombies (similar to breaking bushes/objects in terms of distance).
- Playing reduces stress, unhappiness and boredom. If you wait full playing animation, all three will be reduced by 33%.
- Sandbox variables to adjust 33% to your liking (from 0% to 100%).
- Support of every Project Zomboid-supported language: actions and text were translated using ChatGPT.


[discord.gg]


Workshop ID: 3398916952
Mod ID: DeonArcadeMachines
15 Comments
Raw 3 hours ago 
Love !
Deon ☣  [author] 3 hours ago 
1) The animation would work, but B42 introduced "depth levels". So now if you animate on top of machine, it blocks the player model... I cannot figure out how to fix it yet.
2) Money + power usage will be in the next update.
Raw 3 hours ago 
Nice work !

If I can suggest two thing :
- use of money to play
- dedicated animation while playing

:deadrat:
Snek 4 Jan @ 2:55am 
Thanks for the help dude, you'll probably see me on the discord this weekend LOL
Deon ☣  [author] 4 Jan @ 2:53am 
I didn't learn much, I knew LUA language before.
What I did learn is the structure of Zomboid functions, you can find it here:
https://projectzomboid.com/modding/index.html

Also I am not a coder in life, so I looked up a lot of examples in other mods, and asked questions in PZ Modding Community (it's in the mod description at the bottom). Have fun and don't be afraid to experimet.
Snek 4 Jan @ 2:27am 
Where did you learn to do the Lua stuff I have been searching for a good source to start learning I have been trying to fix a couple mods but I can't figure it out.
Deon ☣  [author] 4 Jan @ 2:13am 
Please dont say sorry, when I am playing the games or installing mods, I am not an avid reader myself :).

I was given an idea to add a sandbox option to use Money on arcade machines, I will look into implementing it in future updates.
FrozMossFren 3 Jan @ 7:41pm 
Sorry mod author Deon, I need to get better at reading stuff fully before asking questions lol
Deon ☣  [author] 3 Jan @ 3:57pm 
1) They don't currently require power. Maybe they have a battery block? :D
I do plan to implement power requirement (and make it optional) + make them emit light, but I haven't got around to it yet.

2) As the description says, "- Playing produces sound, and sound atttracts zombies (similar to breaking bushes/objects in terms of distance)."
FrozMossFren 3 Jan @ 3:53pm 
This seems very cool- do they require power, and does the noise attract zombies?