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

Ore Support

5hows supporting bounding boxes for mine rocks which makes collapsing them much easier.

Date uploaded 2 years ago
Version 1.6.0
Download link JereKuusela-Ore_Support-1.6.0.zip
Downloads 3539
Dependency string JereKuusela-Ore_Support-1.6.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

Ore Support

Shows supporting bounding boxes for mine rocks which makes collapsing them much easier.

Manual Installation

  1. Install the BepInExPack Valheim.
  2. Download the latest zip.
  3. Extract it in the <GameDirectory>\BepInEx\plugins\ folder.
  4. Optionally also install the Configuration manager.

Instructions

Use /bind [key code] ore_support to quickly toggle the mod on/off with a keypress.

Mine rocks like copper or silver deposits consists of multiple parts. These parts are automatically destroyed when not supported by anything.

The game uses axis aligned bounding boxes for checking the support which makes it difficult to determine which parts are preventing the deposit from collapsing.

This mod visualizes those boxes:

  • Red color indicates a part that is being supported by terrain or other object.
  • Orange color indicates a part that collapses the deposit when destroyed.
  • Green color indicates a part that is no longer supported but the game hasn't updated its state yet.
  • Yellow color indicates a object that is supporting the deposit.

Configuration

After first start up, the config file can be found in the <GameDirectory>\BepInEx\config\ folder:

  • Critical supported color: Color of the last supported part.
  • Enable: Whether this mod is enabled. Can be toggled with command ore_support.
  • Line width: Width of the lines. Increase for more visibility, reduce for less clutter.
  • Max boxes: The maximum amount of boxes to show. This is intended to improve performance and reduce clutter as initially most pieces support the mine rock.
  • Max parts: The maximum amount of remaining parts to show. This is intended to improve performance and reduce clutter as initially most pieces support the mine rock.
  • Min size: Minimum amount of total parts in the mine rock to show any boxes. This is intended to prevent boxes on smaller rocks.
  • Refresh interval: How often the tool checks the support of each part. Lower values makes the boxes update faster but lowers performance.
  • Support color: Color of the supporting objects.
  • Supported color: Color of the supported parts.
  • Supporting objects: If enabled, supporting objects are shown.
  • Unsupported color: Color of the unsupported parts.

Changelog

  • v1.6:

    • Changes the GUID which resets the configuration.
    • Fixes the interact distance being increased.
    • Fixes visuals not showing with the new Unity version.
  • v1.5:

    • Added different color for the critical node that collapse the mine rock.
  • v1.4:

    • Increased default values for Min size (to disable for Muddy scrap piles) and Max boxes/parts to always show.
  • v1.3:

    • Added setting to enable or disable this mod.
    • Added command "ore_support" to toggle enable/disable.
    • More performance tweaks.
  • v1.2:

    • Added setting to show boxes only after only certain amount of parts exist.
    • Added setting to disable supporting objects.
    • Performance improvements.
  • v1.1:

    • Added visual for objects that are supporting the mine rock.
    • Added automatic refresh without having to always destroy a part (collapsing still requires destroying a part).
    • Added different color for pieces that are no longer supported (but not yet updated by the game).
    • Added support for showing boxes when just hitting a deposit (instead of having to break a part).
    • Numeric settings now have min and max values to make configuring them easier.
  • v1.0:

    • Initial release

CHANGELOG

  • v1.9

    • Fixed for the new game version.
  • v1.8

    • Fixed for the new update.
  • v1.7

    • Fixed for the new update.
  • v1.6

    • Changes the GUID which resets the configuration.
    • Fixes the interact distance being increased.
    • Fixes visuals not showing with the new Unity version.
  • v1.5

    • Added different color for the critical node that collapse the mine rock.
  • v1.4

    • Increased default values for Min size (to disable for Muddy scrap piles) and Max boxes/parts to always show.
  • v1.3

    • Added setting to enable or disable this mod.
    • Added command "ore_support" to toggle enable/disable.
    • More performance tweaks.