ORK 4 RPG Framework Logo
  • ORK 4 GUIDE
    • Documentation
    • Tutorials
    • Extensions
    • API
  • ORK 3 GUIDE
    • Documentation
    • Tutorials
    • API
  • Support
  • Forum
  • Get ORK

ORK 4 Documentation

  • Getting Started
    • Welcome
    • First Steps (Unity)
  • Features
    • The Status System
    • Schematics
    • Schematic Nodes
    • Dialogue Importer
    • Variables
    • Selected Data
  • Components
    • Battle Components
    • Combatant Components
    • Control Components
    • Cursor Prefab Components
    • Game Starters
    • Interactable Components
    • Move AI Components
    • Scene Setup Components
  • Editor
    • The ORK 4 Editor
    • Sections & Sub-Sections
    • Node Editor
    • Schematic Editor
    • Asset Sources
    • Unity Overlay Toolbar
  • Section: System
    • System Settings
    • Languages
    • Organizer Types
    • Game States & Conditions
    • General Condition Templates
    • Object Pools
    • Prefab Savers
    • Scene Connections
  • Section: Controls
    • Game Controls
    • Interaction Settings
    • Player Controls
    • Camera Controls
    • Input Keys
    • Control Maps
    • Camera Positions
    • Battle Camera
  • Section: Gameplay
    • Game Settings
    • Formulas
    • Difficulties
    • Shortcut Slots & Settings
    • Custom Settings & Global Custom Settings
    • Global Machines
    • Machine Templates
  • Section: Status
    • Status Values
    • Status Effects
    • Attack Modifiers
    • Defence Modifiers
    • Abilities & Ability Developments
    • Status Developments
    • Research Trees
    • Damage Types
    • Status Bonuses & Templates
    • Status Condition Templates
  • Section: Inventory
    • Inventory Settings
    • Inventory Containers
    • Currencies
    • Items
    • AI Rulesets
    • Crafting Recipes
    • Equipment Slots & Slot Set Templates
    • Equipment & Available Equipment Templates
    • Shops
    • Loot
  • Section: Combatants
    • Combatants
    • Combatant Groups
    • Class Slots
    • Classes
    • Factions & Faction Benefits
    • Animations
    • Move AIs
    • Formations
    • Action Combos
  • Section: Battles
    • Battle Systems
    • Turn Based Battles
    • Active Time Battles
    • Real Time Battles
    • Phase Battles
    • Battle Spots
    • Battle AIs
    • Battle Actions Settings
    • Special Commands Settings
    • Target Settings
    • Target Selection Templates
    • Battle Range Templates
    • Battle Grid Settings
    • Battle Grid Highlights
    • Battle Grid Cell Types
    • Battle Grid Formations
  • Section: Content
    • Content Types
    • Music
    • Sound Templates
    • Areas
    • Teleports
    • Quests & Quest Tasks
    • Logs & Log Texts
    • Object Contents
  • Section: UI
    • UI Settings
    • UI Layers
    • UI Layouts
    • UI Boxes
    • HUDs
    • Notifications
    • Cursor Settings
  • Section: Menus
    • Start Menu
    • Save Game Settings
    • Option Categories
    • Menu Screens
    • Menu Requirements
    • Battle Menus
    • Loot Dialogues
    • Item Collection
    • Combatant Selections
    • Quantity Selections
    • Shop Layouts
  • Section: Texts
    • Text Settings
    • Formatting Settings
    • Flying Texts
    • Use Cost Display
    • Status Preview Display
    • Bonus Display
    • Status Change Display
    • Console Settings & Console Types
    • Text Codes
  • Sections: Editor
    • Editor Settings
    • Backups
    • Variables
    • Plugins
  • Scripting
    • Access Handler
    • Custom Nodes
    • Custom Save Data
    • Custom Component Save Data

