Besiege: How to Create Skybox Packs for Object Explorer

Describes how to create skybox packs for Object Explorer.

 

Prerequisites

  • Unity 5.4.0f3
  • Visual Studio 2019 (NOT Visual Studio Code)
    • Component: .NET Framework 3.5 Development Tools
    • Workload: Game development with Unity
    • Workload: .NET Desktop Development

Instructions

  1. In Besiege, open the console with Ctrl+K.
  2. Run command with arguments: createmod
  3. Run command with arguments: createassembly
  4. In Unity, create an asset bundle with the required skyboxes and stick it into the /<mod_name>/Resources folder of your mod.
    • Add +<elevation>,<azimuth> (replacing <elevation> and <azimuth> with the appropriate numbers) to the end of the skybox file name to set the sun angle.
    • You may need to look up how to import skyboxes into Unity.
    • You may need to look up how to put things into asset bundles in Unity.
  5. Follow the instructions on how to add asset bundles to your mod.[wiki.spiderlinggames.co.uk]
  6. In Visual Studio, open your mod project file (in the /src folder of your mod).
  7. Add ObjectExplorer.dll to your solution’s references.
    • You can find it in C:\Program Files (x86)\Steam\steamapps\workshop\content\346010\1566687579\ObjectExplorer.
    • You may need to look up how to add resources to a project.
  8. Open Mod.cs.
  9. Replace the contents of this file with
    using Modding;
    
    namespace <namespace>
        public class Mod : ModEntryPoint {
            public override void OnLoad() {
                SkyboxController.LoadSkyboxes(ModResource.GetAssetBundle("<bundle name>"));
            }
        }
    }
    • Replace <namespace> with something unique.
    • Replace <bundle name> with whatever you called the asset bundle in the manifest.
  10. Compile the assembly with F6.

Your skyboxes should now be available in Object Explorer.


Thanks to dagriefaa for his great guide, all credit to his effort. you can also read the original guide from Steam Community. enjoy the game.

Related Posts:

About Robins Chew

I'm Robins, who love to play the mobile games from Google Play, I will share the gift codes in this website, if you also love mobile games, come play with me. Besides, I will also play some video games relresed from Steam.

Leave a Comment