Patch Warner

A plugin by ar(Trusted developer)

Patch Warner
Downloads 597
Updated 18 days ago
Released 1 year ago
Created 1 year ago
Numeric ID 480
Min. Openplanet 1.26.0
Signed
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
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.0 - 18 days 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

0.4.0 - 1 month ago

Major refactor of entire codebase

Added

  • Proper Wood detection
  • New and improved 'table' view
  • TONS of customization options!
  • Exports!

0.3.1 - 1 year ago

FIX: Water images now work on old maps FIX: Logs are disabled by default

View all changelogs