ORK 4 Tutorials

  • ORK 4 Unity Quickstart Tutorials (3D)
    • ORK 4 Unity Quickstart 3D
    • 01 Initial ORK 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
    • Quickstart Extended
  • Battle Tutorials
    • Active Time Battles
    • Phase Battles
    • Real TT 01 Real Time Battles & Tab Targeting
    • Real TT 02 Control Map, Use Ranges & Battle Area
    • Real TT 03 Camera Control, Battle AI & Reuse Time
    • Real TT 04 Damage Detection, Action Animation & Player HUD
    • Real TT 05 Switch Player & Final Adjustments
    • Hit & Miss
    • Critical Hits
    • Cast Time
    • Reuse Time
    • Grid 01: Battle Grid Setup
    • Grid 02: Highlights
    • Grid 03: Cell Types
    • Grid 04: Move Command
    • Grid 05: Scene Grid Setup
    • Grid 06: Battle Ready
    • Grid 07 Use & Affect Ranges
    • Grid 08: Better Camera Control
  • Gameplay Tutorials
    • Multiple Interaction Controllers
    • Player Group Spawn & Follow
    • Spawn Hunting Enemies
    • Gamepad Controls (Unity Input System)
    • Combined Inputs
    • Control Map for Keyboard (Shortcuts)
    • Control Map for Gamepad (Shortcuts)
    • Quests 01: Menu Screen
    • Quests 02: Hunting
    • Quests 03: Collect Potion Materials
    • Quests 04: Collect Equipment Materials
    • Quests 05: Quest Mark HUDs
    • Crafting 01: Menu Screen
    • Crafting 02: Materials & Recipes
    • Crafting 03: Getting Materials
    • Crafting 04: Proficiency & Critical Outcome
    • Shop
    • Inventory Containers
  • Schematics Tutorials
    • UI Animation Schematics
    • Flying Text Animation Schematics
    • HUD Conditional Schematics
  • UI Tutorials
    • Unity UI: Initial Setup
    • Unity UI: Status Value UI Setup
    • Unity UI: Status Effect UI Setup
    • Unity UI: Shortcut UI Setup
    • Unity UI: Dragging Notification
    • Unity UI: Interaction HUD
    • Unity UI: Shortcut HUD
    • Unity UI: Turn Order HUD
    • Unity UI: Cast Time HUD
    • Unity UI: Quest HUD
    • Unity UI: Tooltip HUD
    • Unity UI: Move Range HUD
    • Menus 01 UI Box Setup
    • Menus 02 Template HUDs
    • Menus 03 Menu Setup
    • Menus 04 Main Menu
    • Menus 05 Inventory
    • Menus 06 Equipment
    • Menus 07 Ability
    • Menus 08 Group
    • Menus 09 Quest
    • Menus 10 Crafting
  • Module 01: Status System
    • Introduction to Modular Tutorials
    • M01.1: Status Values
      • Introduction to Status Values
      • Health
      • Mana
      • Barrier
      • Base Experience
      • Class Experience
      • Spendable Experience
      • Normal Stats
    • M01.2: Modifiers
      • Introduction to Modifiers
      • Element
      • Attack Type
      • Size
      • Race
    • M01.3: Status Effects
      • Introduction to Status Effects
      • Buffs
      • Debuffs
      • Poison
      • Regeneration
      • Blind
      • Stun
      • Sleep
      • Silence
      • Enchants
      • Charm
      • Doom
      • Reflect
  • Module 02: Actions
    • Introduction to Actions
    • M02.1: Formulas
      • Introduction to Formulas
      • Physical Damage Formula
      • Magical Damage Formula
      • Hit Chance
      • Critical Chance
    • M02.2: Abilities
      • Introduction to Abilities
      • Base Attack
      • Elemental Magic Spells
      • Steal Ability
      • Drain
      • Healing Spell
      • Cure
      • Buff Abilities
      • Debuff Abilities

ORK 4 Extensions

  • Plugins
    • Save Game Compression Plugin
  • Schematic Nodes
    • Footstepper Nodes (Unity)
  • Scripts
    • A* Pathfinding Movement Component (Unity)
    • PolyNav 2D Movement Component (Unity)
    • Cinemachine Camera Control Type (Unity)
    • Rewired Input Key (Unity)
    • Unity Legacy Input Key (Unity)
    • Core GameKit Wrapper (Unity)
    • Pool Boss Wrapper (Unity)
