Chapter 5 - NPCs

From OHRRPGCE-Wiki
Jump to navigation Jump to search
Revise.png
This article or section is not complete. If you wish, you may finish it, and remove this tag when you are done.


NPCs are non-player characters. They can be used for shopskeepers, enemies, and more! In the OHR, you can use them to say dialogue, trigger scripts, trigger battles and more.

In the map editor, you will see that you can create NPCs. There are two types of NPCs. Local NPCs and global NPCs. Local NPCs can only be used on one map, but global NPCs can be used anywhere.

When editing an NPC, you will see you can edit the apperance, movement, the activation and when it appears.

Apperance[edit]

To change the apperance, click on picture. This will open up a menu where you can see all the walkabout sprites in your game. If you want to see how to make a walkabout sprite, check out the section about walkabouts.

You can also change what palette the NPC is using for its walkabout texture.

Movement[edit]

All NPCs have movement settings that allow them to walk around.

Movement Types[edit]

  • Stand Still
  • Wander
  • Pace
  • Right turns
  • Left turns
  • Random turns
  • Chase you (Meandering)
  • Avoid you (Meandering)
  • Walk in place
  • Chase you (Direct)
  • Avoid you (Direct)
  • Follow walls (Right)
  • Follow walls (Left)
  • Follow walls (R) stop for others
  • Follow walls (L) stop for others
  • Chase you (Pathfinding)

Activation by player[edit]

Appearance[edit]

Placing NPCs[edit]

Introduction | Getting Started | Artwork | Map Construction | NPCs | Tags | Making a Hero | Attacks | Items | Battles | Vehicle Use | Sound and Music | Text Boxes | Custom Menus | Slices | Plotscripting | Distributing a Game

Appendices: Keyboard Conventions | Sample Scripts

Next
Next