Modding Help Attempting to add a new biome, but have no idea what I'm doing.

Discussion in 'Starbound Modding' started by DoomFire, Feb 19, 2014.

  1. DoomFire

    DoomFire Existential Complex

    Hey.

    I have been trying to create a new underground biome, with no coding experience. I know I have kinda set myself up for failure but I just wanted to know what I am doing wrong.

    Whenever I load the mod the game instantly crashes and I get this error.

    [​IMG]

    Info: Writing Star::Configuration to '..\starbound.config'
    Error: Exception raised during Root finishInitialization: VariantException: Improper conversion to VariantMap from null
    0084C674 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarVariant.hpp:13)
    006877E3 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarAny.hpp:465)
    00504CD6 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarRoot.cpp:158)
    00404B8C (/Users/builder/starbound-slave/releasebuilder-windows/build/source/client/StarClientApplication.cpp:325)
    009A548C (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarThread_windows.cpp:74)
    76F6336A kernel32.dll
    779E9F72 ntdll.dll
    779E9F45 ntdll.dll

    Info: Shutting down Star::Root
    Error: StarException: An error occurred during loading: VariantException: Improper conversion to VariantMap from null
    0084C674 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarVariant.hpp:13)
    006877E3 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarAny.hpp:465)
    00504CD6 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarRoot.cpp:158)
    00404B8C (/Users/builder/starbound-slave/releasebuilder-windows/build/source/client/StarClientApplication.cpp:325)
    009A548C (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarThread_windows.cpp:74)
    76F6336A kernel32.dll
    779E9F72 ntdll.dll
    779E9F45 ntdll.dll

    00404FFD (/Users/builder/starbound-slave/releasebuilder-windows/build/source/client/StarClientApplication.cpp:339)
    00406CF7 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/client/StarClientApplication.cpp:408)
    0040AA24 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/application/StarApplicationBase.cpp:200)
    00408214 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/client/main.cpp:38)
    004F0F71 (\SDL-1.2.15/./src/main/win32/SDL_win32_main.c:318)


    Yeeeaaah.... I really have no idea what I'm doing. o - o
     
  2. Archer

    Archer Spaceman Spiff

    You should really post whatever code you wrote, but I'm guessing you made a format error (forgot a bracket, value or comma somewhere), because the variant exception error usually pops up when you do that (it's basically unable to parse the json file because it is invalid).

    Small tip, paste your code in this: http://jsonlint.com/

    See what it says : P
     
    DoomFire likes this.
  3. DoomFire

    DoomFire Existential Complex

    Oh my gosh.
    You were right.

    Thank you so much. > ~ <
    I was originally comparing my code to in-game examples, and because of that I didn't notice a single comma that I included on multiple files that I shouldn't have.

    I'm also definitely bookmarking that JSONLint site. That was very helpful.

    Thank you once again!
     
    Archer likes this.
  4. Daimoth

    Daimoth Scruffy Nerf-Herder

    I know they made some ch anges to mods like this, can we now install more than one biome/sector/planet mod without manually merging them?
     
  5. sayter

    sayter The Waste of Time

    I don't think so. I have edited magma and volcanic biome ground tiles with my own in FrackinFlora. Variety biomes has their own version of this. It supercedes mine, despite being the first mod in the load order by nature of using A- at the start of the mod name. I should be able to merge, I just don't know how to merge the entire file. It doesn't seem to do jack all when I just put the _merge at the start. I see Variety's version instead. I'm probably just doing it wrong, or something.
     
    Daimoth likes this.
  6. Daimoth

    Daimoth Scruffy Nerf-Herder

    That's disappointing. This only-one-at-a-time dynamic is the reason I haven't messed with this kind of content yet.

    Maybe in the future!
     

Share This Page