A library of common code and useful functions shared by some mods. The primary purpose is to decrease the overall filesizes of PolySaken's mods by putting reused code in a single library, however, it can be used by anyone.
features:
- isolated sound sets for metal, plastic, sand, and glass nodes so you can use common sound styles without needing to make your own or depend on default
- A material unification system to prevent orebloat, e.x. depend on vision_lib and visionLib.Material.require({"some_metal"}) rather than registering your own items for the metal, which makes it easier to use lots of metals and also prevents situations like where mod1:steel and mod2:steel are different items but serve the same purpose. (this will only work if said material is supported by vision_lib, but I'll add more on request.)
- a useful connected node detection function, good for wires/multiblocks.
- many more misc functions to make your life easier.
planned features include:
- functions for drawing with particles
depends: none
optional depends: technic, basic_materials, moreores
license of textures and code: CC-BY-SA 4.0
download
[mod] Vision Lib [vision_lib]
- PolySaken
- Member
- Posts: 817
- Joined: Thu Nov 09, 2017 05:18
- GitHub: PolySaken-I-Am
- In-game: PolySaken
- Location: Wānaka, Aotearoa
- Contact:
[mod] Vision Lib [vision_lib]
Last edited by PolySaken on Thu Jul 15, 2021 13:41, edited 1 time in total.
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.
- PolySaken
- Member
- Posts: 817
- Joined: Thu Nov 09, 2017 05:18
- GitHub: PolySaken-I-Am
- In-game: PolySaken
- Location: Wānaka, Aotearoa
- Contact:
Re: [mod] Vision Lib
Vision Lib now has a proper documentation, so anyone that doesn't yet know the limitless power of unified materials may bask in their glory.
It also now has the capability to automatically generate textures and recipes for decorative node variants:
This is as simple as visionLib.Material.CreateVariants('modname:nodename', true) for any given node.
Vision Lib will generate variants for default nodes automatically.
It also now has the capability to automatically generate textures and recipes for decorative node variants:
This is as simple as visionLib.Material.CreateVariants('modname:nodename', true) for any given node.
Vision Lib will generate variants for default nodes automatically.
- Attachments
-
- screenshot_20210716_010214.png (749.43 KiB) Viewed 964 times
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.
Who is online
Users browsing this forum: No registered users and 30 guests