You are viewing a potentially older version of this package. View all versions.
JaceDaDorito-LocationsOfPrecipitation-1.1.0 icon

LocationsOfPrecipitation

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

Date uploaded 6 months ago
Version 1.1.0
Download link JaceDaDorito-LocationsOfPrecipitation-1.1.0.zip
Downloads 9007
Dependency string JaceDaDorito-LocationsOfPrecipitation-1.1.0

This mod requires the following mods to function

RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.3
bbepis-BepInExPack-5.4.2113 icon
bbepis-BepInExPack

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

Preferred version: 5.4.2113

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

CHANGELOG

1.1.0

  • Added new GameObject Menu item called Risk of Rain 2.
  • New Geyser prefab option under Risk of Rain 2 menu Item. Used to quickly make custom jump pads.
  • Added InstantiateGeyserPrefab for reusing in game geysers.
  • Added InstantiateLogbookPrefab for instantiating the logbook pickup usually found on hidden realms.
  • Made Set Position And Rotation to Zero, Use Local Position and Rotation, and Refresh in Editor all set to true by default.
  • Added ShaderSwap class with ConvertShader method.

1.0.0

  • Initial Release!