generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

[ Content Deleted ]

Previous Thread :: Next Thread 
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 03:22 PM
[ Content Deleted ]
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
15 Sep 2011 03:24 PM
Maybe use tables? Like one table will contain terrain from last line it generated and when next line gets generated it will use the previous line as example?
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 03:24 PM
[ Content Deleted ]
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 03:27 PM
[ Content Deleted ]
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 03:28 PM
[ Content Deleted ]
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
15 Sep 2011 03:31 PM
Somthin like this

lastLine = {}

for a = 1, 10 do
blah = Instace.blah
blah.Position = math.random(-1,1)
blah.Name = "Blah"
table.insert (lastLine,blah)
end

for a = 1, 10 do
blah = Instace.blah
blah.Position = lastLine[a]+math.random(-1,1)
blah.Name = "Blah"
table.insert (lastLine,blah)
end
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 03:33 PM
[ Content Deleted ]
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
15 Sep 2011 03:34 PM
Omt i dun now that ._. x3
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
15 Sep 2011 03:35 PM
local makeAMountain = math.random(1,100)%2==0

if makeAMountain then
local length=100+math.random(1,200)
local slope = length/2
for i=1,length do
buildAt2DPoint(i,(i<=length/2 and slope*i or -slope*i))
end
end

that might not work, but you get the idea right?
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 03:37 PM
[ Content Deleted ]
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
15 Sep 2011 03:37 PM
http://wiki.roblox.com/index.php/Random_terrain
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 03:38 PM
[ Content Deleted ]
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 03:40 PM
[ Content Deleted ]
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
15 Sep 2011 03:40 PM
Going to find a combo breaker, brb
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
15 Sep 2011 03:42 PM
Going to keep combo, brb.
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 03:50 PM
[ Content Deleted ]
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 03:52 PM
[ Content Deleted ]
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 03:59 PM
[ Content Deleted ]
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 04:03 PM
[ Content Deleted ]
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
15 Sep 2011 04:05 PM
You need to do x*3 and z*3 whenever setting the CFrame. Also it would be a lot better to have the Y size change and not the Y position because then it doesn't have gaps.
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 04:06 PM
[ Content Deleted ]
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 04:12 PM
[ Content Deleted ]
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
15 Sep 2011 04:14 PM
Here's MY terrain generator:



x = Instance.new("Part", workspace)
x.Size = Vector3.new(300,1,300)
x.Anchored = true
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
15 Sep 2011 04:15 PM
[ Content Deleted ]
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
15 Sep 2011 04:17 PM
Just kidding, I can make better ones.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image