You are viewing a potentially older version of this package. View all versions.
Baka_Gaijin-SledgeMajsterLateFix-1.0.0 icon

SledgeMajsterLateFix

Fixes balrond_sledgemajster not detecting Arsenal Reborn sledges due to load order timing. Applies the same battleaxe-swing primary / AoE-slam secondary swap to late-registered sledge weapons.

Date uploaded a month ago
Version 1.0.0
Download link Baka_Gaijin-SledgeMajsterLateFix-1.0.0.zip
Downloads 19
Dependency string Baka_Gaijin-SledgeMajsterLateFix-1.0.0

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
ValheimModding-Jotunn-2.29.0 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.29.0
Balrond-balrond_sledgemajster-1.0.3 icon
Balrond-balrond_sledgemajster

Adds primary attack of Battleaxe to Sledges and move it attack to secondary

Preferred version: 1.0.3
Balrond-balrond_arsenal_reborn-0.1.6 icon
Balrond-balrond_arsenal_reborn

An overhaul adding over 150 new weapons and armors and changing multiple aspect of vanilla items

Preferred version: 0.1.6

README

SledgeMajsterLateFix

Fixes a load-order timing issue between balrond_sledgemajster and balrond_arsenal_reborn (and any other mod that registers sledge weapons via Jotunn after ZNetScene.Awake).

The Problem

balrond_sledgemajster scans for sledge weapons at ZNetScene.Awake and applies its battleaxe-swing / AoE-slam attack swap. However, Arsenal Reborn registers its weapons later via Jotunn's item system. By the time Arsenal Reborn's sledges exist (SledgeStone_bal, SledgeBlackmetal_bal, SledgeSilver_bal, etc.), the scan has already finished — so they never get the swap.

The Fix

This plugin waits for the world to fully initialize (8 seconds after ZNetScene is ready), then:

  1. Uses SledgeIron (already processed by sledgemajster) as a template
  2. Scans all registered prefabs (including late-registered Jotunn items) for any sledge that was missed
  3. Moves their original AoE slam to secondary attack
  4. Clones the battleaxe-style swing as their new primary
  5. Logs each fixed weapon to BepInEx/LogOutput.log

Installation

  1. Install via Thunderstore Mod Manager (recommended) or manually place SledgeMajsterLateFix.dll in BepInEx/plugins/
  2. Requires: BepInEx, balrond_sledgemajster
  3. Install on both server and all clients (attack definitions are loaded locally)

Compatibility

  • Works with any mod that registers sledge weapons with "Sledge" in the prefab name
  • Skips weapons already processed by sledgemajster (no double-processing)
  • No configuration needed

CHANGELOG

Changelog

1.1.0

  • Server-enforced via Jötunn NetworkCompatibility (EveryoneMustHaveMod, Minor strictness): every connecting client must have a matching major.minor version of the mod installed or it is rejected at the connection handshake. This guarantees the sledge attack-swap applies to everyone on the server (attack definitions are evaluated client-side).
  • Adds Jötunn as a dependency.

1.0.5

  • New mod icon.