Characters
Introduction
Characters typically refer to any Model
objects that represent a character in your game. This could be a player character, an NPC, or even an enemy.
Characters can range between basic characters, which are simple non-player characters (NPCs) that don't have any special behavior, to avatar characters, which are player characters that can be controlled by the player.
Basic Characters (NPCs)
Basic characters are simple Model
objects that represent a character in your game. They don't have any special behavior, and are typically used as NPCs or enemies.
You can use the following steps to create an NPC character in Highrise Studio:
- Right-click on the Hierarchy panel and select
Highrise > NPC
- Select the
NPC
prefab in the Hierarchy panel - Click (-) to remove the default Outfit "HumanoidDefault (Character Outfit)"
- Follow the steps below to customize the character's appearance
Customizing the Character's Appearance
Step 1: Creating a Character Outfit
- Right-click on the Project View and select
Create > Highrise > Character > Outfit
- Give the outfit a name and select it in the Project View
- Assign a new Skeleton to the outfit (Step 2)
Step 2: Assigning a Skeleton to the Outfit
- Search for "HumanoidSkeleton" in the Project View
- Make sure the filter is set to "All" instead of "Assets"
- Select the outfit you created in Step 1
- Drag and drop the "HumanoidSkeleton" onto the "Skeleton" field in the Inspector
Step 3: Customizing the Outfit
You cannot change the outfit without first assigning a skeleton.
- Select the outfit in the Project View
- Click the "Open Outfit Editor" button in the Inspector
- Add "flesh" if you don't see the character's body
- Customize the outfit by adding or removing clothing items
- Hit
CTRL + S
orCMD + S
to save your changes
Step 4: Assigning the Outfit to the NPC
- Select the NPC in the Hierarchy panel
- Drag and drop the outfit from the Project View onto the "Outfit" field in the Inspector
You can have multiple outfits for a single character, allowing you to change their appearance in different situations.
Conclusion
Characters are an essential part of any game. They help bring your game world to life and make it more engaging for players. By following the steps outlined in this guide, you can create basic and avatar characters for your game.