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.
TrophyPercent
Never again be uncertain when you will get the next trophy. This mod allows you to see how many more enemies you need to kill to get the next trophy dropped.
| Date uploaded | 2 weeks ago |
| Version | 1.5.0 |
| Download link | Combifightet-TrophyPercent-1.5.0.zip |
| Downloads | 309 |
| Dependency string | Combifightet-TrophyPercent-1.5.0 |
README
Trophy Percent
Never again be uncertain when you will get the next trophy.
Features
- Live HUD Tracking: Pin trophy goals to your HUD with checkboxes from the Compendium.
- Kill Tooltips: Hover a trophy in the Compendium to see how many kills are left until the next one.
- Biome Groups: Trophies are sorted by biome, bosses first (golden glow), then minibosses (silver-blue glow).
- Clear Pins: One button in the Compendium unpins everything at once.
- Missing Trophies Revealed: Enemies you have killed, but not yet collected a trophy from, appear greyed out.
- Undiscovered Trophies: Everything you have not found yet shows up as a "?" tile labeled "Not discovered yet".
- Global Counter: Tracks your overall trophy collection progress.
How the "Pity-Timer" works
Valheim uses a pseudo-random "pity timer" rather than a flat percentage: after a number of kills without a drop, the trophy is guaranteed.
- Persistent counter: Since Valheim 1.0.20 the counter is kept by the game even across restarts, so the mod reads it directly and shows the exact kills remaining.
- No counter above 30%: drops with a chance above 30% (e.g. Bonemaw, Deer) are plain random rolls. The HUD shows their drop chance instead.
- Estimates: The counter is created on the first kill and kept by the game
that handles the creature's death (in multiplayer possibly not yours). Until
your game has an entry, the mod shows the average (
~); the tooltip gives the real range, e.g. "within 1-20 kills".
Configuration
Settings live in BepInEx/config/Combifightet.TrophyPercent.cfg. Changes apply
immediately while the game is running - no restart needed.
Set DebugLogging = true under [Debug] to get a per-trophy table in the log for bug reports.
Installation
Mod Manager (Recommended): Click "Install with Mod Manager" using [r2modman] or [Thunderstore Mod Manager].
Manual: Extract TrophyPercent.dll into your Valheim\BepInEx\plugins folder
(requires BepInEx 5.x Valheim).
Compatibility
This is a Client-Side mod. You can play on vanilla dedicated servers or with unmodded friends without any issues.
CHANGELOG
v1.5.0
- Added a Clear pins button (fixed 150x32 size) in the bottom-left corner of the trophy screen (outside the scrolling list). It unpins every trophy at once, updates the HUD and the config, and shows how many pins it will remove.
- Kvastur is still shown, but no longer counts towards the collected / total numbers in the trophy screen title.
- The "(collected/total)" counter in the trophy screen title is now kept up to date even if the game rewrites the title text afterwards, the title is found more reliably, and a label of our own is used if no title exists at all. The log line
[Title] counter shown on: ...shows which element is used. - Fixed Volture (Ashlands) and Krigen (Deep North) being in the wrong biome group: the game spells them Volture and Krigen (prefab
TrophyJotunWarrior), the old lists used "Vulture" and "Kriegen". Both spellings and the prefab name are matched now. - Fixed unnecessary
~estimates: a trophy can be dropped by several creatures with different drop chances (e.g. variants, Krigen has two). The mod only knew the first creature's chance and therefore looked for the wrong pity-counter entry. It now tries every chance, and also accepts the closest un-starred counter entry. If a~still appears, the log contains a line[PityTracker] no usable counter for <trophy> ...with the exact reason. - Kill detection (HUD visibility, "killed but missing" status, estimate) now covers every creature that drops a trophy instead of only the first one found, falls back to the creature prefab name, and compares names case/prefix-insensitively. This fixes trophies like the Fuling Shaman not showing as killed.
- One-time log dump
[PityTracker] counter keys ...lists every key of the game's pity counter next to the nearest trophy, to find out why some trophies have no counter entry. - Drops with a chance above 30% (e.g. Bonemaw 33%, Deer / Frost Troll / Abomination 50%) have no pity counter in the game, they are plain random rolls. The HUD now shows their drop chance ("33% chance - Bonemaw") instead of an invented kill count, and the tooltip says so.
- Drops with a pity counter that this client has no entry for yet now show the real average (
~) and the tooltip gives the true range ("within 1-20 kills"). The old estimate based on lifetime kills was meaningless because the game draws the counter randomly. - A counter value of 0 or 1 now correctly means "next kill drops" (shown as 1, exact) instead of being treated as an estimate.
- New config option
Debug > DebugLogging: writes a per-trophy table (creatures, kills, chances, counter) to the BepInEx log when the trophy screen is opened. Please attach it to bug reports.
v1.4.0
- Miniboss glow is 60% as wide as the boss glow; the biome dividers are twice as thick and half as opaque.
- Kriegen is in the Deep North and Frost Blob in the Mountains (matched by name parts, so prefab spelling no longer matters).
- Fixed the wrong (
~) kill numbers: Valheim 1.0.20 still keeps the live counter inCharacterDrop.s_pseudoCounter, but its keys are now a hash of the prefab name plus the drop chance instead of the prefab name. The mod only looked for name-keyed counters and so never found it. It now locates the entry by that hash, so the exact in-game counter is shown. The~estimate only appears while the game has no counter entry for that trophy yet. - Config changes now apply immediately: editing
BepInEx/config/*.cfgwhile the game runs (or changing values in a config manager) refreshes the HUD and an open trophy screen without a restart. - The separator line between biomes is now thin, grey and slightly transparent.
- Bosses and minibosses no longer get extra borders or a tinted frame; instead the tile has a soft glow (gold for bosses, pale silver-blue for minibosses).
- More space above the biome dividers, so descriptions with 4 lines no longer overlap them.
- Trophy tooltips are attached to the icon frame, use a more reliable tooltip lookup and appear almost immediately.
- Guaranteed drops (100%) now show exactly
1instead of~1. - Hid the unobtainable white deer trophy; trophies that share a display name (Troll, Draugr) are shown once, also in the collected counter.
- Ocean now follows the Black Forest. "Events & Other" is now just "Other".
- Biome fixes: Kvastur (Swamp, no longer a miniboss), Geirrhafa (Mountains), Zil and Thungr (Plains), The Queen (Mistlands), Fader, Bonemaw and Vulture (Ashlands), Seal, Moose, Barka, Ela King, Hexen, Kriegen, Pulp and Kall Fimbulbringer (Deep North, Kall as its boss).
- Minibosses are now exactly the listed ones instead of "any 100% drop".
v1.3.0
- Compatibility update for Valheim 1.0.20: the old pity-timer field (
CharacterDrop.s_pseudoCounter) no longer exists, which caused an exception every frame and broke the HUD and the pin checkboxes. The counter is now located via reflection at runtime, and every failure is caught instead of breaking the game UI. - The kill counter is now persistent in the game, so the
~prefix only appears when no live counter could be found. - Fixed trophy screen pin checkboxes not working.
- Added a tooltip to every trophy tile in the trophy screen showing how many kills are left until the next trophy.
- Fixed wrong biome groups: Seeker, Tick, Hare, Seeker Soldier, Gjall and Dverger are now in the Mistlands; Surtling and Wraith in the Swamp; Brenna, Ghost and Bear in the Black Forest; Vile in the Plains.
- Bosses are now listed first in each biome with a golden frame, minibosses (non-boss creatures with a guaranteed trophy, e.g. Brenna, Geirrhafa, Zil, Thungr) follow with a subtle silver frame. The remaining trophies are sorted alphabetically, like on the Valheim wiki.
- Removed the red "(Missing)" text; missing trophies are only greyed out.
- Added "?" tiles labeled "Not discovered yet" for every trophy you have neither collected nor killed the source of.
- Fixed TextMeshPro font warnings for the biome headers.
v1.2.0
- Rebuilt trophy dialog layout to include categorized "Biome" headers for cleaner organization.
- Added dynamic line wrapping to the menu so excessive trophies no longer clip off-screen.
- Fixed the HUD progress overlay blocking map interactions by configuring it to pass through all mouse clicks.
v1.1.0
- Added
~tilde prefix for estimated/predicted kill counts on the HUD - Added configuration format example to the config file description
- Added adaptive kill-detection so pinned trophies will intelligently hide themselves if you log into a character with 0 kills for that creature.
- Fixed completion text overlapping checkboxes by appending progress directly to the window title
- Fixed pin toggle button using the multiplayer map icon instead of the settings checkbox (not realy tested)
- Fixed kill counter failing to reset in multiplayer when drops are uncollected or after death (not realy tested)
- Improved HUD display by stripping redundant "Trophy" text from creature names
v1.0.0
- Full release
- Added trophy tracking and remaining kill counter based on game pity mechanics
- Added customizable pinned trophy HUD overlay
- Added display for slain creatures with missing trophies
- Added persistent configuration for pinned trophies across sessions
Show pre-release updates
v0.5.0
- Beta release
- Added drop pity timer calculations
- Added darkened placeholders for missing trophies in the trophy menu
v0.1.0
- Alpha release
- Initial prototype for tracking trophy drop statistics