Documentation
  • AnyRPG Introduction
  • Getting Started
    • Installing AnyRPG
      • Unity Asset Store Installation
      • Github Installation
      • Unity Package Installation
    • Included sample games
    • Creating your first game
    • Configuring your game
    • Adding Content To Your Game
  • Wizards
    • Wizards Introduction
    • New Game Wizard
    • New Scene Wizard
    • New Equipment Set Wizard
    • Animation Profile Wizard
    • Screenshot Wizard
    • Template Content Wizard
    • New Character Wizard
    • New Weapon Wizard
    • Minimap Wizard
    • Rename Wizard
  • Scriptable Objects
    • Scriptable Objects Introduction
    • Abilities
      • Animated Ability
      • Channeled Ability
      • Craft Ability
      • Direct Ability
      • Gather Ability
    • Ability Effects
      • AOE Effect
      • Attack Effect
      • Capture Pet Effect
      • Channeled Effect
      • Direct Effect
      • Heal Effect
      • Instant Effect
      • Knock Back Effect
      • Mount Effect
      • Pet Control Effect
      • Pet Effect
      • Projectile Effect
      • Rain Effect
      • Remove Effect
      • Resurrect Effect
      • Status Effect
      • Summon Effect
      • Taunt Effect
      • Teleport Effect
    • Achievement
    • Animated Action
    • Animation Profile
    • Armor Class
    • Attachment Profile
    • Audio Profile
    • Behavior Profile
    • Character Class
    • Character Race
    • Character Stat
    • Chat Commands
      • Action Command
      • Composite Command
      • Gain Currency Command
      • Gain Experience Command
      • Gain Item Command
      • Learn Ability Command
      • Load Scene Command
      • Set Level Command
    • Class Specialization
    • Combat Strategy
    • Credits Category
    • Currency
    • Currency Group
    • Cutscene
    • Dialog
    • Environment State Profile
    • Equipment Model Profile
    • Equipment Set
    • Equipment Slot Profile
    • Equipment Slot Type
    • Faction
    • Interactable Option Configurations
      • Bank Config
      • Behavior Config
      • Character Creator Config
      • Class Change Config
      • Crafting Node Config
      • Cutscene Config
      • Dialog Config
      • Faction Change Config
      • Gathering Node Config
      • Item Pickup Config
      • Load Scene Config
      • Lootable Character Config
      • Moveable Prefab Config
      • Music Player Config
      • Name Change Config
      • Patrol Config
      • Quest Giver Config
      • Skill Trainer Config
      • Specialization Change Config
      • Teleport Config
      • Unit Spawn Controller Config
      • Vendor Config
    • Items
      • Action Effect Item
      • Armor
      • Bag
      • Currency Item
      • Equipment
      • Food
      • Power Resource Potion
      • Quest Start Item
      • Recipe Item
      • Weapon
    • Item Quality
    • Loot Table
    • Material Profile
    • Patrol Profile
    • Power Resource
    • Prefab Profile
    • Quest
    • Quest Giver Profile
    • Recipe
    • Resource Description
    • Scene Node
    • Scriptable Content Template
    • Skill
    • Status Effect Group
    • Status Effect Type
    • Swappable Mesh Model Profile
    • UMA Model Profile
    • Unit Prefab Profile
    • Unit Profile
    • Unit Toughness
    • Unit Type
    • Vendor Collection
    • Voice Profile
    • Weather Profile
    • Weapon Skill
  • MONOBEHAVIOURS
    • Monobehaviours Introduction
    • Scene Config
    • Channeled Object Script
    • Channeled Cylinder Script
    • Edible Object
    • Projectile Script
    • Cutscene Camera Controller
    • Playable Director Controller
    • Spawnable
    • Interactable
    • Interactable Options
      • Animated Object
      • Bank
      • Behavior Interactable
      • Character Creator Interactable
      • Class Change Interactable
      • Click Switch
      • Crafting Node
      • Cut Scene Interactable
      • Dialog Interactable
      • Faction Change Interactable
      • Gathering Node
      • Item Pickup
      • Load Scene Interactable
      • Lootable Character
      • Moveable Object
      • Moveable Prefab
      • Music Player
      • Name Change Interactable
      • Pressure Switch
      • Quest Giver
      • Skill Trainer
      • Specialization Change Interactable
      • Teleport Interactable
      • Unit Spawn Controller Interactable
      • Vendor
    • Environmental Effect Area
    • Movement Sound Area
    • Persistent Object
    • Respawn Area
    • Unit Spawn Node
    • Water Body
  • Architecture
    • Ability System
      • Abilities
      • Ability Effects
    • Project Settings
      • Layers
      • Tags
      • Physics Settings
  • Shared Properties
    • Capabilities
    • Environment Preview
    • Prerequisite Conditions
    • Stat Scaling Nodes
Powered by GitBook
On this page
  • Creation
  • Properties
  • Unit Prefab
  • Unit Settings
  • Character
  • Voice
  • Configuration
  • Combat
  • Movement
  • Patrol
  • Interaction
  • Object Persistence
  • Next Steps
  1. Scriptable Objects

Unit Profile

A unit profile defines all the information related to a character, including both the character configuration, and properties of the physical model.

