DundrPortalGun

版本 v0.11.2·更新於 2026-08-03

Turns Dundr into a multiplayer Portal Gun with live views and momentum-preserving traversal for players, creatures, items, and projectiles.

截圖 共 1 張

模組介紹 作者原文

Dundr Portal Gun

Dundr Portal Gun turns a runtime clone of Valheim's Dundr into a Portal-style tool with two linked, glow-only endpoints and a live circular view through each portal.

Gameplay

Features

  • Left click places the Standard orange/red portal.
  • Right click places the Blue portal without entering Valheim's block action.
  • Middle click deletes your aimed portal.
  • Each player owns an independent pair: your Standard portal links only to your Blue portal.
  • Any player can use any completed pair.
  • Players preserve speed and portal-relative direction, including floor-to-wall and falling launches.
  • Dropped items, eligible creatures, arrows, spears, and Projectile-based magic can cross portals while retaining velocity.
  • Live circular portal views have configurable diameter, resolution, render rate, distance, and edge feathering.
  • Portals can be placed on any solid target by default, including terrain, structures, trees, creatures, and destructibles.
  • Server owners can restrict placement to an allowlist of internal prefab names for puzzle maps.
  • Optional fall-damage grace prevents a large portal height change from being treated as a vanilla fall.
  • Portals are static world-space anchors and remain where they were placed if the struck target moves or is destroyed.

The mod clones Valheim-owned visual prefabs at runtime. It does not redistribute Valheim assets or modify the vanilla Dundr and buildable portals globally.

Requirements

  • Valheim
  • BepInExPack for Valheim
  • Jotunn

managers install the declared BepInEx and Jotunn dependencies automatically.

Multiplayer

The mod is required on the server and every connecting player. All peers must use the exact same Dundr Portal Gun patch version.

Portal placement, replacement, deletion, snapshots, disconnect cleanup, and puzzle-map placement rules are host-authoritative. Existing portals are sent to late joiners, and a disconnected player's portals are removed after a short grace period.

Each player has a separate pair, but everyone can see and traverse every completed pair. The owning peer handles its player and projectiles; Valheim's network owner handles eligible items and creatures.

Default Recipe

The Portal Gun is crafted at a level 1 Workbench for 1 Wood. The station, station level, and Wood cost are configurable.

Configuration

Launch the game once to create:

BepInEx/config/samuel.valheim.dundrportalgun.cfg

Important settings include:

  • Portal Gun projectile velocity and recipe.
  • Portal aperture size, surface offset, and middle-click aim distance.
  • Restrict Placement By Prefab and Allowed Placement Prefabs for puzzle maps.
  • Entry tolerance, minimum entry speed, exit clearance, re-entry cooldown, and rearm distance.
  • Player fall-damage grace enable switch and duration; defaults to enabled for 3 seconds.
  • Dropped-item, creature, and projectile traversal switches.
  • Portal-view resolution, render rate, distance, circle diameter, border feathering, and effect suppression.

The placement allowlist accepts comma-, semicolon-, or line-separated internal prefab names. Matching ignores capitalization and runtime (Clone) suffixes. Use * to allow every prefab. Placement logs report resolved prefab names to help map authors build allowlists.

The old F10 relocation research tool remains available under Research Harness, but it is disabled by default in the packaged release.

Manual Installation

Install BepInEx and Jotunn, then copy:

plugins/DundrPortalGun.dll

to:

Valheim/BepInEx/plugins/DundrPortalGun.dll

Do not install the DLL twice through both a mod manager and a separate manual copy.

Current Limitations

  • Portal pairs last only for the current session and are not written to the world save.
  • Portal views are intentionally non-recursive.
  • A portal does not follow a moving target after placement.
  • Boats, carts, ships, bosses, oversized creatures, and arbitrary physics objects are not supported traversal targets.
  • Cross-world, cross-server, and d

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

denikson-BepInExPack_ValheimValheimModding-Jotunn

檔案與校驗

檔案名稱
DundrPortalGun-0.11.2.zip
檔案大小
194.3 KiB