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
  • Step 1: Create Your Player Character
  • Step 2: Understand Yom_BP_ThirdPersonCharacter
  • Step 3: Modify Functionality
  • Step 4: Manage Controls
  • Result:

Was this helpful?

Export as PDF
  1. BUILD
  2. SDK Features

Custom Characters

This guide explains how to create and customize a player character for your YOM stream. It covers using YOM's pre-built character or creating your own, understanding existing functionality, and how to modify or extend character features.

Step 1: Create Your Player Character

  1. Create a New Blueprint:

    • Right-click in the Content Browser

    • Select "Blueprint Class"

    • Search for "Yom_BP_ThirdPersonCharacter" to use YOM's existing character framework

  2. Assign the Player Character:

    • After creating your blueprint, assign it as the player character for your project

Step 2: Understand Yom_BP_ThirdPersonCharacter

Yom_BP_ThirdPersonCharacter includes:

  1. Movement controls (WASD keys)

  2. Interaction system (E key, requires BP_Interact interface)

  3. Camera movement (third-person and first-person)

  4. Camera switching (Q key)

  5. Crouching (C key)

  6. Jumping (Spacebar)

  7. Walking/Running toggle (Left Shift)

  8. Touch support for mobile devices

  9. Customizable settings (walk/run speed, starting view)

Step 3: Modify Functionality

To customize Yom_BP_ThirdPersonCharacter:

  1. Override the function you want to change

  2. To add functionality:

    • Call the parent function

    • Add your custom logic

  3. To remove functionality:

    • Override the function

    • Leave it empty

    • Do not call the parent function

Note: Overriding preserves changes during SDK updates

Step 4: Manage Controls

Default controls use Unreal's Enhanced Input System and are mapped to a controls customization modal that end-users can alter from within the stream:

  1. To modify:

    • Create your own "InputMappingContext" in the content folder

    • Add required defaults

    • Create new key mappings for your project

Caution: Direct changes to default controls may be overwritten by SDK updates

Result:

Following these steps allows you to create, customize, and manage your player character while leveraging YOM's existing functionality and maintaining compatibility with future updates.

PreviousResponsive DesignNextRegistering Events

Last updated 10 months ago

Was this helpful?

🏗️
🛠️