CoffeeNova-Valheim_Foresight icon

Valheim Foresight

Combat threat assessment mod that displays color-coded indicators on enemy nameplates to show blocking/parrying viability based on damage calculations and player stats.

Last updated a day ago
Total downloads 103
Total rating 1 
Categories
Dependency string CoffeeNova-Valheim_Foresight-1.0.0
Dependants 0 other packages depend on this package

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

Valheim Foresight

A combat threat assessment mod that enhances your situational awareness by displaying color-coded threat indicators on enemy nameplates. Know at a glance whether you can safely block, need to parry, or should avoid direct engagement.

Mod showcase - different threat levels

Features

Real-Time Threat Assessment

Valheim Foresight calculates the effective damage of enemy attacks based on multiple factors:

  • Enemy base damage and level
  • World difficulty multipliers
  • Player count scaling
  • Your current armor and shield stats
  • Block power vs. Parry power

Four Threat Levels

The mod displays threat levels through color-coded enemy names:

Color Threat Level Meaning
White Safe You can safely block this attack
Yellow Caution Significant damage but survivable when blocking
Orange Block Lethal Blocking will kill you, but parrying will save you
Red Danger Even a perfect parry won't save you - avoid or prepare to dodge

Threat level examples

Intelligent Difficulty Scaling

Foresight accounts for Valheim's dynamic difficulty system:

  • World progression modifiers
  • Multiplayer scaling based on nearby players
  • Biome difficulty
  • Enemy star levels

Performance Optimized

  • Caches threat calculations to minimize performance impact
  • Automatic cleanup of distant/dead enemies
  • Configurable update intervals

Installation

Requirements

Using a Mod Manager (Recommended)

  1. Install r2modman or Thunderstore Mod Manager
  2. Search for "Valheim Foresight"
  3. Click Install

Manual Installation

  1. Download and install BepInExPack for Valheim
  2. Download the latest Valheim.Foresight.dll from releases
  3. Extract and place Valheim.Foresight.dll into BepInEx/plugins/ folder
  4. Launch the game

Configuration

Configuration file is generated at BepInEx/config/coffeenova.valheim.foresight.cfg after first launch.

Available Settings

  • Enable Logs - Toggle mod logging (default: true)
  • Debug HUD - Show detailed threat calculation info (default: false)

Usage

Simply play the game normally! Foresight works automatically in the background:

  1. Enemy nameplates will be colored based on threat level
  2. Check the color before engaging
  3. Adjust your combat strategy accordingly

How It Works

Damage Calculation Pipeline

  1. Base Damage Detection: Extracts weapon damage from enemy's equipped items or attacks
  2. Difficulty Multipliers: Applies world difficulty and player count scaling
  3. Defense Simulation: Calculates effective damage after your block/parry power
  4. Threat Classification: Compares effective damage to your current HP
  5. Visual Feedback: Updates enemy nameplate color

Block vs. Parry

The mod distinguishes between blocking and parrying:

  • Block: Uses your shield's base block power
  • Parry: Uses 2.5x block power (configurable by shield type)

This is why some attacks show orange (Block Lethal) - they exceed your block power but not your parry power.

Compatibility

Confirmed Compatible

  • Server-side compatible (clients without the mod won't see threat colors)
  • Works with enemy scaling mods that modify damage
  • Compatible with HUD mods