Project Zomboid

Project Zomboid

548 ratings
Working Seatbelt
5
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
722.210 KB
19 Oct, 2023 @ 3:45pm
16 Sep @ 8:35pm
29 Change Notes ( view )

Subscribe to download
Working Seatbelt

Description
Description
Stay safe in the apocalypse, either by fastening your seatbelt, or relying on your airbag, and reduce the damage taken from car crashes, as you navigate the infected streets of Kentucky!

Important Note
The vehicle damage system in Project Zomboid operates randomly, meaning that even with identical conditions (such as player health, speed, and type of car), two crashes can result in different levels of damage. In one instance, you might end up with 75% health and no serious injuries, while in another, you could have only 20% health and several deep wounds. It's important to know that this mod can't help with crashes that are bad enough to lead to death, due to limitations in the game's scripts. At the current moment, the mod will only reduce damage and fractures resulted in a car crash. For other wounds (Cuts/scratches/etc), they'll be added in later updates

Compatibility
  • Other Mods
  • Game Version - Tested and works on 41.78.16+. Not tested on earlier versions
  • Multiplayer - Functional in multiplayer
  • Pre-existing saves - Can be added to your pre-existing save, though sandbox settings will be set at default values, which may not be ideal for everyone

To-do
The following feature(s) are planned to be added in the future for this mod
  • Reduce other wounds (Bleeding/Scratches/etc) from car crashes

Known Bugs/Issues
  • None at the moment

Translations
The mod is currently available in English and multiple other languages, which can be seen at the credits section.

If you'd like to translate this mod to your local language, feel free to do so, upload the translation, and comment out the link so it can be added.
Not sure where to start? Check out this guide

Links
[discord.gg] - Join us on Discord
[ko-fi.com] - I love Coffee. Perhaps you'll consider buying me one?

Feedback
Whether it is a suggestion, feedback, or something else you've got on mind, it'd be hugely appreciated!



Check out my other mods!


Credits

This mod's permissions fall under TIS's policy Ask for permission[theindiestone.com]

This mod can only be added to and extended with the express permission from the original creator. Having received permission, credit must be given to the original creator, both within the files of the mod and wherever the mod roams online.

If no permission is received you may not alter the mod, and it must be treated as a mod that is 'On Lockdown'.

The only exception is that servers may freely include this mod in their modpacks, with the freedom to alter it or make modifications as they see fit, as long as credits are properly given to the original creator.

Workshop ID: 3055029361
Mod ID: WorkingSeatbelt
Popular Discussions View All (2)
11
17 Sep @ 9:46am
Translations
juni2335
0
26 Oct @ 7:43pm
French translation
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ
213 Comments
Alex 12 Nov @ 3:05pm 
it should simply prevent instant death, not do less damage
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 26 Oct @ 7:44pm 
Added french translation in the discussions tab
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 26 Oct @ 6:33pm 
I'm on azerty keyboard
So maybe try to change the keyboard with the french one

aZertyuiop
QSDfghjklm
Wxcvbn

In the main menu or mod menu for example press "Z" (or w to see what is happening)
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 26 Oct @ 6:31pm 
STACK TRACE
-----------------------------------------
function: onKeyStartPressed -- file: WorkingSeatbelt_Utils.lua line # 260 | MOD: Working Seatbelt

ERROR: General , 1729992605542> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getVehicle of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1729992605542> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: getVehicle of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 26 Oct @ 6:31pm 
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:92)
at zombie.input.GameKeyboard.update(GameKeyboard.java:106)
at zombie.GameWindow.logic(GameWindow.java:249)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:667)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
Exphia 19 Oct @ 9:51pm 
li like your mod a lot man, but recently i noticed that playing in 12 months later the vehicles get stuck on those grass patches that form on the road making the car fully stop on its tracks. making it imposible to drive with the mod on.
Ryan 16 Oct @ 6:01pm 
I think I partially figured out the problem. the code you're using for parsing those translations seems problematic. ContextMenu_EN = {
ContextMenu_FastenSeatbelt = "Fasten Seatbelt"
ContextMenu_UnfastenSeatbelt = "Unfasten Seatbelt"
ContextMenu_ToggleSeatbeltChime = "Toggle Seatbelt Chime"
} the func only seems to import the first part of the text not the actual text. On above example it's only importing ContextMenu_FastenSeatbelt not the later part. You can verify this by switching to other languages.
Arendameth  [author] 16 Oct @ 5:09pm 
The only reason it'd show like that is if the mod's translation files aren't correctly downloaded. They should be in:

steamapps\workshop\content\108600\3055029361\mods\Working Seatbelt\media\lua\shared\translate\EN

And it seems they're being loaded correctly based on your logs file
Arendameth  [author] 16 Oct @ 5:07pm 
@Ryan
I am not sure if its related, but could you verify Project Zomboid's files integrity through steam and see if that fixes the issue?