Valheim

CaptainCombatDamage - Valheim Real-HP Combat Text

Ko-fi

한국어 설명 보기 | English Description


🇰🇷 한국어 (Korean)

개요

CaptainCombatDamage는 실제로 깎인 체력을 전투 숫자로 보여 주는 발헤임 모드입니다. 바닐라(그리고 바닐라 숫자를 꾸미기만 하는 모드)는 난이도 배율이 적용되기 전 값을 보여 주기 때문에, 숫자와 실제 체력 감소량이 어긋납니다. 이 모드는 방어력·속성 저항·난이도 배율이 모두 적용된 뒤 체력에서 실제로 빠진 값을 표시합니다. 마지막 일격은 남은 체력을 넘은 초과분까지 포함한 전체 피해를 보여 줍니다.


📦 필수 모드 (Dependencies)
모드 버전 필수 여부
BepInExPack_Valheim 5.4.2333+ 필수
ConfigurationManager 최신 권장 (F1 GUI 설정용)

참고: 표시 전용 모드라 서버에는 설치하지 않아도 됩니다. 피해 숫자는 타격을 처리하는 쪽(몬스터 소유 클라이언트)에서 계산되어 전달됩니다. 이 모드가 없는 플레이어에게는 바닐라 스타일 숫자로 보입니다.


✨ 주요 특징

실제 체력 감소량 표시

  • 방어력, 속성 저항, 난이도 배율 적용 후의 값을 표시
  • 마지막 일격은 초과분 포함 전체 피해 표시 (체력을 0으로 잘라내지 않음)

일반 타격 vs 강한 타격 (분수처럼 튀는 숫자)

  • 일반 타격: 흰/종류색 숫자가 몬스터 중심에서 좌우 한쪽으로 랜덤하게 튀어 올랐다가 떨어지고 약 0.5초 만에 사라짐 (각도와 높이가 매번 달라짐)
  • 강한 타격: 중앙 근처에서 약한 각으로 높이 솟았다가, 떨어지면서 각을 벌려 내 캐릭터를 벗어나는 굵고 진한 숫자
  • 강한 타격 기준: 백스탭 / 스태거 / 약점 타격, 또는 최근 일반 타격 20개 평균의 2배 이상 (평균은 5회 표본 후 사용, 배율은 StrongHitRatio)
  • 도트·환경 피해·플레이어 피격은 강한 타격으로 취급하지 않음

피해 종류별 색 구분

종류 색
물리 (둔기 / 관통 / 베기) 타이탄(푸른 은색)
크리티컬(강한 특수 타격) 짙은 주황
번개 레몬 노랑
냉기 하늘색
독 (도트) 녹색
화염 (도트) 붉은색
그 외 도트 (연기 등) 회색
플레이어가 받는 피해 붉은색
  • 물리 타격은 피해 비중이 가장 큰 속성(둔기 / 관통 / 베기) 하나로 분류
  • 냉기·번개가 25~50% 섞이면 숫자 외곽선이 원소 색, 50% 이상이면 원소가 주 연출이 됨

Unity 연출 (강한 타격)

  • 종류별 라벨과 아이콘 (CRIT!, FIRE, ICE, LIGHTNING, POISON, DoT, BLUNT, PIERCE, SLASH)
  • 연출은 흐리게, 숫자는 또렷하게: 판·이펙트의 불투명도를 EffectOpacity로 조절
  • 동시에 표시되는 연출 수를 MaxBundleCount로 제한 (가득 차면 가장 오래된 연출을 새 강한 타격으로 교체해 항상 같은 모양으로 표시), 많이 뜨면 자동으로 효과 단계를 낮춤
  • 번들이 없거나 불러오지 못해도 기본 숫자 표시로 자동 대체 (UseBundle)

표시 대상·종류 선택 (Config)

  • 대상: 몬스터만 / 플레이어만 / 둘 다, 길들인 동물 표시 여부
  • 종류: 일반 타격, 도트, 환경 피해(낙하·익사 등), 저항 타격, 최소 피해 필터
  • 특수 연출: 백스탭, 스태거, 약점 연출을 각각 켜고 끌 수 있음
  • 외형: 크기, 시간, 거리, 높이, 좌우 퍼짐, 천 단위 쉼표, 소수점, 종류 라벨 표시

