Project Zomboid

Project Zomboid

1,976 ratings
TchernoLib B41
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
181.902 KB
Jun 8, 2023 @ 10:43am
Nov 30, 2024 @ 7:30am
24 Change Notes ( view )

Subscribe to download
TchernoLib B41

In 5 collections by Tchernobill
PZ Build 41
27 items
Taste of Vanilla B41
35 items
Modder Tools
5 items
Tchernobill's Animations
7 items
Crossovers
8 items
Description
Features and tools with high reuse potential.

Global Object
  • Simple interface to add your own Global Objects to the game.
  • Details here.
see Portal Gun mod for example.


Spawn
  • Spawn a specific item in a specific container.
  • Spawn a specific item from a right click + action on a specific square.
  • Details here.
see Portal Gun mod for example.


Sandbox Options
see Portal Gun and Battle Royale mods for examples.


Spectate
  • Simple interface for spectating in multiplayer.
  • Spectating remove all interactions.
  • Spectating makes invisible.
  • Spectating allows to follow other player's medical state from any distance.
see Battle Royale mod for example.


Player Variables
  • Simple interface for spreading player variables in multiplayer.
  • Adds IsoPlayer Flags to player variables.
  • Corrects ZombiesDontAttack flag. Inspired by Camouflage from the awesome Braven.
  • Player variables are (mainly) used for animations.
  • Adds isCmdReady(). A function to know when sendClientCommand can be safely used in MP.
see Infected Player mod for example.


Movement control
  • Simple interface for movement control.
  • Simple interface for teleport.
  • Vanilla movement speed recomputed with lua.
  • Tuning options for movement speed.
see No Limping mod for example.


World Chat
see NPC Baelin The Fisherman mod for example.


UI
  • Simple interface for custom keybinds. Credits to Star.
  • Simple interface for adding a new tab to Character Info window.
  • Adds Player ModData Debug to Debug Dev menu (below Global Mod Data Debug).
  • Draw circles on world (better than vanilla).
  • Draw lines (better than vanilla). [Not always displayed]
  • Shows modded icon in Item List. Thx to Notloc.
see Battle Royale mod for drawing example.


Geometry
  • Detects point inclusion in triangle.
  • Detects point inclusion in rectangle.
  • Detects intersecting point of two segments.
see Battle Royale mod for example.


Targeting
  • Adds getPlayerMouseSquare(player,goThroughWindow). Detects the square under the mouse, including lower levels.
see Portal Gun mod for example.


luautils
  • Deep lua table copy.
  • Transform square to table for data storage.
  • Formatting table, square, player for easy debug.
see Portal Gun and Battle Royale mods for examples.


FAQ
  • Safe to add midgame.
  • Safe to remove midgame (items may be lost).
  • Works in solo and multiplayer.
  • Untested for splitscreen.
  • Untested for joypad.


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.

You wanna support? A nice word is always welcome. Constructive feedback too. Else you can
[ko-fi.com] or use donate on paypal[www.paypal.com].

Workshop ID: 2986578314
Mod ID: TchernoLib
Popular Discussions View All (8)
6
Jun 11, 2023 @ 8:14am
Spawn Interface
Tchernobill
4
Jun 8, 2023 @ 8:15pm
Global Object simple interface
Tchernobill
1
Mar 30, 2024 @ 8:34am
Bug Report
KodeMan
27 Comments
Deathhead Dec 30, 2024 @ 4:33pm 
Would it be alright if I add some of your mods to a modpack for a server I'm making?
Tchernobill  [author] Dec 22, 2024 @ 9:50am 
This mod is the B41 version.
For B42, use the linked mod instead .
Tchernobill  [author] Aug 30, 2024 @ 11:28am 
@El1oN getOnlinePlayers() is always valid and not null in MP.
if it was the problem it would be line 9 error not line 10.
line ten means the online player within the online player valid range is not valid
El1oN Aug 30, 2024 @ 11:25am 
getOnlinePlayers() was not working only for admins ? iirc it returns empty for non-admins or non-server for security reasons. And why it would be very broken ?
Tchernobill  [author] Aug 30, 2024 @ 10:34am 
@El1oN afaik, there is no possibility to get an error there unless the server is already broken, VERY broken.
El1oN Aug 30, 2024 @ 10:12am 
I have this error on a server
https://pastebin.com/v6rFYYQy
Dreamy_Abyss Aug 14, 2024 @ 3:32pm 
Hello Tchernobill,

I hope you're doing well! I'm currently putting together a modpack for a Project Zomboid server called "Infected Chronicles," which is focused on creating a unique and immersive experience for our community through rp! (if anyone is interested reach out to me via messages). Your mod would be a perfect fit for the atmosphere we're aiming to build. I'd like to ask for your permission to include it in our modpack. Of course, full credit will be given to you, and I'll be sure to follow any guidelines you have. Thank you for considering my request!

Best regards,
Techspartan
Arikahika Jul 2, 2024 @ 5:24pm 
hi, I have a problem (ERROR) with your house, where can I leave more detailed information console.txt ?
Tchernobill  [author] Apr 1, 2024 @ 12:00pm 
version 1.22 is out that improves on Global Object handling.
Burryaga Mar 5, 2024 @ 1:34pm 
Minor correction to King White Wolf's explanation; the mod that is required for another to work is called the dependency. Dependencies are not called dependencies because they are dependent... they are called dependencies because other things depend on them.