Skip to content

BLOKBUSTR/LoomConfig

Repository files navigation

LoomConfig

This mod allows you to configure various parameters of the Loom monster, including logic, visuals and audio.

This mod must be installed on all clients! Some values will be desynced otherwise. Logic settings are host-authoritative, while visuals and audio are client-side.

Suggestions are welcome! Tell me what's on your mind in the Discord thread.

🔧 Configuration

All default config options match the vanilla settings exactly, so this mod should do nothing out of the box. It is up to you to fine-tune this mod to your liking, as much or as little as you want.
Configs can be updated in-game with RepoConfig. Some options will only apply on the next instantiated Loom or on level reload.

Click to expand config list:
Category ConfigEntry Default Value Description
Logic
| MaxHealth 500 The maximum health of Loom.
| ClapPlayerDamage 100 The amount of damage dealt to players by the clap attack. This setting will be synced to all clients in multiplayer.
| ClapEnemyDamage 20 The amount of damage dealt to enemies by the clap attack.
| MovementSpeed 1.2f The base movement speed of Loom.
MovementSpeedLeave 2.5f The movement speed of Loom in her Leave state
Visuals
| PlayerLookDistance 7f The maximum distance at which Loom will look at the player.
| ScreenEffectShowHands true Whether to show the hand layer in the "targeted" screen effect.
ScreenEffectShowVeins true Whether to show the vein layer in the "targeted" screen effect.
Audio
| IdleLoopVolume .1f The volume of the "idleLoop" sound.
| TargetedVolume .5f The volume of the "targeted" sound, played when Loom begins to target you
NotTargetedVolume .5f The volume of the "notTargeted" sound, played when Loom loses interest in you.
Debug
EnableDebug false Whether to enable debug logging. Keep this disabled for normal gameplay.

⚠️ Compatibility

There are no known incompatibilities yet, but this mod may potentially conflict with others that skip or extensively patch these methods:

  • EnemyShadow.Awake
  • EnemyShadow.StateLeave
  • EnemyShadow.BendLogic
  • EnemyShadowAnim.Update
  • EnemyShadowAnim.playTargetedSound (Prefix skips method if volume is disabled)
  • EnemyShadowAnim.PlayUntargetedSound (Prefix skips method if volume is disabled)
  • EnemyShadowScreenVeinEffect.Start

❤️ Acknowledgements

  • OrigamiCoder for code guidance, extensive playtesting, and a little joke for one of the method names ;)
  • My friends EvryFlare and Erysis for additional playtesting

Thank you for using this mod!
Please report any issues on GitHub or the Discord thread.

Contributors

Languages