Satisfactory ModdingSM
Satisfactory Moddingβ€’16mo agoβ€’
5 replies
SpaceGameDev

How can I save the Static Mesh property of an FGBuildable component?

Hi, I'm making a buildable for Factory Props that allows the player to customize a character model, and you can select which helmet mesh to use from a UI. This triggers a "Set Static Mesh" node on the StaticMesh component of the building. The problem is that the selected mesh does not save, and is set to the default one after a reload. I've read through the save system documentation, but I'm not sure how to add a SaveGame flag, though I did override the ShouldSave function as instructed.
image.png
Solution
Alternate method: Linear motion does this by putting the selectable meshes into a map and saving the selected string.
image.png
image.png
image.png
image.png
Was this page helpful?