View Categories
  • Guide
  • ORK 4
  • ORK 4 Tutorials
  • ORK 4 Unity Quickstart Tutorials (3D)

10 Fighter Setup

0:00 / 9:10
  • View as Markdown Open this page as plain Markdown (opens in a new tab)
  • Open in ChatGPT Ask questions about this page (opens in a new tab)
  • Open in Claude Ask questions about this page (opens in a new tab)
  • Open in Google AI Studio Ask questions about this page (Google account required) (opens in a new tab)

In this tutorial we’ll continue setting up our player’s combatant – the fighter.

The player will use a status development to level up – we’ll just go for a simple system with status curves and a maximum level of 10.

We’ll set up:

  • more animations
  • fighter’s status development
  • default base attack
  • fighter combatant

Let’s get to it.

Animations #

We’ll start with setting up the rest of the animations we’ll need for all of our combatants.

Open the ORK editor and navigate to Combatants > Animations, we’ll add multiple new animation settings.

1: Battle Movement #

We’ll use these animations to override idle and run animations in battle for our player combatants.

Base Settings #

  • Name
    Set to: Battle Movement

Legacy Settings #

  • Random First Start Time
    Enable

Click on Add Legacy Animation.

  • Organizer Type
    Select: Idle
  • Animation Name
    Set to: IdleBattle
  • Set Layer
    Enable
  • Animation Layer
    Set to: -1

We’ll use the default Play Settings for all our animations, they’re:

  • Play Type
    Select Cross Fade.
  • Play Mode
    Select Stop Same Layer.
  • Fade Length
    Set to 0.1.

Copy Legacy Animation 0 and change the following settings.

  • Organizer Type
    Select: Run
  • Animation Name
    Set to: RunBattle
  • Animation Layer
    Set to 0

2: Simple Movement #

A simplified movement animation with just idle and run, as not all of our combatants have walk animations.

Base Settings #

  • Name
    Set to: Simple Movement

Legacy Settings #

  • Random First Start Time
    Enable

Click on Add Legacy Animation.

  • Organizer Type
    Select: Idle
  • Animation Name
    Set to: Idle
  • Set Layer
    Enable
  • Animation Layer
    Set to: -1

Copy Legacy Animation 0 and change the following settings.

  • Organizer Type
    Select: Walk
  • Animation Name
    Set to: Run
  • Animation Layer
    Set to: 0

Copy Legacy Animation 1 and change the following settings.

  • Organizer Type
    Select: Run

3: Flying Movement #

Copy the Simple Movement animation setting and change the following settings.

The flying monsters only have an idle animation, so we’ll also use that for movement.

Base Settings #

  • Name
    Set to: Flying Movement

Legacy Settings > Legacy Animation 1 #

  • Animation Name
    Set to: Idle

Legacy Settings > Legacy Animation 2 #

  • Animation Name
    Set to: Idle

4: Battle #

We’ll set up battle related animations, e.g. attack, evade or damage. Not all combatants will have all of these animations – but they’ll simply not play them if they don’t have them (when using legacy animations). This animation setting will be used by all combatant, some will override some individual organizer types.

Add a new animation setting.

Base Settings #

  • Name
    Set to: Battle

Legacy Settings #

Click on Add Legacy Animation.

  • Organizer Type
    Select: Damage
  • Animation Name
    Set to: Damage
  • Set Layer
    Enable
  • Animation Layer
    Set to: 1

Copy Animation 0, we’ll add an additional damage animation – one will be played randomly. If a combatant doesn’t have the randomly selected animation, it’ll play the first it assigned animation it can find.

  • Animation Name (Animation 1)
    Set to: Damage2

Click on Add Legacy Animation.

  • Organizer Type
    Select: Evade
  • Animation Name
    Set to: Evade
  • Set Layer
    Enable
  • Animation Layer
    Set to: 1

Click on Add Legacy Animation.

  • Organizer Type
    Select: Death
  • Animation Name
    Set to: Death
  • Set Layer
    Enable
  • Animation Layer
    Set to: 2

