FireNoobsta-MapLoader icon

MapLoader

Loads scene asset bundles and creates portals in Sanctum that lead to them.

Last updated 20 hours ago
Total downloads 124
Total rating 0 
Categories
Dependency string FireNoobsta-MapLoader-1.0.0
Dependants 2 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Map Loader

This is a helper mod to load maps contained in an asset bundle. It looks through the plugins folder and finds bundles that end with ".mapbundle". It will load them, and make a portal for each bundle. The portal caption will be the name of the scene that was bundled. The portals will appear on the spawn platform in Sanctum.

For Mappers

To make a map you'll need a decompiled project of Atlyss. You can follow this tutorial to get one https://github.com/Peliex/ATLYSSModdingDocumentation/wiki/Setup.

Once you have a working project, you can copy an existing map and edit it how you want. Make sure you have a spawn point with the tag "spawnPoint" since the map loader will make a portal pointing to this tag. The caption on the portal will be the name of the scene you bundle.

When the map is ready, you can bundle it with thunderkit or AssetBundleBrowser. Just make sure the extension is ".mapbundle" so the loader will see it.

If you want to upload the map, remember to include the dependency string of this mod in your manifest.

Known Issues

  • Currently this can only load 8 maps at a time because I haven't defined more postions to put portals in.
  • This mod doesn't check if a mod depends on it. It just loads any files it finds that end with ".mapbundle" so a mod that relies on loading its own bundle will need to use a different extension.
  • Although the host can see the portal captions, clients cannot. Hosts with multiple maps will need to point players to the right portals.
  • Clients will spawn portals regardless if they have the same maps as the host. If a client does not have the map mod for an associated portal, entering it will softlock them.