Update Pawn - BP_BaseShip

Kyle Austad 2024-10-07 12:03:48 -06:00
parent 2551228364
commit 84e6009cd0

@ -4,6 +4,8 @@ Lets start with how to transfer the **Modular Ship Stat System** code to your ow
## Transfer to your own pawn ## Transfer to your own pawn
It is recommended to transfer movement logic from your other pawn to the included base pawn and make changes on it rather than the other way around as the system uses a lot of Blueprint Interface events and custom events that can be messy to move over to other pawns. However if you wish then follow the below steps.
If you already have a pawn for your project or have a better flight system that fits your needs but still want to use the system for controlling stats and variables on the player pawn you will want to transfer a few things to your own pawn. If you already have a pawn for your project or have a better flight system that fits your needs but still want to use the system for controlling stats and variables on the player pawn you will want to transfer a few things to your own pawn.
The first thing to do on your new pawn is to go to the *Class Settings* in its blueprint editor and go down to *Implemented Interfaces*. Click on add and search for *BPI_ShipCore* and add it. If you want the basic currency system as well on your pawn and don't have your own, add the interface *BPI_Shop* as well. The first thing to do on your new pawn is to go to the *Class Settings* in its blueprint editor and go down to *Implemented Interfaces*. Click on add and search for *BPI_ShipCore* and add it. If you want the basic currency system as well on your pawn and don't have your own, add the interface *BPI_Shop* as well.