|
| 27 May 2015 06:12 PM |
I've been beta testing Smooth Terrain on gametest2 for awhile now. I made a place which shows off a nice terrain generator I wrote for it.
http://www.roblox.com/games/252836552/Smooth-Terrain
Generator Script:
local xScale = 250 local zScale = 250 local height = 100
local noise = math.noise local abs = math.abs local floor = math.floor local max = math.max local random = math.random
local t = workspace.Terrain local setCell = t.SetCell
local seed = random()*100
local function mountLayer(x,maxY,z) local sandNoise = 7+abs(noise(-seed*3,x/(xScale/10),z/(zScale/10))*10) local mountainNoise = 16+abs(noise(-seed*5,x/(xScale/10),z/(zScale/10))*50) for y = 0,maxY do local material = (y > mountainNoise) and random(13,14) or (y < sandNoise) and 2 or 1 setCell(t,x,y,z,material,0,0) end local water = max(1,math.floor(maxY*4)/4) if water < 7 then for y = water,7,0.5 do setCell(t,x,y,z,17,0,0) end setCell(t,x,0,z,2,0,0) end end
t:Clear()
for x = -250,250 do if (x%30) == 0 then wait() end for z = -250,250 do local base = abs(noise(seed,x/xScale,z/zScale)) * height local boost = noise(seed*50,x/(xScale/10),z/(zScale/10)) * (height/5) local bump = noise(seed*-25,x/(xScale/20),z/(zScale/20)) * (height/20) local y = base + boost + bump mountLayer(x,y,z) end end
t:AutowedgeCells(t.MaxExtents) |
|
|
| Report Abuse |
|
|
| |
|
|
| 27 May 2015 06:13 PM |
| Sadly, most of ATR is paying attention to JuliusColes instead of you Clone. |
|
|
| Report Abuse |
|
|
ZSXDFV
|
  |
| Joined: 07 Jan 2012 |
| Total Posts: 14303 |
|
| |
|
Solidize
|
  |
| Joined: 23 Aug 2013 |
| Total Posts: 43340 |
|
| |
|
Sproggies
|
  |
| Joined: 13 Apr 2015 |
| Total Posts: 144 |
|
|
| 27 May 2015 06:14 PM |
this is bae
roblox should have released terrain with smooth terrain |
|
|
| Report Abuse |
|
|
Tevolo
|
  |
| Joined: 13 Nov 2009 |
| Total Posts: 1252 |
|
|
| 27 May 2015 06:15 PM |
| Very cool! I don't have any uses for games for it myself, but it is indeed the 'cool'! |
|
|
| Report Abuse |
|
|
youmadpro
|
  |
| Joined: 08 Nov 2012 |
| Total Posts: 598 |
|
| |
|
|
| 28 Jan 2016 05:33 PM |
I'd love if there was a forest generator that could generator different plants and animals by cloning them from a Lighting or another area to store the animals. The closest I have gotten to this would be making a generator that creates the forest on the same Y Position. |
|
|
| Report Abuse |
|
|
| |
|
chase007
|
  |
| Joined: 21 Dec 2007 |
| Total Posts: 196 |
|
|
| 28 Jan 2016 05:35 PM |
@Kinq wtf
why did u bump this ?
back to tm you oder |
|
|
| Report Abuse |
|
|
|
| 28 Jan 2016 05:35 PM |
@Clonetrooper Was it necessary to put it on a gametest though? Would this not work with current roblox?
All respect Lord Gameben at roblox.com |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Jan 2016 05:36 PM |
Wait never mind. I am blind. Ignore that.
All respect Lord Gameben at roblox.com |
|
|
| Report Abuse |
|
|
|
| 28 Jan 2016 05:39 PM |
Why was it a good idea to bump a 1 year old thread?
All respect Lord Gameben at roblox.com |
|
|
| Report Abuse |
|
|
| |
|
Arte71
|
  |
| Joined: 16 Apr 2013 |
| Total Posts: 10629 |
|
|
| 28 Jan 2016 06:02 PM |
I would play...
IF ROBLOX STOPPED SAYING THAT I DIDN'T INSTALLED ROBLOX.
ROBLOX I INSTALLED ROBLOX.
STOP.
HELP, THE FILTER IS DESTRO#### |
|
|
| Report Abuse |
|
|
|
| 28 Jan 2016 06:04 PM |
| inb4threaddeletedandclonegetsastupidwarningfornoreason |
|
|
| Report Abuse |
|
|
Tundratic
|
  |
| Joined: 15 Oct 2010 |
| Total Posts: 221 |
|
|
| 29 Jan 2016 04:26 PM |
Bump
http://www.roblox.com/Malificent-lips-item?id=247144500 |
|
|
| Report Abuse |
|
|
| |
|