Hi all, looking for some advice on the best/right way to go about this. Apologies in advance for possibly using the wrong terminology to describe what I’m doing/looking for.
Right now, with my Character BP having all the movement settings, weapon settings, a spaceship mesh, etc,. I’m forced to configure directly, variables and settings that should be decided by the ‘model’ of spaceship the player is flying.
What I’d like to do is have a variable on the CharacterBP that represents the equipped spaceship and applies things like the skeletal mesh, speed, rotation speed, etc,. to the CharacterBP based on it.
How would you handle it?
-
A SpaceshipBP where all of the characteristics of a particular ship are directly configurable in the class creating child BPs for each unique spaceship model?
-
A SpaceshipBP where particular ship characteristics are loaded as needed in the form of a ‘config file’ (Struct?) to generate the spaceship object as needed? -I’m partial to something like this where I can use an excel like file (or something easily edited/created outside UE), with potentially dozens of ships to build being able to easily create large variable sets would be huge.
-
Just Make child BPs from the CharacterBP for each ship type?
-
Something else?
A few considerations:
-
Ships will have user configurable equipment slots.
-
Spaceships objects created/equipped to player character should be treated as unique containers (containing equipped components) so they can function like an equipped weapon in an FPS.
-
A specific instance of a spaceship object should be configured/generated based on these data sets: hull characteritics (weapon slots, top speed, mass, etc.,), default equipment slot contents, currently equipped equipment slot contents (if any).
Appreciate any advice!
Thanks for reading.