TchernoLib

If you liked this item, please rate it up on Steam Workshop page.

Author: Tchernobill

Last revision: 1 Apr at 18:57 UTC (2)

File size: 181.81 KB

On Steam Workshop

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

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.