You are viewing a potentially older version of this package. View all versions.
DragonMotion-ObeliskValheimOptimizer-0.1.1 icon

ObeliskValheimOptimizer

Lightweight Valheim optimizations for lights, smoke, particles, loot and SkyAlpha, with optional weather controls.

Date uploaded 3 days ago
Version 0.1.1
Download link DragonMotion-ObeliskValheimOptimizer-0.1.1.zip
Downloads 33
Dependency string DragonMotion-ObeliskValheimOptimizer-0.1.1

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333

README

Obelisk Valheim Optimizer 0.1.1

A lightweight, configurable performance mod for Valheim 0.221.12. It reduces avoidable work from lights, smoke, fireplace particles, ground-loot auto-stacking and the SkyAlpha roof mask, without changing saves, inventories or network data.

Features

  • Limits persistent light flicker, light distance and shadowed point lights.
  • Reduces fireplace smoke and particle cost while preserving smoke blockage and ventilation.
  • Cleans up a verified allowlist of orphaned local particle effects.
  • Removes the allocation from vanilla owner-only ground-loot auto-stacking.
  • Caches the 1024 x 1024 SkyAlpha mask until the player moves, teleports, or relevant geometry changes. It uses Valheim's existing one-second callback and adds no per-frame player tracking.

Optional weather controls

Both weather options are disabled by default.

  • DisableRainWear: disables rain-only damage to building pieces. Roof detection and wet visuals remain active.
  • DisableRoofWetChecks: skips ordinary rain roof casts and piece wet visuals. Ashlands roof protection, underwater wetness, structural support, lava and normal damage remain unchanged. This option also prevents ordinary rain wear because pieces are treated as covered.

Weather options affect the ZDO owner. Restart the world after changing them and use identical values on the dedicated server and every client that can own building pieces. With both weather options disabled, the optimization features are client-side.

Installation

Copy Obelisk.ValheimOptimizer.dll to BepInEx/plugins. Configuration is created at BepInEx/config/obelisk.valheimoptimizer.cfg.

CHANGELOG

0.1.2

  • Moved the persistent LightFlicker optimization from Awake to ApplySettings; the component is no longer disabled during prefab construction.
  • Moved LightLod distance clamps from Awake to OnEnable while keeping global light/shadow limits unchanged.
  • Preserved Valheim's reduced-flashing accessibility behavior.

0.1.1

  • Added the event-driven SkyAlpha Optimizer. It reuses the overhead mask until movement, teleport completion or relevant geometry changes.
  • Reduced the temporary SkyAlpha render LOD override from an unconditional 10x bias to a capped 2.5x bias.
  • Added separate, default-off switches for rain wear and normal piece roof/wet checks.
  • Preserved Ashlands roof checks, underwater wetness, structural support, lava and ordinary damage.

0.1.0

  • Added persistent LightFlicker suppression while preserving every TTL-driven effect.
  • Added client-side LightLod distance and point-light caps.
  • Reduced visual smoke lifetime and spawn density without bypassing ventilation checks.
  • Added off-screen pause and conservative emission limits for fireplace particles.
  • Added delayed cleanup for an asset-audited allowlist of 26 vanilla orphan EffectList VFX.
  • Replaced allocating ground-loot auto-stack overlap queries with a fixed non-alloc buffer.