Copy Legacy Animation 2.

  • Organizer Type
    Select: Revive
  • Animation Name
    Set to: PickUp
    Yeah, we’re a bit sneaky here and cross fade to a pick up animation, looks good.
  • Fade Length
    Set to: 0.5

Click on Add Legacy Animation.

  • Organizer Type
    Select: Victory
  • Animation Name
    Set to: Victory
  • Set Layer
    Enable
  • Animation Layer
    Set to: 2

Copy Legacy Animation 4.

  • Organizer Type
    Select: Attack
  • Animation Name
    Set to: Attack

Copy Legacy Animation 5.

  • Organizer Type
    Select: Use
  • Animation Name
    Set to: Use

Status Development #

Status developments are used to define how a combatant’s status values change upon leveling up. They’re optional, but required when a combatant should be able to level up.

Navigate to Status > Status Developments, we’ll change the Default status development.

Development Settings #

  • Name
    Set to: Fighter

Level Range #

The Level Range defines the minimum and maximum level of the status development, and by this the maximum level a combatant using it can reach. As mentioned above, our level range should be 1 to 10.

Click on the Edit Level Range button to change them.

  • Minimum Value
    Set to 1.
  • Maximum Value
    Set to 10.

Click on Ok to accept the changes.

Value Development #

Status developments can define values for Normal and Experience type status values for the defined level range. There are different ways to define how a status value changes, we’ll mostly use a Curve of defined values.

The curve development of a status value can be generated in 2 ways – either using the detailed curve editor, or generating a quick curve with a start and end value and an interpolation to fill the values between. The curve editor allows you to define multiple points on the curve and interpolations to fill the values between and visually displays the curve.

We’ll set up the first status value using the curve editor and switch to the quick curve afterwards, since we only generate simple curves in this tutorial. Even when creating a quick curve, you can still open the curve editor and see the curve and change it to your needs.

Click on Set Default to add all Normal and Experience type status values with a base setup.

Status Value 0: Max HP #

  • Development Type
    Select: Curve

Click on Edit Curve to open the curve dialogue.

  • Start Value (Min. Level)
    Set to: 100
  • End Value (Max. Level)
    Set to: 500
  • Interpolation
    Select: Linear

Click on Generate Curve to create the curve and click on Confirm to accept the curve.

Status Value 1: Max MP #

  • Development Type
    Select: Curve

Now we’ll switch to using the quick curve generation.

  • Start Value
    Set to: 10
  • End Value
    Set to: 50
  • Interpolation
    Select: Linear

Click on Generate Quick Curve to create the curve.

Status Value 2: EXP #

  • Development Type
    Select: Curve
  • Start Value
    Set to: 0
  • End Value
    Set to: 100
  • Interpolation
    Select: Linear

Click on Generate Quick Curve to create the curve.

Status Value 3: ATK #

  • Development Type
    Select: Curve
  • Start Value
    Set to: 10
  • End Value
    Set to: 100
  • Interpolation
    Select: Quadratic > Quadratic In
    This gives us a slower increase at the early levels.

Click on Generate Quick Curve to create the curve.

Status Value 4: DEF #

  • Development Type
    Select: Curve
  • Start Value
    Set to: 15
  • End Value
    Set to: 50
  • Interpolation
    Select: Linear

Click on Generate Quick Curve to create the curve.

Status Value 5: MATK #

  • Development Type
    Select: None
    We don’t change the fighter’s MATK on level ups.
  • Start Value
    Set to: 5

Status Value 6: MDEF #

  • Development Type
    Select: None
  • Start Value
    Set to: 10

Status Value 7: AGI #

  • Development Type
    Select: Curve
  • Start Value
    Set to: 10
  • End Value
    Set to: 40
  • Interpolation
    Select: Linear

Click on Generate Quick Curve to create the curve.

Status Value 8: DEX #

  • Development Type
    Select: Curve
  • Start Value
    Set to: 15
  • End Value
    Set to: 60
  • Interpolation
    Select: Linear

Click on Generate Quick Curve to create the curve.

Combatants General Settings #

