Modding Help More abundant ore veins for FU

Discussion in 'Starbound Modding' started by DominatorLegend, Jan 17, 2017.

  1. DominatorLegend

    DominatorLegend Void-Bound Voyager

    While wandering around the Steam Workshop, I found a mod called "Ore Veins FU" (http://steamcommunity.com/sharedfiles/filedetails/?id=755664936&searchtext= ) that changes way ore are distributed for FU.
    I've made a full playthrough of FU and now I just want to chill with the mod but without cheating, so I wanted to know how can I modify FU files so I can make ore much more abundant. Also, I'm using Steam Workshop's version of FU, would I still be able to make the mod?
     
  2. lazarus78

    lazarus78 The Waste of Time

    Possible, yes, but more difficult. You would need access to the files of the mod itself, which is a pain with the steam version since they don't get installed in the mods folder. Not sure who's decision that was, but it has created quite a headache.
     
  3. DominatorLegend

    DominatorLegend Void-Bound Voyager

    What if I uninstall Steam's FU and Install here's FU. Would something screw?
     
  4. lazarus78

    lazarus78 The Waste of Time

    That would make modding much easier. Assuming the versions are the same (They should be) there would be no problem.

    The mod is packed as a "pak" file, so you will need to unpack it first. How familiar are you with modding starbound?
     
  5. bk3k

    bk3k Oxygen Tank

    You can also download FU from their github to get the most recent version. There's a tutorial around here somewhere about a program that can automatically keep it up to date for you from the git. Sadly I don't have the link handy for that.

    In your mod, add to _metadata
    Code:
    "includes" : [ "FrackinUniverse" ],
    Of course kill the comma if on the last line. Anyhow that makes sure your mod loads after and that works even if you keep the workshop sub. Apparently "requires" though doesn't work right from /mods/ with the requirement in the workshop but "includes" does.

    Now realistically you're going to want a local copy anyhow(even if not in /mods/) just to see what it is you're wanting to change.
     
    lazarus78 likes this.
  6. DominatorLegend

    DominatorLegend Void-Bound Voyager

    I have no problem (I use both Workshop's and Forums' mods), and I have a LOT of experience in general modding too (Half Life, TES, Fallout, Saints Row, GTA...
     
  7. DominatorLegend

    DominatorLegend Void-Bound Voyager

    Sorry, I'm a bit lost. You mean I can create my own algorithm to modify Workshop's FU? If that so, I should technically be able to upload it to the workshop, right?
     
  8. bk3k

    bk3k Oxygen Tank

    I mean to say whatever mod you make can modify/patch the same files as FU. You'd want your mod to load after, thus "includes" to make sure that happens. It will work even if FU is workshop loaded and your mod is local. "requires" apparently won't work in that scenario but "includes" does.

    That doesn't have any bearing on your ability to upload to the workshop. You can do it however you like.

    But I think you should have a local copy just so you can see the contents that you're modifying(else you're guessing).
     
    lazarus78 likes this.
  9. DominatorLegend

    DominatorLegend Void-Bound Voyager

    I see, I will try that then... Now I just need to find what I want to change.
     
  10. lazarus78

    lazarus78 The Waste of Time

    Since youve done modding for other games (Fellow TES and Fallout modder here), Poking around the files and figuring out what does what shouldnt be too much trouble.

    Since you are looking for ore spawning, try the biomes folder.
     
  11. DominatorLegend

    DominatorLegend Void-Bound Voyager

    Good! Also, standard notepad can open files, but it appears like all is one single line. Should I use Notepad++? Or do I use other program?
     
  12. lazarus78

    lazarus78 The Waste of Time

    Yeah, notepad++ is great.

    If you get a JSON language extension, then here is a list of all the file extensions Starbound uses so you can have it automatically select the proper language highlighting.
    http://community.playstarbound.com/...nsions-used-by-starbound.129353/#post-3097393
     
  13. bk3k

    bk3k Oxygen Tank

    Except it doesn't let you add everything, or rather at the point you load it again it will loose many after a point. So make your language highlighting, clone it. Put half the extensions in one, and the other half in the other.
    edit: I actually had to break it in 4 due to string length limitations being lower than expected. And trying to be cute and manually editing userDefineLang.xml to add them all in one only resulted in a crash at startup.

    I had a JSON extension, but eventually opted to make my own anyhow that I like better.
    edit2: File attached for your importation needs
     

    Attached Files:

    Last edited: Jan 18, 2017
    lazarus78 likes this.
  14. lazarus78

    lazarus78 The Waste of Time

    Could you share? I don't know much about setting all that up.
     
  15. DominatorLegend

    DominatorLegend Void-Bound Voyager

    OK, so I've opened the "oredistributions.configfunctions" file (judging by its name and content, I believe this is the right file). However, once inside I see how the ore list is repeated several times and how every ore is also repeated several times INSIDE every ore list.

    Here's an example:
    { "op":"add", "path":"/surface/0/1/-","value": [ "lead", 0.20] },
    { "op":"add", "path":"/surface/1/1/-","value": [ "lead", 0.20] },
    { "op":"add", "path":"/surface/2/1/-","value": [ "lead", 0.20] },
    { "op":"add", "path":"/surface/3/1/-","value": [ "lead", 0.20] },
    { "op":"add", "path":"/surface/4/1/-","value": [ "lead", 0.20] },
    { "op":"add", "path":"/surface/5/1/-","value": [ "lead", 0.20] },


    So it's telling me its distribution in every layer of the planet.
    Problem is that what appears is confusing me a bit. I will give you three samples:
    {"op":"add",
    "path":"/bloodstonesurface",
    "value":
    [
    [0.5, [ [ "coal", 0.9], [ "uranium", 0.00], [ "solarium", 0.00], [ "copper", 0.20], [ "iron", 0.55], [ "lead", 0.20], [ "sulphur", 0.20],[ "mascagnite", 0.30],[ "lazulite", 0.30],[ "magnesium", 0.30],[ "berlinite", 0.40],[ "quietus", 0.40],[ "fublooddiamond", 0.10],[ "neptunium", 0.60] ] ],
    [1.5, [ [ "coal", 0.9], [ "uranium", 0.00], [ "solarium", 0.00], [ "copper", 0.20], [ "iron", 0.55], [ "tungsten", 0.55], [ "lead", 0.20], [ "sulphur", 0.20],[ "mascagnite", 0.30],[ "lazulite", 0.30],[ "magnesium", 0.30],[ "berlinite", 0.40],[ "quietus", 0.40],[ "fublooddiamond", 0.10],[ "neptunium", 0.60] ] ],
    [2.5, [ [ "coal", 0.9], [ "uranium", 0.20], [ "solarium", 0.00], [ "copper", 0.20], [ "iron", 0.55], [ "titanium", 0.55],[ "lead", 0.20], [ "sulphur", 0.20],[ "mascagnite", 0.30],[ "lazulite", 0.30],[ "magnesium", 0.30],[ "berlinite", 0.40],[ "quietus", 0.40],[ "fublooddiamond", 0.10],[ "neptunium", 0.60] ] ],
    [3.5, [ [ "coal", 0.9], [ "uranium", 0.20], [ "solarium", 0.00], [ "copper", 0.20], [ "iron", 0.55], [ "durasteel", 0.55],[ "lead", 0.20], [ "sulphur", 0.20],[ "mascagnite", 0.30],[ "lazulite", 0.30],[ "magnesium", 0.30],[ "berlinite", 0.40],[ "quietus", 0.40],[ "fublooddiamond", 0.12],[ "neptunium", 0.60] ] ],
    [4.5, [ [ "coal", 0.9], [ "uranium", 0.20], [ "solarium", 0.00], [ "copper", 0.20], [ "iron", 0.55], [ "aegisalt", 0.50], [ "ferozium", 0.50], [ "violium", 0.50], [ "lead", 0.25], [ "sulphur", 0.25],[ "mascagnite", 0.30],[ "lazulite", 0.30],[ "magnesium", 0.30],[ "berlinite", 0.40],[ "quietus", 0.40],[ "fublooddiamond", 0.15],[ "neptunium", 0.60] ] ],
    [5.5, [ [ "coal", 0.9], [ "uranium", 0.20], [ "solarium", 0.20], [ "copper", 0.20], [ "iron", 0.55], [ "aegisalt", 0.50], [ "ferozium", 0.50], [ "violium", 0.50], [ "lead", 0.25], [ "sulphur", 0.25],[ "mascagnite", 0.35],[ "lazulite", 0.30],[ "magnesium", 0.30],[ "berlinite", 0.40],[ "quietus", 0.40],[ "fublooddiamond", 0.20],[ "neptunium", 0.60] ] ]
    ]
    },


    {"op":"add",
    "path":"/bloodstonedeepOres",
    "value":
    [
    [0.5, [ [ "coal", 0.9], [ "uranium", 0.00], [ "solarium", 0.00], [ "copper", 0.75], [ "iron", 0.75], [ "lead", 0.7], [ "sulphur", 0.75],[ "mascagnite", 0.60],[ "lazulite", 0.60],[ "magnesium", 0.60],[ "berlinite", 0.60],[ "quietus", 0.70], [ "fublooddiamond", 0.20],[ "neptunium", 0.60] ] ],
    [1.5, [ [ "coal", 0.9], [ "uranium", 0.00], [ "solarium", 0.00], [ "copper", 0.75], [ "iron", 0.25], [ "tungsten", 0.75], [ "lead", 0.75], [ "sulphur", 0.75],[ "mascagnite", 0.60],[ "lazulite", 0.60],[ "magnesium", 0.60],[ "berlinite", 0.20],[ "quietus", 0.75], [ "fublooddiamond", 0.20],[ "neptunium", 0.60] ] ],
    [2.5, [ [ "coal", 0.9], [ "uranium", 0.60], [ "solarium", 0.00], [ "copper", 0.75], [ "iron", 0.25], [ "titanium", 0.75], [ "lead", 0.75], [ "sulphur", 0.75],[ "mascagnite", 0.60],[ "lazulite", 0.60],[ "magnesium", 0.60],[ "berlinite", 0.20],[ "quietus", 0.80], [ "fublooddiamond", 0.20],[ "neptunium", 0.60] ] ],
    [3.5, [ [ "coal", 0.9], [ "uranium", 0.60], [ "solarium", 0.00], [ "copper", 0.75], [ "iron", 0.25], [ "durasteel", 0.75], [ "lead", 0.75], [ "sulphur", 0.75],[ "mascagnite", 0.60],[ "lazulite", 0.60],[ "magnesium", 0.60],[ "berlinite", 0.20],[ "quietus", 0.72], [ "fublooddiamond", 0.25],[ "neptunium", 0.60] ] ],
    [4.5, [ [ "coal", 0.9], [ "uranium", 0.60], [ "solarium", 0.00], [ "copper", 0.75], [ "iron", 0.25], [ "aegisalt", 0.80], [ "ferozium", 0.80], [ "violium", 0.80], [ "lead", 0.55], [ "sulphur", 0.55],[ "mascagnite", 0.60],[ "lazulite", 0.60],[ "magnesium", 0.80],[ "berlinite", 0.65],[ "quietus", 0.86], [ "fublooddiamond", 0.25],[ "neptunium", 0.60] ] ],
    [5.5, [ [ "coal", 0.9], [ "uranium", 0.60], [ "solarium", 0.60], [ "copper", 0.75], [ "iron", 0.25], [ "aegisalt", 0.80], [ "ferozium", 0.80], [ "violium", 0.80], [ "lead", 0.55], [ "sulphur", 0.55],[ "mascagnite", 0.60],[ "lazulite", 0.60],[ "magnesium", 0.80],[ "berlinite", 0.65],[ "quietus", 0.97], [ "fublooddiamond", 0.25],[ "neptunium", 0.60] ] ]
    ]
    },

    {"op":"add",
    "path":"/ff_surfaceprotoOres",
    "value":
    [
    [0.5, [ [ "coal", 0.9], [ "neptunium", 0.00], [ "thorium", 0.00], [ "solarium", 0.00], [ "diamond", 0.10], [ "iron", 0.55], [ "lead", 0.50], [ "sulphur", 0.20],[ "mascagnite", 0.30],[ "lazulite", 0.30],[ "magnesium", 0.30],[ "berlinite", 0.40],[ "protocite", 0.40],[ "trianglium", 0.20] ] ],
    [1.5, [ [ "coal", 0.9], [ "neptunium", 0.00], [ "thorium", 0.00], [ "solarium", 0.00], [ "diamond", 0.10], [ "iron", 0.55], [ "tungsten", 0.55], [ "lead", 0.50], [ "sulphur", 0.20],[ "mascagnite", 0.30],[ "lazulite", 0.30],[ "magnesium", 0.30],[ "berlinite", 0.40],[ "protocite", 0.40],[ "trianglium", 0.20] ] ],
    [2.5, [ [ "coal", 0.9], [ "neptunium", 0.50], [ "thorium", 0.30], [ "solarium", 0.00], [ "diamond", 0.10], [ "iron", 0.55], [ "titanium", 0.55],[ "lead", 0.50], [ "sulphur", 0.20],[ "mascagnite", 0.30],[ "lazulite", 0.30],[ "magnesium", 0.30],[ "berlinite", 0.40],[ "protocite", 0.40],[ "trianglium", 0.20] ] ],
    [3.5, [ [ "coal", 0.9], [ "neptunium", 0.50], [ "thorium", 0.30], [ "solarium", 0.00], [ "diamond", 0.10], [ "iron", 0.55], [ "durasteel", 0.55],[ "lead", 0.50], [ "sulphur", 0.20],[ "mascagnite", 0.30],[ "lazulite", 0.30],[ "magnesium", 0.30],[ "berlinite", 0.40],[ "protocite", 0.40],[ "trianglium", 0.24] ] ],
    [4.5, [ [ "coal", 0.9], [ "neptunium", 0.50], [ "thorium", 0.35], [ "solarium", 0.00], [ "diamond", 0.10], [ "iron", 0.55], [ "aegisalt", 0.50], [ "ferozium", 0.50], [ "violium", 0.50], [ "lead", 0.55], [ "sulphur", 0.25],[ "mascagnite", 0.30],[ "lazulite", 0.30],[ "magnesium", 0.30],[ "berlinite", 0.40],[ "protocite", 0.45],[ "trianglium", 0.24] ] ],
    [5.5, [ [ "coal", 0.9], [ "neptunium", 0.50], [ "thorium", 0.35], [ "solarium", 0.50], [ "diamond", 0.10], [ "iron", 0.55], [ "aegisalt", 0.50], [ "aegisalt", 0.50], [ "ferozium", 0.50], [ "violium", 0.50], [ "lead", 0.55], [ "sulphur", 0.25],[ "mascagnite", 0.35],[ "lazulite", 0.30],[ "magnesium", 0.30],[ "berlinite", 0.40],[ "protocite", 0.50],[ "trianglium", 0.32] ] ]
    ]
    },

    So, does this mean that every separate list corresponds to the different planet/biomes? If that's so, what should I modify, the first "general" list or the laters?
     
  16. bk3k

    bk3k Oxygen Tank

    Done(previous post). But you may or may not like my color selections, but you can choose others if you like. I think that contrasts reasonably well.

    Go into the Language menu, then at the bottom Define your language...
    Then import those XML files. Yes I have one for logs too, although it tends to trip up when mods have ' in the name.


    I recommend to use the forum's code insert button so you don't loose your whitespace and it groups the code together. Also it avoids accidental emojis etc. I'll look at your question in just a second.

    Now as for your question, It seems to me(not that I've really played with biomes) that you have different weighted distribution lists in that file. Also the pathing for all that won't be simple, so I recommend using a patch maker tool.

    First use one of many patch testers to see the end result of the normal FU patch. Then copy that result(looks like the original but with the FU ores added). Edit the result(make the ores more likely) to get your desired result. Plug that desired result into the patch maker along with the original file. It will generate the complicated patch files you need. That's going to save you considerable time and frustration.
     
    Last edited: Jan 18, 2017
    lazarus78 likes this.
  17. DominatorLegend

    DominatorLegend Void-Bound Voyager

    Oh, sorry.
     
  18. bk3k

    bk3k Oxygen Tank

    Not a problem, but

    Code:
    {
      "surface" : [
        [0.5, [ [ "coal", 0.90 ], [ "copper", 0.60 ], [ "silver", 0.00 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.60 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [1.5, [ [ "coal", 0.90 ], [ "copper", 0.60 ], [ "silver", 0.00 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.60 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [2.5, [ [ "coal", 0.90 ], [ "copper", 0.60 ], [ "silver", 0.00 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [3.5, [ [ "coal", 0.90 ], [ "copper", 0.60 ], [ "silver", 0.00 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [4.5, [ [ "coal", 0.90 ], [ "copper", 0.60 ], [ "silver", 0.00 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [5.5, [ [ "coal", 0.90 ], [ "copper", 0.60 ], [ "silver", 0.00 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ]
      ],
    
      "depth1" : [
        [0.5, [ [ "coal", 1.00 ], [ "copper", 0.90 ], [ "silver", 0.60 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.75 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [1.5, [ [ "coal", 1.00 ], [ "copper", 0.90 ], [ "silver", 0.60 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.50 ], [ "tungsten", 0.75 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [2.5, [ [ "coal", 1.00 ], [ "copper", 0.90 ], [ "silver", 0.60 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.50 ], [ "titanium", 0.75 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [3.5, [ [ "coal", 1.00 ], [ "copper", 0.90 ], [ "silver", 0.60 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.50 ], [ "durasteel", 0.75 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [4.5, [ [ "coal", 1.00 ], [ "copper", 0.90 ], [ "silver", 0.60 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.50 ], [ "aegisalt", 0.75 ], [ "ferozium", 0.75 ], [ "violium", 0.75 ], [ "solarium", 0.00 ] ] ],
        [5.5, [ [ "coal", 1.00 ], [ "copper", 0.90 ], [ "silver", 0.60 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.50 ], [ "ferozium", 0.50 ], [ "violium", 0.50 ], [ "solarium", 0.75 ] ] ]
      ],
    
      "depth2" : [
        [0.5, [ [ "coal", 0.90 ], [ "copper", 0.75 ], [ "silver", 0.90 ], [ "gold", 0.60 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.90 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [1.5, [ [ "coal", 0.90 ], [ "copper", 0.75 ], [ "silver", 0.90 ], [ "gold", 0.60 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.65 ], [ "tungsten", 0.90 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [2.5, [ [ "coal", 0.90 ], [ "copper", 0.75 ], [ "silver", 0.90 ], [ "gold", 0.60 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.65 ], [ "titanium", 0.90 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [3.5, [ [ "coal", 0.90 ], [ "copper", 0.75 ], [ "silver", 0.90 ], [ "gold", 0.60 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.65 ], [ "durasteel", 0.90 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [4.5, [ [ "coal", 0.90 ], [ "copper", 0.75 ], [ "silver", 0.90 ], [ "gold", 0.60 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.65 ], [ "aegisalt", 0.90 ], [ "ferozium", 0.90 ], [ "violium", 0.90 ], [ "solarium", 0.00 ] ] ],
        [5.5, [ [ "coal", 0.90 ], [ "copper", 0.75 ], [ "silver", 0.90 ], [ "gold", 0.60 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.65 ], [ "ferozium", 0.65 ], [ "violium", 0.65 ], [ "solarium", 0.90 ] ] ]
      ],
    
      "depth3" : [
        [0.5, [ [ "coal", 0.90 ], [ "copper", 0.00 ], [ "silver", 0.75 ], [ "gold", 0.90 ], [ "diamond", 0.10 ], [ "corefragment", 0.00 ], [ "iron", 1.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [1.5, [ [ "coal", 0.90 ], [ "copper", 0.00 ], [ "silver", 0.75 ], [ "gold", 0.90 ], [ "diamond", 0.10 ], [ "corefragment", 0.00 ], [ "iron", 0.80 ], [ "tungsten", 1.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [2.5, [ [ "coal", 0.90 ], [ "copper", 0.00 ], [ "silver", 0.75 ], [ "gold", 0.90 ], [ "diamond", 0.10 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.80 ], [ "titanium", 1.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [3.5, [ [ "coal", 0.90 ], [ "copper", 0.00 ], [ "silver", 0.75 ], [ "gold", 0.90 ], [ "diamond", 0.10 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.80 ], [ "durasteel", 1.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [4.5, [ [ "coal", 0.90 ], [ "copper", 0.00 ], [ "silver", 0.75 ], [ "gold", 0.90 ], [ "diamond", 0.10 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.80 ], [ "aegisalt", 1.00 ], [ "ferozium", 1.00 ], [ "violium", 1.00 ], [ "solarium", 0.00 ] ] ],
        [5.5, [ [ "coal", 0.90 ], [ "copper", 0.00 ], [ "silver", 0.75 ], [ "gold", 0.90 ], [ "diamond", 0.10 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.80 ], [ "ferozium", 0.80 ], [ "violium", 0.80 ], [ "solarium", 1.00 ] ] ]
      ],
    
      "core" : [
        [0.5, [ [ "coal", 0.90 ], [ "copper", 0.00 ], [ "silver", 0.00 ], [ "gold", 0.75 ], [ "diamond", 0.20 ], [ "corefragment", 1.00 ], [ "iron", 1.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [1.5, [ [ "coal", 0.90 ], [ "copper", 0.00 ], [ "silver", 0.00 ], [ "gold", 0.75 ], [ "diamond", 0.20 ], [ "corefragment", 1.00 ], [ "iron", 0.80 ], [ "tungsten", 1.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [2.5, [ [ "coal", 0.90 ], [ "copper", 0.00 ], [ "silver", 0.00 ], [ "gold", 0.75 ], [ "diamond", 0.20 ], [ "corefragment", 1.00 ], [ "iron", 0.00 ], [ "tungsten", 0.80 ], [ "titanium", 1.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [3.5, [ [ "coal", 0.90 ], [ "copper", 0.00 ], [ "silver", 0.00 ], [ "gold", 0.75 ], [ "diamond", 0.20 ], [ "corefragment", 1.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.80 ], [ "durasteel", 1.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [4.5, [ [ "coal", 0.90 ], [ "copper", 0.00 ], [ "silver", 0.00 ], [ "gold", 0.75 ], [ "diamond", 0.20 ], [ "corefragment", 1.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.80 ], [ "aegisalt", 1.00 ], [ "ferozium", 1.00 ], [ "violium", 1.00 ], [ "solarium", 0.00 ] ] ],
        [5.5, [ [ "coal", 0.90 ], [ "copper", 0.00 ], [ "silver", 0.00 ], [ "gold", 0.75 ], [ "diamond", 0.20 ], [ "corefragment", 1.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.80 ], [ "ferozium", 0.80 ], [ "violium", 0.80 ], [ "solarium", 1.00 ] ] ]
      ],
    
      "none" : [
        [0.5, [ ] ]
      ],
    
      "moon" : [
        [0.5, [ [ "erchius", 0.90 ] ] ]
      ],
    
      "asteroid" : [
        [0.5, [ [ "copper", 0.65 ], [ "silver", 0.55 ], [ "gold", 0.45 ] ] ]
      ],
    
      "prismore" : [
        [0.5, [ [ "prisilite", 1.00 ] ] ]
      ]
    }
    


    Of course that will still be easier to read in something like notepad++. Be sure to use bracket highlighting. That's a must with JSON code.
     
  19. DominatorLegend

    DominatorLegend Void-Bound Voyager

    Still, can you answer my question? As I said, I don't know what to change exactly.
     
  20. bk3k

    bk3k Oxygen Tank

    Well for example
    Code:
      "surface" : [
        [0.5, [ [ "coal", 0.90 ], [ "copper", 0.80 ], [ "silver", 0.05 ], [ "gold", 0.05 ], [ "diamond", 0.01 ], [ "corefragment", 0.00 ], [ "iron", 0.80 ], [ "tungsten", 0.30 ], [ "titanium", 0.07 ], [ "durasteel", 0.10 ], [ "aegisalt", 0.05 ], [ "ferozium", 0.05 ], [ "violium", 0.05 ], [ "solarium", 0.05 ] ] ],
        [1.5, [ [ "coal", 0.90 ], [ "copper", 0.80 ], [ "silver", 0.05 ], [ "gold", 0.05 ], [ "diamond", 0.01 ], [ "corefragment", 0.00 ], [ "iron", 0.50 ], [ "tungsten", 0.60 ], [ "titanium", 0.07 ], [ "durasteel", 0.10 ], [ "aegisalt", 0.05 ], [ "ferozium", 0.05 ], [ "violium", 0.05 ], [ "solarium", 0.05 ] ] ],
        [2.5, [ [ "coal", 0.90 ], [ "copper", 0.80 ], [ "silver", 0.05 ], [ "gold", 0.05 ], [ "diamond", 0.01 ], [ "corefragment", 0.00 ], [ "iron", 0.50 ], [ "tungsten", 0.30 ], [ "titanium", 0.07 ], [ "durasteel", 0.10 ], [ "aegisalt", 0.05 ], [ "ferozium", 0.05 ], [ "violium", 0.05 ], [ "solarium", 0.05 ] ] ],
        [3.5, [ [ "coal", 0.90 ], [ "copper", 0.80 ], [ "silver", 0.05 ], [ "gold", 0.05 ], [ "diamond", 0.01 ], [ "corefragment", 0.00 ], [ "iron", 0.50 ], [ "tungsten", 0.30 ], [ "titanium", 0.07 ], [ "durasteel", 0.10 ], [ "aegisalt", 0.05 ], [ "ferozium", 0.05 ], [ "violium", 0.05 ], [ "solarium", 0.05 ] ] ],
        [4.5, [ [ "coal", 0.90 ], [ "copper", 0.80 ], [ "silver", 0.05 ], [ "gold", 0.05 ], [ "diamond", 0.01 ], [ "corefragment", 0.00 ], [ "iron", 0.50 ], [ "tungsten", 0.30 ], [ "titanium", 0.07 ], [ "durasteel", 0.10 ], [ "aegisalt", 0.05 ], [ "ferozium", 0.05 ], [ "violium", 0.05 ], [ "solarium", 0.05 ] ] ],
        [5.5, [ [ "coal", 0.90 ], [ "copper", 0.80 ], [ "silver", 0.05 ], [ "gold", 0.05 ], [ "diamond", 0.01 ], [ "corefragment", 0.00 ], [ "iron", 0.50 ], [ "tungsten", 0.30 ], [ "titanium", 0.07 ], [ "durasteel", 0.10 ], [ "aegisalt", 0.05 ], [ "ferozium", 0.05 ], [ "violium", 0.05 ], [ "solarium", 0.05 ] ] ]
      ],
    instead of the vanilla

    Code:
      "surface" : [
        [0.5, [ [ "coal", 0.90 ], [ "copper", 0.60 ], [ "silver", 0.00 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.60 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [1.5, [ [ "coal", 0.90 ], [ "copper", 0.60 ], [ "silver", 0.00 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.60 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [2.5, [ [ "coal", 0.90 ], [ "copper", 0.60 ], [ "silver", 0.00 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [3.5, [ [ "coal", 0.90 ], [ "copper", 0.60 ], [ "silver", 0.00 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [4.5, [ [ "coal", 0.90 ], [ "copper", 0.60 ], [ "silver", 0.00 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ],
        [5.5, [ [ "coal", 0.90 ], [ "copper", 0.60 ], [ "silver", 0.00 ], [ "gold", 0.00 ], [ "diamond", 0.00 ], [ "corefragment", 0.00 ], [ "iron", 0.00 ], [ "tungsten", 0.00 ], [ "titanium", 0.00 ], [ "durasteel", 0.00 ], [ "aegisalt", 0.00 ], [ "ferozium", 0.00 ], [ "violium", 0.00 ], [ "solarium", 0.00 ] ] ]
      ],
    I did that quickly with Notepad++'s replace feature(part of the search feature) that allows you to change certain strings into other strings. Of course you could do a finer, more thought out tuning of ores than that if you so wanted.

    I believe instead of (or in addition to) you could also adjust the weights of those distribution lists. That "surface" I quoted has 6 different distribution lists, and the numbers up front should be weights that determine which list is chosen.
    0.5 + 1.5 + 2.5 + 3.5 + 4.5 + 5.5 = 18
    So the odds of the top list being chosen is 0.5 / 18 aka about 2.8%

    You can make certain lists more likely, and other lists less likely by adjusting the weights. Now the point of having multiple lists(in case this isn't clear) is so that not all planets are equally ore rich. You want some variance.

    edit: Now I'll use that patch maker website I provided a link to.


    Code:
    [
      {
        "op": "replace",
        "path": "/surface/0/1/1/1",
        "value": 0.8
      },
      {
        "op": "replace",
        "path": "/surface/0/1/2/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/0/1/3/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/0/1/4/1",
        "value": 0.01
      },
      {
        "op": "replace",
        "path": "/surface/0/1/6/1",
        "value": 0.8
      },
      {
        "op": "replace",
        "path": "/surface/0/1/7/1",
        "value": 0.3
      },
      {
        "op": "replace",
        "path": "/surface/0/1/8/1",
        "value": 0.07
      },
      {
        "op": "replace",
        "path": "/surface/0/1/9/1",
        "value": 0.1
      },
      {
        "op": "replace",
        "path": "/surface/0/1/10/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/0/1/11/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/0/1/12/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/0/1/13/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/1/1/1/1",
        "value": 0.8
      },
      {
        "op": "replace",
        "path": "/surface/1/1/2/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/1/1/3/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/1/1/4/1",
        "value": 0.01
      },
      {
        "op": "replace",
        "path": "/surface/1/1/6/1",
        "value": 0.5
      },
      {
        "op": "replace",
        "path": "/surface/1/1/8/1",
        "value": 0.07
      },
      {
        "op": "replace",
        "path": "/surface/1/1/9/1",
        "value": 0.1
      },
      {
        "op": "replace",
        "path": "/surface/1/1/10/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/1/1/11/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/1/1/12/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/1/1/13/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/2/1/1/1",
        "value": 0.8
      },
      {
        "op": "replace",
        "path": "/surface/2/1/2/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/2/1/3/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/2/1/4/1",
        "value": 0.01
      },
      {
        "op": "replace",
        "path": "/surface/2/1/6/1",
        "value": 0.5
      },
      {
        "op": "replace",
        "path": "/surface/2/1/7/1",
        "value": 0.3
      },
      {
        "op": "replace",
        "path": "/surface/2/1/8/1",
        "value": 0.07
      },
      {
        "op": "replace",
        "path": "/surface/2/1/9/1",
        "value": 0.1
      },
      {
        "op": "replace",
        "path": "/surface/2/1/10/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/2/1/11/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/2/1/12/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/2/1/13/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/3/1/1/1",
        "value": 0.8
      },
      {
        "op": "replace",
        "path": "/surface/3/1/2/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/3/1/3/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/3/1/4/1",
        "value": 0.01
      },
      {
        "op": "replace",
        "path": "/surface/3/1/6/1",
        "value": 0.5
      },
      {
        "op": "replace",
        "path": "/surface/3/1/7/1",
        "value": 0.3
      },
      {
        "op": "replace",
        "path": "/surface/3/1/8/1",
        "value": 0.07
      },
      {
        "op": "replace",
        "path": "/surface/3/1/9/1",
        "value": 0.1
      },
      {
        "op": "replace",
        "path": "/surface/3/1/10/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/3/1/11/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/3/1/12/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/3/1/13/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/4/1/1/1",
        "value": 0.8
      },
      {
        "op": "replace",
        "path": "/surface/4/1/2/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/4/1/3/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/4/1/4/1",
        "value": 0.01
      },
      {
        "op": "replace",
        "path": "/surface/4/1/6/1",
        "value": 0.5
      },
      {
        "op": "replace",
        "path": "/surface/4/1/7/1",
        "value": 0.3
      },
      {
        "op": "replace",
        "path": "/surface/4/1/8/1",
        "value": 0.07
      },
      {
        "op": "replace",
        "path": "/surface/4/1/9/1",
        "value": 0.1
      },
      {
        "op": "replace",
        "path": "/surface/4/1/10/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/4/1/11/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/4/1/12/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/4/1/13/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/5/1/1/1",
        "value": 0.8
      },
      {
        "op": "replace",
        "path": "/surface/5/1/2/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/5/1/3/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/5/1/4/1",
        "value": 0.01
      },
      {
        "op": "replace",
        "path": "/surface/5/1/6/1",
        "value": 0.5
      },
      {
        "op": "replace",
        "path": "/surface/5/1/7/1",
        "value": 0.3
      },
      {
        "op": "replace",
        "path": "/surface/5/1/8/1",
        "value": 0.07
      },
      {
        "op": "replace",
        "path": "/surface/5/1/9/1",
        "value": 0.1
      },
      {
        "op": "replace",
        "path": "/surface/5/1/10/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/5/1/11/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/5/1/12/1",
        "value": 0.05
      },
      {
        "op": "replace",
        "path": "/surface/5/1/13/1",
        "value": 0.05
      }
    ]
     
    Last edited: Jan 19, 2017

Share This Page