Get ready to discover some fun and unique ways to track player progress as they play your games!
Set Up a Basic Custom Stat
The Stat Creator device is perfect for making unique ways to track player progress in your Island. In this example, you’ll make a stat that tracks the number of explosions that a player has triggered!
Devices Used
1 x Stat Creator device
1 x Player Spawner device
1 x Stat Counter device
3 x Explosive devices
Set Up the Devices
Place a Player Spawner device.
Place a Stat Creator device.
Customize the device:
Option Value Stat Name
Explosions Triggered
Stat Icon
Bomb
Place a Stat Counter device.
Customize the counter:
Option Value Comparison Value
3
Value Override Type
Add
Value Override
1
Visible in Game
No
Place an Explosive device.
Configure the device to set Player Damage to 0:
Configure the following events on the Explosion device so that it adds one to the Explosions Triggered stat when it explodes.
You now have the basic functionality for a custom stat!
Design Tip
The combination of Stat Creator and Stat Counter devices is great for creating, changing, and tracking a stat. In this example, it would be easy to add another device and trigger it when the player successfully triggers three explosions.
Build a Parkour Skill Mechanic
The Stat Creator can be configured to have different levels of a statistic, allowing you to create your own custom gameplay skills! You’ll use this to set up a parkour skill stat that gives players an upgrade when they level up!
Devices Used
1 x Stat Creator device
1 x Player Spawner device
1 x Stat Counter device
2 x Trigger devices
1 x Movement Modifier device
Set Up the Gameplay
Place the Slick Pegs, Peg and Rails, and Ice Rails prefabs, one after the other.
Place a Player Spawner device at the beginning of the Slick Pegs parkour prefab.
Place a Stat Creator device and customize:
Option Value Stat Name
Parkour Skill
Max Value
2
Max Level
2
Stat Icon
Running
Place a Stat Counter device and customize:
Option Value Tracked Stat
Parkour Skill
Value Override Type
Add
Value Override
1
Visible in Game
No
Place a Movement Modifier device and customize:
Option Value Speed
2.0
Infinite Duration
True
Visible During Game
No
Pad Has Collision
Off
Place a large Trigger device at the end of the first parkour segment, as shown:
Customize the Trigger:
Value
Option Value Visible In Game
Off
Times Can Trigger
1
Visible During Game
No
Pad Has Collision
Off
Configure the following event on the trigger so that it increases the Parkour Skill value when the player reaches it:
Event Select Device Select Function On Triggered
Stat Counter
Override Value
Duplicate this trigger and place the copy on the end of the second parkour section.
Configure the following event on the Stat Creator device so that it gives the player a movement upgrade when they level up.
Modify Island Settings
Make the following modifications to the island settings.
Go to Island Settings > Player.
Under Locomotion, change Allow Manting to Off.
You now have the basic functionality for a parkour skill leveling system!
Design Tip
This example only uses one level, but you can easily add levels with other upgrades and rewards!
A skill system like this is a great way to give incentives for players to complete certain tasks a number of times, so get creative with which skills you want to track!
Build a Target Level Minigame
The Stat Creator can track levels that raise and lower based on different gameplay triggers, allowing for multiple types of stat tracking!
In this example, you’ll create a system that tracks the player’s “wanted level” based on their actions in-game, and spawns enemies to match!
Devices Used
1 x Stat Creator device
1 x Player Spawner device
1 x Item Granter device
2 x Stat Powerup devices
9 x Guard Spawner devices
3 x Button devices
3 x Stat Counter devices
Set Up the Player
Begin with the Greasy Grove POI Island starter island.
Place a Player Spawner device and customize so the spawner is not visible in-game:
Place an Item Granter device and register a Legendary Tactical Assault Rifle to the device.
Customize the Item Granter device:
Option Value Receiving Players
All
Spare Weapon Ammo
999
Grant on Game Start
On
Configure the Basic Target Stat
Place a Stat Creator device and customize:
Option Value Stat Name
Target
Max Value
500
Max Level
3
Per Level Points Multiplier
1.5X
Can Lose Level from Point Loss
Yes
Stat Color
#FF0100
Stat Icon
Exclamation
Place a Stat Powerup device in a place that the player can’t reach. This powerup will raise the player’s Target Stat when they eliminate a guard.
Customize the powerup:
Option Value Stat to Apply
Target
Magnitude
100
Effect Duration
Instant
Time to Respawn
Instant
Ambient Audio
Off
Pick Up Audio
Off
Who Can See This Powerup
None
Duplicate this device and rename it to Decrease Target Stat Powerup. Change its Magnitude setting to -250. This will decrease the player’s Target Stat when they call off the guards.
Place a Guard Spawner device that will spawn guards when the player has a Target Level of at least 1 (which will be always), then customize it:
Option Value Spawn Count
2
Guard Team Option
Team Wildlife & Creatures
Spawn Radius
25M
Max Patrol Distance
25.0M
Drop Inventory on Elimination
No
Configure the following event on the Guard Spawner device to increase the player’s Target Stat when a guard is eliminated.
Event Select Device Select Function On Eliminated
Increase Target Stat Powerup
Pickup
Duplicate the Guard Spawner device and place it next to the previous guard spawner. It will spawn guards when the player has a Target Level of at least 2.
Customize the new Guard Spawner device:
Option Value Guard Type
Ghost
Spawn Count
3
Guard Team Option
Team Wildlife & Creatures
Spawn Radius
25M
Enabled at Game Start
Disabled
Max Patrol Distance
25.0M
Drop Inventory on Elimination
No
Duplicate the guard spawner one more time and place it next to the other two. It will spawn guards when the player has a Target Level of 3.
Customize the third guard spawner:
Option Value Guard Type
Grotto
Guard Team Option
Team Wildlife & Creatures
Spawn Radius
25M
Enabled at Game Start
Disabled
Max Patrol Distance
25.0M
Drop Inventory on Elimination
No
Place a Button device inside a nearby house.
Customize the button:
Option Value Interact Time
1.0 Second
Reset Delay
10 Seconds
Interaction Text
Call them off!
Configure the following event on the button to decrease the player’s Target Stat when they call off the guards by interacting with the button.
Event Select Device Select Function On Interact
Decrease Target Stat Powerup
Pickup
Configure the Leveling System
Place a Stat Counter device and customize:
Option Value Tracked Stat
Target (Level)
Compare Type
Equal To
Broadcast Events On Stat Change
On
Visible in Game
No
Configure the following event on the stat counter to disable the Level 2 Guard Spawner when the player’s level changes to Level 1.
Event Select Device Select Function On Compare Success
Level 2 Guard Spawner
Disable
Place another Stat Counter device and customize:
Option Value Tracked Stat
Target (Level)
Compare Type
Equal To
Comparison Value
2
Broadcast Events On Stat Change
On
Visible in Game
No
Configure the following event to disable the Level 3 Guard Spawner and enable the Level 2 Guard Spawner when the player’s level changes to Level 2.
You must call events on both of these spawners because you don't know whether the player will be leveling up to Level 2 from Level 1 or down from Level 3.
Event Select Device Select Function On Compare Success
Level 2 Guard Spawner
Enable
On Compare Success
Level 3 Guard Spawner
Disable
Place one more Stat Counter device and customize:
Option Value Tracked Stat
Target (Level)
Compare Type
Equal To
Comparison Value
3
Broadcast Events On Stat Change
On
Visible in Game
No
Configure the following event to enable the Level 3 Guard Spawner when the player’s level changes to Level 3.
Event Select Device Select Function On Compare Success
Level 3 Guard Spawner
Enable
Duplicate the cluster of three guard spawners and place the copies in a different area.
Repeat the previous step.
Modify Island Settings
Make the following modifications to the island settings.
Go to Island Settings > Player.
Under Equipment, change Environment Damage to Off.
Go to Island Settings > Mode.
Under Eliminations, change Eliminated Player’s Items to Keep.
You now have a working target system with the Stat Creator device!
Design Tip
This is a classic system that can spruce up all kinds of open world games!
You can also use this with a multiplayer map — maybe the player with the most eliminations has a higher Target Level and gives other players more points for an elimination!