This plugin lets you modify the properties of your park guests and staff members.
This is my first experience with any actual coding. I got interested by using the Ride Vehicle Editor from Basssiiie. I wanted to make something similar, but with peeps. I thought it would be a cool project to learn how to code. It is still a work-in-progress, and it's my personal learning-to-code project, so my code is probably a mess to actual programmers.
There are a few different tabs:
Freeze/unfreeze staff members, so you can use the as scenery objects around your map Give each individual staff member their own colour
Give all the guests on the map the same colour for their shirts, trousers, balloons, hats and umbrellas respectively.
This is the actual origin story of this plugin; I wanted to have all the guests in swimming trunks in the waterpark contest from Deurklink's DKMP, so the first prototype was salmon pink shirts with the push of a button.
Here you can make your guests do different kind of stuff; like littering or exploding to name two.
This is a planned feature, here I want the option to set your guests conditions, like happiness or thirst, this is already possible at the Cheats menu.
Just some info about me and the plug-in.
- 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/<YOUR NAME>/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.
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/<YOUR NAME>/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.- Default output folder for release builds:
(project directory)/dist
- Default output folder for develop builds:
(documents)/OpenRCT2/plugins
- If your plugin folder is located elsewhere (on for example a non-Windows OS), you can modify it in
rollup.config.js
.
- Default output folder for release builds:
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 you are on a non-Windows OS, open
rollup.config.js
and change the output file path to your plugin folder.- Example:
C:/OpenRCT2/plugin/ProxyPather.js
. - Make sure this path uses
/
instead of\
slashes!
- Example:
- 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 compile./src/registerPlugin.ts
and place compiled plugin file inside your local OpenRCT2 plugin directory. - OpenRCT2 will notice file changes and it will reload the plugin.
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.
Thanks to Basssiiie for let me use his Proxy Pather as a template, and showing me the ways of writing plug-ins.