In this tutorial we’ll start with the set up of the status system for our game.
We’ll create a very simple status system with HP, MP, experience, attack, defende, magical attack, magical defence, agility and dexterity stats. We’ll also use elements (via attack modifiers, we’ll set them up later with our elemental attacks) and a few status effects (e.g. poison).
We’ll start in this tutorial with status values.
Status values are the basis of a status system and handle things like health, defence and other numerical values. There are 3 types of status values available:
- Normal
Regular stats, e.g. max health, attack or defence. - Consumable
Stats that are consumed, e.g. health, MP or stamina.
They use a Normal status value as their maximum value. - Experience
Can be used to increase the level or as spendable points.
Open the ORK editor and navigate to Status > Status Values. You’ll see that there are already a bunch of them set up in a new project – we’ll use all of them and add 4 more.
Most of the status values are already set up the way we need them, but I’ll go over their most important settings anyway. We’ll also set up flying texts for the HP status value to get notified of the changes.
0: Max HP #
This status value manages the maximum health a combatant can have.
Content Information #
- Name
Set to: Max HP
Base Settings #
- Type
Select: Normal
Value Range #
The Value Range defines the upper and lower limit the status value can reach. The default setup should have it limited from 0 to 9999, which is fine for our setup.
If you want to change the value range, click on the Edit Value Range button.
- Minimum Value
Set to: 0 - Maximum Value
Set to: 9999 (or the maximum value you want).
Click on Ok to accept the changes.
Start Value Settings #
When the status value isn’t set by a status development or a combatant directly, this’ll be the default value it’ll have.
- Start Value
Set to 1.
This’ll make sure a combatant doesn’t start dead and has at least 1 HP.
1: HP #
This is the actual health of a combatant. When it reaches 0, the combatant dies.
Content Information #
- Name
Set to: HP
Base Settings #
- Type
Select: Consumable
Consumable Settings #
- Max Status Value
Select: Max HP - Forward Positive Changes
Enable
If the max HP increases, so will the HP. - Death On
Select: On Minimum
The combatant dies when it reaches 0 (minimum value). - Animate Damage
Enable
Negative changes (i.e. damage) will cause the damage animation to be played.
We don’t use damage animations in this tutorial series, but we’ll still learn about them.
Start Value Settings #
The health starts with 100% of the max HP.
- Start Value
Set to: 100 - Set In
Select Percent.
Flying Text Settings #
Click on Add Flying Text.
- Player/Ally/Enemy
Enable
The flying texts will be displayed by player, ally and enemy combatants.
You can use these settings to set up different flying texts e.g. for player and enemy.
Refresh #
This is used to display positive changes, i.e. healing.
- Show Flying Text
Enable - Text (Content)
Set to: <color=#00FF00FF><value></color>
This’ll display the value in a green color.
If you want to use a different color, you can add color text codes via the text code buttons above the text field (Text > Color).
Flash HUD #
We’ll also let the HUD of a combatant flash.
- Use HUD Flash
Enable - Time
Select: Value > Value
Set the value to: 0.5 - Interpolation
Select: Linear - Fade Alpha/Red/Green/Blue
Enable - Start Color
Set to white with full alpha. - End Color
Set to a green color with full alpha.
Damage #
This is used to display negative changes, i.e. damage.
- Ignore 0 Damage
Enable
A damage of 0 will not display a flying text. - Show Flying Text
Enable - Text (Content)
Set to: <value>
This’ll display the value in the flying text prefab’s text color (i.e. white).
Flash HUD #
We’ll also let the HUD of a combatant flash.
- Use HUD Flash
Enable - Time
Select: Value > Value
Set the value to: 0.5 - Interpolation
Select: Linear - Fade Alpha/Red/Green/Blue
Enable - Start Color
Set to white with full alpha. - End Color
Set to a red color with full alpha.
UI Settings #
We’ll animate changes to the health.
Count To Value #
These settings are used to count to a new value instead of setting it immediately. This usually only affects the displayed value, not the actual value (but can be used like that as well).
- Count To Value
Enable - Interpolation
Select: Quadratic > Quadratic In + Out - Time
Set to: 0.5 - Smooth Value Bars
Enable
2: Max MP #
This status value manages the maximum MP a combatant can have.
Content Information #
- Name
Set to: Max MP
Base Settings #
- Type
Select: Normal
Value Range #
The default setup should have it limited from 0 to 999, which is fine for our setup.
Start Value Settings #
- Start Value
Set to: 1
3: MP #
This is the actual MP of a combatant.
Content Information #
- Name
Set to: MP
Base Settings #
- Type
Select: Consumable
Consumable Settings #
- Max Status Value
Select: Max MP - Death On
Select: None
MP doesn’t kill the combatant. - Animate Damage
Disable
Negative changes don’t play a damage animation.
Start Value Settings #
- Start Value
Set to: 100 - Set In
Select: Percent
UI Settings #
We’ll only count to new values, but don’t use flying texts.
Count To Value #
- Count To Value
Enable - Interpolation
Select: Quadratic > Quadratic In + Out - Time
Set to: 0.5 - Smooth Value Bars
Enable
4: Experience #
This status value manages the experience of a combatant and levels up when reaching the current level’s maximum.
Content Information #
- Name
Set to: EXP
Base Settings #
- Type
Select: Experience
Value Range #
This should default to using the maximum long value, i.e. a very, very high number.
Experience Settings #
- Experience Type
Select: Level
This’ll level up the combatant. - From Minimum
Enable
The experience will restart from 0 each level.
Start Value Settings #
- Start Value
Set to: 0
5: ATK #
This status value represents the combatant’s attack power and is used for physical damage calculations.
Content Information #
- Name
Set to: ATK
Base Settings #
- Type
Select: Normal
Value Range #
This should default to 1-255.
Start Value Settings #
- Start Value
Set to: 1
6: DEF #
This status value represents the combatant’s defence and is used for physical damage calculations.
Content Information #
- Name
Set to: DEF
Base Settings #
- Type
Select: Normal
Value Range #
This should default to 1-255.
Start Value Settings #
- Start Value
Set to: 1
7: MATK #
This status value represents the combatant’s magic power and is used for magical damage calculations.
This is the first new status value we add – and it works the same as the previous one.
Copy the DEF status value and change the following settings.
Content Information #
- Name
Set to: MATK
8: MDEF #
This status value represents the combatant’s magic defence and is used for magical damage calculations.
Copy the MATK status value and change the following settings.
Content Information #
- Name
Set to: MDEF
9: AGI #
This status value represents the combatant’s agility and is used for turn order calculations.
Copy the MDEF status value and change the following settings.
Content Information #
- Name
Set to: AGI
10: DEX #
This status value represents the combatant’s deterity and is used for turn order calculations.
Copy the AGI status value and change the following settings.
Content Information #
- Name
Set to: DEX
Save Changes #
And that’s it for the status value setup.
Save the changes using the Save Settings button at the bottom of the editor.
Next, we’ll set up status effects.

