Setting Up Your Own HECore

On your custom HECore, make sure you use HECorePrefabs as a prototype, this will ensure any non-overwritten elements are taken from the default asset.

Add TPCamera to the CustomObjects list and assign TPCharacter in the Character. If you already have a custom character move on to the next step.

Untitled

Setting up your own character

If you are early in development it might be worth creating your character from scratch using TPCharacter as Character Prefab from the Character Creation wizard. This will ensure your character is a prefab variant and you won’t have to do this after any major change to the add-on.

If you already have a character you don’t want to remake, just follow the next steps:

  1. Remove PlayerMovementAlternate and PlayerMovementTank components from the character.

  2. Add PlayerMovementThirdPerson component. Make sure the variables and properties match those inside TPCharacter to get an expected behaviour (you can tweak this further).

  3. In the Aiming state. Remove PlayerVerticalAimingFromInput script and add PlayerVerticalAimingFromTransform. Using the following values.

    Untitled

    Untitled

  4. Remove MovementTypeSettings from the PlayerMovement component

Untitled

  1. Make sure you player state have the expected Tags. The camera has specific configurations for each state. You can remove these specific configurations or add the tags to the states .

Untitled