PreviousUnit Prefab ProfileNextUnit Toughness

Last updated 2 years ago

Creation

To create a unit profile, find (or create) the GameName/Resources/GameName/UnitProfile folder in the project tab and right click. Choose Create > AnyRPG > UnitProfile.

Properties

The default properties of a character unit are listed below. Some of these properties can be overridden if this character is used as a player.

Unit Prefab

Name
Description

Automatic Prefab Profile

Prefab Profile Name

The name of the prefab profile that contains the prefab that represents this unit. Only used if Automatic Prefab Profile and Use Inline Prefab Props are not true.

Use Inline Prefab Props

If true, the unit prefab is loaded from the inline Unit Prefab Props field.

Unit Prefab Props

Unit Settings

Name
Description

Is UMA Unit

Deprecated, not currently used.

Is Pet

If true, this unit can be captured and kept as a pet.

Flight Capable

If true, this unit can fly.

Glide Capable

If true, this unit can glide.

Character

Name
Description

Character Name

The name of the character, which will be shown in unit frames and nameplates.

Title

A title that will be shown below the name in the nameplate.

Faction Name

Unit Type Name

Character Race Name

Character Class Name

Class Specialization Name

Spawn Dead

If true, the character will spawn dead.

Prevent Auto Despawn

If true, the character will not despawn when it does.

Default Toughness

Voice

Name
Description

Voice Profile

Use Inline Voice Props

Voice Props

Configuration

Name
Description

Capabilities

Primary Stats

Power Resources

Use Provider Equipment

Equipment Name List

Combat

Name
Description

Is Aggressive

Aggro Radius

The radius of the aggro sphere around this unit. Set to 0 to disable aggro.

Automatic Combat Strategy

Combat Strategy Name

Default Hit Effects

Movement

Name
Description

Is Mobile

If true, the character can move.

Footstep Type

None

Do not play footsteps.

Unit

Play the footsteps configured below. Environment

Play the footsteps based on the terrain. UnitFallback

Try environment, then fallback to unit if no environment sound available. Both Play environment and unit sounds at the same time.

Play On Footstep

If true, individual footstep sounds will play when the foot hits the ground, instead of playing a repeating footsteps loop when moving.

Movement Audio Profile Names

Patrol

Name
Description

Use Inline Patrol

If true, the patrol defined in the Patrol Config field will be used.

Patrol Config

Patrol Names

Interaction

Name
Description

Face Interaction Target

If true, and the character is an NPC, it will turn and face any player that interacts with it.

Interaction Max Range

The maximum range at which this character can be interacted with if it is an NPC.

Interactable Options

Inline Interactable Options

Object Persistence

Name
Description

Persist Object Position

Save On Level Unload

If true, the position will be saved when a level is unloaded.

Save On Game Save

If true, the position will be saved when the game is saved.

Overwrite Unit UUID

If true, the automatic UUID assigned to the unit will be overwritten with the UUID in the UUID field.

UUID

An automatically created Universally Unique Identifier used to ensure that all objects with saved position data do not overwrite another object's data.

Next Steps

  • Add a unit profile to the Default Player Unit Profile Name field in the System Configuration Manager to make this unit the default when a new game is started.

  • Add a unit profile to the Character Creator Profile Names list in the System Configuration Manager to allow a player to choose this unit from a list of units when starting a new game.

If true, the unit prefab is loaded by searching for a with the same name as this resource.

properties.

The name of the that this character belongs to.

The name of the of this character.

The name of the of this character.

The name of the of this character.

The name of the of this character.

The name of a that defines how tough the character is.

A that contains voice audio clips to play.

If true, the is loaded from the inline settings below, instead of the shared voice profile above.

If Use Inline Voice Props is true, the here will be used instead of the shared above.

the character has.

A list of .

A list of the character has.

By default NPCs only equip the listed in the Equipment Name List. If true, NPCs will equip all from any provider, including , , etc.

A list of that the character will have equipped by default.

If true, the unit will attack anything in its aggro radius, based on the relationship.

If true, a matching the unit name will be looked up, and used if found.

The name of a to use.

to cast on the target when the performing an unarmed standard (auto) attack.

A list of that contain audio clips that will be played when the unit is in motion. If Play On Footstep is true, the audio clips will by cycled through as the feet hit the ground.

properties.

The names of to use.

A list of named that define which this character has, if it is an NPC.

that define which this character has, if it is an NPC.

If true, the object position is saved so that the object will spawn at the saved location next time a game is loaded. This requires at least one of Save On Level Unload, Save On Game Save, or a save setting in a to be true.

Add a unit profile to the Character Creator Profile Names list in a to allow a player to choose this unit from a list of units when starting a new game as a specific .

Faction
Faction
UnitPrefabProfile
Unit Prefab Profile
Faction
Unit Type
Character Race
Character Class
Class Specialization
Unit Toughness
Voice Profile
Voice Profile
Capabilities
Power Resources
Equipment
Equipment
Character Class
Faction
Equipment
Faction
Combat Strategy
Combat Strategy
Ability Effects
Audio Profiles
Patrol
Patrol Profiles
Interactable Options
Interactables
Interactable Option Configurations
Interactables
Patrol
Voice Profile
Character Stat General Properties
Voice Profile Properties