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.
Date uploaded | 2 years ago |
Version | 1.3.0 |
Download link | JereKuusela-Structure_Tweaks-1.3.0.zip |
Downloads | 561 |
Dependency string | JereKuusela-Structure_Tweaks-1.3.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.2202README
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
andwear
. - Adds scaling to all objects.
- Adds collision override.
- Adds growth override.
- Adds interaction override.
- Adds render override.
- Adds wear override.
- Adds commands
-
v1.0
- Initial release.
Thanks for Azumatt for creating the mod icon!
CHANGELOG
-
v1.33
- Fixed for the new game version.
-
v1.32
- Fixes infinite health checks not working with -1 health.
-
v1.31
- Possibly fixes some env related issues.
-
v1.30
- Fixed for the new game version.
-
v1.29
- Fixes effect areas not working.
- Fixes effect areas and status effects not working for fire places.
- Fixed for the new game version.
-
v1.28
- Fixes crypt water not working.
-
v1.27
- Fixes some weird things.
-
v1.26
- Fixes fire of fireplaces not scaling.
-
v1.25
- Adds support for changing doors.
-
v1.24
- Fixed for the new update.
-
v1.23
- Fix to the previous fix.
-
v1.22
- Fixes status effect areas without duration not being removed when exiting the area.
-
v1.21
- Fixed for the new update.
-
v1.20
- Fixes status effect areas not working.