Create an account

TchernoLib (18 July 2023)  

Upload: 02 Jul 2023, 14:59
Last updated: 18-07-2023, 14:22
Created by: Tchernobill [X]
Uploaded by: Aqxaro
TchernoLib (18 July 2023)

Features and tools with high reuse potential.

Global Object
  • Simple interface to add your own Global Objects to the game.
  • Details here.
Spawn
  • Spawn a specific item in a specific container.
  • Spawn a specific item from a right click + action on a specific square.
  • Details here.
Sandbox Options
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.
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.
Movement control
  • Simple interface for movement control.
UI
  • 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.
Geometry
  • Detects point inclusion in triangle.
  • Detects point inclusion in rectangle.
  • Detects intersecting point of two segments.
Targeting
  • Adds getPlayerMouseSquare(player,goThroughWindow). Detects the square under the mouse, including lower levels.
luautils
  • Deep lua table copy.
  • Transform square to table for data storage.
  • Formatting table, square, player for easy debug.
Comments
The minimum comment length is 10 characters.