You are viewing a potentially older version of this package. View all versions.
XuXiaolan-XuMiscTools-1.3.1 icon

XuMiscTools

Library mod that gives moon people some nice tools!

Date uploaded 17 hours ago
Version 1.3.1
Download link XuXiaolan-XuMiscTools-1.3.1.zip
Downloads 1029
Dependency string XuXiaolan-XuMiscTools-1.3.1

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.

CHANGELOG

XuMiscTools Changelog

V1.3.1

  • Added a thing for s1ckboy, enjoy.

V1.3.0

  • Deprecated some systems and undeprecated this mod for a SpawnDenialPoints necessity.
  • Weapon scripts no longer exist.
  • Kept everything else + added teleport triggers.

v1.2.0

  • Added LightningStrike script.
  • Improved BetterCooldownTrigger script
  • Added BetterKnife script.

v1.1.0

  • Fixed better shovel script, improved on it a lot.

v1.0.1

  • Quick bug fix.

v1.0.0

  • Wee release!