JereKuusela-Structure_Tweaks icon

Structure Tweaks

Changes the game logic to allow invisible, invulnerable, non-colliding, non-interactable or untargetable objects. Also allow overriding visual wear and plant growth.

Last updated 3 days ago
Total downloads 899
Total rating 1 
Categories Tweaks Server-side Client-side
Dependency string JereKuusela-Structure_Tweaks-1.3.0
Dependants 4 other mods depend on this mod

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1901 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.1901

README

Structure Tweaks

Changes the game logic to allow invisible, invulnerable, non-colliding, non-interactable or untargetable objects. Also allow overriding visual wear and plant growth.

Install on all clients and on the server (modding guide).

Features

Each feature can be disabled from the config.

  • Objects with more than 1E19 health fully ignore any damage (status effects are not applied and damage numbers are not shown).
  • Objects with more than 1E19 health can't be deconstructed (execpt by the creator).
  • Objects with more than 1E19 health ignore the structure support system.
  • Pieces without creator won't be directly targeted by the enemies.
  • Objects can be modified to be invisible.
  • Objects can be modified to remove interaction.
  • Objects can be modified to have no collision.
  • Portals can be modified to allow all items.
  • Object visual wear can be overridden.
  • Plant visual growth can be overridden.

Commands

Two commands that allow changing visual growth or wear of own plants and structures. This can be disabled from the config.

  • growth=[big/big_bad/small/small_bad]: Overrides the plant growth. Prevents growing up.
  • wear=[broken/damaged/healthy]: Overrides the wear health.

For other changes you need mods like Infinity Hammer or World Edit Commands.

Config

  • All objects can be scaled : Scaling works for every object.
  • Ignore damage when infinite health: amage is fully ignored for objects with infinite health.
  • Protect pieces with infinite health: Pieces with infinite health can't be deconstructed (except by the creator).
  • Max support with infinite health: Pieces with infinite health have max structure support.
  • No enemy targeting when no creator: Enemies won't target neutral structure.
  • Override collision : Collision can be overridden (requires reloading the area).
  • Override falling : Object fall behavior can be overridden.
  • Override growth : Growth visual can be overridden.
  • Override interact : Interactability can be overridden.
  • Override portal restrictions : Teleporting with restricted items can be overridden.
  • Override rendering : Rendering can be overridden (requires reloading the area).
  • Override wear : Wear visual can be overridden.
  • Command growth : Allow players to override growth for their own plants.
  • Command wear : Allow players to override wear for their own structures.

Changelog

  • v1.3

    • Adds hammer protection to pieces with infinite health.
    • Adds fall override.
    • Adds portal item restrictions override.
    • Fixes all scaling being (usually) always enabled.
    • Fixes no targeting being (usually) always enabled.
  • v1.2

    • Fixes plants not growing up.
  • v1.1

    • Adds commands growth and wear.
    • Adds scaling to all objects.
    • Adds collision override.
    • Adds growth override.
    • Adds interaction override.
    • Adds render override.
    • Adds wear override.
  • v1.0

    • Initial release.

Thanks for Azumatt for creating the mod icon!

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2022-8-11 1.3.0 136 Version 1.3.0 Install
2022-8-1 1.2.0 378 Version 1.2.0 Install
2022-7-31 1.1.0 92 Version 1.1.0 Install
2022-7-23 1.0.1 212 Version 1.0.1 Install
2022-7-22 1.0.0 81 Version 1.0.0 Install