XuXiaolan-XuMiscTools icon

XuMiscTools

Library mod that gives moon people some nice tools!

Last updated 2 months ago
Total downloads 73879
Total rating 6 
Categories Mods Libraries BepInEx Client-side Server-side
Dependency string XuXiaolan-XuMiscTools-1.3.0
Dependants 59 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

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.