You are viewing a potentially older version of this package. View all versions.
Armathx-WearableTorches-1.0.5 icon

WearableTorches

Adds a wearable back-torch with G when you have a torch in hand.

Date uploaded 2 months ago
Version 1.0.5
Download link Armathx-WearableTorches-1.0.5.zip
Downloads 821
Dependency string Armathx-WearableTorches-1.0.5

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2100 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.2100

README

Wearable Torches (Valheim)

Because nights are too dark in Valheim and why not put a real light on your back ?

A lightweight cosmetic mod that allows you to wear a torch on your back, using the same G key when torch in hand.

Fully client-side but network-synced: other players with the mod installed will see your torch.

Features

  • Press G to toggle the torch when in hand.
  • Uses the real torch mesh (and works with all items whose name contains “torch”, e.g. TorchMist)
  • Fire FX cloned from your equipped torch
  • Custom warm point light on the back torch
  • Fully safe for multiplayer (no extra items created or dropped)
  • Purely visual: no additional ZNetView / ItemDrop instances are spawned
  • No loot spawned on reconnect

Multiplayer

  • Torch state (enabled/disabled on the back) is synced using ZNetView / ZDO
  • Only visual objects are created locally on each client
  • Other clients must have the mod installed to see your back torch

Installation

  1. Install BepInExPack for Valheim
  2. Drop WearableTorches.dll into a folder inside BepInEx/plugins

Or install in on R2ModMan :)

Changelog (short)

  • 1.0.0 – Initial release
  • 1.0.1 – Minor tweaks & cleanup
  • 1.0.2 – Added multiplayer syncing for torch state
  • 1.0.3 – Reworked R-behaviour to move the torch between hand and back like vanilla weapons, improved visuals & stability
  • 1.0.4 – Rework on R Bind, removed, Now on G with no duplication, return to basics...
  • 1.0.5 – Just updating ReadMe

Incoming : Fix bugs and smoothing.

Don't hesitate to report it if you have some bugs or in GitHub i'm just starting modding.

CHANGELOG

Changelog – Wearable Torches

  • 1.0.5 – Just updating ReadMe :)

  • 1.0.4 – Rework on R Bind, removed, Now on G without duplication with TP and LogIn/Logoff

  • Torch In hand -> G -> persistent torch in back.

  • Working on smoothing and logic in the mod.

1.0.3

  • Hooked into the vanilla Hide/Show hand items (R) flow
  • Torch now moves between hand and back using R, like all weapons
  • Prevented extra torches from being created or dropped when toggling
  • Improved multiplayer syncing and cleanup of back torch visuals
  • General polish and stability improvements

1.0.2

  • Added multiplayer syncing for torch state via ZDO
  • Ensured back torches are recreated correctly for all players
  • Safer handling of network objects (no extra ZNetView / ItemDrop spawned)

1.0.1

  • Minor adjustments to torch placement on the back
  • Code cleanup and small visual tweaks

1.0.0

  • Initial release
  • First implementation of a wearable back torch using your equipped torch’s mesh and FX