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

Vasodilation

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

Date uploaded a year ago
Version 1.0.0
Download link tony4twenty-Vasodilation-1.0.0.zip
Downloads 1629
Dependency string tony4twenty-Vasodilation-1.0.0

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.

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

πŸ’‘ 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

This mod only activates if the host has it installed.

  • βœ… If the host has the mod: All clients with the mod can use it.
  • ❌ If the host doesn’t have the mod: It silently disables itself for clients to prevent unfair advantages.
  • πŸ’¬ No config or UI needed β€” works seamlessly.

πŸ“¦ 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 πŸ”₯

  • Supports BepInEx
  • Safe for singleplayer and host-approved multiplayer

πŸ”₯ How It Works (Behind the Scenes)

  • Uses Photon room properties to confirm host support.
  • Hooks into Character.AllCharacters and checks isSprinting every second.
  • Applies Affliction_AdjustColdOverTime dynamically.
  • Zero log spam β€” fully silent.

πŸ‘‘ 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.