안전한 동작

  • 모드 내부 오류가 바닐라 데미지 처리를 막지 않도록 모든 패치를 보호하고, 오류 시 기본 숫자로 대체
  • 임시 파일, 네트워크, 외부 프로세스를 사용하지 않음

⚙️ 설정 (Configuration)

설정 파일: BepInEx/config/korCaptain.CaptainCombatDamage.cfg (F1 ConfigurationManager로도 변경 가능)

설정 기본값 설명
DisplayMode MonstersOnly MonstersOnly 몬스터가 받는 피해 / PlayersOnly 플레이어가 받는 피해 / Both 둘 다
ShowTamed true 길들인 동물이 받는 피해 표시
ShowNormal true 일반 직접 타격 표시
ShowDot true 도트 데미지 표시
ShowEnvironment true 환경 피해 표시
ShowResisted true 저항·면역 타격 표시
MinDamage 0 이 값 미만 피해는 숨김
StyleBackstab / StyleStagger / StyleWeak true 백스탭 / 스태거 / 약점 특수 연출 (끄면 일반 타격으로 표시)
FontScale 1 글자 크기 배율
SpecialScale 1.8 특수(크리티컬) 타격 추가 크기 배율
Duration 1.6 강한 타격이 화면에 머무는 시간(초)
MaxDistance 60 이 거리(m)보다 멀면 숨김
HeightOffset 0.6 타격 지점보다 위에서 시작하는 높이(m)
ScreenLift 0 모든 숫자를 화면에서 추가로 위로 올리는 픽셀 수
ScatterWidth 1.2 좌우로 튀는 폭 배율 (클수록 넓게)
StrongHitRatio 2 최근 평균의 몇 배 이상이면 강한 타격
UseBundle true Unity 번들 연출 사용 (재시작 필요)
FxEnabled / FxLevel true / High 번들 부가 효과 켜기 / 강도 Low·Medium·High
EffectOpacity 0.8 번들 판·이펙트 불투명도 (숫자는 그대로)
BundleScale 0.55 번들 연출 크기
MaxBundleCount 12 동시 번들 연출 최대 개수
ShowLabel true 수치 위 종류 이름 표시
ThousandsSeparator / ShowDecimals true / false 천 단위 쉼표 / 소수 첫째 자리

🏴󠁧󠁢󠁥󠁮󠁧󠁿 English

Overview

CaptainCombatDamage is a Valheim mod that shows the HP you actually dealt as floating combat text. Vanilla text (and mods that only restyle it) shows the value before the game's difficulty damage scaling, so the number does not match the real health loss. This mod shows what is really subtracted from health after armor, resistance and difficulty scaling. A killing blow shows its full damage, including the part beyond the remaining health.


📦 Required Mods (Dependencies)
Mod Version Required
BepInExPack_Valheim 5.4.2333+ Required
ConfigurationManager Latest Recommended (for F1 GUI settings)

Note: This is a display mod and does not need to be installed on the server. The number is computed by whoever processes the hit (the client that owns the creature) and sent to everyone. Players without this mod see vanilla-style numbers.


✨ Features

Real HP Loss

  • Shows the value after armor, elemental resistance and difficulty scaling
  • A killing blow shows its full damage with the overkill included (not clamped to zero)

Plain Hits vs Strong Hits (fountain-style numbers)

  • Plain hits: a white / type-coloured number flicks left or right at random from the creature, rising and falling in about 0.5 s (angle and height differ every hit)
  • Strong hits: a bold, vivid number that rises near the centre at a shallow angle and falls with a wider angle so it clears your own character
  • A hit is strong when it is a backstab / stagger / weak-spot hit, or at least 2x the average of your last 20 plain hits (the average is used after 5 hits; ratio set by StrongHitRatio)
  • Damage over time, environmental damage and damage you take are never strong hits

Colour per Damage Type

