LogoLogo
  • Manifesto
    • What is YOM?
      • State of Gaming
      • Decentralizing Cloud Gaming
    • Technology
      • YOM DePIN
      • YOM Webapp
      • YOM SDK
    • 🏆Ecosystem
      • Value Flow
      • Tokenomics
      • Reputation
      • Governance
      • Programs
  • 🏗️BUILD
    • 📄Overview
      • Key Components
    • 🚀Getting Started
      • Import the UE5 SDK
      • Configure your Stream
      • Test your Stream
      • Package your Stream
      • Deploy your Stream
      • Integrate your Stream
        • Custom Authentication
        • Event Handling
        • Multi-Stream Setup
        • Dynamic Layouts
    • 🛠️SDK Features
      • Responsive Design
      • Custom Characters
      • Registering Events
      • Push Events
      • Optional
        • SDK Assets
        • Inventory
        • Portals
        • Nameplates
        • Gated Access
        • Airdrops
        • Counters
        • Control Hints
    • ⚡Stream Optimization
  • 💎EARN
    • 💻Node Rewards
    • ⚖️YOM vs Aethir
    • 🚀Getting Started
      • Delegation
      • Self-hosted
        • Disk
        • Code
    • ⚡Rig Optimization
  • Node Owners
    • Node Operators Manual
      • Understanding Your Role as a Node Operator
      • Self-Hosted vs. Delegated Nodes
      • Hardware Requirements
      • Getting Started: Choosing Your Node Type & Obtaining a Node License
      • Installation Guide
      • Monitoring Your Node
      • The $YOM Reward System
      • The Role of $YRX (XP Points)
      • Staking $YOM for Enhanced Rewards
      • Troubleshooting Common Issues & FAQs
      • Community & Support Channels
      • Understanding Network Dynamics & Updates
      • Security Best Practices
      • $YOM Token Economy & Burn Mechanism
      • KYC & Compliance
      • Minimum Payout Program & Stay Online Incentives
      • Potential Risks & Considerations
      • Glossary of Terms
  • Compliancy
    • Token Disclaimer
    • Terms and Conditions
    • Privacy Policy
  • About
    • Token Allocation
    • 🙋Social Media
    • ⁉️FAQ
Powered by GitBook
On this page
  • Adding a nameplate to your character
  • Step 1: Creating a custom nameplate
  • Step 2: Adding the nameplate to your character
  • Step 3: Add the YomNameplateManager to your MetaspacePlayer

Was this helpful?

Export as PDF
  1. BUILD
  2. SDK Features
  3. Optional

Nameplates

PreviousPortalsNextGated Access

Last updated 10 months ago

Was this helpful?

Adding a nameplate to your character

The YOM SDK allows creators to design their own nameplates. This guide will explain how to create and use your own nameplates with our ecosystem. If you just want to use our default nameplates, but it has not been enabled yet on your character you can move to Step 2 and use the YomDefaultNameplateWidget as your widget.

Step 1: Creating a custom nameplate

To create a custom nameplate you will have to create a new blueprint asset. Right-click in a folder in the Content Browser and under Create Basic Asset click on Blueprint Class.

Blueprint Class

This will open up the blueprint dialog box in which you can search for YomNameplateWidget. Once you find the YomNameplateWidget select it.

You can now customize your nameplate as you like, but one of the widgets must be a TextBlock widget with the name WalletID. In this TextBlock the walletID of the players will be printed when they are loaded into the game. Also give this walletID block a nice default name like Unknown for when the nameplate could not be loaded.

Step 2: Adding the nameplate to your character

Open up your character (this is not your MetaspacePlayer, but the character that the players will use to move around with) and under the Components tab add a Widget component.

Give this widget a nice name like Nameplate and select it. Under the Details -> User Interface -> Widget Class you can set your widget.

Tip: If you want the widget to always face the player, change Space from World to Screen.

In the Viewport tab, set the nameplate to the desired position for your character.

Step 3: Add the YomNameplateManager to your MetaspacePlayer

The nameplates will only work when you tell your MetaspacePlayer to load the YomNameplateManager in your game on startup. Go to your MetaspacePlayer and under Details -> Yom Player -> Managers add an element and insert YomNameplateManager.

You should now be able to see a nameplate when you spawn into the game.

Pick YomNameplate
Pick Widget Component
Select Widget Class
Add YomNameplate Manager
🏗️
🛠️