Modding Help Changing a Biome / Creating an Oceanic Planet

Discussion in 'Starbound Modding' started by Skorak, Mar 21, 2014.

  1. Skorak

    Skorak Aquatic Astronaut

    Hello everyone,

    I saw the oceanic planets and deep sea planets from VITSOTU and wanted to build on one of these. Sadly the server I play on doesn't use it and isn't planning to but he agreed that I could create a planet and he would replace one of the planets on the server.

    My Idea was now to change the forest biome and generate myself the planet I want... for that I took the data from the ocean biome folder an put it inside the forest biome folder. Then I renamed the stuff and packed it up but then my game won't start.

    Is there a better way to do this, one that works? I would like to have a Planet with few Islands (the less the better) and near constant rain. And I would like the oceans to be very deep with some higher regions of course.

    Is this possible? Can I even put that on the server without trouble?

    Thank you very much.
     
  2. Peelz

    Peelz Giant Laser Beams

    I don't think you can custom-build a single planet yet, but someone please correct me if I am wrong. The best you could do is create a custom biome type and add it into the server's galaxy generator. I doubt the sever owner would like that though because it would require a universe reset.
     
  3. Skorak

    Skorak Aquatic Astronaut

    Sorry but that is basically what I wanted to do... kinda.
    I wanted to change the forest biome so he can replace my fake forest planet(which is basically a custom ocean planet) with one of the servers planets.
    But I just can't find out how to do that... I thought replacing the forest stuff with the ocean things and renaming it was enough but obviously isn't.
    Can you even change the vanilla biomes?
     
  4. Peelz

    Peelz Giant Laser Beams

    Yeah, you can change vanilla biomes. Just be sure to __merge in the changes that you want. And, as far as I can tell from looking at the code, the easiest way to change an existing vanilla biome into an ocean biome is by adding this line of code into the biome file:
    Code:
    "oceanLiquidType" : "ocean",
    Then go into the worldgen.config file and change the surfacebiometerrain for the biome you want to replace to "islands".
     
  5. Skorak

    Skorak Aquatic Astronaut

    This already helped me very much... now I have to figure out how this whole merging stuff works. After three hours I only managed to accomplish [​IMG]
    this much but now even this doesn't work anymore since my game crashes on startup.
    I hope I get everything figured out eventually and then I will post what I did since I find it very hard to get the info I need here since noone seemed to have done something similar.

    EDIT: Question: Do I have to do the merging things for the *.surfacebiome too? I looked at two other mods to see how they did it and they just had the whole modified forest.surfacebiome in their folders.
     

Share This Page