openrct2-plugin-pathfinding
Pathfinding debugging plugin, testing various algorithms.
openrct2-plugin-pathfinding
OpenRCT2 plugin for visualizing pathfinding on footpaths. Pick a start and end tile, choose an algorithm, and see the computed path highlighted as ghost tiles.
Features
- Pick start/end footpath tiles with an in-game tool
- A*, Dijkstra, BFS, and Greedy Best-First algorithms (via openrct2-library-pathfinding)
- Configurable time budget per tick (1–50 ms)
- Path visualization using ghost footpath elements
- Stats: tile count, nodes explored, ticks, elapsed time
Requirements
- OpenRCT2 built from the PathNavigator API branch (until merged upstream)
- A park with footpaths
Install
Copy openrct2-plugin-pathfinding.js from Releases to your OpenRCT2 plugin/ folder.
Build from source
npm install
npm run build
Dev mode (auto-deploy to plugin folder):
npm run develop
Usage
- Open the Pathfinding window from the map menu
- Click Pick to select start and end footpath tiles
- Choose an algorithm and time budget
- Click Find Path
License
MIT