You are viewing a potentially older version of this package. View all versions.
TactiKot-FogDistance-1.5.1 icon

FogDistance

Configurable client-side PEAK HUD for correct fog/lava clearance, start and ETA states, and campfire fuel, with TMP rendering, EN/RU, and m/ft.

Date uploaded 4 days ago
Version 1.5.1
Download link TactiKot-FogDistance-1.5.1.zip
Downloads 205
Dependency string TactiKot-FogDistance-1.5.1

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

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.

CHANGELOG

Changelog

1.5.1

  • Remove the black HUD panel so the overlay consists only of text.
  • Preserve readability with the existing configurable outline and a subtle TextMeshPro underlay shadow when PEAK's font material supports it.
  • Remove panel padding so configured offsets measure directly to the visible text.
  • Keep pause labels after the timer on every timed row, including the campfire row.

1.5.0

  • Replace the legacy IMGUI overlay with a responsive TextMeshPro panel on PEAK's HUD canvas.
  • Reuse PEAK's font and material, respect the screen safe area, and add nine anchors, scale, font, background, outline, and color settings.
  • Convert Unity world units with CharacterStats.unitsToMeters so displayed PEAK metres are correct; add an optional feet display.
  • Add English/Russian localization with automatic system-language selection.
  • Add a session-only F8 visibility toggle and grouped BepInEx configuration for content, visibility, layout, alerts, colors, and update rate.
  • Clarify timing without expanding the normal countdown: keep START: mm:ss, and add explicit waiting, paused, stopped, and unavailable states.
  • Show distance back to safety while in danger and use PEAK's strict spherical-fog danger boundary.
  • Match lava's X/Z damage footprint, stop legacy lava at PEAK's exact final height, and distinguish receding hazards from approaching ones.
  • Smooth the modern lava start countdown for non-host clients between PEAK's sparse host synchronization packets.
  • Keep hazard, timing, and campfire rows independent so fire status no longer inherits a hazard alert color; prefer the current segment's fire without position-based timer switching.
  • Fix legacy flat-fog waiting and final-stop reporting, including non-owner states where no synchronized numeric countdown is available.
  • Sample hazard values at a configurable rate, poll campfires at 5 Hz, cache TMP updates, back off missing-object searches, and reset cached state across scenes.
  • Add validated Thunderstore packaging, portable PEAK_GAME_DIR builds, and model tests for formatting, conversion, severity, hysteresis, and localization.

1.4.1

  • Hide the distance and start line while a static/tidal lava stage keeps LavaRising dormant.
  • Reveal the lava HUD only after PEAK starts a real countdown or continuous rise.
  • Allow the campfire line to display independently when no hazard HUD is relevant.

1.4.0

  • Add a third-line countdown for the relevant lit campfire.
  • Show FIRE: OUT for 10 seconds after the campfire is spent.
  • Follow PEAK's real campfire timer, including its rest pause.
  • Replace the unused static lava start number with START: WAITING until the game actually begins its countdown.

1.3.2

  • Show the HUD on the first segment before the fog visual is enabled.
  • Display START: WAITING while initial fog waits for the team's progression trigger.
  • Keep danger styling disabled until PEAK activates the fog effect.

1.3.1

  • Show the shortest distance to the current spherical fog boundary.
  • Keep distance and ETA based on the same approaching boundary.

1.3.0

  • Calculate distance and ETA for the currently spectated player.
  • Add a second line with the hazard start countdown or arrival ETA.
  • Read PEAK's synchronized fog and lava timing data when available.
  • Support trigger-based legacy hazards that have no numeric start countdown.

1.2.1

  • Restore support for PEAK's current shrinking-sphere fog implementation.

1.2.0

  • Use PEAK's bundled Binggrae Bold interface font.

1.1.0

  • Add rising-lava distance support for The Kiln and Peak.
  • Move the HUD to the upper-left corner.

1.0.0

  • Initial release with rising-fog distance display.