JaceDaDorito-LocationsOfPrecipitation icon

LocationsOfPrecipitation

A utils mod that features editor and runtime tools I use for making stages!

Last updated 5 months ago
Total downloads 4541
Total rating 1 
Categories Tools Libraries Maps
Dependency string JaceDaDorito-LocationsOfPrecipitation-1.1.0
Dependants 2 other packages depend on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2113 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2113
RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.3

README

LocationsOfPrecipitation

A stage modding toolkit that streamlines addressable asset usability in a scene.

Features

  • InstantiateAddressablePrefab script that instantiates a RoR2 prefab into the Scene at runtime. Set Position and Rotation To Zero makes the prefab have no offset; some RoR2 assets have offset, making it hard to set position or rotation. Use Local Position And Rotation would make the prefab's position and rotation relative to its parent object. Refresh In Editor makes the prefab visible in editor; the prefab isn't saved to the scene to prevent GUID errors.
  • AddressableInjector script that injects a RoR2 asset into a desired field at runtime. Select the component in Target Component, pick the Target Field, then fill in the Key with any address of that type. It doesn't show the injected asset to prevent GUID errors, but it will be injected at runtime. A log will be produced when the asset is successfully injected.
  • CameraInstantiator is an editor only script that injects the RoR2 camera into your scene. This can be used to preview post processing. Building the scene with this script will have no effect in runtime.
  • SurfaceDefInjector quickly injects SurfaceDefs into any SurfaceDefProviders attatched to any children.
  • A Geyser Menu item under Risk of Rain 2.
  • InstantiateGeyserPrefab which allows you to instantiate and configure most of RoR2's jump pads.
  • InstantiateLogbookPrefab which allows you to instantiate and configure a logbook pickup prefab.

Credits

  • Initial scripts by IDeathHD / Quentin
  • Polish and cleaner editor functionality by Nebby
  • Testing and implementation by JaceDaDorito
  • Icon art by JaceDaDorito and IbanPlay