vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 05 Jun 2015 03:56 PM |
So I've got this kind of landscape: http://prntscr.com/7dkpim (couldnt upload place to roblox of unknown reasons)
Any idea how I could make it a smooth terrain? Scripts are very welcome :)
~Master bug finder twitch.tv/ROBLOX/c/4691695 14:07-14:25~ |
|
|
| Report Abuse |
|
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 05 Jun 2015 04:01 PM |
1. become hacker 2. create algorithm 3. click run 4. copy pasta 5. save |
|
|
| Report Abuse |
|
|
|
| 05 Jun 2015 04:06 PM |
Might not be possible considering it isn't Terrain, and it only works with terrain. Unless you somehow manage to convert the bricks to Terrain. Which might not be possible. (Just saying)
I stole YOUR siggy m8. |
|
|
| Report Abuse |
|
|
glurbman
|
  |
| Joined: 02 Nov 2010 |
| Total Posts: 1903 |
|
|
| 05 Jun 2015 04:31 PM |
| it is possible !!! theres also some kind of example script on the smooth terrain wiki site!!!!! yesterday there was a therad about the same topic iam going to search it and post the link...... |
|
|
| Report Abuse |
|
|
glurbman
|
  |
| Joined: 02 Nov 2010 |
| Total Posts: 1903 |
|
|
| 05 Jun 2015 04:32 PM |
| ha LoL amanda theres the firts thing where you cant help !!! oh is this funny^^ (: |
|
|
| Report Abuse |
|
|
glurbman
|
  |
| Joined: 02 Nov 2010 |
| Total Posts: 1903 |
|
|
| 05 Jun 2015 04:36 PM |
| ok sorry i cant find the thread its already too old .....but it is maybe possible to add terrain on the position of a part using a script ! |
|
|
| Report Abuse |
|
|
jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 05 Jun 2015 04:44 PM |
Are you generating this terrain, or was it built manually? In the former case, the solution is simple: just have it output smooth terrain instead of triangles. Problem solved.
In the latter case, it'll be a little more complicated. Loop through every triangle and call Terrain:FillBlock(Part.CFrame, Part.Size, Enum.Material.[Whatever]). This should give you the surface of the terrain. Then use a flood fill algorithm, bounded by the edges of your original terrain and by some minimum y-value, to fill in the "underground" with terrain. The wiki page even has an example (unbounded, granted) implementation: http://wiki.roblox.com/index.php?title=Smooth_terrain#Flood_Fill |
|
|
| Report Abuse |
|
|
|
| 05 Jun 2015 04:54 PM |
There is no snow terrain.
gg XD |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 06 Jun 2015 06:23 AM |
13:23:03.543 - Smooth terrain API is not available 13:23:03.544 - Script 'local Terrain = game.Workspace.Terrain for _, Object in pai', Line 1 13:23:03.544 - Stack End
what
~Master bug finder twitch.tv/ROBLOX/c/4691695 14:07-14:25~ |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 06 Jun 2015 06:24 AM |
Tried to use what jode said, used this script;
local Terrain = game.Workspace.Terrain for _, Object in pairs(game.Workspace:GetChildren()) do if Object:IsA("BasePart") then Terrain:FillBlock(Object.CFrame, Object.Size, Enum.Material.Sand) Object:Destroy() end end
~Master bug finder twitch.tv/ROBLOX/c/4691695 14:07-14:25~ |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 06 Jun 2015 06:36 AM |
I simply had to click on convert to smooth terrain. oops
~Master bug finder twitch.tv/ROBLOX/c/4691695 14:07-14:25~ |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 06 Jun 2015 06:47 AM |
Any idea how to fill up everything under the terrain? I tried with the flooding but I have no idea what it should do.
~Master bug finder twitch.tv/ROBLOX/c/4691695 14:07-14:25~ |
|
|
| Report Abuse |
|
|