ORK Framework Logo - RPG Editor for Unity
  • ORK 4 BETA
  • Features
  • Guide
    • Documentation
    • Tutorials
    • API
  • ORK 2
    • Tutorials
    • Plugins
    • API
  • Support
  • Forum
  • Get ORK

ORK 3 Documentation

  • Getting Started
    • Introduction
    • First Steps
    • Game Starters
    • Components Overview
    • Player/Camera Controls
    • Game Over
    • Support: Sending Test Projects
  • Editor
    • Editor Overview
    • Base/Control Section
    • Game Section
    • UI Section
    • Templates Section
    • Status Section
    • Inventory Section
    • Combatants Section
    • Battles Section
  • Features
    • Animations
    • Areas & Teleports
    • Combatant Triggers
    • Control Maps
    • Difficulties
    • Factions
    • Formations
    • Formula Nodes
    • Logs
    • Loot
    • Move AI
    • Quests
    • Research Trees
    • Schematic Nodes
    • Shortcut Slots
  • Status System
    • Status Values
    • Status Effects
    • Attack/Defence Modifiers
    • Abilities
    • Combatants
    • Classes
    • Status Bonuses
    • Status Conditions
  • Inventory System
    • Inventory System Overview
    • Currencies
    • Items
    • Equipment
    • AI Behaviours/Rulesets
    • Crafting Recipes
    • Shops
  • Battle System
    • Battle Systems
    • Adding Battles to Scenes
    • Calculating Action Results
    • Battle Menus
    • Battle AI
    • Battle AI Nodes
    • Battle Ranges
    • Battle Camera
    • Target Selection
    • Battle Spots
    • Battle Texts
    • Battle End & Loot Dialogues
    • Action Combos
    • Damage Types
    • Cursor Prefab Components
    • Grid Battles
    • Adding Battle Grids to Scenes
    • Battle Grid Highlights
    • Battle Grid Formations
  • UI System
    • UI System Overview
    • Start Menu
    • Option Categories
    • Menu Screens
    • Notifications
    • Combatant Selections
    • Quantity Selections
    • Text Display Settings
    • Cursor Settings
    • Console (In-Game)
    • Menu Requirements
    • HUDs: Content Providers
    • HUDs: Conditions
    • HUDs: Click Actions
    • HUDs: Text Content
    • HUDs: Value Bar Content
    • HUDs: Status Values
    • HUDs: Status Effects
    • HUDs: Attack Modifiers
    • HUDs: Defence Modifiers
    • HUDs: Shortcuts
    • HUDs: Abilities
    • HUDs: Equipment
    • HUDs: Class Slots
    • HUDs: AI Behaviours
    • HUDs: AI Rulesets
    • HUDs: Quests
    • Timebar HUD
  • Scripting
    • Scripting Overview
    • Access Handler
    • Code Extensions
    • Custom Settings
    • Custom Targeting
    • Combatant Scripting
    • Custom Nodes
    • Custom Component Save Data

