|
| 11 Jul 2014 05:17 PM |
At a scale of 8 square studs:1 square mile.
This is going to take a while, assuming the number of parts doesnt get to high for roblox to handle.
How are you doing OT?
crush, kill, destroy, swag |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 05:19 PM |
Bump.
crush, kill, destroy, swag |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 05:23 PM |
I can see OT cares a lot.
crush, kill, destroy, swag |
|
|
| Report Abuse |
|
|
MrPhelps
|
  |
| Joined: 27 Feb 2010 |
| Total Posts: 27982 |
|
|
| 11 Jul 2014 05:23 PM |
Dang. That aughta be interesting.
~OT Arkham Knight~ |
|
|
| Report Abuse |
|
|
XTGNecro
|
  |
| Joined: 26 Oct 2008 |
| Total Posts: 18514 |
|
| |
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
|
| 11 Jul 2014 05:24 PM |
roblox is going to crash yo
roblox cant handle that big of a planet
how do you expect to render all those parts |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 05:25 PM |
@jason I dont.
But itll be fun to watch it till it does.
crush, kill, destroy, swag |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 05:25 PM |
@XTG Why is that?
crush, kill, destroy, swag |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 05:37 PM |
Had to change it to 8 square studs:16 square miles.
And even that may be to big.
crush, kill, destroy, swag |
|
|
| Report Abuse |
|
|
OTMoris
|
  |
| Joined: 10 Jun 2014 |
| Total Posts: 3588 |
|
|
| 11 Jul 2014 05:38 PM |
"At a scale of 8 square studs:1 square mile."
Tiny planet. |
|
|
| Report Abuse |
|
|
OTMoris
|
  |
| Joined: 10 Jun 2014 |
| Total Posts: 3588 |
|
|
| 11 Jul 2014 05:39 PM |
| Ah, I still remember the old days when I used to take a baseplate and multiply it 60 times at each side and add scenery bits and a run tool, and I'd run and run and run... |
|
|
| Report Abuse |
|
|
d4rk652
|
  |
| Joined: 08 Jan 2013 |
| Total Posts: 26527 |
|
|
| 11 Jul 2014 05:39 PM |
| Generate the earth,do it,print it,do it nowwwwwwwwww. |
|
|
| Report Abuse |
|
|
| |
|
|
| 11 Jul 2014 05:41 PM |
@otmoris It still was going to be huge if I let it generate.
crush, kill, destroy, swag |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 06:06 PM |
2 layers done.
1137 bricks.
453 layers to go.
These layers were smaller then every other layer, except the last 2.
This ought to be interesting.
crush, kill, destroy, swag |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 08:39 PM |
Alright, it finished generating finally.
The script it outputted is 127,820 lines long.
Lets see what happens.
crush, kill, destroy, swag |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 08:45 PM |
Few errors...
Ironing them out.
crush, kill, destroy, swag |
|
|
| Report Abuse |
|
|
d4rk652
|
  |