Type Colour
Physical (blunt / pierce / slash) Titanium (bluish silver)
Crit (strong special hit) Deep orange
Lightning Lemon yellow
Frost Sky blue
Poison (DoT) Green
Fire (DoT) Red
Other DoT (smoke, etc.) Grey
Damage you take Red
  • A physical hit is classified by its largest share: blunt, pierce or slash
  • Frost / lightning at 25-50% tints the number outline; at 50%+ the element becomes the main style

Unity Effects (strong hits)

  • Type label and icon (CRIT!, FIRE, ICE, LIGHTNING, POISON, DoT, BLUNT, PIERCE, SLASH)
  • Faint effects, crisp numbers: plate/effect opacity is set by EffectOpacity
  • Simultaneous effects are capped by MaxBundleCount (when full, the oldest effect is replaced so strong hits always look the same); effect level drops automatically when many numbers are on screen
  • If the bundle is missing or fails to load, the mod falls back to plain numbers (UseBundle)

Choose What to Show (Config)

  • Target: monsters only / players only / both, and whether to show tamed creatures
  • Damage types: plain hits, damage over time, environmental damage, resisted hits, minimum damage filter
  • Special styles: backstab, stagger and weak-spot styles can each be switched off
  • Appearance: size, duration, distance, height, left/right spread, thousands separator, decimals, type label

Safe by Design

  • Every patch is guarded so a mod error can never block vanilla damage; the mod falls back to plain numbers instead
  • No temp files, network access or external processes

⚙️ Configuration

Config file: BepInEx/config/korCaptain.CaptainCombatDamage.cfg (also editable in F1 ConfigurationManager)

Setting Default Description
DisplayMode MonstersOnly MonstersOnly damage monsters take / PlayersOnly damage players take / Both
ShowTamed true Show damage taken by tamed creatures
ShowNormal true Show plain direct hits
ShowDot true Show damage over time
ShowEnvironment true Show environmental damage
ShowResisted true Show resisted / immune hits
MinDamage 0 Hide numbers below this value
StyleBackstab / StyleStagger / StyleWeak true Special styles for backstab / stagger / weak spot (off = shown as a plain hit)
FontScale 1 Text size multiplier
SpecialScale 1.8 Extra size multiplier for special (crit) hits
Duration 1.6 Seconds a strong hit stays on screen
MaxDistance 60 Hide numbers farther than this many meters
HeightOffset 0.6 Meters above the hit point where numbers start
ScreenLift 0 Extra upward shift of every number in screen pixels
ScatterWidth 1.2 Horizontal spread of the left/right arc (higher = wider)
StrongHitRatio 2 A hit is strong at this many times the recent average
UseBundle true Use the Unity bundle styles (restart required)
FxEnabled / FxLevel true / High Bundle effects on/off / intensity Low, Medium, High
EffectOpacity 0.8 Opacity of the bundle plate/effects (numbers stay opaque)
BundleScale 0.55 Size of bundle-style numbers
MaxBundleCount 12 Max simultaneous bundle-style numbers
ShowLabel true Show the type name above the number
ThousandsSeparator / ShowDecimals true / false Thousands separator / one decimal place

🎮 My Other Mods / 함께 즐기면 더 좋은 모드

🌳 CaptainSkillTree

⚔️ 스킬트리와 함께하면 크리티컬·속성 타격의 숫자가 더 짜릿해집니다! 스킬로 강해진 타격이 실제로 얼마나 체력을 깎는지 한눈에 확인하세요.

⚔️ Pair it with the skill tree mod! See exactly how much HP your boosted hits really take.

🎵 CaptainAudio

🎶 발헤임의 전투를 음악으로 더욱 생동감 있게!

🎶 Bring your Valheim battles to life with music!


📝 Credits / 크레딧

  • Developer / 개발자: KorCaptain
  • Framework / 프레임워크: BepInEx, Harmony
  • Inspiration / 영감: Cartur's Combat Text (WoW-style floating combat text). This mod is an independent implementation; no code was copied. / 독립적으로 구현했으며 코드를 가져오지 않았습니다.
  • Font / 글꼴: Averia Serif Libre (SIL Open Font License, see OFL.txt)

💬 Support / 지원


📜 License / 라이선스

Developer - KorCaptain


Enjoy clearer combat! / 더 선명해진 전투를 즐기세요!

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.