VikingAI
Foundational 2.5D navigation graph, flow-field steering, tactical pack coordination, smart-object affordances, and virtual NPC simulation framework for Valheim.Changelog
All notable changes to VikingAI will be documented in this file.
[0.2.0] - 2026-11-03
Added
- Door Traversal System: Custom NPCs and companions can now sense closed player doors along their path and automatically open them to navigate through enclosed structures.
- Indoor Locomotion & Dwell: NPCs adopt a calm walking pace inside sheltered structures with extended dwell intervals at chairs, hearths, and workstations.
- Furniture Attachment Controller: Humanoids securely align and attach to chairs, benches, and beds without clipping or floating.
- 3D SphereCast Navigation: Enhanced obstacle avoidance utilizing multi-ray sensor fans to smoothly steer around complex geometry.
Changed
- Base Departure Resolution: Wanderers who cannot find an exit from sealed fortresses will bid farewell and cleanly depart without getting stuck.
Fixed
- Obstacle Pinch Jumping: Wild creatures no longer perform unprompted escape jumps when wedged against obstacles, restricting jump maneuvers to humanoids.
[0.1.1] - 2026-10-27
Added
- Continuous Spatial Flow: Improved large-scale pack and raid navigation with smooth, non-quantized directional steering around fortifications and congested pathways.
- Physical Furniture Attachment: NPCs now holster weapons and sit cleanly on chairs and benches or lie atop mattresses, motion-locked until rest ends or combat begins.
Changed
- Wide Gate Traversal: Door navigation now measures proximity against the full gate perimeter, allowing NPCs and followers to cleanly traverse wide gates without getting caught on outer hinges.
- Indoor Locomotion Pacing: Custom NPCs now transition to a calm walking pace whenever indoors under shelter, eliminating erratic running inside player structures.
Fixed
- Base Navigation & Obstacle Avoidance: 7-whisker radial spherecasts and directional avoidance keep NPCs from running endlessly into crafting stations and hearths, with autonomous lateral unstick maneuvers.
- Wild Creature Jumping Elimination: Restricted obstacle pinch unsticking and ledge traversal jumps strictly to custom humanoid companions, eliminating unintended jumping from wild monsters like Greydwarfs and Stone Golems.
- Civilian NPC Star Suppression: Hard-locked star rank suppression for designated peaceful NPCs across prefab instantiation, spawners, and level queries.
- Line-of-Sight Raycast Stability: Hardened sensory perception layer mask resolution across custom creature prefabs to prevent null reference interruptions during vision checks.
- Doorway Threshold Safety: Automated door closing now pauses while players or companions occupy the doorway opening, preventing clipping.
[0.1.0] - 2026-10-25
Added
- 2.5D Clearance Navigation Graph: Unified spatial navigation overcoming vanilla pathfinding tile seam boundaries and ledge drops.
- Tactical Context Steering & Locomotion: 16-ray obstacle avoidance, 360-degree combat strafing, polar follower formations, and friendly door traversal.
- Sensory Perception & Cover Sampling: Line-of-sight awareness cones, hearing attenuation through structures, and dynamic environmental cover evaluation.
- Pack Combat Coordination: Dynamic attack token distribution preventing unnatural enemy swarming and synchronizing tactical flanking.
- Settlement Affordances & Smart Objects: Shared reservation system for workstations, doors, chests, and beds preventing NPC interaction deadlocks.
- Humanoid NPC Factory & Unloaded Simulation: Standalone Norse NPC builder with custom appearance options, persistent equipment, and unloaded-zone virtual agent simulation.
