This plugin lets you quickly cover guide paths with full paths without changing the guests pathfinding. This method is called 'proxy pathing'.
In short; to make it look like your guests are using the full width of the path, you can create so called 'guide paths'. These paths will guide the guests along your preferred routes without having the game turn it into wide paths (which are mostly ignored by guests).
If you then hide this guide path and cover it with another path object via the Tile Inspector, guests will be none the wiser and they will still follow the original path under it. They always use the lowest path in the tile element list.
Since making these double layered proxy paths can be quite tedious, this plugin does it for you by converting all the paths in the specified area to said proxy paths with a simple drag of the mouse.
The newest version also supports smoothing the edges and preserving any placed footpath additions (like benches and lamps). And guests can still use them!
Thanks to Darkoro and Manticore from the DKMP server for explaining proxy pathing.
*.js
file into your /OpenRCT2/plugin
folder.
C:/Users/<YOUR NAME>/Documents/OpenRCT2/plugin
on Windows.This project is based on wisnia74's Typescript modding template and uses Nodemon, ESLint and TypeScript from this template.
cd
to change your current directory to the root folder of this project and run npm install
.openrct2.d.ts
TypeScript API declaration file in OpenRCT2 files and copy it to lib
folder (this file can usually be found in C:/Users/<YOUR NAME>/Documents/OpenRCT2/bin/
or C:/Program Files/OpenRCT2/
).
npm run build
(release build) or npm run build:dev
(develop build) to build the project.
(project directory)/dist
(documents)/OpenRCT2/plugins
rollup.config.js
.This project supports the OpenRCT2 hot reload feature for development.
enable_hot_reloading = true
in your /OpenRCT2/config.ini
.rollup.config.js
and change the output file path to your plugin folder.
C:/OpenRCT2/plugin/ProxyPather.js
./
instead of \
slashes!cd
to change your current directory to the root folder of this project.npm start
to start the hot reload server./OpenRCT2/bin/openrct2.com
executable to start OpenRCT2 with console and load a save or start new game../src/
, the server will compile ./src/registerPlugin.ts
and place compiled plugin file inside your local OpenRCT2 plugin directory.Don't touch app.js
, even though it's just an empty file. Its existence makes Nodemon happy, and Nodemon is what watches your files for changes & fires off new dev builds for hot reloading.
Thanks to wisnia74 for providing the template for this mod and readme.