You are viewing a potentially older version of this package. View all versions.
tony4twenty-Vasodilation-1.2.2 icon

Vasodilation

Like the heat pack, whenever you sprint, you resist cold affliction. Keep moving to keep warm!

Date uploaded 9 months ago
Version 1.2.2
Download link tony4twenty-Vasodilation-1.2.2.zip
Downloads 13455
Dependency string tony4twenty-Vasodilation-1.2.2

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
Snosz-PhotonCustomPropsUtils-1.1.0 icon
Snosz-PhotonCustomPropsUtils

Helps modders easily synchronize room/player properties across all connected clients through Photon's Custom Properties.

Preferred version: 1.1.0

README

πŸ₯Ά Vasodilation

Sprint to stay warm.
This mod gives your character a survivalist edge for the Alpines β€” whenever you sprint, you resist cold affliction. Keep moving to keep warm! - Cold reduction is minor β€” it won’t make you invincible, just buy you time. Only activates when the player has cold affliction.

Not just the Alpines but even at night when its start to get cold in Ascent 5!

Find the mod in the Peak Modding Discord under #mod-releases to discuss mod related topics like issues/reports/appreciation


πŸ’‘ What It Does

  • πŸƒ Sprinting reduces Cold over time β€” applied once per second.
  • 🌑️ Automatically adds a cold resistance effect exactly like heat packs.

πŸ›‘οΈ Host-Controlled Multiplayer

  • βœ… Host has mod β†’ Clients with the mod get the effect using the host’s config.
  • ❌ Host doesn’t have mod β†’ Nobody gets the effect (even if clients have it).
  • πŸ” Host migration β†’ New host republishes config automatically and the loop restarts.
  • πŸ”’ Fair by design β†’ No client-side advantage in lobbies where the host doesn’t approve.

βš™οΈ Configuration (BepInEx)

A config file is created on first run: BepInEx/config/tony4twentys.Vasodilation.cfg

General

  • ColdPerSecond = -0.06 β€” Per-second Cold adjustment while sprinting (negative reduces Cold).
  • TickSeconds = 1.0 β€” How often the effect is applied.
  • ColdGateOn = 0.025 β€” Minimum Cold required to start applying the effect.
  • ColdGateOff = 0.0 β€” Minimum Cold required to continue applying once started.

πŸ“¦ Installation

  1. Download the mod manually and extract the files
  2. Drop the .dll into your /PEAK/BepInEx/plugins/ folder
  3. Launch the game and the config will be generated automatically

πŸ”₯ Or use the Thunderstore Mod Manager for 1-click install πŸ”₯


πŸ‘‘ Credits

Author - mod created by tony4twenty
Check out my other PEAK mods


Stay fast. Stay warm. Stay alive.

CHANGELOG

Changelog

[1.2.2] - 2025-09-16

  • Readded PhotonCustomPropsUtils dependency to improve the host handshake and config sync
  • Should also fix it not working in offline mode

[1.2.1] - 2025-08-24

  • Removede the leftover PhotonCustomPropsUtils dependecy stuff I didnt remove before previous update -_-

[1.2.0] - 2025-08-24

  • Host-authoritative behavior: effect only applies if the host has the mod; clients consume host ticks and settings.
  • Config sync: host writes room property VASO_CFG_V1 (pipe-packed); clients adopt host config on join and when updated.
  • Networking: per-actor ticks sent via Photon RaiseEvent (no PhotonView required); prevents scene-load hangs.
  • Reliability: broadcast ticks β†’ clients gate locally (must be sprinting & Cold > gateOff); hysteresis reduces flicker.
  • Compatibility: explicit IInRoomCallbacks / IMatchmakingCallbacks / IOnEventCallback implementations for PEAK’s PUN signatures; handles host migration (re-publishes config and restarts loop).
  • Debugging: new config Debug.VerboseLogs with detailed join, publish/receive, and tick apply/skip messages.
  • Fixes: resolved client not receiving effects under host configs; removed ambiguous Hashtable usage and invalid PhotonView IDs.

[1.1.0] - 2025-08-12

  • Checks if player has cold affliction before activating, removing unwanted VFX/SFX anytime the player runs

[1.0.0] - 2025-08-06

  • Initial release.