Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
VikingFactions
Dynamic Wayfarer Mead Hall hospitality, extensible Marauder heist warbands, and procedural retaliation camps built on VikingAI.
| Date uploaded | 2 weeks ago |
| Version | 0.2.0 |
| Download link | DigitalVikings-VikingFactions-0.2.0.zip |
| Downloads | 75 |
| Dependency string | DigitalVikings-VikingFactions-0.2.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.2202ValheimModding-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.20.1DigitalVikings-VikingAI
Foundational 2.5D navigation graph, flow-field steering, tactical pack coordination, smart-object affordances, and virtual NPC simulation framework for Valheim.
Preferred version: 0.2.0README
VikingFactions
Living factions for Valheim, built on VikingAI: friendly wayfarers who visit well-kept halls, and raiders who build physical camps, steal from your chests, and run for home.
Features
- Wayfarers & the Mead Hall: a lit hearth under a roof with enough comfort draws travelers from the wilds. They warm by the fire, sit, eat from your communal chests, and sleep in free beds. Neglect the hall and they move on.
- Raiders with a home: base raids can spawn as a marching warband backed by a real camp (Exile Marauders, Draugr Reavers, Fuling Plunderers). Raiders siphon chest contents, slow down under their load, and flee to camp. Catch them on the road to recover everything; otherwise find the camp (marked on your map) and take it back, plus the Warlord's bounty.
- Opt-out everywhere: every system has its own server-authoritative config toggle.
- Extensible: other mods can register new raider factions and camp layouts via
RaiderFactionRegistry.RegisterFaction.
Installation
Install with r2modman or the Thunderstore Mod Manager. Requires BepInExPack Valheim, Jötunn, and VikingAI.
Configuration
Generated at BepInEx/config/com.digitalvikings.vikingfactions.cfg. Edit in-game with the BepInEx Configuration Manager (F1). Notable options: EnableWayfarers, MinHospitalityComfort, EnableMarauderHeists, InterceptVanillaRaids, MaxStacksPerRaider, RaiderCarrySpeedMultiplier, RaidersRespectWards.
Developer console (cheat mode): vf spawn_wayfarer, vf trigger_raid [marauders|draugr|fulings], vf status, vf clear_camps.
Compatibility
Comfort is read through the vanilla comfort calculation, so comfort-modifying mods (e.g. VikingClimate) apply automatically. Set InterceptVanillaRaids to false to keep vanilla raids untouched.
Credits
Developed by DigitalVikings. Built with BepInEx, HarmonyX, and Jötunn.
CHANGELOG
Changelog
All notable changes to VikingFactions will be documented in this file.
[0.2.0] - 2026-11-03
Added
- Wayfarer Domestic Living: Wayfarers resting inside player bases now seek out chairs and benches to sit, sleep properly in beds, and walk at a leisurely indoor pace.
- Fortress Egress Dialogue: Wayfarers visiting enclosed player fortresses speak parting farewell dialogue before cleanly departing once their visit completes.
Fixed
- Star Level Suppression: Wayfarer NPCs are strictly locked to level 1, preventing accidental high-star combat stat scaling.
[0.1.0] - 2026-10-25
Added
- Wayfarers & Mead Hall Hospitality: High-comfort sheltered halls with lit hearths attract wandering Viking travelers who rest by the fire, eat from communal chests, sleep in free beds, and depart if neglected.
- Physical Raider Warbands & Camps: Base raids manifest as physical warbands (Exile Marauders, Draugr Reavers, Fuling Plunderers) marching from real fortified camps.
- Chest Heist Mechanics: Raiders breach defenses to siphon goods from storage chests, slowing down under heavy loads as they retreat toward their camp with stolen loot.
- Bounty Retaliation: Intercept raiders on the road to recover stolen goods, or assault their map-marked camp to reclaim your loot and claim the Warlord's bounty.
- Configurable Raid Interception: Server-authoritative settings allow vanilla raids to seamlessly convert into physical camp assaults or remain in standard arcade mode.
Fixed
- Wayfarer Base Navigation & Enclosed Hall Traversal: Added raycast obstruction detection and doorway waypoint staging during arrival and departure. Wayfarers autonomously pathfind through gates and doors rather than walking endlessly into palisades or walls, with graceful despawn timeouts for sealed bases.
- Wayfarer Furniture Sitting & Ceiling Teleport Prevention: Enforced strict vertical elevation and line-of-sight checks on chair and bed arrival, preventing wayfarers from interacting with furniture on upper floors through ceilings. Extended sitting dwell to 45–90 seconds.
- Bed Sleeping Alignment: Wayfarers sleep aligned directly atop the mattress facing the bed length rather than on the floorboards, cleanly stepping onto the spawn point when waking.
- Wayfarer Star Suppression: Hard-locked Wayfarers to Level 1, preventing unwanted star ranks or chevrons.
- AI Locomotion Heap Allocation: Replaced reflective method invocations with zero-allocation delegates in AiHelpers, eliminating per-frame memory churn during raider heists and wayfarer wandering.
- Wayfarer Dialogue Interaction: Direct interaction now triggers contextual spoken dialogue bubbles, reserving detailed guest dossiers for Shift-inquiries.