Im trying to create a weld serialization system for my game, but im starting to think thats impossible
And the way my serialization tables are shaped is that, all the data about the model, is in it, and the last line of the table is just the serialized children of the model which goes in a cycle, same for parts
i’ve thought of a passphrase, but how will the other part of the weld know about it?
I saw a pre-existing topic ( How to save welds to datastore ), but there still wasn’t a solution, nor they probably didn’t serialize parts this way
(how the serialization is modeled for visual understanders)
{
[1] = ▼ {
[1] = true,
[2] = “Model”,
[3] = ▼ {
[1] = ▼ {
[1] = false,
[2] = “Part”,
[3] = {…},
[4] = {…},
[5] = {…},
[6] = {…},
[7] = “Plastic”,
[8] = 0,
[9] = “Block”,
[10] = 0,
[11] = true,
[12] = {…},
[13] = false,
[14] = {…},
[15] = {…},
[16] = “Smooth”,
[17] = “Smooth”,
[18] = “Smooth”,
[19] = “Smooth”,
[20] = “Smooth”,
[21] = “Smooth”,
[22] = “Part”,
[23] = {…}
},
[2] = ▼ {
[1] = false,
[2] = “Part”,
[3] = {…},
[4] = {…},
[5] = {…},
[6] = {…},
[7] = “Plastic”,
[8] = 0,
[9] = “Block”,
[10] = 0,
[11] = true,
[12] = {…},
[13] = false,
[14] = {…},
[15] = {…},
[16] = “Smooth”,
[17] = “Smooth”,
[18] = “Smooth”,
[19] = “Smooth”,
[20] = “Smooth”,
[21] = “Smooth”,
[22] = “Part”,
[23] = ▼ {
[1] = ▼ {
[1] = false,
[2] = “Fire”,
[3] = {…},
[4] = {…},
[5] = 9,
[6] = 5,
[7] = 1
}
}
}
}
}
}
(this all later gets compressed into a lightweight string)
(and im using the old welds)