| Joined: 08 Jan 2013 |
| Total Posts: 26527 |
|
|
| 11 Jul 2014 08:46 PM |
| Are you going to host an OT party here or something? |
|
|
| Report Abuse |
|
|
| |
|
jonny1367
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 33252 |
|
|
| 11 Jul 2014 08:50 PM |
OT party for it
And how do you do it |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 08:51 PM |
I mean, there isnt really going to be much to do.
I actually was making it for some physics tests.
If you guys want me to I will host one here though.
crush, kill, destroy, swag |
|
|
| Report Abuse |
|
|
jonny1367
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 33252 |
|
|
| 11 Jul 2014 08:51 PM |
| How do you do ittttttttttt |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 08:53 PM |
@jonny Will output a script in the form of string objects.
This script will be as optimized as possible *to my knowledge*, and would take way to long to write by hand.
Takes around 7 hours to run with current values.
currentstring = "" stringnumber = 1 function addtostring(stringtoadd) currentstring = currentstring..stringtoadd if string.len(currentstring) > 100000 then stringvalue = game.ServerStorage.stringv:Clone() stringvalue.Value = currentstring stringvalue.Name = stringnumber stringvalue.Parent = game.Lighting stringnumber = stringnumber + 1 currentstring = "" end end partsgonethrough = 0 radius = 125--48 --ended up as diameter, but whatever increment = 8 bricks = {} surface = {} x = radius*2 y = 0 z = 0 --hillstogen = 8 --maxradius = 20 --minradius = 15 while x >= radius * -2 do bricks[x] = {} y = radius * 2 while y >= radius *-2 do bricks[x][y] = {} z = radius * 2 local t = time() while z >= radius * -2 do local magnitude = (Vector3.new(x,y,z) - Vector3.new(0,0,0)).magnitude --print(magnitude) if magnitude <= radius*2 then if radius*2 - magnitude <= increment then --local part = game.ServerStorage.Grass:Clone() --part.CFrame = CFrame.new(x,y,z) --part.Parent = game.Workspace.GeneratingPlanet --bricks[x][y][z] = part --table.insert(surface, part) addtostring("a("..x..","..y..","..z..");")--"local part = game.ServerStorage.Grass:Clone(); part.CFrame = CFrame.new("..x.." + xoffset,"..y.." + yoffset,"..z.." + zoffset); part.Parent = game.Workspace.GeneratingPlanet; bricks["..x.."]["..y.."]["..z.."] = part; table.insert(surface, part); ") else --local part = game.ServerStorage.Dirt:Clone() --part.CFrame = CFrame.new(x,y,z) --part.Parent = game.Workspace.GeneratingPlanet --bricks[x][y][z] = part addtostring("b("..x..","..y..","..z..");")--"local part = game.ServerStorage.Dirt:Clone(); part.CFrame = CFrame.new("..x.." + xoffset,"..y.." + yoffset,"..z.." + zoffset); part.Parent = game.Workspace.GeneratingPlanet; bricks["..x.."]["..y.."]["..z.."] = part; ") end end partsgonethrough = partsgonethrough + 1 print(partsgonethrough) z = z-increment wait(0.0001) end wait(0.0001) y = y-increment end wait(0.0001) x = x-increment end --[[hillstogen = 8 maxradius = 7 minradius = 2 hillsgenerated = 0--]] --[[while hillsgenerated <= hillstogen do parttogenfrom = surface[math.random(#surface)] radius = math.random(minradius, maxradius) x = radius * 2 print("hill at "..parttogenfrom.Position.X..","..parttogenfrom.Position.Y..","..parttogenfrom.Position.Z.."with radius of "..radius) while x >= radius * -2 do y = radius * 2 while y >= radius *-2 do z = radius * 2 while z >= radius * -2 do local magnitude = (Vector3.new(x,y,z) - Vector3.new(0,0,0)).magnitude if magnitude <= radius*2 then if radius*2 - magnitude <= increment then local part = game.ServerStorage.Grass:Clone() part.CFrame = CFrame.new(x,y,z) + parttogenfrom.Position part.Parent = game.Workspace.GeneratingPlanet else local part = game.ServerStorage.Dirt:Clone() part.CFrame = CFrame.new(x,y,z) + parttogenfrom.Position part.Parent = game.Workspace.GeneratingPlanet end end z = z-increment wait(0.0001) end wait(0.0001) y = y-increment end wait(0.0001) x = x-increment end hillsgenerated = hillsgenerated + 1 wait(0.0001) end--]] stringvalue = game.ServerStorage.stringv:Clone() stringvalue.Value = currentstring stringvalue.Name = stringnumber stringvalue.Parent = game.Lighting stringnumber = stringnumber + 1 currentstring = "" print("done")
crush, kill, destroy, swag |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 08:57 PM |
It also wont include the header needed to run.
bricks = {} for i=-250, 250 do bricks[i] = {} for a=-250, 250 do bricks[i][a] = {} end end
surface = {} xoffset = 0 yoffset = 0 zoffset = 0
function a(x,y,z) --grass part = game.ServerStorage.Grass:Clone() part.CFrame = CFrame.new(x + xoffset,y + yoffset,z + zoffset) part.Parent = game.Workspace.GeneratingPlanet end
function b(x,y,z) --dirt part = game.ServerStorage.Dirt:Clone() part.CFrame = CFrame.new(x + xoffset,y + yoffset,z + zoffset) part.Parent = game.Workspace.GeneratingPlanet end
crush, kill, destroy, swag |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 09:00 PM |
Done.
127,776 parts total.
Runs surprisingly well, at least on a local server.
Size is less then I intended though.
crush, kill, destroy, swag |
|
|
| Report Abuse |
|
|