Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can i save a model with data store?

Asked by 6 years ago

i am developing a car game that needs saving. how can i save models to data store? no i cant get the name and save it because the player will add decals to the cars, so how do i save the models with new decals on it? thanks!

0
what do u mean by putting decals on it? it wont change the name User#23365 30 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Don't

There's this idea that you always need to save everything about a model. Instead, save the information about the car, rather than the information about the model - This will provide you with a way to recreate the model at runtime.

As for the decals, just save where they're attached. Save a name of a part and a face, or capture some other serializable information the moment that it's placed down. If you have a decal system where it can be "sprayed" over multiple parts of the model, just save the point where it was sprayed from.

0
how long do you think this will take to script? im just curious sukkaauto 0 — 6y
0
Depends on your technical ability. Estimations are best left to the person doing the work. User#6546 35 — 6y
Ad

Answer this question