Valheim Stealth Opportunity
A Stealth Opportunity page in the Compendium when sneaking here trains at full rate and no nearby enemy can reach you, with the exact XP rate, and a Train Sneaking key that circles crouched until stam
截圖 共 6 張
模組介紹 作者原文
Valheim Stealth Opportunity
Sneak is the slowest skill to train, and the game never tells you when a spot is worth it.
This mod adds a Stealth Opportunity page to the Compendium, listed only when:
- sneaking here trains Sneak at full rate: at least one enemy is within its view range
(or 10 m), and none of them is alerted;
- none of those enemies can walk to you: the game's own pathfinding, for each enemy's
own navmesh size, finds no complete path. Flying enemies always can.
A rock in a lake, a ledge above a fuling camp, the far side of a wall: the page tells you
the spot is safe, and Train Sneaking (F9) does the walking.
While the opportunity lasts, a Stealth Opp. icon (the Sneak skill picture) also sits
among your status effects at the top right of the screen, next to Rested or Shelter. It is
checked once a second, and it is only a display: nothing is added to your character.
Stealth Opportunity
Enemies in stealth range
Greyling 14 m no path to you
Sneak experience rate
x1 Sneak skill step
x1 Enemy in stealth range (x0.1 with no enemy near, or with one alerted)
x1 Status effects (none of yours changes Sneak gain)
x1 World skill gain rate (world modifier)
= Gain per second of sneaking: 1
Level 23 to 24: 12.4 / 55.8, about 0:44 of sneaking
Stamina while sneaking
3.1/s: base 5, skill x0.62, equipment +0%, effects +0%
A full bar (75) lasts 0:24 of sneaking; no regeneration while you sneak.
How Sneak experience works
Straight from Player.OnSneaking:
- A timer runs only while you move crouched (crouch animation, on the ground, speed
above 0.1). Standing still crouched pauses it, it does not reset it. Every second of it
is one gain.
- A gain is skill step × range × (1 + status effects) × world rate:
- range is 1 when an enemy is in stealth range and none in range is alerted, 0.1
otherwise — you do learn a little sneaking alone in your base;
- status effects are any effect that raises Sneak or all skills;
- world rate is the world modifier for skill gain.
- A level takes floor(level + 1)^1.5 × 0.5 + 0.5 gains.
- Sneaking costs 5/s × lerp(1, 0.25, √(skill/100)), plus equipment and effect modifiers.
Stamina does not regenerate while you sneak, and at zero the game stands you up.
Train Sneaking
Press F9. The character crouches and walks a small circle around the spot, until
stamina drops to 8 %, then waits, still crouched (free while standing still), until it is
full again, and starts over. Without an enemy in range it still works, at 0.1.
Anything you do stops it: moving, attacking, blocking, jumping, dodging, crouching,
running, auto-run, using an item or the hotbar, interacting, sheathing, emotes. Switching
windows (Alt-Tab) does not. It also stops on its own if you swim, die, teleport, sit or
enter build mode.
Configuration
BepInEx/config/Tchernobill.Valheim_StealthOpportunity.cfg, or in game with Configuration
Manager.
| Section | Setting | Default | What it does |
| --- | --- | --- | --- |
| General | Enabled | true | Show the Compendium page |
| General | PageTitle | Stealth Opportunity | Name of the page |
| HUD | ShowStatus | true | Show the Stealth Opp. icon among the status effects |
| HUD | Label | Stealth Opp. | Text under the icon |
| Train Sneaking | ToggleKey | F9 | Start or stop |
| Train Sneaking | CircleRadius | 1.2 | Circle radius, in metres |
| Train Sneaking | StopAtStamina | 0.08 | Stop circling at this fraction of max stamina |
| Train Sneaking | ResumeAtStamina | 1 | Circle again from this fraction |
| Colors | TitleColor, TextColor, GoodColor, MutedColor | | Page colours |
| Advanced | LogReport | false | Log the page, or why it is not listed |
Multiplayer
Client side only, nothing is stored or sent. Other players do not need the mod.
Check my other mods
| | |
| --- | --- |
| | Valheim Voices: English voice bank for Audio Dialogues: 738 spoken lines, eleven voices, from Haldor to the runestones. Synthetic voices. |
| | Valheim Map Rings: Thin rings on the world map at the distance
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: