Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
Hall of Mirrors Map Script

Another more pragmatic option is to just keep retrying until you randomly come across a configuration that meets your criteria. I did a bit of that when I mucked about with my own map script. Ideally, though, you want to somehow narrow the search space with each attempt so that you are actually guaranteed to terminate at some point. For example, I randomly generated continent shapes until I came up with something satisfactory, slightly reducing the amount of land after each failed attempt.

So in this scenario, you would need to write code to clear all rivers from the map, and code to check if there are any undesired river segments/artifacts caused by mirroring, and a simple loop. If there is also a way to tell the river placement code how many river segments to place, you can reduce that number for each failed attempt, and you have all the ingredients you need.
If you know what I mean.
Reply



Messages In This Thread
Hall of Mirrors Map Script - by SevenSpirits - December 4th, 2010, 05:41
RE: Hall of Mirrors Map Script - by Ruff_Hi - November 9th, 2014, 10:24
RE: Hall of Mirrors Map Script - by SevenSpirits - November 12th, 2014, 00:13
RE: Hall of Mirrors Map Script - by SevenSpirits - November 12th, 2014, 00:20
RE: Hall of Mirrors Map Script - by Qgqqqqq - November 12th, 2014, 00:36
RE: Hall of Mirrors Map Script - by SevenSpirits - November 12th, 2014, 02:18
RE: Hall of Mirrors Map Script - by zakalwe - November 12th, 2014, 05:06
RE: Hall of Mirrors Map Script - by Ruff_Hi - November 12th, 2014, 05:15
RE: Hall of Mirrors Map Script - by Ruff_Hi - November 12th, 2014, 09:14
RE: Hall of Mirrors Map Script - by SevenSpirits - November 12th, 2014, 16:29
RE: Hall of Mirrors Map Script - by SevenSpirits - November 12th, 2014, 16:49
RE: Hall of Mirrors Map Script - by Ruff_Hi - November 12th, 2014, 17:28
RE: Hall of Mirrors Map Script - by SevenSpirits - November 12th, 2014, 17:41
RE: Hall of Mirrors Map Script - by Ruff_Hi - November 12th, 2014, 18:12
RE: Hall of Mirrors Map Script - by Ruff_Hi - November 12th, 2014, 18:47
RE: Hall of Mirrors Map Script - by spacetyrantxenu - February 27th, 2015, 15:44
RE: Hall of Mirrors Map Script - by Ruff_Hi - February 28th, 2015, 06:44
RE: Hall of Mirrors Map Script - by Kragroth - November 22nd, 2014, 15:41
RE: Hall of Mirrors Map Script - by spacetyrantxenu - February 28th, 2015, 09:04
Hall of Mirrors Map Script - by Krill - December 4th, 2010, 06:22
Hall of Mirrors Map Script - by novice - December 5th, 2010, 04:08
Hall of Mirrors Map Script - by alexrdavies - December 5th, 2010, 04:20
Hall of Mirrors Map Script - by SevenSpirits - December 5th, 2010, 08:38
Hall of Mirrors Map Script - by dazedroyalty - December 7th, 2010, 14:27
Hall of Mirrors Map Script - by dazedroyalty - June 4th, 2011, 15:54
RE: Hall of Mirrors Map Script - by Qgqqqqq - February 19th, 2013, 22:15
RE: Hall of Mirrors Map Script - by Ruff_Hi - November 9th, 2014, 20:33

Forum Jump: