khalil-Simple_Teleport icon

Simple Teleport

Press T in-game to open a teleport panel: see every teammate with their live distance, then warp to them or pull them to you. 局内按 T 打开传送面板,查看队友距离并互相传送。

By khalil
Last updated 2 weeks ago
Total downloads 1957
Total rating 1 
Categories Mods Tools Misc AI Generated
Dependency string khalil-Simple_Teleport-1.1.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.75301 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.75301

README

Simple Teleport

Press T in-game to open a teleport panel. See every teammate with their live distance, then warp to them or pull them to you.

局内按 T 打开传送面板,查看每位队友的实时距离,然后传送到他身边,或者把他拉到你身边。

Features

  • Teammate list — every player in the room, sorted alphabetically by name so cards stay put as people move
  • Live distance — straight-line distance to each teammate, updated every frame
  • Two directionsGo To warps you to them, Bring pulls them to you. No host permission needed
  • Scrolling list — up to 6 cards at once, mouse wheel or a draggable scrollbar to browse when the room is bigger
  • Safe landing — probes 8 directions around the target for a spot that is not inside geometry and has ground beneath it
  • State aware — dead, downed and mid-warp teammates are labelled, and buttons that cannot work are greyed out
  • Bilingual — follows the game's own language setting (English / 简体中文 / 繁體中文)

Usage

Input Action
T Open / close the panel
Mouse wheel Scroll the list
Drag the scrollbar Scroll the list. Clicking an empty part of the track jumps there
Left click Go To Teleport yourself next to that teammate
Left click Bring Teleport that teammate next to you

While the panel is open your character stops receiving movement input, exactly as it does for the game's own menus. Nothing is locked or hidden — closing the panel restores everything.

Configuration

BepInEx/config/khalil.SimpleTeleport.cfg, generated on first launch.

Key Default Description
ToggleKey T Key that opens and closes the panel
CooldownSeconds 1.5 Minimum gap between teleports, prevents ragdoll glitches from spamming
ArrivalOffset 1.6 Horizontal distance from the target you land at, in metres
CloseAfterTeleport true Close the panel automatically after a successful teleport
PanelScale 1.0 Overall panel scale. Automatically clamped so the panel never exceeds the screen
UseMetricDistance true Append m to distances

How it works

This mod does not patch any game method — there are no Harmony hooks at all.

Teleporting reuses the game's own Character.WarpPlayerRPC, the exact same call that the Warp Compass, the thrown warp item, the biome jump and the Scoutmaster all use. That means ragdoll collision, climbing interruption and held-item handling are all done by the game's original code. The RPC has no permission check on the game's side, so Bring works for any player, host or not.

Input blocking borrows the game's own mechanism: a native MenuWindow instance is registered as an open window while the panel is up, so GUIManager unlocks the cursor and Character.CanDoInput() returns false — the same path every vanilla menu takes.

The panel builds its own Canvas with no GraphicRaycaster and every graphic set to raycastTarget = false, so it never intercepts clicks meant for the game's UI. Hit testing is done by the mod itself.

Compatibility

  • Client-side. Only you need it installed. Other players do not need the mod for Bring to work on them.
  • No Harmony patches, so no conflicts with other mods by construction.
  • Built against PEAK 2.4.b.

Known limitations

  • Dead players cannot be moved. The game drags corpses back to a fixed position every physics step, so a warp would just fight it. Those buttons are greyed out with a reason shown.

AI disclosure

This mod was developed with AI assistance (Claude). All game API usage was verified against decompiled game source, and the mod has been tested in-game.

Credits

Author: khalil