Documentation / Tile Tick Core RPG

Player Setup

OSRS inspired RPG systems for Unity: skills, XP, combat, inventory, equipment, loot, NPCs, interactions, and tile aware action flow.

A Core RPG player is a movement unit plus RPG subsystems for combat, health, skills, inventory, equipment, actions, and presentation.

Minimum player components

  • RPGUnitBrain as the RPG aware unit root.
  • Tile Tick Movement components required by the base movement package.
  • RPGCommandQueue for movement and attack commands.
  • UnitCombat, CombatStats, and CombatActionDelayController.
  • UnitHealth, UnitSkills, and optional UnitAttributes.
  • SimpleInventory, UnitEquipment, and EquipmentCombatBonuses.
  • PlayerSkillActionController for looping or tick based skill actions.
  • InteractionManager and context UI references for click/hover interaction.

Setup order

  1. Duplicate the demo player.
  2. Replace the visual model and animator only after the duplicated player works.
  3. Assign UI references for inventory, equipment, skills, context menu, and hover label.
  4. Assign combat stats, health, skills, inventory, and equipment references where needed.
  5. Test movement, then combat, then item interactions, then skill actions.

Common mistake

Many components resolve references through parent/child lookups, but do not rely on luck for production prefabs. Assign important references explicitly after the prefab shape is stable.