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 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
    • This Is Not The End
    • Quickstart Extended
      • Unity UI: Interaction HUD
  • Schematics Tutorials
    • UI Animation Schematics
  • UI Tutorials
    • Unity UI: Initial Setup
    • Unity UI: Interaction HUD

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)

01 Initial ORK Setup

In this tutorial we’ll handle the initial setup of the ORK project.

We start with some basic setup for 3D games, our game controls and some organizer types we’ll use later.

We’ll set up:

  • system settings
  • organizer types
  • player/camera controls
  • input keys
  • game settings

Let’s get to it!

Open the ORK Editor #

The first time opening the ORK editor will create an initial ORK project setup – this’ll make the first time saving take a bit longer than usual, since all data assets need to be created and saved.

Most of our setup will be done in the ORK editor, you can open it via Unity’s menu: Window > Gaming Is Love > ORK Framework

Or using the keyboard shortcut: CTRL + ALT + O (Windows) or CMD + ALT + O (Mac)

System Settings #

We’ll start with the system settings, where we’ll handle some settings for our 3D game.

You’ll find the section selection in the upper left corner of the editor. The tutorials will often ask you to navigate somewhere, which is in the style of MainSection > SubSection, e.g. you now need to navigate to the main section System and it’s sub-section System Settings.

Navigate to System > System Settings and change the following settings.

Base Settings > Game Mode #

The settings are organized in a foldout-hierarchy – you’ll find the settings in the main foldout Base Settings and it’s sub-foldout Game Mode.

  • Default Horizontal Plane
    Select: XZ
    This is used for 3D games.
  • Default Raycast Type
    Select: Only 3D (or First 3D)
    Using Only 3D will only check with 3D raycasting.
    Using First 3D will check with 3D raycasting first and fall back to 2D raycasting if nothing was hit, use it in case you’re mixing 3D and 2D physics in your game.
    Both are fine for our setup (though we only use 3D physics).

Organizer Types #

We’ll set up organizer types – we’re going to use them for sound assignments and animations (more on that later). A new ORK project already has a bunch of organizer types set up for us, we’ll add one more.

Navigate to System > Organizer Types and add a new organizer type.

13: Use #

  • Name
    Set to: Use

Player Controls #

We’ll set up the player controls, navigate to Controls > Player Controls.

We’ll use the Button controls, moving the player using a Character Controller component – the tutorial assets are already set up that way.

When working on your own projects or using different prefabs/models, keep in mind that you’ll need a Character Controller if you want to use the Button player control. You can also use different ways to move the player, this is handled by the Move Type setting.

Player Control 0 #

The initial setup uses None controls, we’ll change that.

  • Player Control Type
    Select: Button
  • Move Type
    Select: Character Controller

Vertical Axis #

  • Use Axis (Vertical Axis)
    Enable
    We’ll use a single input key as axis instead of 2 separate input keys for each direction.
  • Axis Key (Vertical Axis)
    Select: Vertical Move

Horizontal Axis #

  • Use Axis (Horizontal Axis)
    Enable
  • Axis Key (Horizontal Axis)
    Select: Horizontal Move

Camera Controls #

We’ll set up the camera controls, navigate to Controls > Camera Controls.

We’ll use the Top Down Border camera – this camera control can be used in both 2D and 3D games (handling is based on the horizontal plane we just set up).

This camera control can also use Camera Border components in the scene to limit the viewing area for the camera, more on that in the next tutorial.

Camera Control 0 #

The initial setup uses None controls, we’ll change that.

  • Camera Control Type
    Select: Top Down Border
  • Child Object
    Select: Path
    We’ll define a path to a child object.
  • Find Child
    Set to: Head
    This is a child object on our player combatants (or rather, every combatant’s prefab).
    Instead of the camera being pointed at the player’s position, it’ll look at the head, giving a better camera placement.

Rotation Settings #

We’ll allow rotating the camera using the mouse.

  • Use Rotation In
    Select: Both
    We can rotate the camera in the field and in battle (when camera control is allowed).
  • Remember Rotation
    Enable
    This’ll keep the camera’s rotation when changing scenes.

We’ll use the Mouse/Touch Controls.

  • Input Type
    Select: Both
    We’ll alove mouse and touch control.
  • Mouse Button
    Set to: 1
    Uses the right mouse button.
  • Finger Count
    Set to: 2
    Uses 2 fingers.
  • Click Count
    Set to: 1
    Uses 1 click/touch inputs, e.g. set to 2 for double click/touch to initiate the rotation.
  • Mode
    Select: Move
    The rotation is used when moving the cursor/fingers.

Input Keys #

The input keys define the inputs the player can use. We’ll change the Accept input key to use Space instead of Return and also add a new input key to call our menu (which we’ll set up later).

Navigate to Controls > Input Keys and select the Accept input key.

2: Accept #

This input key is set up in a default project and used to accept UI selections and interact with the game world. We’ll change the used keyboard key.

Input ID Setting 0 #

  • Positive Key
    Select: Space

6: Menu #

Add a new input key using the Add button above the asset list.

Change the following settings of the newly added input key.

Content Information #

These settings define the content (name, description, icon, etc.) of the input key (or whatever data you set up, e.g. items, combatants, etc.).

  • Name
    Set to: Menu

Input ID Setting 0 #

  • Input Origin
    Select: Keyboard Key (Input System)
  • Positive Key
    Select: F1
  • Input Handling
    Select: Down
    The input is recognized only the moment the key is pressed down, i.e. not while continuing to hold it.

Game Settings #

Lastly, we’ll look at the game settings to set up our player group’s settings and game over settings.

Navigate to Game > Game Settings.

Player/Group Settings #

We check the initial player faction and change the battle group size to 2, since we only use 2 player combatants in this tutorial.

A new ORK project comes with 3 factions (player, ally and enemy) and uses the player faction for the player group.

  • Default Faction
    Select: Player
    This is the default value in a new project.
  • Battle Group Size
    Set to: 2
    Only the player group uses a battle group size to allow managing who’s taking part in battle.

Game Over Settings #

Since we’re already here, let’s check out what happens on game over (we don’t need to change the default setup, though).

Game over lets you e.g. load a special game over scene, show a choice dialogue (e.g. load game or exit to start menu) and more. The default setup will simply load the start menu scene (which we’ll define later in the start menu settings).

Game Over Choice #

We’ll stick with the default setup, which shouldn’t show a choice and load the start menu instead:

  • Show Choice
    Disable
  • Load Start Menu Scene
    Enable

Save Changes #

That’s it for this tutorial, time to do a first save in our project.

Changes in the editor are not automatically saved, you have to actively do that by clicking on the Save Settings button at the bottom of the editor. This’ll open the save confirmation where you see a list of all changed settings before you can confirm saving.

Since this is the first time saving, there’s quite a lot of changes listed, since all data is new.

Tip!

Saving in the editor can automatically create a backup of the previous data.

This is a time consuming process – I’d recommend to disable Create Backup for now and only use this option from time to time (e.g. once a day) to create backups willingly.

 

Next, we’ll set up our player and spawn it.

Table of Contents
  • Open the ORK Editor
  • System Settings
    • Base Settings > Game Mode
  • Organizer Types
    • 13: Use
  • Player Controls
    • Player Control 0
  • Camera Controls
    • Camera Control 0
      • Rotation Settings
  • Input Keys
    • 2: Accept
      • Input ID Setting 0
    • 6: Menu
      • Content Information
      • Input ID Setting 0
  • Game Settings
    • Player/Group Settings
    • Game Over Settings
      • Game Over Choice
  • Save Changes
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!