Modding Discussion [Mod Request/Idea] Ore Detector mod compatibility

Discussion in 'Starbound Modding' started by xdahaka2012x, Jul 30, 2016.

  1. xdahaka2012x

    xdahaka2012x Void-Bound Voyager

    So I've been playing Frackin Universe recently and got to the moment where I create an Ore Detector. I decided to test whether it works with modded ores. It doesn't. I imagine it won't be working with any other mods that add custom ores. So I wonder if there is a possible way to make the Ore Detector omni-compatible (is that even a word?). I am not a modder so I can't do it myself and I don't know whether it's possible to make it in a single mod or should it be done with a separate mod/patch for every mod that adds custom ores to fix this issue. Anyway, if you are a modder, I would appreciate an answer and, possibly, a requested mod. If I get a negative answer, I will just proceed to write about this issue to the author of the Frackin Universe for fixing this stuff.
     
  2. Victor_Zsasz

    Victor_Zsasz Scruffy Nerf-Herder

    Alright, I've got the mark 2 verison, and I'm gonna try for the third, I think it would detect all ores, but so far lets make a list of all ores we can find.

    Lazulite
    Thorium
    Neptiunium
    Copper

    That's what I got so far. I know for sure it doesn't detect COAL. Cause coal is everywhere, I can get it to see coal though.
     
  3. lazarus78

    lazarus78 The Waste of Time

    Seems like a simple config patch will do the trick.

    Vanilla config:
    Code:
    "pingDetectConfig" : {
            "type" : "ore",
            "image" : "/items/active/unsorted/oredetector/detectnoise.png:<variant>",
            "variants" : 4,
            "colors" : {
                "copper" : [80, 80, 40, 255],
                "silver" : [200, 200, 230, 255],
                "gold" : [200, 180, 30, 255],
                "iron" : [160, 160, 160, 255],
                "tungsten" : [120, 120, 120, 255],
                "titanium" : [255, 255, 255, 255],
                "durasteel" : [90, 90, 200, 255],
                "aegisalt" : [200, 255, 50, 255],
                "violium" : [200, 70, 255, 255],
                "ferozium" : [50, 230, 230, 255],
                "solarium" : [255, 255, 0, 255],
                "diamond" : [0, 0, 255, 255],
                "erchius" : [235, 178, 247, 255], 
                "none" : [120, 160, 120, 50]
            }
        },
    
    Looks like you can just patch in the ore names and what colors you want them to show up as, and that is it. Trivial for modder's to add in support for their own mods.

    Im not sure if you can put in a generic "It is an ore, but I don't know what" setting.
     
    bk3k likes this.

Share This Page