ORK 3 Tutorials

  • 2D RPG Quickstart
    • START 2D RPG Quickstart
    • 01 Initial Setup
    • 02 Player Setup
    • 03 Music & Scenes
    • 04 UI System Setup
    • 05 UI Boxes
    • 06 Flying Texts
    • 07 Status Values
    • 08 Status Effects
    • 09 First Abilities
    • 10 Fighter Setup
    • 11 First Enemies & Battle AI
    • 12 Battle System Setup
    • 13 Animating Battle Start and End
    • 14 Random Battles
    • 15 Animating Actions
    • 16 Player Battle HUD
    • 17 Elemental Attacks
    • 18 Animating More Actions
    • 19 Inventory & Loot
    • 20 Equipment
    • 21 Loot, Start Equipment & Viewers
    • 22 Magic Abilities
    • 23 Caster Setup
    • 24 More Enemies
    • 25 Start Menu & Save Games
    • 26 Menu Screens
    • 27 Interactions
    • 28 Item Collectors
    • END 2D RPG Quickstart
  • 3D RPG Quickstart
    • START 3D RPG Quickstart
    • 01 Initial Setup
    • 02 Player Setup
    • 03 Music & Scenes
    • 04 UI System Setup
    • 05 UI Boxes
    • 06 Flying Texts
    • 07 Status Values
    • 08 Status Effects
    • 09 First Abilities
    • 10 Fighter Setup
    • 11 First Enemies & Battle AI
    • 12 Battle System Setup
    • 13 Animating Battle Start and End
    • 14 Random Battles
    • 15 Animating Actions
    • 16 Player Battle HUD
    • 17 Elemental Attacks
    • 18 Animating More Actions
    • 19 Inventory & Loot
    • 20 Equipment
    • 21 Loot, Start Equipment & Viewers
    • 22 Magic Abilities
    • 23 Caster Setup
    • 24 More Enemies
    • 25 Start Menu & Save Games
    • 26 Menu Screens
    • 27 Interactions
    • 28 Item Collectors
    • END 3D RPG Quickstart
  • Status System Setup
    • START Status System Setup
    • 01 Status Values
    • 02 Status Development
    • 03 Attack/Defence Modifiers
    • 04 Status Effects
    • 05 Formulas
    • 06 Ability & Item Types
    • 07 Abilities Part 1: Attacks
    • 08 Abilities Part 2: Support & Sabotage
    • 09 Abilities Part 3: Elemental Magic
    • 10 Items
    • 11 Equipment Part 1: Slots & Slot Set Templates
    • 12 Equipment Part 2: Weapons
    • 12.5 (Optional) Equipment Part 2.5: Weapons
    • 13 Equipment Part 3: Shields, Armor & Accessories
    • 13.5 (Optional) Equipment Part 3.5: Shields, Armor & Accessories
    • 14 Equipment Part 4: Available Equipment Templates
    • 15 Loot
    • 16 Battle AIs
    • 17 Combatants Part 1: General Settings
    • 18 Combatants Part 2: Players
    • 19 Combatants Part 3: Enemies
    • 20 Combatant Groups
    • END Status System Setup
  • 3D RPG Playground
    • START 3D RPG Playground
    • 01 Player Setup
    • 02 Start Menu
    • 03 First Interaction
    • 04 Music
    • 05 Areas
    • 06 Collecting Items
    • 07 Displaying Equipment
    • 08 Combatant Prefabs, Icons & Portraits
    • 09 Combatant Animations
    • 10 Camera Positions
    • ANIM 01 Battle Start/End Schematics
    • ANIM 02 Use, Cast & Camera
    • ANIM 03 Abilities & Items
    • ANIM 04 Physical Attacks
    • ANIM 05 Special Actions
    • BATTLE 01 Battle Menu
    • BATTLE 02 Prepare for Battle
    • TURN 01 Turn Based Setup
    • TURN 02 Turn Order HUD
    • ATB 01 Active Time Setup
    • ATB 02 Cast Times
    • ATB 03 Timebar HUD
    • BATTLE 03 The First Battle
    • BATTLE 04 Hunting Move AI
    • BATTLE 05 Spawning Combatants
    • 11 Save Games
    • MENU 01 UI Boxes
    • MENU 02 Template HUDs
    • MENU 03 Overview Menu
    • MENU 04 Menu Screens
    • 12 Shop
    • BATTLE 06 Random Battles
    • DUNGEON 01 Enter the Dungeon
    • DUNGEON 02 The Trapdoor
    • DUNGEON 03 Enemies on Level 1 & 2
    • DUNGEON 04 Traps on Level 3
    • DUNGEON 05 Going Deeper
    • 13 Bestiary (+MENU+ANIM)
    • QUEST 01 Hunting Quests (+MENU)
    • QUEST 02 Guard NPC
    • QUEST 03 Forest Ruin Cheese
    • QUEST 04 Witch NPC with Cheese
    • QUEST 05 Quest Mark HUDs
    • 14 Research Trees (+MENU)
    • CRAFT 01 Crafting Materials
    • CRAFT 02 Crafting Recipes
    • CRAFT 03 Crafting Menu
    • CRAFT 04 Crafting Proficiency & Critical Crafting
    • CRAFT 05 Materials Loot
    • 15 Changing Choice Dialogue
    • 16 Follow Me!
    • BATTLE 07 Sequence Loot Dialogue
  • 3D Action RPG
    • START 3D Action RPG
    • 01 Status System Setup
    • 02 Player Setup
    • 03 Player Weapon
    • 04 Player Attacks
    • 05 Enemy: Chomper
    • 06 Chomper Attack
    • 07 Hit & Death
    • 08 HUDs
    • 09 Rolling on the Floor
    • 10 Enemy: Spitter
    • 11 Spit Attack
    • 12 Potion
    • 13 Grenade
    • 14 Item HUD
    • 15 Enemy: Grenadier
    • 16 Grenadier Melee Attacks
    • 17 Grenadier Flamethrower
    • 18 Item Drops
    • END 3D Action RPG
  • 2D Grid Battle RPG
    • START 2D Grid Battle RPG
    • 01 Player Setup
    • 02 Prefab & Music Setup
    • 03 Randomizing Combatants
    • 04 UI Setup
    • 05 Battle Start, End & Phase Schematics
    • 06 Battle System Setup
    • 07 Battle Grid Setup
    • 08 Grid Move
    • 09 Forest Battle Grid
    • 10 Battle AI
    • 11 Ability Ranges
    • 12 Death & Use Schematics
    • 13 Attack Schematic
    • 14 Shoot Schematics
    • 15 Battle Selection Interaction
    • END 2D Grid Battle RPG
  • Schematics
    • Simple Start Schematic
    • Battle Start Schematic
    • Battle End Schematic
    • Moving to Target and Back
    • Animating a Base Attack
    • Animating a Magic Ability
    • Animating Target Selection
    • Grid Movement
    • Open and Close UI Animations
    • Flying Text Mover
  • UI Setups
    • Unity UI: Initial Setup
    • Unity UI: TextMesh Pro Setup
    • Unity UI: UI Box
    • Unity UI: Flying Text
    • Unity UI: Dragging Notification
    • Unity UI: Canvas with Screen Space Camera
    • Unity UI: Interaction HUD
    • Unity UI: Simple Player HUD
    • Unity UI: Quest HUD
    • Unity UI: Battle Actions HUD
    • Unity UI: Shortcuts HUD
    • Unity UI: Currency HUD
    • Unity UI: Tooltip HUD
    • Unity UI: Control HUD
    • Unity UI: Attack Modifiers
    • Unity UI: Defence Modifiers
  • Gameplay Bits
    • 2.5D Setup
    • Body Part Weakpoint
    • Click Attack
    • Combining Input Origins
    • Combining Status Value Flying Texts
    • Fun With Flying Text
    • HUD Effects With Conditional Schematics
    • Inventory Containers
    • Local Multiplayer
    • Multi Interaction Controllers
    • Target Selection Lines
    • World Space HUD
    • World Space Dialogue
