openrct2-queue-assist
Plugin for OpenRCT2 to assist with laying out queues for rides.
OpenRCT2 Queue Assist
An OpenRCT2 Plugin to assist with styling your ride queues.
- Current Version: 0.2
- Minimal functionality, a lot of work left to do.
🔬 Contents
✔️ Features
- Select a ride to highlight it's queue.
- Highlight orphaned queue paths.
- Toggle a ride's queue or orphan queue paths visibility.
- Change the surface and railings style of a ride's queue.
🚀 Installation
- Download the latest version of the plugin from the Releases page.
- To install it, put the downloaded
*.js
file into your/OpenRCT2/plugin
folder.- Easiest way to find the OpenRCT2-folder is by launching the OpenRCT2 game, click and hold on the red toolbox in the main menu, and select "Open custom content folder".
- Otherwise this folder is commonly found in
C:\Users\\Documents\OpenRCT2\plugin
on Windows. - If you already had this plugin installed before, you can safely overwrite the old file.
- Once the file is there, it should show up ingame in the dropdown menu under the map icon.
📚 Usage
- Orphan: A queue path that is not connected to a ride.
👀 Toggle Queue Visibility
- Check either the ride checkbox and select a ride or check the orphans checkbox.
- Press the toggle visibility button.
- This does not change the type of the queue, just switches its visibility.
🔧 Edit Queue Style
- Check the ride checkbox and select a ride from the dropdown.
- Select a surface style.
- Defaults to the queue's current surface style.
- Select a railings style.
- Defaults to the queue's current railings style.
- Press the
Apply Queue Style
button.
🔨 Building
This project is based on wisnia74's Typescript modding template and uses Nodemon, ESLint and TypeScript from this template.
- Install latest version of Node and make sure to include NPM in the installation options.
- Clone the project to a location of your choice on your PC.
- Open command prompt, use
cd
to change your current directory to the root folder of this project and runnpm install
. - Find
openrct2.d.ts
TypeScript API declaration file in OpenRCT2 files and copy it tolib
folder (this file can usually be found inC:/Users//Documents/OpenRCT2/bin/
orC:/Program Files/OpenRCT2/
).- Alternatively, you can make a symbolic link instead of copying the file, which will keep the file up to date whenever you install new versions of OpenRCT2.
- Run
npm run build
(release build) ornpm run build:dev
(develop build) to build the project.- The default output folder for a release build is
(project directory)/dist
and can be changed inrollup.config.js
- Set the variable
const developOutput = {your desired path}
;
- Set the variable
- Running a develop build will automatically install the plugin for you. It assumes the the plugin directory is located in the standard location.
- For example on windows this would be
C:/Users//Documents/OpenRCT2/plugin/
- For example on windows this would be
- The default output folder for a release build is
🔥 Hot Reload Support
This project supports the OpenRCT2 hot reload feature for development.
- Make sure you've enabled it by setting
enable_hot_reloading = true
in your/OpenRCT2/config.ini
. - If your plugins are not installed in the default location change
rollup.config.js
to point to your plugins.- Set the variable
const developOutput = {your desired path}
. - Make sure this path uses
/
instead of\
slashes!
- Set the variable
- Open command prompt and use
cd
to change your current directory to the root folder of this project. - Run
npm start
to start the hot reload server. - Use the
/OpenRCT2/bin/openrct2.com
executable to start OpenRCT2 with console and load a save or start new game. - Each time you save any of the files in
./src/
, the server will run a develop build and install the plugin file inside your local OpenRCT2 plugin directory. - OpenRCT2 will notice file changes and it will reload the plugin.
🔭 Future Work
- Rework the UI.
- Add simple/advanced queue styling.
- Simple: Can select the queue style of flat and sloped sections separately.
- Advanced: Create sections in your queue and style them.
- If my PR gets merged, change style dropdowns to use image buttons with the surface/railings preview images.
- Feel free to make a suggestion.
⚖️ License
This plugin is licensed under the MIT licence.