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

Getting Started

  • Introduction
  • First Steps
  • Game Starters
  • Components Overview
  • Player/Camera Controls
  • Game Over

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
  • 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
  • Combatant Scripting
  • Custom Nodes
  • Custom Component Save Data
  • Home
  • Guide
  • Documentation
  • Battle System
  • Battle Spots

Battle Spots

Table of Contents
  • Battle Spots
    • Base Settings
      • Raycast Settings
    • Spots
    • Player Spots
      • Member
      • Additional Spot
    • Ally Spots
    • Enemy Spots
  • Using Battle Spots
    • Combatant Groups
    • Formations
    • Battle Components

Battle spots define the default battle positions for player, ally and enemy combatants.

Battle Spots #

Battle spots are used in arena battles (i.e. every battle using a Battle component, which means all except Real Time Area Battles) and define the positions combatants will be placed relative to the battle arena’s position. They are set up in Battles > Battle Spots.

Base Settings #

Define some basic settings for all battle spots, e.g. using the rotation and scale of a battle spot for the combatant placed on it.

Raycast Settings #

Battle spots can use raycasting to place them directly on the ground (hit by the raycast).

Make sure your layer mask and layer setup in Unity is correct, e.g. only using a Ground layer.

Spots #

Battle spots are set up for the player, allies and enemies.

Player Spots #

Define the battle spots for members of the player group.

Member #

Add battle spots for the individual members. E.g. Member 0 will be for the first battle group member, Member 1 for the 2nd, etc.

The battle spot defines the position in local space of the battle arena, optionally adding a random offset.

You can optionally also define a rotation and scale for the battle spot.

Additionally, you can optionally define separate battle spots for player and enemy advantage (see the battle system documentation).

Additional Spot #

If the group has more members than defined battle spots, the additional spot setup is used to create additional spots.

The setup is the same as for member spots – using a random offset is a good way to create randomized spots for this.

Ally Spots #

Define battle spots for allies of the player, who are not part of the player group (e.g. allied factions).

The setup is the same as for player spots.

Enemy Spots #

Define battle spots for enemies of the player.

The setup is the same as for player spots.

Using Battle Spots #

Battle spots are used in arena battles, i.e. using the Battle component, either via direct setup or e.g. when used by auto start battles when running into a combatant.

Combatant Groups #

Combatant groups can optionally define custom battle spots for their members.

You can learn more about combatant groups in this documentation.

Formations #

If a group is in a formation, only the leader of the group will be placed at the regular battle spot.

The other member’s battle spots will be placed based on their formation positions around the group leader.

Learn more about formations in this documentation.

Battle Components #

Battle components can optionally use the (spawned) combatant’s current positions as battle spots.

You can also use game objects in the scene to place custom battle spots for player, ally and enemy combatants.

Learn more about setting up battles in this documentation.

Share This Article :
  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
Updated on November 12, 2021
Table of Contents
  • Battle Spots
    • Base Settings
      • Raycast Settings
    • Spots
    • Player Spots
      • Member
      • Additional Spot
    • Ally Spots
    • Enemy Spots
  • Using Battle Spots
    • Combatant Groups
    • Formations
    • Battle Components
Sitemap
  • Features
  • Showcase
  • Guide
    • Documentation
    • Tutorials
    • API
  • ORK 2 Hub
    • Tutorials
    • Plugins
    • API
  • Support
  • Forum
  • Get ORK
  • Contact
  • Blog
  • Makinom
  • gamingislove.com
Categories
  • News (59)
  • ORK 2 (137)
    • Tutorial (137)
      • Game tutorial (50)
      • Gameplay (32)
      • How-to (55)
  • Release (129)
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!