Model serializer open source

Hello! I have been working on a open source project that serializes models. Currently it can only save position, rotation, size, transparency, primary part, names, material and color. It does not support serializing unions.


You can place down a tree model (or any model you may have) or a part model. The part model you can change its size manually or have it generate a randomly scaled part if no size is specified. You can save your progress by clicking the save button, though it should save every minute as well as when you leave the game.

It does not just clone models from replicated storage and place them down on the plot like a regular sandbox tycoon. Instead, it recreates the children of each model, groups them, and then places them down on the plot. This means you can create a model, place it on your plot, leave the game, delete the model from the game entirely and have it still load the model(s).


Notice
This is meant to be as basic as possible so data compression was not included. This means it’s probably not the best way you can save models for a tycoon or something else. The code was also heavily improved with the use of this tutorial.


Here is a demo video of the place:

Here is the place if your interested.
Here is the source code of the serialize script itself.

18 Likes

Hi there~ @zblox164

Thank you for sharing your creation with us, this is very interesting stuff.

Would you kindly create a link to Source code (preferably Github and/or Pastebin) for people who want to read the source but don’t have any access to a PC or maybe want to contribute to the source

4 Likes