LocalChatRange
Shows the local text chat range on the ground around your character and highlights players who will receive your local messages. Toggle with F8 or /chatrange.
截圖 共 1 張
模組介紹 作者原文
LocalChatRange
Source code on GitHub | Report an issue |
A BepInEx mod for On Together that shows how far your local text chat reaches.
Local messages are only delivered to players within 5 m of you. This mod draws that area on the ground around your character and puts a ring under every player who will receive your local messages, so you know who can read you before you hit Enter.
Features
- The area is drawn on the surface around your character: it follows slopes, stairs, terraces and drops.
- The shape matches the game's own check exactly. The game measures a straight 3D distance, so the area shrinks on hills and in front of drops, and continues through walls (players behind a thin wall still receive local messages).
- Green rings under the players in range (the same distance test the game runs on their side).
- The radius is read from the game code at startup, so the mod stays correct if a game update changes it.
- Three visibility modes: always, only on the Local chat tab, or only while you type in the Local tab.
- Purely client-side: nothing is sent to other players and nothing about the game rules changes.
Usage
| Action | How |
|---|---|
| Show / hide the area | F8 (configurable), or type /chatrange |
| Turn on / off | /chatrange on, /chatrange off |
| Choose when it is drawn | /chatrange mode always \| local \| typing |
| Rings under players in range | /chatrange players on \| off |
| Current state | /chatrange status |
| Command list | /chatrange help |
/lcr is a short alias for /chatrange. Commands are handled on your side and are never posted to the chat. If CommandAPI is installed, the command is also listed by its /help and suggested by CommandTypeahead.
Configuration
BepInEx/config/ontogether.localchatrange.cfg (created on first launch; editable from the mod manager's Config editor).
| Section | Key | Default | Description |
|---|---|---|---|
| General | Enabled | true | Show the area. |
| General | ToggleKey | F8 | Show/hide hotkey (ignored while typing). |
| General | VisibilityMode | Always | Always, LocalTabOnly, WhileTypingLocal. |
| General | HighlightPlayersInRange | true | Rings under players who receive your local messages. |
| Range | AutoDetectRadius | true | Read the distance from the game code. |
| Range | Radius | 5 | Distance used if auto-detection is off or fails. |
| Appearance | FillColor | 8CD9FF1F | Area colour, RRGGBBAA. |
| Appearance | OutlineColor | 8CD9FFE6 | Edge colour, RRGGBBAA. |
| Appearance | OutlineWidth | 0.08 | Edge width in metres. |
| Appearance | OutlineOnTop | false | Draw the edge over walls and furniture. |
| Appearance | PlayerMarkerColor | 8CFF8CE6 | Ring colour for players in range. |
| Quality | Segments | 64 | Points around the circle. |
| Quality | Rings | 8 | Surface samples from the centre to the edge; raise it to follow stairs more closely. |
| Quality | EdgeRefineSteps | 4 | Extra samples that place the edge precisely. |
| Quality | UpdateInterval | 0.05 | Seconds between surface re-samples while moving. |
| Quality | MaxStepUp | 2 | Surfaces higher than this above your feet (ceilings, upper floors) are ignored. |
| Quality | SurfaceOffset | 0.03 | Lift above the surface to avoid flickering. |
How the range works
When a local message arrives, the game drops it if the distance between the sender's position (at the moment of sending) and the receiver's position is greater than 5 m. Both the chat panel and the speech bubble use this check. The mod draws every surface point a standing player could occupy within that distance of you, and checks other players with the very same test.
Only the floor you are on is drawn: a player on a balcony right above you may also be within 5 m, but surfaces more than MaxStepUp above your feet are not drawn.
Installation
Mod Manager / r2modman: install from the mod list, or use Settings -> Import local mod with the package zip.
Manual: install BepInExPack and copy LocalChatRange.dll into BepInEx/p
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: