Installation
Add the panel to your island and make your own board.
Copy the product
Close UEFN. Copy the LeaderboardPanel folder into your project's Content folder. Open the project and build the
Verse code (Verse > Build Verse Code).
Place a panel
In the Content Browser, open LeaderboardPanel/Widgets and drag into the level the variant with as many stats as your
board: WBP_Leaderboard_1Stat to WBP_Leaderboard_4Stats. Set its scale to 10 and turn it to face the players. Its
texts appear when the game starts.
Add two components
Select the widget entity. In the Details panel, add leaderboard_panel_component and leaderboard_demo_board.
Play
Launch a session: the demo board is live. Aim at NEXT and fire, or press E.
Make your own board
- Open the board editor, paste your spreadsheet (or type the rows) and choose the formats. See Board editor.
- Download the generated file, for example
top_players_board.verse, and save it inContent, next to theLeaderboardPanelfolder. - Build the Verse code.
- On the panel entity, replace
leaderboard_demo_boardwith your board component (top_players_board).
Keep your files outside LeaderboardPanel
An update replaces the whole LeaderboardPanel folder. Save your board files next to it, never inside it.
Several boards
Each panel has its own leaderboard_panel_component and its own board component. Several panels in one island share
one aim pointer per player.
leaderboard_panel_component can also sit on a parent entity of the widget: it uses the first WBP_Leaderboard_*
widget below it.
Updating
Close UEFN, replace the LeaderboardPanel folder with the new one, open the project and build the Verse code. Your
board files are outside the folder, so they are kept. Read the changelog first.