ProximityVoice

版本 v0.2.1·更新於 2026-06-07

Proximity voice chat. Push-to-talk or toggle (default U), hear nearby players in 3D positional audio. Opus codec, server-side distance culling, in-game mic gain (F4), noise-gate (F6), and talk-key reb

模組介紹 作者原文

ProximityVoice

In-game proximity voice chat for Valheim. Talk to the players around you and hear them in 3D positional audio — the closer they are, the louder and more directional their voice. No external program or server required; everything runs through Valheim's own networking.

Features

  • Positional 3D voice — voices come from the speaker's location. Full volume up close (within 10 m by default), then fading smoothly to silence at the hearing range (50 m by default). Both distances are configurable.
  • Push-to-talk or toggle — hold a key to talk (default mode), or switch to press-to-toggle. Talk key default U (mouse buttons supported), rebindable in-game.
  • Adjustable mic gain — quiet microphone? Open the gain overlay (default F4) and scroll the mouse wheel (or Up/Down) to boost how loud you're sent to others, watching your live level as you tune.
  • Mic calibration overlay — open it (default F6) to see your live input level in dB and set the noise-gate threshold so background noise isn't transmitted.
  • Clear, close-sounding voice — bypasses Valheim's reverb zones, so nearby players sound right next to you instead of "in a cave".
  • On-screen mic meter — a small speaker icon whose sound waves light up with your captured audio level, so you always know your mic is being picked up.
  • Opus codec (Concentus) — clear voice at a low ~24 kbps.
  • Server-side distance culling — the host only forwards your voice to players actually in range, saving bandwidth.
  • No external dependencies — uses Valheim's native routed RPC. The host relays voice, so it works on a normal player-hosted world as well as a dedicated server.

Requirements

  • All players need this mod installed (the host relays voice, and each client captures/plays it).
  • BepInEx (the dependency is pulled automatically by the mod manager).
  • Windows recommended. Mic capture uses NAudio (Windows audio) and automatically falls back to Unity's microphone on other systems; the fallback is untested.

Usage

  • Join or host a world (a normal co-op session is fine — no dedicated server needed).
  • Get within hearing range of another player (50 m by default; full volume within 10 m).
  • Hold U to talk (default push-to-talk). Nearby players hear you and the on-screen meter reacts. Release to stop.
  • First time: press F4 and scroll to set your mic gain if you're too quiet, and F6 to set the noise gate. Optionally switch to toggle mode (MicMode) so a single press turns the mic on/off.

You do not hear your own voice. To judge audio quality solo, enable SelfTest under [Debug] in the config (turn it back off for normal play).

Configuration

Settings live in BepInEx/config/Nubedeu.proximityvoice.cfg. Most can also be tuned in-game:

  • General
  • MicMode — PushToTalk (hold, default) or Toggle (press on/off).
  • PushToTalkKey (default U) and PushToTalkReleaseTail (extra transmit time after release so sentence ends aren't clipped).
  • MicGainKey (default F4) — opens the mic gain overlay.
  • CalibrateKey (default F6) — opens the noise-gate calibration overlay.
  • RebindKey (default F7) — rebind the talk key in-game.
  • FullVolumeRange (default 10) — metres of no falloff around a speaker.
  • HearingRange (default 50) — max audible distance; also the server-side culling radius.
  • Audio — MicGain (your outgoing mic amplification), Volume (incoming playback), MicDevice (empty = system default), NoiseGateDb (threshold below which audio isn't sent).
  • HUD — MicIndicatorMarginX (distance from the left screen edge), MicIndicatorOffsetY (vertical offset from screen centre), MicIndicatorScale (size of the mic meter). The indicator sits at the centre of the left screen edge.
  • Debug — SelfTest (loopback to hear your own voice; off by default).

Multiplayer note: distance culling runs on the host, so the host's HearingRange decides the maximum range everyone is heard at. The volume falloff (FullVolumeRange/HearingRange) is applied per-listener on each client.

Notes

This is an early release. Feedback on audi

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
ProximityVoice-0.2.1.zip
檔案大小
450.0 KiB