ungh01Join Date: 2008-12-24 Post Count: 876 |
I just thought of this.
Wouldn't it be nice to be able to save objects in-game and load them up with a code? I know that you can use ToBase and such for just numbers to save, but it would be alot better if we could actually save OBJECTS. This would put games to a whole new level. You could build something, and then have a script save it and return back a randomly generated code. EX: AB3G68LA2K5. But, it doesn't save it to load for any game, it only saves it only to the game you are in. (Explanation for left: If you saved in one building game, you couldn't load it in another.) It would go in game:GetService.
Ex code
model = script.Parent.Model
player = model.Owner.Value -- considering the ObjectValue in the model is the owner
save = game:GetService("SaveService"):Save(model)--model is the object, and you could change "SaveService" to whatever you want, ROBLOX. It saves it to the game. This would also return back the code, so you would print out the code in next line:
cmessage = Instance.new("Message",workspace)
cmessage.Text = player.Name .. "'s CODE: " .. save
game.Debris:AddItem(cmessage,10)
Get what I mean?
Load code could be something like:
code = msg
load = game:GetService("SaveService"):Load(code)--Returns the object you saved earlier. Also, LOAD loads the code you put on it.
load.Parent = workspace
load:MakeJoints()
Hope you like!
Have more ideas for it? Suggest below. Thank you for taking your time reading this. |
|
|
Pfft. Codes never work well.
Some Exploiters figure out how the code works and use it against you.
~Icy |
|
ungh01Join Date: 2008-12-24 Post Count: 876 |
@6B
Then do you have another idea to what it returns? |
|
ungh01Join Date: 2008-12-24 Post Count: 876 |
BUMPITY MAN! --LUL |
|
ungh01Join Date: 2008-12-24 Post Count: 876 |
Please, this would be a whole new level for in-game building games |
|
ungh01Join Date: 2008-12-24 Post Count: 876 |
One last bump before I give up. |
|
|
ungh01Join Date: 2008-12-24 Post Count: 876 |
Thanks! Someone who replies, and agrees! :D |
|
|
|
...
Err, save it as an RBX file...? Hurr. |
|
|
Pretty sure they are already working on a data persistence table. Go to Blazing Man on the test site, they already have a test of said table. Build something , wait for the auto-save, leave, join a different server, your building still loads. Almost as though it is persistent! :3
Anyways, they already seem to have been working on a much more controllable (and thus most likely limited :\, but safe) form of this. |
|
3soreyJoin Date: 2010-10-14 Post Count: 1611 |
SUPPORT yayz |
|
ungh01Join Date: 2008-12-24 Post Count: 876 |
Hmm, cool! I didn't know that when I posted this, but I posted it already. |
|
wiiplayJoin Date: 2008-05-28 Post Count: 17801 |
Already made I think... :3 Player:SaveInstance(instance) |
|
ungh01Join Date: 2008-12-24 Post Count: 876 |
Lolwut? Teach me moar! |
|
EvangonJoin Date: 2008-09-14 Post Count: 1887 |
No.
for _,v in pairs(game.Workspace:GetChildren()) do
v:Clone().Parent = Instance.new("Model")
if #v.Parent:children() == #Workspace:children() then
game:service("SaveService"):Save(v.Parent)
end
end |
|
brian125Join Date: 2008-03-22 Post Count: 477 |
omg is it true? |
|