You are viewing a potentially older version of this package. View all versions.
SwampMods-BigBattles-1.1.0 icon

BigBattles

Spawn armies. Watch them fight. Press K to start.

Date uploaded 3 months ago
Version 1.1.0
Download link SwampMods-BigBattles-1.1.0.zip
Downloads 97
Dependency string SwampMods-BigBattles-1.1.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.2202

README

Big Battles

Spawn two armies of up to 80 NPCs each and watch them fight. Press K to open the battle menu.

Features

  • 8 NPC types: Viking Warrior, Viking Archer, Dverger, Dverger Mage, Goblin Brute, Goblin, Troll, Neck
  • Pick NPC types, army size, and equipment per side
  • Click-to-place grid formations
  • Equal damage mode for fair fights
  • Persistent battlefield bodies
  • START, PAUSE, RESUME, RESET, and DANGER mode
  • Arrows with ballistic trajectories that stick in targets
  • Weapon VFX stripping for clean visuals

Controls

  • K to open/close menu
  • Left Click to place formation
  • Right Click to cancel placement

Installation

  1. Install BepInEx for Valheim
  2. Drop BigBattles.dll into BepInEx/plugins/
  3. Launch Valheim, press K

CHANGELOG

Changelog

1.1.0 — Arrow Overhaul

Arrow Flight

  • Replaced per-frame gravity counteraction with direct m_gravity on projectiles (zero overhead, no floating-point drift)
  • Ballistic trajectory now computed from actual projectile speed and gravity in Projectile.Setup, not guessed beforehand
  • Lead targeting: arrows predict target movement using Character.GetVelocity()
  • Zeroed projectile accuracy spread for reliable NPC archer hits
  • Full ballistic formula with height compensation and 25-degree max angle cap

Arrow Sticking

  • Arrows embed in targets on hit and transfer to ragdolls on death
  • Deterministic bone-name matching between character and ragdoll skeletons
  • Scale correction for ragdoll prefabs with different scales

Bug Fixes

  • Fixed SharedData deep clone — m_attack and m_secondaryAttack reference types are now properly cloned, preventing corruption of global bow prefab data
  • Simplified archer aim: flat aim at target center, Projectile.Setup adds the arc
  • Widened volley stagger to spread SphereCast load across frames
  • Weapon VFX stripping removes particle effects, trail renderers, and lights from equipped weapons

1.0.0

  • Initial release