View Categories
  • Guide
  • ORK 3
  • ORK 3 Documentation
  • UI System

UI System Overview

The UI system is modular and can be completely replaced with custom UI solutions.

See Makinom’s UI system documentation for all details and basics on the modular UI system.

ORK Framework’s UI is build upon Makinom’s UI system, i.e. the UI module set up in Makinom will also be used by ORK. ORK’s UI modules are imported into the Makinom 2 DLL folders:

  • Assets/Gaming Is Love/Makinom 2/DLL/
  • Assets/Gaming Is Love/Makinom 2/DLL/Editor/

They have to be in the same folder as ORK Framework’s and Makinom’s DLLs to ensure the correct compile order by Unity.

Currently, there’s only one UI module available (and included in a fresh import of ORK Framework): Unity UI, using Unity’s component based UI system.

See this UI tutorial for a detailed look at the initial setup for the Unity UI module.

UI Boxes #

ORK uses UI boxes to display content information and receive user input, e.g. accepting a dialogue, selecting something in a menu, etc.

Beside the same use as in Makinom (e.g. via dialogue nodes in schematics), ORK mainly uses UI boxes in menu screens, battle menus and the Console HUD type (instead of a regular HUD setup).

See Makinom’s UI Boxes documentation for general information on UI boxes. See this UI tutorial for an example UI box setup for the Unity UI module.

Buttons with Additional Content #

ORK often allows showing additional information in buttons, e.g. the quantity of a displayed item or use cost of an ability. Since you usually want this to not show alongside the regular text of the button, this’ll use Additional Content definitions.

Additional content is identified via it’s Content ID – the content will be displayed by the UI system via a matching content ID setup. ORK’s default setup where such content is displayed will already have the additional content added. There are 2 types of additional content used in default setups:

  • title
    The title content ID is used by equipment and AI behaviour/ruleset menu screens to show the content information of equipment slots and AI slots alongside currently equipped equipment/AI.
  • info
    The info content ID is used to show a content’s default information, e.g. for items it’s the quantity, for abilities the use costs, etc.
    This is used in many UI settings, e.g. battle menus, inventory/ability/etc. menu screens or shops.

Unity UI Setup (on Button) #

Using the Unity UI module, a button uses the UI Button Input component, which has setup for referencing additional UI Content components. You can use the context menu in the scene hierarchy to quickly create buttons with info and title content information.

Create a button with info content ID: Makinom > UI Box > Input (Button) > Choice Info Button (TextMesh Pro)

Create a button with title content ID: Makinom > UI Box > Input (Button) > Choice Title Button (TextMesh Pro)

See Makinom’s Unity UI Module documentation for details on UI setup with the Unity UI.

Buttons with HUD Content #

You can often show additional information in buttons by using HUD content. This is done by either using a HUD as a template or by having a HUD setup directly on the used button (e.g. when using the Unity UI module, on the button’s prefab).

Using a HUD as a template is pretty straight forward – you select the HUD you want to use and it’ll be added to the button when the UI is created.

Using a HUD setup on the button depends on the used UI module. For the in-ORK setup however, you need to still use a HUD like when using a template, but select the -: None HUD instead.

