OpenRCT2-DuckEditorPlugin

A plugin for OpenRCT2 to manipulate ducks

Duck Editor Plugin

Duck Editor is an OpenRCT2 plugin for inspecting and adjusting ducks in a park. Open the Duck Editor from the plugin menu.

Options

Duck-o-cam and selection

  • Duck-o-cam shows the currently selected duck.
  • Use the duck dropdown to select a duck by its ID.
  • Click the eyedropper button, then click a duck in the park to select it.
  • Click the locate button to center the main viewport on the selected duck.

Position

  • Freeze position stops the selected duck from moving and enables position editing and direction controls.
  • X, Y, and Z spinners adjust the duck's coordinates. The Multiplier dropdown sets each spinner step to 1, 10, or 100 coordinate units.

Direction

Use the four arrow buttons to set the frozen duck's direction. The arrows correspond to directions on the screen and account for the main viewport's rotation.

Animation

  • Freeze animation stops the selected duck's animation and enables animation-frame editing.
  • Choose an animation from the dropdown: Fly to water (quick flaps), Swim, Drink, Double drink (eating), or Fly away (slow flaps).
  • Use the Frame spinner to select a frame. It wraps around within the selected animation's valid frame range.

Build

Install the dependencies with npm install.

  • npm run build:dev builds an unminified development version into the OpenRCT2 plugin folder.
  • npm start watches src and rebuilds the development version when source files change.
  • npm run build creates a minified release build in dist/DuckEditor.js.

The development output path can be changed in rollup.config.js.

Credits

Made by MaxArceus. Special thanks to Basssiiie & Manticore_007.