You can use a Stat Powerup device to adjust in-game statistics (stats) or assign custom stats when you use it with the Stat Creator device.
Basic Score Powerup
The Stat Powerup device, at its simplest, is a great way to give the player a temporary boost to a specific stat value. In this case, the player will get a score boost!
Devices Used
1 x Stat Powerup device
1 x Player Spawner device
Set Up the Devices
Place a Player Spawner device.
Place a Stat Powerup device.
Customize the Stat Powerup device to set the Magnitude to 10:
Modify Island Settings
Make the following modifications to the island settings.
Go to Island Settings > User Interface.
Under HUD, change HUD Info Type to Score.
You now have the basic functionality for a score powerup!
Design Tip
As with the Stat Counter device, the Stat Powerup device can be configured to affect a number of built-in stats such as Score, Eliminations, and Lap Time.
In the next two examples, you'll also see how it can be configured to affect custom stats with the Stat Creator device!
Build a Grind Tracker
You can configure the Stat Powerup device to provide a constant stat effect, then turn it on and off based on events from other devices.
In this example, you’ll use the infinite effect functionality to keep track of the player’s Grind Score!
Devices Used
1 x Stat Powerup device
1 x Player Spawner device
1 x Grind Rail device
1 x Stat Creator device
1 x Item Granter device
Set Up the Basic Gameplay
Start with the Tilted Towers POI Island starter island.
Place a Player Spawner device on top of a building.
Place a Grind Rail device that begins on the edge of that building.
Customize the first Grind Rail Control Point:
Option Value Description Target Intensity
5,000.0
This will give the grind rail a natural curve as you place more Control Points.
Duplicate this control point a number of times to create a grind rail that snakes between the buildings in the city.
Configure the Custom Stat
Place a Stat Creator device and customzie it:
Option Value Stat Name
Grid Score
Max Value
100
Stat Icon
Sprint
Place a Stat Powerup device in a place where the player cannot reach it, and customize:
Option Value Start to Apply
Grind Score
Magnitude
10
Infinite Effect Duration
Yes
Time To Respawn
Instant
Who Can See This Powerup
None
Configure the following functions on the Stat Powerup device so that it starts to increase the player’s Grind Score when they begin grinding and stops when they leave the grind rail:
Function Select Device Select Event Pickup
Grind Rail
On Started Grinding
Clear
Grind Rail
On Ended Grinding
Place an Item Granter device and register a Jules Glider Gun to it.
Configure the following event on the Stat Creator device to grant the Jules Glider Gun when the player reaches the maximum Grind Score value.
You now have the basic functionality for a custom Grind Score stat!
Design Tip
Infinite Stat Powerups are a very useful way to apply constant changes to a stat value. As you’ll see in the next example, adding a Stat Counter that can override the stat value creates interesting and new stat interactions!
Build a Hacking Minigame
The Stat Powerup device can also be configured to decrease a player’s stats instead of increasing them. In this example, you’ll use the Stat Powerup device with a Stat Counter device to create a constantly decreasing stat that the player must increase!
Devices Used
1 x Stat Powerup device
1 x Player Spawner device
1 x Lock device
1 x HUD Message device
1 x Stat Creator device
1 x Stat Counter device
1 x Skilled Interaction device
4 x Button devices
Set Up the Play Area
Place the Command Cavern Tower prefab.
Place a Player Spawner device in the room at the top of the tower.
Customize the spawner so that it is not visible in-game:
Place a Lock device on the sliding door leading out of the starting room.
Place a HUD Message device and customize:
Option Value Message
Hack the Mainframe to unlock
Show on Round Start
On
Time from Round Start
Instant
Text Color
White
Configure the Custom Stat
Place a Stat Creator device and customize:
Option Value Stat Name
Hacking Completion
Max Value
100
Stat Color
#0000FF
Stat Icon
Hack
Place a Stat Powerup device in a place that the player cannot reach.
Customize the Stat Powerup device:
Option Value Stat to Apply
Hacking Completion
Magnitude
-1
Infinite Effect Duration
Yes
Ambient Audio
Off
Pick Up Audio
Off
Who Can See This Powerup
None
Configure the following event on the Player Spawner device so that the Stat Powerup device is active from the beginning of the game:
Event Select Device Select Function Place a Stat Counter device and customize:
Option Value Tracked Stat
Hacking Completion
Comparison Value
100
Broadcast Events on Stat Change
On
Value Override Type
Add
Value Override
10
Visible in Game
No
Configure the following event on the Stat Counter device so that when the player reaches a Hacking Completion value of 100, the stat stops going down and the door leading outside opens:
Event Select Device Select Function On Compare Success
Lock Device
Unlock
On Compare Success
Stat Powerup
Clear
Set Up the Hacking Interactions
Place a Skilled Interaction device and customize:
Option Value Header Text
Hack
Scrubber Color
White
Configure the following event on the Skilled Interaction device to add to the Hacking Completion stat if the player successfully completes the skilled interaction. If their input was perfect, it will trigger again, doubling the effect!
Event Select Device select Function On Success
Stat Counter
Override Value
On Perfect Input
Stat Counter
Override Value
Place a Button device inside the orange monitor in the starting room and customize:
Option Value Reset Delay
10 Seconds
Interaction Text
Hack
Visible During Game
No
Interaction Radius
1.0 Meters
Configure the following event on the Button device to trigger the Skilled Interaction device when it is interacted with.
Event Select Device Select Function On Interact
Skilled Interaction Device
Begin Interaction for Instigator
Duplicate the button three more times, placing each one inside a different orange monitor around the area.
You now have a working hacking minigame with the Stat Powerup device!
Design Tip
When combined with Stat Counter devices, Stat Powerup devices can produce many interesting interactions.
Explore how Stat Counter devices can compare values: Higher, Lower, Equal To, Not Equal To, and so on. With Stat Powerup devices that change stat values in different ways, there are many different combinations of these devices for different gameplay scenarios!