You are viewing a potentially older version of this package. View all versions.
JereKuusela-Item_Stand_All_Items-1.5.0 icon

Item Stand All Items

Removes item restrictions from item stands and adds customization.

Date uploaded 2 years ago
Version 1.5.0
Download link JereKuusela-Item_Stand_All_Items-1.5.0.zip
Downloads 4960
Dependency string JereKuusela-Item_Stand_All_Items-1.5.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2200 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.2200

README

Item Stand All Items

This mod removes item restrictions from item stands which allows putting there any item.

Additionally allows customizing the item positions.

Manual Installation:

  1. Install the BepInExPack Valheim
  2. Download the latest zip
  3. Extract it in the <GameDirectory>\BepInEx\plugins\ folder.

Settings

  • Use legacy attaching: Reverts to the version 1.1.0 attaching method. If the mod causes any issues this can be tried. It works very reliably but some items will be disabled or may not contain all parts of the model.
  • Hide item stands which have items: If true, item stands with items will be invisible.
  • Enable transformations: Must be true for "Move items closer" and "Custom transformations" to work. These require some extra computing which may lower performance with massive amounts of item stands.
  • Move items closer: Removes the base offset from item stands to make items attach closer to the wall.
  • Custom transformations: Allows modifying position, rotation and scale of each item to have them exactly like you want.

Custom transformations

The format is id,distance,offset_x,offset_y,angle_1,angle_2,angle_3,scale_1,scale_2,scale_3|id,distance,...

  • id: Id of item (check wiki for item ids if needed).
  • distance: Distance from the item stand (use negative value to move closer).
  • offset: Position offset to x and y directions.
  • rotation: Rotation to different directions.
  • scale: Scaling to different directions (usually you want the same number for each value).

For example:

  • Wood,0,0,0,0,0,0,10,10,10 would cause attached wood items to have 10x size.
  • Wood,0,0,0,0,0,20 would rotate attached wood items slightly.
  • Wood,-0.1|CarrotSoup,-0.1 would move carrot soup and wood items slightly towards the item stand.

How it works

The mod uses a few different ways to attach the items:

  1. The default way is to use "attach" child object of items. This is how the base game works. However not all items have this child object.
  2. The next way is to check if the item has a single child object and use that. This requires some extra logic to filter out unnecessary child objects but otherwise works the same as "attach" child object.
  3. If there are multiple children, then the whole item must be used. Unfortunately the parent object contains scripts like ItemDrop which would make the item fall on ground (basically duplicating it). In this case, a dummy object is created to replace the parent object.

The legacy attaching uses the first children. This means the whole is never returned but the attached item may miss some parts of the model.

Changelog

  • v1.5.0:

    • Added setting to hide item stands with items.
    • Added setting to have items closer towards the item stand.
    • Improved custom transformations (applied gradually instead of overwriting natural transformation).
    • Swapped parameters in custom transformations so that the distance is first (probably the most needed).
  • v1.4.0:

    • Improved attaching.
    • Added setting to allow custom position, rotation and scaling for attached items.
    • Removed some settings as obsolete.
    • Fixed conflict with Epic Loot.
  • v1.3.0:

    • Added a new less instrusive attach method (automatically used for items that support it).
    • Added a setting to revert back to v1.2.0 behavior.
    • Added removal of the root rotation (to fix weird angles of some items).
    • Added a setting to disable the automatic rotation removal.
    • Added a setting to disable the automatic offset removal (implemented in v1.2.0).
  • v1.2.0:

    • Added support for seeds.
    • Added glow back to attached Greydwarf Eyes.
    • Added setting which allows using the attach method from the previous version.
    • Added setting for less supported items but also less intrusive attach method.
  • v1.1.0:

    • Fixed some items not appearing
  • v1.0.0:

    • Initial release

CHANGELOG

  • v1.20

    • Fixed for the new update.
  • v1.19

    • Fixed for the new update.
  • v1.18

    • Updated for the new game version.
    • Removes the itemstand_migrate command.
  • v1.17

    • Improves performance.
    • Fixes higher level fish not being scaled.
  • v1.16

    • Fixes slightly wrong positions on some equippable items.