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.
OdinsOtti
Odin's Ótti or The fear of Odin, is a dynamic group threat and combat avoidance system for Valheim.
| Date uploaded | a month ago |
| Version | 1.0.1 |
| Download link | DrakosDJ-OdinsOtti-1.0.1.zip |
| Downloads | 104 |
| Dependency string | DrakosDJ-OdinsOtti-1.0.1 |
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.2202README
Odin's Ótti (Odin's Fear)
Odin's Ótti or The fear of Odin, is a dynamic group threat and combat avoidance system for Valheim.
Tired of annoying greydwarves throwing rocks at you while you are in endgame gear, or wild boars picking fights with an Ashlands god? Odin's Ótti makes weak, out-tiered, or outnumbered enemies choose Flight over Fight—calmly walking away and pathing around your party unless they are provoked, or feel brave enough in a large pack.
Features
- Avoidance Pathing (Flight): Outmatched enemies will calmly steer away and path around you and your companions rather than sprinting in panic or attacking.
- Dynamic Group Threat: Your threat rating is calculated in real-time based on your equipped armor, active weapon damage, weapon skills, food health pools (vitality), stamina, and active status buffs. Nearby players in multiplayer, tamed combat companions (Wolves, Lox, Asksvin, Moose), and magical summons (Dead Raiser skeletons and Spirit Caller beasts) all pool their strength into your collective party threat.
- Pack Courage Sums: Enemies calculate their courage based on the combined health pools of all allies within 20 meters. Starred enemies, larger packs, and tough monsters (like Trolls) feel much braver.
- Spawner Defense: Enemies defending a matching spawner in their home biome (e.g., Greydwarves near a Greydwarf Nest) receive a +50% courage boost, standing their ground to protect their homes.
- Combat Provocation: If you attack any member of a pack, the victim and all allies within 25 meters are instantly provoked. Fleeing behavior halts, and they will fight to the death.
- Combat Contagion: Alerted enemies wandering into an active battle zone will dynamically join their provoked allies instead of fleeing.
- Evasion Reset: If you run away, go through a portal, or break line-of-sight until the enemies lose target and calm down (
!IsAlerted), they will return to their normal routines and avoid you again next time. - Stealth Taming Exemption: Crouching (sneaking) completely disables your threat footprint. Unalerted animals will behave normally, eat food, and tame without being scared off.
- Tamed Pet Target Filters: Tamed companions ignore fleeing, unprovoked targets when Hunt Mode is OFF (preventing your wolves from chasing after boars), but hunt them down normally when Hunt Mode is ON (toggleable hotkey).
- Cross-World Progression: Your progression tier is dynamically derived from your gear and food pools, ensuring seasoned Vikings traveling across different worlds or servers are recognized for their true power.
- Server Config Sync: Zero-dependency automatic configuration synchronization from the host/dedicated server to all connecting clients.
- Mindless Exclusions: Blacklisted pest, elemental, explosive, or ooze entities (Deathsquitos, Surtlings, Skeletons, Writhans, Blobs, Pulps, etc.) are completely exempt from fleeing and will always attack.
Controls
- Hunt Mode Toggle: Press the configured hotkey (default is
None/ customizable in config) to toggle your tamed pets' Hunt Mode betweenONandOFF.
Configuration
Odin's Ótti is highly customizable via BepInEx configurations (using r2modman or editing com.drakosdj.valheim.odinsotti.cfg):
- ThreatThreshold: The ratio of Player Threat to Enemy Courage at which enemies choose flight over fight (Default:
1.5). Lowering this makes enemies flee more easily. - MultiplayerRange: The radius (in meters) to scan for other players and companions to sum collective threat (Default:
100.0). - SpawnerDefenseMultiplier: The courage multiplier applied to creatures defending matching spawners (Default:
1.5/ $+50%$). - FleeBlacklist: Comma-separated list of creature prefabs that will never flee (Default:
Deathsquito, SeekerBrood, Volture, Tick, Bat, Bat_Swamp, Skeleton, StoneGolem, Ghost, Wraith, Blob, Oozer, BlobTar, BlobMork, BlobMorkMini, Surtling, Writhan, Frysling, HexahedricPulp, ShapelessPulp, TinyPulp, Pulp). - TamedCombatCompanions: Tamed prefabs considered combat pets that add to your threat footprint and respect Hunt Mode (Default:
Wolf, Lox, Asksvin, Askvin, Moose). Player magical combat summons are also automatically included. - ShowDebugHud: Displays a debug overlay showing your active group threat in the top corner, and detailed courage/threat ratios when hovering over enemies (Default:
true).
Installation
- Download and install BepInEx Pack for Valheim.
- Place
OdinSOtti.dllinto yourValheim/BepInEx/plugins/directory (or install directly via r2modman/Thunderstore). - Launch the game to generate the configuration file.
Discord
Join our Discord Server for discussion, suggestions, and bug reports!
CHANGELOG
Changelog
All notable changes to this project will be documented in this file.
[1.0.1] - 2026-09-12
Changed
- Updated to comply with the Valheim v1.0 (1.0.7) update.
- Deep North Progression & Boss Scaling: Added full biome progression scaling for the Deep North (Tier 7) along with support for Deep North boss defeat keys and guardian powers.
- Tamed Companions & Magical Summons: Added the rideable Deep North Moose to the default combat companions list (
TamedCombatCompanions). Player magical combat summons (Dead Raiser friendly skeletons and Spirit Caller beasts) now add to your group threat and actively participate in Hunt Mode. - Expanded Flee Blacklist: Updated default blacklist to ensure mindless, explosive, and oozing enemies never flee (added Writhan, Hexahedric/Shapeless/Tiny Pulps, Swamp Bats, Ticks, Tar/Mist Blobs, and Fryslings).
- Threat & Courage Calculation Overhaul: Fixed an issue where the AI decision loop omitted biome difference and boss defeat multipliers. Enemies now properly recognize higher-tier gear when deciding whether to flee.
- Food Vitality (Max Health): Eating high-tier foods now directly enhances your physical intimidation footprint, reflecting your vitality and bulk alongside armor and weapons.
- Cross-World Progression: Gear and food tiers are now dynamically evaluated, ensuring that seasoned Vikings traveling to new worlds or friends' servers are recognized for their true power even before defeating world bosses.
- AI Safety & Stability: Added robust null guards and safe reflection around pathfinding and flee routines to prevent AI freezing or lockups during combat avoidance.
Note for Existing Users: Because BepInEx preserves existing configuration files between updates, your current config will not automatically adopt new creature lists. To ensure the new Deep North creatures and mounts are included in your game, please either:
- Delete your
com.drakosdj.valheim.odinsotti.cfgfile (or click Reset in Configuration Manager) so it regenerates with the new defaults, or- Manually add
MoosetoTamedCombatCompanions, and addWrithan, HexahedricPulp, ShapelessPulp, TinyPulp, Pulp, Bat_Swamp, Tick, BlobTar, BlobMork, BlobMorkMini, Fryslingto yourFleeBlacklist.
[1.0.0] - 2026-07-12
Added
- Initial release of Odin's Ótti.
- Dynamic Group Threat Engine: Real-time player threat calculations based on equipped gear, weapon skills, active food buffs, health ratios, and stamina ratios.
- Group Courage Sums: Pack-based courage calculation where nearby wild creatures sum their health pools.
- Spawner Defense: $+50%$ courage boost for creatures defending their home biome spawners.
- Calmed Avoidance (Flight): Outmatched enemies calmly walk or jog away to path around the player rather than sprinting in panic, ignoring the player unless provoked.
- Stealth Crouch Exemption: Crouching/sneaking disables threat generation, allowing taming to proceed normally.
- Combat Provocation & Contagion: Damaging a creature alerts all allies within 25m to fight back. Late arrivals dynamically join the battle if they wander near provoked allies.
- Morale Cascade: Fleeing allies are excluded from courage sums, causing pack confidence to collapse as members run.
- Tamed Pet Target Filtering: Combat companions ignore fleeing prey when Hunt Mode is OFF, but target them when Hunt Mode is ON.
- Server Sync: Automatic configuration sync from server to client with automatic reset upon disconnect.
- Flee Blacklist: Mindless, pest, or elemental creatures are excluded from fleeing.
- Debug HUD: Real-time HUD showing threat calculations and hovered enemy courage ratios.