Passer au contenu
Média 1 pour l'article Player Base Manager – Auto Assign, Teleport & Owner Buttons
0 commentaire

Description

Player Base Manager – Verse system for UEFN

Give every player their own base automatically. When a player joins, they get the first free base and are sent there. When they leave, the base is freed and ready for the next player. The foundation of any tycoon, simulator, "steal" or base-building map.

Everything runs from a single Verse device. Add your bases to the list, assign a few devices, and play.

FEATURES

- Automatic base assignment when a player joins, with a message if all bases are taken

- Base freed automatically when the player leaves, then given to the next player

- Teleport to the base: on assignment, on every respawn, and with an optional "go home" input

- Use a Teleporter device OR just any prop as the arrival point (fewer devices to place)

- Optional team change per base (Class & Team Selector)

- Optional billboard showing the owner's name above each base ("Free base" when empty)

- Owner-only buttons: any button inside a base only works for its owner, other players see "This is not your base."

- Works with central spawn pads: players respawning there are sent back to their base

- Multiplayer ready, any number of bases

HOOKS FOR YOUR OWN SYSTEMS

- No code: a Trigger device fires when a base is assigned (with the player as instigator) and another when it is freed. Wire them to VFX, sounds, HUD messages, barriers, prop movers...

- No code: each owner-only button fires its own Trigger, only for the owner. Perfect for rebirth, upgrades or a private shop.

- Verse: BaseAssignedEvent and BaseReleasedEvent give you the player, the base index and its settings. BaseReleasedEvent is sent BEFORE the base is freed, so you can clean it up first.

- Verse: public functions to know who owns what: GetBaseIndex, GetBase, GetBaseOwner, IsBaseOwner, IsBaseFree, GetFreeBaseCount, TeleportToBase

FULLY CUSTOMIZABLE

- Assignment delay, teleport delay, teleport on assign / on respawn

- All texts can be edited or translated

- Clean, commented and organized code, easy to extend

WHAT'S INCLUDED

- player_base_device.verse (single file, no dependencies)

- Demo level with 2 bases (one using a Teleporter, one using a simple prop), owner-only button and assignment effects

- Setup guide

SETUP (5 minutes)

1. Build your bases and place one Teleporter or one prop inside each as the arrival point

2. Place the device and add one entry per base in the Bases list

3. Optional: add a Class & Team Selector, an owner billboard and owner-only buttons to each base

4. Optional: add your central spawn pads and a "go home" Input Trigger

NOTES

- Use a different input for the "go home" Input Trigger than the interact key, so pressing a button does not also send the player home

- This product uses only content created by the author and Fortnite assets available in UEFN. It does not include, use, depend on or distribute any third-party software.

Formats inclus