Next, we’ll set up the base attack for all combatants.

Navigate to Combatants > Combatants and select the General Settings.

Attacks & Abilities #

The general settings define the default attacks for all combatants – individual combatants can override them with their own attacks.

Equipment can also override a combatant’s attacks, e.g. a bow using a different ability than a sword.

Base Attack #

The base attack is the regular ability the combatant will use for the Attack command (e.g. in battle menus). It doesn’t have to be an attack, it can e.g. also be a healing ability to target allies.

  • Ability
    Select: Attack

Counter Attack #

Counter attacks can be used to counter when attacked – abilities that can be countered need to enable this in their Use Settings. Countering is chance-baed.

We don’t use them in this tutorial series, though, but it’s still a good idea to set up the default counter attack.

  • Ability
    Select: Attack

Animations & Movement > Default Animations #

We’ll add the Battle animations for all combatants. They’ll also be available outside of battle.

Click on Add Animations.

  • Animations (Animations 1)
    Select: Battle

Fighter Combatant #

And finally, we’ll update our player’s combatant.

Navigate to Combatants > Combatants and select the Fighter combatant.

UI Settings > Portraits #

Portraits are images or a prefab view portrait that’s assigned to an organizer type.

Portraits can be displayed as part of UI boxes (dialogues, menus, etc.) or HUDs, using an organizer type to display the content a combatant has assigned to it.

Combatants use a set of portraits – you can add multiple portrait sets, either using the first one that’s available (based on conditions) or a random portrait set.

We’ll add a portrait to the combatant.

Click on Add Portrait Set and click on Add Portrait in the newly added Portrait Set 0.

  • Organizer Type
    Select: Portrait
  • Sprite
    Select: portrait_warrior

Status Settings #

The status settings contain all status-related settings of the combatant.

Beside setting a status development and individual status values (that might not be covered by a status development), you can also add status bonuses, set attack/defence modifier start values, add classes and more.

We’ll just use the status development we just set up.

Status Value Settings #

  • Has Status Development
    Enable
  • Status Development
    Select: Fighter

Animations & Movement > Animations #

We’ll add the Battle Movement animations as animations for battle.

Click on Add Animations (Battle).

  • Animations
    Select: Battle Movement

Save Changes #

And that’s it for now.

Save the changes using the Save Settings button at the bottom of the editor.

 

Next, we’ll set up a simple battle AI and two enemy combatants.

Table of Contents
  • Animations
    • 1: Battle Movement
      • Base Settings
      • Legacy Settings
    • 2: Simple Movement
      • Base Settings
      • Legacy Settings
    • 3: Flying Movement
      • Base Settings
      • Legacy Settings > Legacy Animation 1
      • Legacy Settings > Legacy Animation 2
    • 4: Battle
      • Base Settings
      • Legacy Settings
  • Status Development
    • Development Settings
      • Level Range
    • Value Development
      • Status Value 0: Max HP
      • Status Value 1: Max MP
      • Status Value 2: EXP
      • Status Value 3: ATK
      • Status Value 4: DEF
      • Status Value 5: MATK
      • Status Value 6: MDEF
      • Status Value 7: AGI
      • Status Value 8: DEX
  • Combatants General Settings
    • Attacks & Abilities
      • Base Attack
      • Counter Attack
    • Animations & Movement > Default Animations
  • Fighter Combatant
    • UI Settings > Portraits
    • Status Settings
      • Status Value Settings
    • Animations & Movement > Animations
  • Save Changes
Sitemap
  • Showcase
  • ORK 4 Guide
    • Documentation
    • Tutorials
    • Extensions
    • API
  • ORK 3 Guide
    • Documentation
    • Tutorials
    • API
  • ORK 2 Hub
    • Tutorials
    • Plugins
    • API
  • Support
  • Forum
  • Get ORK
  • Contact
  • Blog
  • Makinom
  • gamingislove.com
Categories
  • News (75)
  • ORK 2 (137)
    • Tutorial (137)
      • Game tutorial (50)
      • Gameplay (32)
      • How-to (55)
  • Release (158)
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!