So I got an item system which spawns a blueprint, containing the material and skeletal mesh (Skinned) for an item, and then adds it as a component to the player character on a given socket.
Now currently I have to create a new Blueprint for each item. It’s not very maintainable to make game design change for a few hundred items.
How can I do this automatically? Either via blueprint or C++. To just spawn the base class, specify the mesh and material to be used and then attach it to the socket? I have tried everything and I haven’t gotten the mesh to show up at all ingame while trying to add it dynamically at runtime.
The whole character is just a single skeletal mesh with various sockets in the different places (Head,Chest,Hands, …)