There’s sometimes a 3rd option available, using a Shortcut UI setup of the displayed content. This is only available when something from shortcuts is displayed, e.g. the inventory menu screen. Shortcuts are instances of items, abilities and other (potentially) usable things.

Unity UI Setup (on Button) #

Any HUD component that displays information is getting the content from a HUD Content Provider component (e.g. the HUD component at the root of each HUD is also a HUD Content Provider component).

To use HUD components on a button, you need to add a HUD Content Component to it and reference it in the UI Content component that should fill it with content (i.e. you can also use additional content to display different HUD content). It doesn’t matter where in the button’s hierarchy the component is added, as long as it’s referenced by a UI Content component that’s used by the button to display content information.

HUDs #

HUDs are used to display information to the player, e.g. the player or player group’s status, available interactions, quests, virtual controls, etc.

See Makinom’s HUDs documentation for general information on HUDs.

HUD Types #

ORK adds HUD types for different purposes to Makinom. Depending on the used UI module you’ll be able to mix functionality of different HUD types, e.g. the Unity UI module can mix individual components together as needed.

When using the Unity UI module, the actual HUD content setup is handled via components – you’ll create and design your HUD in the scene view like you’d create any other UI in Unity. The context menu in the scene hierarchy has many useful commands to create HUDs: ORK Framework > HUD > …

Battle Actions #

Displays battle actions registered with the system, e.g. scheduled, casting and active actions.

Each action is displayed in it’s own individual HUD. For an example, check out this Unity UI tutorial.

Combatant #

Displays information about combatants.

Each combatant is displayed in it’s own individual HUD. For an example, check out this Unity UI tutorial.

Combatant Object #

Displays information about combatant at the position of the combatant’s game object.

Each combatant is displayed in it’s own individual HUD.

Console #

Displays the in-game console. The general console setup is handled in UI > Console Settings & Types.

Console type HUDs use a regular UI box to display content.

Latest Turn #

Displays the combatant that has the latest turn until the next combatant’s turn comes up.

The HUD will only be displayed in running battles.

Navigation Bar #

This HUD type is already available in Makinom and displays a navigation bar, e.g. cardinal directions, nearby interactions, etc.

ORK adds the Combatant navigation point type to display nearby combatants in the navigation bar.

Object #

Displays information at the position of a game object.

Quest #

Displays a list of quests, their tasks and requirements. Quest task requirements can also display their quantities using value bars.

Learn more about setting up quest content in a HUD in this documetation.

For an example, check out this Unity UI tutorial.

Timebar #

Displays a timebar with individual HUDs for each combatant, moving along the timebar to represent their current timebar value. The HUD is only visible during battles using the Active Time type battle system.

Learn more about setting up a timebar HUD in this documentation.

Turn Order #

Displays the turn order of Turn Based battles (i.e. the order in which combatants perform their actions).

The HUD will only be displayed in running Turn Based battles.

HUDs as Templates #

You’ll often use a HUD as a template, e.g. to add content information to a button or provide combatant information in menus.

When a HUD is only used as a template, make sure to disable Auto Display in the HUD’s settings. You can also ignore any display conditions and other settings of the HUD that doesn’t relate to displayed content. E.g. a Combatant type HUD doesn’t have to define for which combatants (player, enemy, etc.) it’d be dispalyed when used as a template.

Unity UI Setup #

Using the Unity UI module, the HUD’s prefab has to have either a HUD or a HUD Content Provider component at the prefab’s root.

The HUD’s prefab will be spawned by the UI Content component that displays the HUD template, e.g. the main content of a UI box or the content of a button.

Editor UI
Table of Contents
  • UI Boxes
    • Buttons with Additional Content
      • Unity UI Setup (on Button)
    • Buttons with HUD Content
      • Unity UI Setup (on Button)
  • HUDs
    • HUD Types
      • Battle Actions
      • Combatant
      • Combatant Object
      • Console
      • Latest Turn
      • Navigation Bar
      • Object
      • Quest
      • Timebar
      • Turn Order
    • HUDs as Templates
      • Unity UI Setup
Sitemap
  • ORK 4 BETA
  • Features
  • Showcase
  • Guide
    • Documentation
    • Tutorials
    • API
  • ORK 2 Hub
    • Tutorials
    • Plugins
    • API
  • Support
  • Forum
  • Get ORK
  • Contact
  • Blog
  • Makinom
  • gamingislove.com
Categories
  • News (73)
  • ORK 2 (137)
    • Tutorial (137)
      • Game tutorial (50)
      • Gameplay (32)
      • How-to (55)
  • Release (156)
Search

© 2015 Gaming is Love e.U.

Disclosure: This site may contain affiliate links, which means I may receive a commission if you click a link and purchase something that I have recommended. While clicking these links won’t cost you any money, they will help me fund my development projects while recommending great assets!