Modding Help Little chunks of ore veins

Discussion in 'Starbound Modding' started by projectmayhem, May 3, 2017.

  1. projectmayhem

    projectmayhem Spaceman Spiff

    What are the little growths called, that don't spawn in the dirt/cobblestone, but instead sit on the ground? I been trying to search the files using "iron" as a keyword, but nothing is turning up
     
  2. Sparklink

    Sparklink Ketchup Robot

    Are you, perhaps, referring to the items in this objects/biome/smashablerocks ? It has all of the files for those breakable ore rocks you find scattered every where.
     
  3. Melendroach

    Melendroach Subatomic Cosmonaut

    ah yes! I've been looking for them too! I wanted to make one for my ore too.
     
  4. MetaFace

    MetaFace Guest

    You mean like this file? This seems like what you are talking about.
     

    Attached Files:

  5. Melendroach

    Melendroach Subatomic Cosmonaut

    yes, this is what I've been looking for, and I suppose projectmayhem too! What's the location of this file?
     
  6. MetaFace

    MetaFace Guest

    exactly where @Sparklink mentioned, in objects/biome/smashablerocks.
     
  7. Melendroach

    Melendroach Subatomic Cosmonaut

    oh wow i have no idea how this happened, but I didn't read his post. Sorry then, and thanks for help :)
     
  8. MetaFace

    MetaFace Guest

    *bows* It's what I do. Give credit to @Sparklink, else I'd been looking for these for awhile.
     
  9. Sparklink

    Sparklink Ketchup Robot

    Starbounder the official Starbound wiki has the file paths for items, objects. It is always on the bottom of the article on the item (you will need to click on the expand tab to show it).
     
    projectmayhem likes this.
  10. projectmayhem

    projectmayhem Spaceman Spiff

    well no wonder iron didnt pull up anything, there isnt one lol


    Edit

    Ok, got my smashable rock made, I have a general understanding of the patching system, I've been able to patch quite a few files myself, but this one has a lot of different information.


    Code:
    {
      "name" : "underground0a",
      "friendlyName" : "Underground0a",
      "spawnProfile" : {
        "groups" : [
          {
            "select" : 2,
            "pool" : [
              [ 1.0, "gleap" ],
              [ 1.0, "batong" ],
              [ 1.0, "crustoise" ],
              [ 1.0, "peblit" ],
              [ 1.0, "bobfae" ]
            ]
          },
          {
            "select" : 1,
            "pool" : "generatedGroundAggroDay"
          },
          {
            "select" : 5,
            "pool" : [
              [ 1, "hedgehogcritter" ],
              [ 1, "snailcritter" ],
              [ 1, "tortoisecritter" ],
              [ 1, "mousecritter" ],
              [ 1, "bunnycritter" ]
            ]
          }
        ]
      },
    
      "parallax" : "/parallax/underground/underground0a.parallax",
    
      "mainBlock" : "dirt",
      "subBlocks" : [ "clay", "cobblestone" ],
      "ores" : "depth1",
    
      "ambientNoises" : {
        "day" : {
          "tracks" : [ "/sfx/environmental/desert_underground.ogg" ]
        },
        "night" : {
          "tracks" : [ "/sfx/environmental/desert_underground.ogg" ]
        }
      },
    
      "musicTrack" : {
        "day" : {
          "tracks" : [ "/music/epsilon-indi.ogg", "/music/hymn-to-the-stars.ogg", "/music/procyon.ogg", "/music/stellarformation.ogg", "/music/vast-immortal-suns.ogg", "/music/atlas.ogg", "/music/blue-straggler.ogg", "/music/cygnus-x1.ogg", "/music/europa.ogg", "/music/haiku.ogg", "/music/m54.ogg", "/music/on-the-beach-at-night.ogg" ]
        },
        "night" : {
          "tracks" : [ "/music/jupiter.ogg", "/music/arctic-constellation1.ogg", "/music/arctic-constellation2.ogg", "/music/mercury.ogg", "/music/mira.ogg", "/music/procyon.ogg", "/music/tranquility-base.ogg", "/music/psyche.ogg", "/music/accretion-disc.ogg", "/music/cygnus-x1.ogg", "/music/eridanus-supervoid.ogg", "/music/horsehead-nebula.ogg", "/music/large-magellanic-cloud.ogg", "/music/m54.ogg", "/music/nomads.ogg", "/music/on-the-beach-at-night.ogg" ]
        }
      },
    
      "undergroundPlaceables" : {
     
        "grassMod" : [ "savannahgrass" ],
        "grassModDensity" : 1.0,
    
        "items" : [
          {
            "mode" : "floor",
            "priority" : 1.0,
            "variants" : 1,
            "distribution" : "/biomes/distributions.config:undergroundCapsules",
    
            "type" : "object",
            "objectSets" : [
              {
                "pool" : [ [0.35, "capsulesmall" ], [0.35, "capsulemed" ], [0.35, "capsulebig" ] ],
                "parameters" : { }
              }
            ]
          },
    
          {
            "mode" : "floor",
            "priority" : 1.0,
            "variants" : 1,
            "distribution" : "/biomes/distributions.config:undergroundOreRocks",
    
            "type" : "object",
            "objectSets" : [
              {
                "pool" : [ [0.60, "copperrocksmall" ], [0.20, "copperrock" ], [0.15, "silverrocksmall" ], [0.5, "silverrock" ] ],
                "parameters" : { }
              }
            ]
          },
    
          {
            "mode" : "background",
            "priority" : 1.0,
            "variants" : 1,
            "distribution" : "/biomes/distributions.config:undergroundFossils",
    
            "type" : "object",
            "objectSets" : [
              {
                "pool" : [ [0.15, "dirtyfossil1" ], [0.15, "dirtyfossil2" ], [0.15, "dirtyfossil3" ], [0.15, "dirtyfossil4" ], [0.1, "dirtyfossil5" ], [0.1, "dirtyfossil6" ], [0.1, "dirtyfossil7" ], [0.1, "dirtyfossil8" ] ],
                "parameters" : {  "materials" : ["dirt", "cobblestone", "bonematerial"]}
              }
            ]
          },
    
          {
            "mode" : "floor",
            "priority" : 0.0,
            "variants" : 1,
            "distribution" : "/biomes/distributions.config:layer1Chests",
    
            "type" : "treasureBox",
            "treasureBoxSets" : [ "basicChest" ]
          },
          {
            "mode" : "floor",
            "priority" : 0.0,
            "variants" : 1,
            "distribution" : "/biomes/distributions.config:undergroundweaponChests",
    
            "type" : "treasureBox",
            "treasureBoxSets" : [ "weaponChest" ]
          },
          {
            "mode" : "floor",
            "priority" : 1.0,
            "variants" : 1,
            "distribution" : "/biomes/distributions.config:undergroundChests",
    
            "type" : "object",
            "objectSets" : [
              {
                "pool" : [ [1, "statuspod" ] ],
                "parameters" : { }
              }
            ]
          },
          {
            "mode" : "floor",
            "priority" : 0.0,
            "variants" : 1,
            "distribution" : "/biomes/distributions.config:undergroundChallengeDoors",
    
            "type" : "object",
            "objectSets" : [
              {
                "pool" : [ [1, "challengedoor" ] ],
                "parameters" : { }
              }
            ]
          },
          {
            "mode" : "ceiling",
            "priority" : 2.0,
            "variants" : 1,
            "distribution" : "/biomes/distributions.config:undergroundVines",
    
            "type" : "tree",
            "treeFoliageHueShiftMax" : 180,
            "treeStemHueShiftMax" : 180,
            "treeStemList" : [ "vine", "vine2", "vine3", "vine4" ],
            "treeFoliageList" : [ "flowery", "starry", "dreamy" ]
          },
          {
            "mode" : "floor",
            "priority" : 99.0,
            "variants" : 1,
            "distribution" : "/biomes/distributions.config:denseSmall",
    
            "type" : "microdungeon",
            "microdungeons" : [ "underground0amicrodungeons" ]
          }
        ]
      },
    
      "hueShiftOptions" : [0]
    }
    


    How do I go about adding something to the undergroundPlaceables into the section for the smashablerocks?
     
    Last edited: May 5, 2017
  11. theogre

    theogre Subatomic Cosmonaut

    Go into any underground biome file (and or surface?) and ctrl + f to look for an already existing smashable (it should be under something like "floor placeables" I believe). Once you've found one just copy that smashables' json but rename that smashable to yours
     

Share This Page