PEAK
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
4 days ago
Downloads
454
Size
199KB
Dependency string
TactiKot-FogDistance-1.5.1

Fog Distance

Fog Distance is a configurable, client-side PEAK HUD that shows how much room and time you have before fog or lava reaches you, plus the relevant campfire timer.

What 1.5.1 improves

  • Replaces the IMGUI overlay with a TextMeshPro panel attached to PEAK's HUD canvas.
  • Removes the rectangular background and keeps the text readable with PEAK's font, a configurable outline, and a subtle TMP shadow.
  • Respects the safe area and supports nine anchors and scaling.
  • Converts world units with PEAK's own CharacterStats.unitsToMeters value before showing metres; feet are also available.
  • Keeps hazard, timing, and fire rows independent, with clearer safe, warning, danger, paused, and unavailable states.
  • Samples hazard data at a configurable rate instead of polling and rebuilding UI every frame.
  • Supports English and Russian text.
  • Press F8 to show or hide the HUD for the current session.

Only the local player needs the mod. It does not patch Photon, send RPCs, or modify lobby/network state.

What the HUD shows

FOG: 38.4 m
ETA: 01:27
FIRE: 03:12

Modern spherical fog uses the shortest clearance to the safe sphere. Legacy flat fog and rising lava use vertical clearance. Lava rows are hidden outside PEAK's actual X/Z damage footprint. On The Kiln and Peak, the label switches to LAVA automatically. While dead, the values follow the player you currently spectate.

The timing row is deliberately compact:

HUD text Meaning
WAITING FOR TEAM Initial fog is waiting for team progression.
WAITING TO START PEAK has not exposed a numeric start time.
START: mm:ss Countdown before movement begins.
START: mm:ss · PAUSED PEAK has paused the start countdown.
ETA: mm:ss Time to the player's current position.
RECEDING A modified hazard is moving away, so no contact ETA is shown.
STOPPED The hazard has stopped or completed its route.
ETA: UNKNOWN Clearance is known, but a reliable ETA is unavailable.

At the warning threshold, the row gains a ! prefix. In danger, it shows FOG: DANGER or LAVA: DANGER, followed by TO SAFETY: 2.4 m on the second row.

The fire row shows FIRE: mm:ss, FIRE: mm:ss · PAUSED, or FIRE: OUT. Its countdown follows PEAK's actual fuel and rest-pause state, prefers the current segment's fire without position-based timer switching, and remains independent when no hazard row is relevant.

Russian mode localizes labels and number formatting. Language = Auto uses Russian on Russian-language systems and English otherwise.

Installation

Install with a Thunderstore-compatible mod manager. The required BepInEx pack is installed automatically.

For a manual installation:

  1. Install BepInEx 5 for PEAK.
  2. Fully close PEAK.
  3. Copy PeakFogDistance.dll to PEAK/BepInEx/plugins/PeakFogDistance/PeakFogDistance.dll.
  4. Start PEAK once to create the configuration file.

Updating and removing

To update manually, close PEAK and replace the existing DLL. Keep only one copy under BepInEx/plugins; your configuration is retained.

To uninstall, close PEAK and delete the DLL or its PeakFogDistance plugin folder. You may also delete BepInEx/config/com.bronekot.peak.fogdistance.cfg to remove saved settings.

Configuration

Settings are created in BepInEx/config/com.bronekot.peak.fogdistance.cfg and grouped as follows:

Group Settings
1 - General Master enable, F8 toggle, 130 Hz update rate, Auto/English/Russian, and Meters/Feet.
2 - Content Show or hide hazard, timer, fire, and spectating rows; configure how long FIRE: OUT remains visible.
3 - Visibility Hide in the pause menu and behind PEAK windows or full-screen prompts.
4 - Layout Nine anchors, inward X/Y margins, scale, font size, and outline width.
5 - Alerts Distance and ETA warning thresholds plus hysteresis to prevent flicker.
6 - Colors Neutral, safe, warning, danger, muted, and fire colors as #RRGGBB or #RRGGBBAA.

Defaults are a top-left anchor, 10 Hz updates, a 10 PEAK-metre distance warning, a 20-second ETA warning, and a 10-second FIRE: OUT message. Alert distances remain metre-based even when the display unit is feet.

Troubleshooting

  • If nothing appears, confirm the mod and BepInEx loaded, make sure Enabled = true, press F8, and test during island gameplay. The HUD intentionally hides when no relevant row exists.
  • If it disappears behind a menu or prompt, review the two settings in 3 - Visibility.
  • If settings are missing, launch the game once and check BepInEx/config/com.bronekot.peak.fogdistance.cfg.
  • If behavior is duplicated, remove extra copies of PeakFogDistance.dll from BepInEx/plugins.
  • If ETA: UNKNOWN appears for a legacy hazard, check the BepInEx log for a PEAK compatibility warning.

Verification note

Automated builds and package validation do not replace an in-game visual check. A runtime smoke-test in the current PEAK client is still required before release, including multiple resolutions, safe-area placement, outline/shadow readability without a background, anchors and scaling, pause/prompt visibility, and live fog, lava, danger, spectating, and fire states.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.