Stick Fight: The Game
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
last month
Downloads
289
Size
40KB

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.