This feature is in Early Access. You can publish an island with this feature, but be aware that through the Early Access period, changes may break your island and may require your active intervention.
Create NPC Character Definitions to modify NPCs beyond the NPC Spawner device's basic settings. With the NPC Spawner’s basic options, you can create instances of characters. Through Character Definitions, you can customize character type, behavior, and modifiers. You can even write Verse scripts that further instruct character behaviors.
With Character Definitions, you can save the properties of custom characters as assets. These assets can then be referenced and reused by any NPC Spawner in your project. Once it's imported into an NPC Spawner device, you can then use the device's settings to override specific Character Definition properties.
The NPC Spawner device's modifiers will override any Character Definition modifiers to allow for slight variations in NPC instances.
Creating Character Definitions
You can either create Character Definitions through the Content Drawer or directly through the NPC Spawner's settings.
Your modified Character Definitions can be seen once imported into the NPC Spawner device. If you create a Character Definition within the NPC Spawner, your modifications will be immediately reflected in the NPC Spawner device.
Follow the steps below to create a Character Definition through the Content Drawer.
-
Navigate to your project's content folder and left-click within the Content Drawer.
-
In the pop-up window, navigate to Artificial Intelligence > NPC Character Definition.
-
Name your Character Definition then double-click the thumbnail to edit your NPC's properties.
Follow the steps below to create a Character Definition through the NPC Spawner device.
-
Place an NPC Spawner device and open its Details panel.
-
In the User Options, navigate to NPC Character Definition and left-click on its drop-down menu.
-
In its Create New Asset window, select NPC Character Definition.
-
Name your Character Definition then double-click its square thumbnail to open the Character Definition window.
Character Definitions
Through the Character Definition's settings, you can customize the following options.
-
NPC Character Type
-
NPC Behavior
-
NPC Character Modifiers
NPC Character Type
Through this setting, you can designate the character type, which set the base properties for how your character exists in the gameplay. Your characters can either be modeled after Fortnite guards and wildlife or you can create customized behaviors with Verse.
This setting has contextual filtering and will trigger different options once selected.
Character Type | Description |
---|---|
Custom | Behaviors will be definined in Verse. |
Guard | NPCs will have the same functionality as the Guard Spawner though you can have more control over properties like movement and behavior. |
Wildlife | Creates the subtype options of Boar, Chicken, Raptor, and Wolf. Each subtype will have its own default behavior. Wildlife NPCs will have the same functionality as the Wildlife Spawner though you can have more control over properties like movement and behavior. |
NPC Character Behavior
You will be able to select a character behavior once you select a character type. You can set behaviors to either be empty, default, or assigned through Verse.
Character Behavior | Description |
---|---|
Empty Behavior | Available with Custom character types. Creates a blank behavior for NPCs to remain in their reference pose. This is useful to remove NPC behaviors so it will only be animated in Sequence cinematics. |
Default Behavior | Available with the Guard and Wildlife character types. Allows you to alter the behavioral settings of characters intended to have the mannerisms of Battle Royale guards. |
Verse Behavior | Available with all character types. Allows you to include any Verse scripts for your character. |
For more information on creating your own NPC Behaviors, check out the Create Custom NPC Behavior page.
NPC Character Modifiers
Use Character Modifiers to customize the characteristics of your character. Each Character Type will have its own preset of starting modifiers automatically applied when you select it.
Click the plus arrow to add more Character Modifiers. You can only have one of each modifier active at a time.
Character Modifiers | Description |
---|---|
Awareness Modifier | Modifies alertness and awareness. |
Cosmetic Modifier | Modifies looks and cosmetics. You can choose between Fortnite Character Item Definitions (CIDs), which will display as internal names. |
Effects Modifier | Modifies the effects applied to an NPC. |
Guard Perception Modifier | Modifies sight and hearing. |
Health Modifier | Modifies health and shield. |
Inventory Modifier | Modifies an NPC's inventory. |
Navigation Modifier | Modifies the NPC's navigation parameters. |
Patrol Path Modifier | Modifies the patrol path. |
Team Modifier | Modifies the team. You can apply a team number or specify if the NPC will be considered a wildlife, creature, or neutral. |
UI Modifier | Modifies the display information for an NPC, such as name and health bar. |
Importing Character Definitions
After your Character Definition is created and saved, import it into an NPC Spawner device's NPC Character Definition setting. Once imported, your NPC Spawner's character automatically updates to reflect your Character Definition.
You can use the same Character Definition for multiple devices and make slight variations to characters by overriding individual device settings. Any updates you make for the Character Definition will affect every device it's assigned to.
Placing Character Definitions
You can place Character Definitions either directly from the Content Drawer or through the NPC Spawner device.
To place multiple Character Definitions, you may need to save the level first.
Dragging a Character Definition from the Content Drawer is a shortcut with the same functionality as placing an NPC Spawner device with an assigned Character Definition.