Change Character {{ currentPage ? currentPage.title : "" }}
  1. How to connect our mechanics to your character BP

There are 54 Actor Components in the main character of the Modern RPG Survival. We decided to separate the code like that to let you configure your own character, as you want. 

Now we are going to create a new character BP and setup it with these components. Let’s create a new character class

  1. Animation Blueprint

You need to add the ABP_Shooter (Animation blueprint) to the character’s mesh.

Result:

  1. Blueprint Interfaces

You need to add following interfaces to the character BP

  1. The camera and spring arm settings

Highlight and copy the following components from the BP_DemoCharacter and paste them to yours.

  1. Widget Components

Highlight and copy the following components from the BP_DemoCharacter and paste them to yours.

  1. Death Camera Components

Highlight and copy the following components from the BP_DemoCharacter and paste them to yours.

  1. Damage locator and damage effect widget component

Highlight and copy the following components from the BP_DemoCharacter and paste them to yours.

  1. Result of the copy – paste actions

Your character should look something like this:

  1. Adding Actor Components and Variables

Open BP_DemoCharacter and check the Components window. You will see 54 components of the actor. Let's add and configure them all.

  1. Variables

You need to create some variables in the character BP:

  1. The Default Value of the variables

After adding the variables, you need to setup its default values.

  1. Functions

Now you need to create some functions in your character BP. You can find them all in ‘Functions’ window of the BP_DemoCharacter:

  1. Actor Components 

Copy and paste all components from the BP_DemoCharacter to your character BP.

  1. Code

Copy all code from the BP_DemoCharacter and paste to your character blueprint. 

Result:

  1. Configuring blueprint interface functions

{{{ content }}}