Modding Help Firefly for Novakids?

Discussion in 'Starbound Modding' started by leugim23PT, Jul 8, 2017.

  1. leugim23PT

    leugim23PT Void-Bound Voyager

    I always see Dead Squirrel's ship, Firefly, for humans, and I love that ship but I play with Novakids, is there a Firefly somewhere for Novakids?
    Or a way to change the mod so it would be for Novakids?
     
  2. bk3k

    bk3k Oxygen Tank

    You'd need only _metadata to make your mod load after, and universe_server.config.patch that redirects the novakid to whatever path/structure files that ship uses.

    Shiny
     
    IHart likes this.
  3. leugim23PT

    leugim23PT Void-Bound Voyager

    I didn't understand...
     
  4. bk3k

    bk3k Oxygen Tank

    Well... what's the path their ship is stored in?

    Case in point for this mod http://community.playstarbound.com/resources/vepr-ship-revived.4571/
    Look at the files in this mod. The path to the ship is /ships/vepr/ and inside that is all the .structure files. Those files are pointed to via universe_server.config

    Here is the universe_server.config.patch file in that mod.
    Code:
    [
      [
        {
          "op" : "replace",
          "path" : "/speciesShips/apex",
          "value" : [
            "/ships/vepr/vepr_T0.structure",
            "/ships/vepr/vepr_T1.structure",
            "/ships/vepr/vepr_T2.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure"
          ]
        },
        {
          "op" : "replace",
          "path" : "/speciesShips/avian",
          "value" : [
            "/ships/vepr/vepr_T0.structure",
            "/ships/vepr/vepr_T1.structure",
            "/ships/vepr/vepr_T2.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure"
          ]
        },
        {
          "op" : "replace",
          "path" : "/speciesShips/glitch",
          "value" : [
            "/ships/vepr/vepr_T0.structure",
            "/ships/vepr/vepr_T1.structure",
            "/ships/vepr/vepr_T2.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure"
          ]
        },
        {
          "op" : "replace",
          "path" : "/speciesShips/human",
          "value" : [
            "/ships/vepr/vepr_T0.structure",
            "/ships/vepr/vepr_T1.structure",
            "/ships/vepr/vepr_T2.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure"
          ]
        },
        {
          "op" : "replace",
          "path" : "/speciesShips/hylotl",
          "value" : [
            "/ships/vepr/vepr_T0.structure",
            "/ships/vepr/vepr_T1.structure",
            "/ships/vepr/vepr_T2.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure"
          ]
        },
        {
          "op" : "replace",
          "path" : "/speciesShips/novakid",
          "value" : [
            "/ships/vepr/vepr_T0.structure",
            "/ships/vepr/vepr_T1.structure",
            "/ships/vepr/vepr_T2.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure"
          ]
        },
        {
          "op" : "replace",
          "path" : "/speciesShips/penguin",
          "value" : [
            "/ships/vepr/vepr_T0.structure",
            "/ships/vepr/vepr_T1.structure",
            "/ships/vepr/vepr_T2.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure"
          ]
        }
      ]
    ]
    
    Now this particular ship doesn't have real tiers, as it was made prior to the upgrade system, so that's why I repeat the same .structure files. Lets say I wanted to add the neko to that file, I'd do this.

    Code:
        {
          "op" : "replace",
          "path" : "/speciesShips/neko",
            //yes they're a vanilla race, just not unlocked for player use in vanilla.
            //Their ships are even defined in the vanilla universe_server.config
            //so for the purposes of ship modding, I consider them vanilla rather than adding them in separate patches.
          "value" : [
            "/ships/vepr/vepr_T0.structure",
            "/ships/vepr/vepr_T1.structure",
            "/ships/vepr/vepr_T2.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure"
          ]
        }
    
    But your question was about the novakid, so you'd take the snippet of the novakid above.
    Code:
    [
      [
        {
          "op" : "replace",
          "path" : "/speciesShips/novakid",
          "value" : [
            "/ships/vepr/vepr_T0.structure",
            "/ships/vepr/vepr_T1.structure",
            "/ships/vepr/vepr_T2.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure",
            "/ships/vepr/vepr_T3.structure"
          ]
        }
      ]
    ]
    
    But trade the parts like "/ships/vepr/vepr_T0.structure", for the actual path/structure files used by the ship you are wanting to use instead. Look at the files in the mod you are wanting to use(for some mods, unpacking may be necessary).

    That's how you can do it entirely with universe_server.config
     
    Last edited: Jul 10, 2017

Share This Page