Terrain Control

Python script to create randomish biome files

  • 12 posts
    #1 May 06, 2012 at 07:09 UTC - 0 likes

    I've started writing a python script to generate sudo-random biomes for Terrain-Control. I don't have a clue what I'm doing, and it's 2AM, but here is what I've got started. I'll continue another day.


    #2 May 06, 2012 at 08:20 UTC - 0 likes

    @WayGroovy: Go

    random biomes in TC ???
    Why on earth somebody ought to want any randomness in TC ?
    (...TC is just the opposite of random, but may be I don´t understand correct what you are trying to program.)

    Bye, mysource

    Last edited May 06, 2012 by deleted_6846210
    #3 May 06, 2012 at 19:41 UTC - 0 likes

    Yep. Random. Or, rather, randomly generate a set of biomes to see if you like any of them, and pick the ones you want for your final world. Mostly, this is being done as a personal 'learn python script writing' exercise, plus I've always liked randomness.

    #4 May 06, 2012 at 19:47 UTC - 0 likes

    Thats just not true. Most people like randomness - I for one wouldn't want to make my worlds with FromImage only (I use it only to finetune and do stuff thats not possible in TC). For big maps with lots of detail would be too much work, and also I like to be suprised by the results of the random generation.

    Personally I wouldn't want to play on really completely random world like you could make with this script, but I think it could be a lot of fun just to see what comes out of it.

    #5 May 06, 2012 at 19:56 UTC - 0 likes

    I do plan on putting in a list of settings at the beginning, to limit what materials can be used, or limit the range of the values, but starting with the throttle full open, so to speak. Still, only about 10% through the code so far.

    #6 May 18, 2012 at 05:16 UTC - 0 likes

    Just an update for where I am... not sure what I'm making still, but here it is:


    #7 May 18, 2012 at 18:24 UTC - 0 likes

    Bit more work done:


    I created a world with 18 biomes created from this:


    #8 May 20, 2012 at 23:25 UTC - 0 likes

    Is there a limit to how many biomes TC will play well with?

    #9 May 21, 2012 at 05:08 UTC - 0 likes

    @WayGroovy: Go

    despite I still don´t see what your script may be do as any benefit (as TC is the opposit of random for heavens sake), your question is answerde in the "changelogs":

    Update max biomes to 256
    Bye mysource

    #10 May 21, 2012 at 09:05 UTC - 0 likes

    Thanks, @deleted_6846210: Go

    Well, I'm getting a bit wonky and tired, but here is where I am:



    Running about 100+ custom biomes there. On my test server, no problem, works fine. On my main server, I keep getting the following gamelocking error:


    repeating the last 4 until I get a java.lang.StackOveflowError.

    While the error is happening the console chat still goes out and affects the game and can be seen by players. players are able to move but not affect the world or talk. I'm too tired to troubleshoot this right now. Maybe later this week.

    #11 Jun 20, 2012 at 15:38 UTC - 0 likes

    Don't know what I did to fix it, but I fixed it.

    Current Version: http://pastebin.com/qmycV43s

    Created: https://docs.google.com/open?id=0ByH-5GAn29UoQkdEeWZXb0F1ZTg


    #12 Jun 21, 2012 at 23:18 UTC - 0 likes

    That's neat, I like seeing people push the boundaries and doing things out of the box.

  • 12 posts

You must login to post a comment. Don't have an account? Register to get one!