XuMiscTools

v1.3.1·Updated 2024-12-12

Library mod that gives moon people some nice tools!

About this mod Author’s original text

XuMiscTools

Mod for moon creators who need some better tools for some damage stuff, or shovel stuff, or really anything, this is technically a library I guess.

Currently includes the following

Most importantly, SpawnDenialPoints are better for moon makers

  • This means that you can use SpawnDenialPoints to properly block outside hazards from spawning in places you don't want them to spawn without spamming a million SpawnDenialPoints.
  • The setup is very simple, create a node similar to an AINode, give it any name but it needs to contain _XuPatch somewhere in the name.
  • Give it a Sphere collider, give it a radius of 1, then scale up the gameobject itself and not the Sphere collider.
  • Once it reaches a scale you're happy with, just disable the sphere collider, give it the SpawnDenialPoints tag, and that's it.

BetterCooldownTrigger script

  • Requires two things: a Collider with IsTrigger turned on, and this script put onto that same gameobject, from there, you'll be able to specify the following:
  • The cooldown interval for how long the script waits before it triggers again.
  • The damage to the player every time the interval ends.
  • Whether the script affects enemies too.
  • The cooldown interval for affecting enemies too.
  • The damage to the enemy every time the interval ends.
  • Whether the cooldown is shared among different gameobjects that the script is put onto, i.e. useful if don't want to spam the player with damage because you condensed the collider on top of eachother in some places.
  • Specify both the ragdoll and the cause of death when the player dies.
  • Apply a force onto the player either every damage interval or on death, the direction of the force can be either relative to the object or relative to the player.
  • Able to have random sounds play, give it a list of sounds and a list of audiosources and it'll play the audiosource closest to the player with a random sound.
  • Able to choose to have whether you want dogs to be attracted by the sound or not.

LightningScript

TeleportTrigger

Licensed under MIT.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
XuMiscTools-1.3.1.zip
File size
831.1 KiB