Stick Fight: The Game
Install with App

Details

Latest version
1.1.0
Last Updated
First Uploaded
Downloads
203
Likes
1
Size
41KB
Dependants

Categories

BayTurtleKing's Level Loader

This mod is a shared library that lets other mods add custom map categories ("worlds") without patching the game's code directly. It handles tab creation and AssetBundle scene routing for you, plus much more.

Since you can also include code, this is much more than just a copy of the workshop level loader. Levels using this can have unique features and quirks.

How to register a world:

int[] mapIds = thelibrary.addworld(

` categoryname: "MyWorld",           // tab label or name `

dabundlee: asset_bundle, // the assetbundle

thescenepaths: path_ofscenes, // string[] of scene paths inside the bundle

mapnamesmaybe: null, // custom per map names (optional)

picsmaybe: null, // byte[][] preview thumbnails (one per scene) (optional)

` whoarewestealingfrom: "Halloween" // use "Christmas" if you want the Christmas gifts to show `

);

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.