Use the Grind Rail device to add fun to any island where players can jump on a rail and grind along.
Grind Park Mini-Game
This design example shows you how to create a unique mini-game based on grinding the rails for points.
You'll also get some tips and tricks for ways to use this device.
Devices Used
Several Grind Rail devices
3 x Pulse Trigger devices
4 x Timer devices
1 x Player Spawner device
Build Your Own
This game is made up of grind rails placed on props of varying heights. The higher the rail, the more points a player can score by riding it for as long as possible!
To build the basic game mechanics, you will set up your rails, assemble them into a sliding playground, then add supporting props to hold them above the ground and move the rails on the props. Finally, you will add pulse triggers that inflict damage to players who don't avoid them.
Add a Player Spawner
You can start the player wherever you want, but a good place to start is near the lowest rail. This is where the player will spawn initially as well as respawning after any eliminations. You can add it now, or wait and add it after the layout is done.
Add the Grind Rails
Add a Grind Rail device.
The arrows on the control points indicate the direction a player will move on the rail.
Rename the rail to White Grind Rail, then customize it:
Option Value Description Rail Color
White
This sets the color of the rail.
Allow Sprinting
Off
Prevents a player from sprinting while on the rail.
Apply Fall Damage Immunity
Off
Players can receive damage if they fall off the rail while grinding. Ouch.
Use the control points at either end of a rail to lengthen or shorten the rails.
You can only customize the tangent intensity on a control point.
Tangent intensity determines how sharp or rounded a curve on the rail is — the higher the number, the more rounded the curve.
Copy these points and place to add more points to a rail, then shape the rail by changing the tangent intensity in the control point settings or dragging the control points to change the rail shape.
For more on adjusting the shapes of rails, see Grind Rail Devices under Shaping the Grind Rail.
Adjust the length of each rail as described in the Grind Rail Devices doc by grabbing a control point at the end of the rail.
Copy and place the rail several more times, changing the color for each new rail and renaming it based on the color you select.
Add turns and curves to each rail by adding and moving control points along the rail.
It's easier to add more points from the end of the rail than from the start — otherwise you might get a bunch of control points piled up on each other!
Any adjustments you make to a rail can be readjusted later if you change your mind about how to lay them out.
Add Rail Supports
The next step is to add and customize rail support props.
Take a minute to work out which rails are going to be higher and harder to reach. This will inform both the support props you use and the score values you will assign to each rail. The higher rails will be harder for a player to reach and so should grant more points.
From the Content tab, select the Galleries category, then use the search box to filter for primitive.
Double-click the gallery to see the contents, then equip any individual props you want to use.
Once you place a primitive shape prop, you can change the color of the prop the same way you would customize a device. Note that color is the only thing you can customize for these props.
Color your props, or leave them all the original color.
Position the support props where you want them, then place the rails on them by grabbing a control point and placing it on top of the post.
Pay attention to which way the arrows on the Grind Rail are pointing, because the next step is much easier if you extend the rail in the direction that the arrows flow!
Place more support props where you want them, then copy the end control point of your grind rail and place it on top of the new support. The rail will automatically extend to reach the new control point you created. You can even move the new point up or down and the rail will adjust automatically.
Players will find it easier to jump to railings that are perpendicular to the rail they are sliding on, so where possible, create intersections that will challenge players to jump to a higher rail!
Position your rails at different heights.
Also add several large primitive boxes like the red ones above, making sure to place them next to your highest rail paths. You will use these when you're ready to add moving obstacles.
Add the Timers
Adding a Timer device for each rail makes it possible to assign different award amounts for each second a player successfully slides along a rail.
Place a timer for the first rail and name it to correspond with the color of the rail.
Customize the timer as follows:
Option Value Description Duration
1.0 Second
The amount of time on the rail the player will need to score a point.
Countdown Direction
Count Up
Keeps the timer going until an event intervenes.
Can Interact
No
Player cannot directly interact with the timer.
Applies To
Player
Applies to a specific player.
Completion Behavior
Restart
When the timer completes, it resets to 0.
Timer Color
White
Select the color that matches the rail.
Success Score Value
1
One point value is added for each second the player remains on the rail. The longer the player grinds, the greater the score.
Display Score Update on HUD
On
Score results will display on the player's HUD.
Copy and place timers for remaining rails, and make additional edits as shown:
Option Value Description Timer Color
Pick a color
Select the color that matches the rail.
Success Score Value
Pick a value
Change the value for each rail. For rails that are higher (and harder to reach) add larger score values.
Bind Rails and Timers
Direct event binding is how devices communicate with each other. You will need to bind the rails to their timers.
Use your color naming to make sure each rail matches the right timer.
For the first rail, set the following events, making sure to match the color of the rail and the timer.
Event Select Device Select Function On Started Grinding Send Event To
White Timer
Start.
On Ended Grinding Send Event To
White Timer
Reset
Repeat for each remaining rail.
Add Pulse Triggers
Remember those large primitive boxes you placed earlier? Each of these will be the base for a pulse trigger that makes riding the highest rails even more challenging!
The Pulse Trigger device sends a damage pulse through a custom volume. You can set these up to present moving obstacles, or volumes, that the player must avoid while riding the rails they overlap.
Place a Pulse Trigger device on the top of one of the large boxes so that the pulse zone of the device overlaps the highest rail.
Customize it as follows:
Option Value Description Loop Infinitely
On
Keeps this device on an indefinite loop.
Tempo (BPM)
80.0
Sets how fast the sequencer pulse travels.
Length
2 Tiles
This sets the size of the damage volume. You can control rail overlap based on how you position the device near the rail.
Activation Type
Toggle Pulse On/Off
Sets what happens when the device is activated.
Zone Visible During Game
On
Players can see when the zone is activated during gameplay.
Active When Paused
On
If the trigger is paused, it will activate again when a player walks into it.
Pulse Direction
Bounce Forward
Determines the direction the pulse will travel.
Damage
33.0
Sets how much damage the pulse will inflict.
Activate on Phase
Game Start
Sets when the trigger activates.
Enabled on Phase
Gameplay Only
Sets when the trigger is enabled.
Copy and place the device on any other spots where you want to make a rail more challenging.
The player can navigate around the pulses to earn more points.
Configure the Island Settings
The final step for this mini-game is to modify the Island Settings.
Go to Island Settings, then select the Round category.
Under End Condition, set the Time Limit to 3 minutes.
And there you have it — a simple but impressive mini-game that players will love!
Design Tip
For more fun, try adding weapons or items to your map for an even wilder time riding the rails!