Roundup adds a livestock herding job to your own RPG Maker MZ maps - RoundupCore.js, RoundupDraw.js, Roundup.js
Roundup adds a livestock herding job to your own RPG Maker MZ maps(Author:Core Systems Asset Factory) - RoundupCore.js, RoundupDraw.js, Roundup.js
https://en.plugin-mz.fungamemake.com/archives/12597
Roundup is an RPG Maker MZ plugin for a herding minigame on a map you already made. Paint the pen with a region ID and call one plugin command, and a flock scatters across the map. The player drives every animal through the gate before the bell, using normal movement. Each species moves by its own rule. Sheep flock, hens zigzag, pigs bolt and stop, and geese stand their ground. The plugin draws all 89 animal looks in code, in four facings with a walk, so there's nothing to import but the three plugin files. The plugin and its art ...
Plugin desc :
Roundup is an RPG Maker MZ plugin for a herding minigame on a map you already made. Paint the pen with a region ID and call one plugin command, and a flock scatters across the map. The player drives every animal through the gate before the bell, using normal movement. Each species moves by its own rule. Sheep flock, hens zigzag, pigs bolt and stop, and geese stand their ground. The plugin draws all 89 animal looks in code, in four facings with a walk, so there's nothing to import but the three plugin files. The plugin and its art ...
License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Prohibited (This does not apply to works made using the material.)
・Details: See Download Page / In-plugin documentation
File name : RoundupCore.js, RoundupDraw.js, Roundup.js
Help of plugin :
Roundup: a livestock herding job on your own RPG Maker MZ maps, every animal drawn by the plugin
Round-up turns any farmyard on your map into a herding job. Paint the pen
with a region ID, call "Start Round-up" from an event, and the player has
until the bell to drive a generated flock through the gate. No new scene:
the animals walk your map, behind your trees and in front of your fences,
and the player herds them with the movement they already know.
EACH SPECIES MOVES BY ITS OWN RULE
Sheep flock: move one and the rest follow; sheep already in the pen
draw the others in.
Hens scatter in zig-zags and will not be driven in a straight line.
Pigs bolt from you in a straight dash, then stop dead to get their
breath: line one up and spook it at the gate.
Geese take a stand when you crowd them and charge before they run.
A cornered animal dodges along the fence past you, so a corner is never a
dead end. The whistle (OK, or the button) calls the animals near you into
a bunch for a moment, then needs to cool down.
SETTING UP A YARD
1. Paint the pen's floor with the Pen region ID (default 9). Leave a
gate two tiles wide: on a one-tile gate rounds are much harder.
2. The yard is everywhere the animals can walk to within Yard size of
the pen, or paint it with the Yard region ID.
3. Fences, walls and water are your map's own passability. Events that
stand on the map when the round starts (and are not "Through")
block the animals too.
RESULTS
When every animal is penned, or the bell rings, the tally board shows
who was penned, who got away, the time left and up to three prize
rosettes (all penned with 30% of the time left: 3, all penned: 2, half
of them: 1). Closing the board sets your variables and switch and runs
the common event.
SCRIPT
Roundup.isOpen() true while a round runs (or its board is open)
Roundup.lastResult() the last round: {penned, total, stars,
secondsLeft, won, difficulty, seed} or null
The round is saved with the game and resumes where it was. It pauses while
a message shows, while another event runs, while the menu is open, and
whenever the player is on a different map.
Terms: commercial and non-commercial use in RPG Maker projects. Written
with AI assistance.
Parameters (Plugin Manager, Roundup.js):
Pen region ID (number, default 9)
Paint the pen's floor tiles with this region ID. An animal that steps onto one is penned for good.
Yard region ID (number, default 0)
0 = animals start anywhere they can walk to within Yard size of the pen. Or paint the yard with a region ID.
Yard size (tiles) (number, default 12)
With no yard region: how far from the pen (walking distance, in tiles) animals may start.
Feed trough (boolean, default true)
Draw a hay trough just inside the pen's gate. Animals near the gate drift toward it (it makes rounds fairer).
Whistle button (touch) (boolean, default true)
Show a whistle button for mouse and touch players. The OK key always whistles.
Clock corner (select, default top-left)
Where the clock and the tally sit on screen.
Allow menu in a round (boolean, default false)
Can the player open the menu during a round? (The round pauses while it is open.)
Sound: sheep (file, default Sheep)
A sheep's bleat when startled or penned. Blank = silent.
Sound: hen (file, default Chicken)
Sound: pig (file, default none)
Sound: goose (file, default none)
Sound: whistle (file, default Horn)
Sound: the bell (file, default Bell1)
Plugin commands:
Start Round-up
Scatters a generated flock over this map and starts the clock. The pen is every tile painted with the Pen region.
argument: Difficulty (select, default normal), options: easy, normal, hard, custom
easy: 6 head, 90 s. normal: 7, 115 s. hard: 9 with geese, 135 s. custom: the counts below.
argument: Sheep (custom) (number, default 4, 0 to 32)
argument: Hens (custom) (number, default 2, 0 to 32)
argument: Pigs (custom) (number, default 1, 0 to 32)
argument: Geese (custom) (number, default 0, 0 to 32)
argument: Time (seconds) (number, default 0, 0 to 900)
0 = the difficulty's own time (custom: 15 s a head).
argument: Title (text, default blank)
Shown on the opening sign and the tally board. Blank = the map's display name.
argument: Penned -> variable (variable, default 0)
argument: Stars (0-3) -> variable (variable, default 0)
argument: Seconds left -> variable (variable, default 0)
argument: Switch ON when all penned (switch, default 0)
argument: Common event when done (common_event, default 0)
argument: Seed (text, default blank)
Blank = a new flock every time. A number replays the same flock in the same places.
Ring the Bell Now
Ends the round at once and shows the tally board.
Load order: RoundupCore.js, RoundupDraw.js, Roundup.js (any order works).
Roundup is an RPG Maker MZ plugin for a herding minigame on a map you already made. Paint the pen with a region ID and call one plugin command, and a flock scatters across the map. The player drives every animal through the gate before the bell, using normal movement.
Each species moves by its own rule. Sheep flock, hens zigzag, pigs bolt and stop, and geese stand their ground. The plugin draws all 89 animal looks in code, in four facings with a walk, so there's nothing to import but the three plugin files.