Patch Warner

A plugin by ar(Trusted developer)

Patch Warner
Downloads 1,011
Updated 9 months ago
Released 3 years ago
Identifier PatchWarner
Numeric ID 480
Min. Openplanet 1.26.0

This plugin was developed using generative AI.

Game Trackmania

Physics Update Checker (& warner)

Over the years Nadeo has been continuously 'improving' the game with physics changes, and at this point, keeping track of what maps have what physics can become pretty cumbersome... So, I decided to make this plugin as a solution to this problem!


What the plugin does

Feature Status
Auto-detects every loaded map and compares its exeBuild timestamp (and special flags such as legacy-wood) against a curated rule-set. ✓
Warns you instantly when you are playing on a map where physics changes might have an inpact ✓
Very customisable positions, sizes, timing, colours and per-patch on/off toggles for all possible patches can be edited ✓
Exports an API so other plugins can query the current map's physics with one call. ✓

For developers

Patch Warner exposes a single shared function:

namespace PatchWarner {
    import string GetActivePhysicsChangesJSON() from "PatchWarner";
}

GetActivePhysicsChangesJSON() returns a JSON string like

{
  "Water-1": true,
  "Ice-1":   false,
  "Ice-2":   false,
  "Ice-3":   true,
  "Wood":    true,
  "Bumper":  false
}

A definitive list of rule keys lives at the bottom of src/core/rules.as.

  • true → that physics variant is active on the current map
  • false → not active

Add dependencies = ["PatchWarner"] to your own plugin's info.toml, call the function, parse the JSON, and react however you like, be that showing the user a popup, a warning about a broken skip being avalible, or something completely different!

Feel free to use this in any of your other projects! <3

Changelog

0.5.2 - 9 months ago

Compat fix for 1.28.4

0.5.1 - 12 months ago

Added:

  • Toggling the UI with a hotkey
  • Support for the snowocar hitbox change

Fixed:

  • Issue where image view, and notification view didn't properly display when using the RenderMenu selectable

0.5.0 - 1 year ago

Fixed:

  • Table view now always leaves the screen fully before disappearing

Added:

  • BetterChat command integration! (Local only and broadcast)
  • Table view directional setting (you can now fly the table view in from any cardinal direction)
  • New RenderMenu option

View all changelogs