🧩USS Integration Guide
BP_Pilot logic transfer guide to custom characters
This guide covers a quick version on how to transfer the logic onto your own character class in order for it to be able to interact with the BP_Spaceship and possess it.
If you are intending to use this pack for project that runs with Multiplayer, there are additional steps added to these events that ensure reliable replication. You will have to copy relevant replication events from
BP_Pilot template.
Step 1 BPI interface
Add BPI_HumanCharacter Interface and Re-compile your Character class.

Then update Is Human? interface call to have Human Boolean set as true, This will allow all external interface calls to recognize this class as human character for the purposes of additional interaction.

Step 2 Implement Toggle Visibility
This event fires and hides the character when you sit into the cockpit chair. Original character gets hidden, while a copy of your character mesh gets socketed into the cockpit chair and animated to sit.

Step 3 Trigger Prompt
This event triggers when character walks into range of BP_Spaceship pilot chair. It receives and records the sending actor and displays a prompt on players viewport
Stored Actor value is later used to posses the ship if player chooses to do so.

Step 4 Interaction Input
Final step is connecting an Interaction Input event to posses the BP_Spaceship and hide the interaction prompt widget from the viewport. This example uses example enhanced input action that comes with this pack.


Finish Line
That's it. You can now Sit in the chair and soar to the skies!
Support
Last updated