Modding Help Modding Assistance

Discussion in 'Starbound Modding' started by Cryptoid, Feb 15, 2018.

  1. Cryptoid

    Cryptoid Pangalactic Porcupine

    Thanks. :)
     
  2. Cryptoid

    Cryptoid Pangalactic Porcupine

    Thanks but it's empty.
     
  3. DrPvtSkittles

    DrPvtSkittles Master Astronaut

    Code:
    {
      "kind" : "noid",
    
      "charCreationTooltip" : {
          "title" : "Noid",
          "subTitle" : "Tweakallthethings!",
          "description" : "Created by an celestial deity known as Argentum."
      },
    
    // Status effects can be applied through the species file, but depending on what they do, it might affect the race's NPCs. You might want to take a look at the mod's Noid_Primary tactic instead.
      "statusEffects" : [],
      "humanoidOverrides" : {
        "bodyFullbright" : true
      },
    
    // humanoidConfig is what tells the game to use your custom config rather than the universal one. This is vital if you want to do any tweaks to your race revolving around a humanoid without fiddling with the universal one.
      "humanoidConfig" : "/species/noid.config",
      "nameGen" : [ "/species/noidnamegen.config:names", "/species/noidnamegen.config:names" ],
      "ouchNoises" : [ "/sfx/humanoid/humanhurt_male1.ogg", "/sfx/humanoid/humanhurt_female1.ogg" ],
      "charGenTextLabels" : [ "Syn Color", "Neuro Mod", "N/A", "N/A", "Exo Color", "Mod color", "N/A", "N/A", "Noid", "Personality" ],
      "skull" : "/humanoid/noid/dead.png",
        "effectDirectives" : "?replace=FEFFFFFF=FFFFFFFF?replace=9BD4FFFF=FEFF3DFF?replace=31A6FFFF=C29200FF",
      "defaultBlueprints" : {
        "tier1" : [
    
    // Empty Hands
          { "item" : "flaghuman" },
    
    // Anvil
          { "item" : "humantier1head" },
          { "item" : "humantier1chest" },
          { "item" : "humantier1pants" },
          { "item" : "humantier2head" },
          { "item" : "humantier2chest" },
          { "item" : "humantier2pants" },
    
          { "item" : "ironshortsword" },
          { "item" : "ironbroadsword" },
          { "item" : "tungstenaxe" },
          { "item" : "tungstenhammer" },
    
    // Anvil2
          { "item" : "humantier3head" },
          { "item" : "humantier3chest" },
          { "item" : "humantier3pants" },
          { "item" : "humantier4head" },
          { "item" : "humantier4chest" },
          { "item" : "humantier4pants" },
    
          { "item" : "titaniumdagger" },
          { "item" : "titaniumspear" },
          { "item" : "durasteelbroadsword" },
          { "item" : "durasteelshortsword" },
    
    // Anvil3
          { "item" : "humantier5ahead" },
          { "item" : "humantier5achest" },
          { "item" : "humantier5apants" },
          { "item" : "humantier6ahead" },
          { "item" : "humantier6achest" },
          { "item" : "humantier6apants" },
    
          { "item" : "humantier5mhead" },
          { "item" : "humantier5mchest" },
          { "item" : "humantier5mpants" },
          { "item" : "humantier6mhead" },
          { "item" : "humantier6mchest" },
          { "item" : "humantier6mpants" },
    
          { "item" : "humantier5shead" },
          { "item" : "humantier5schest" },
          { "item" : "humantier5spants" },
          { "item" : "humantier6shead" },
          { "item" : "humantier6schest" },
          { "item" : "humantier6spants" },
    
          { "item" : "aegisaltpistol" },
          { "item" : "aegisaltbow" },
          { "item" : "feroziumwand" },
          { "item" : "feroziumstaff" },
          { "item" : "violiumshortsword" },
          { "item" : "violiumbroadsword" },
    
    // Furniture Table 2
          { "item" : "humanstoragelocker" },
          { "item" : "humanshipdoor" },
          { "item" : "humanshiphatch" },
    
    // Spinning Wheel
          { "item" : "conceptchest" },
          { "item" : "conceptlegs" },
          { "item" : "coolchest" },
          { "item" : "coollegs" },
          { "item" : "sweatervestchest" },
          { "item" : "sweatervestlegs" },
          { "item" : "workoutchest" },
          { "item" : "workoutlegs" }
        ]
      },
        "altOptionAsUndyColor" : true,
        "headOptionAsHairColor" : true,
      "genders" : [
        {
          "name" : "male",
          "image" : "/interface/title/male.png",
          "characterImage" : "/interface/title/noidmale.png",
          "hair" : [ "male1" ],
          "shirt" : [ "emptychest" ],
          "pants" : [ "emptylegs" ],
          "facialHairGroup" : "",
          "facialHair" : [ ],
          "facialMaskGroup" : "",
          "facialMask" : [ ]
        },
        {
          "name" : "female",
          "image" : "/interface/title/female.png",
          "characterImage" : "/interface/title/noidfemale.png",
          "hair" : [ "fem1" ],
          "shirt" : [ "emptychest" ],
          "pants" : [ "emptylegs" ],
          "facialHairGroup" : "",
          "facialHair" : [ ],
          "facialMaskGroup" : "",
          "facialMask" : [ ]
        }
      ],
      "bodyColor" : [
        { "ffca8a" : "FFB0A3", "e0975c" : "FC8469", "a85636" : "BE424D", "6f2919" : "782027" },
        { "ffca8a" : "FFEBC2", "e0975c" : "F6B060", "a85636" : "B37F34", "6f2919" : "6D5013" },
        { "ffca8a" : "DFCFB3", "e0975c" : "C7AE76", "a85636" : "94824F", "6f2919" : "5A512B" },
        { "ffca8a" : "F1EABB", "e0975c" : "D8D077", "a85636" : "A09E4E", "6f2919" : "5F6229" },
        { "ffca8a" : "DBF4B8", "e0975c" : "A4D66B", "a85636" : "6F9E47", "6f2919" : "426D26" },
        { "ffca8a" : "B3C89E", "e0975c" : "82AB5F", "a85636" : "547A3C", "6f2919" : "2D4F1D" },
        { "ffca8a" : "B8F4BB", "e0975c" : "72DD7E", "a85636" : "4AA559", "6f2919" : "266535" },
        { "ffca8a" : "B8F4D9", "e0975c" : "72DDB3", "a85636" : "4AA586", "6f2919" : "266554" },
        { "ffca8a" : "B1F1FE", "e0975c" : "5DD1EC", "a85636" : "3491AA", "6f2919" : "196072" },
        { "ffca8a" : "B5C2FA", "e0975c" : "758BF8", "a85636" : "4A5BA5", "6f2919" : "272665" },
        { "ffca8a" : "E2B2FF", "e0975c" : "B374D4", "a85636" : "7C4992", "6f2919" : "4B2655" },
        { "ffca8a" : "FDD8F2", "e0975c" : "F1AFDF", "a85636" : "D67EC1", "6f2919" : "AF579A" },
        { "ffca8a" : "F9D9DA", "e0975c" : "EAB2B5", "a85636" : "CC8288", "6f2919" : "A55B61" },
        { "ffca8a" : "B8B0A8", "e0975c" : "967E6E", "a85636" : "654D43", "6f2919" : "372720" },
        { "ffca8a" : "9E9B94", "e0975c" : "767162", "a85636" : "3F3C2E", "6f2919" : "1E1400" },
        { "ffca8a" : "FFFFFF", "e0975c" : "D7D5DB", "a85636" : "8E8E9B", "6f2919" : "6D6D6D" }
      ],
      "undyColor" : [
        { "f32200" : "FFDCC4", "dc1f00" : "FFB98F", "be1b00" : "C1695F", "951500" : "7E3F38" },
        { "f32200" : "FFFFE7", "dc1f00" : "FFE48E", "be1b00" : "C1AA5C", "951500" : "7C7135" },
        { "f32200" : "F6F0D3", "dc1f00" : "DAD39B", "be1b00" : "A7A270", "951500" : "6B6B47" },
        { "f32200" : "FFFFE0", "dc1f00" : "E7EFA1", "be1b00" : "ABB573", "951500" : "697447" },
        { "f32200" : "EEFFDC", "dc1f00" : "B1E994", "be1b00" : "7CAD69", "951500" : "4F7B43" },
        { "f32200" : "C7DEBC", "dc1f00" : "90BC80", "be1b00" : "648B5A", "951500" : "3A5D35" },
        { "f32200" : "DAFFE5", "dc1f00" : "97ECB0", "be1b00" : "6BB383", "951500" : "417356" },
        { "f32200" : "DBFFFE", "dc1f00" : "99EEDB", "be1b00" : "6DB4A9", "951500" : "427470" },
        { "f32200" : "D4FDFF", "dc1f00" : "85CCF5", "be1b00" : "558DB2", "951500" : "36627C" },
        { "f32200" : "D0D0FF", "dc1f00" : "9290F8", "be1b00" : "6060A9", "951500" : "43396B" },
        { "f32200" : "FFD1FF", "dc1f00" : "D191DE", "be1b00" : "95629C", "951500" : "603B61" },
        { "f32200" : "FFF4FF", "dc1f00" : "FFCDEA", "be1b00" : "E19CC4", "951500" : "B8739B" },
        { "f32200" : "FFFAF6", "dc1f00" : "FBD5CF", "be1b00" : "D9A49E", "951500" : "B07B74" },
        { "f32200" : "CECBC2", "dc1f00" : "A89B89", "be1b00" : "74665A", "951500" : "463D34" },
        { "f32200" : "B4B3AD", "dc1f00" : "8A897A", "be1b00" : "4E4F42", "951500" : "2C2915" },
        { "f32200" : "FFFFFF", "dc1f00" : "F2EFF3", "be1b00" : "A6A4AE", "951500" : "818181" }
      ],
      "hairColor" : [
        { "f7e7b2" : "FFB0A3", "d9c189" : "FC8469", "a38d59" : "BE424D", "735e3a" : "782027" },
        { "f7e7b2" : "FFEBC2", "d9c189" : "F6B060", "a38d59" : "B37F34", "735e3a" : "6D5013" },
        { "f7e7b2" : "DFCFB3", "d9c189" : "C7AE76", "a38d59" : "94824F", "735e3a" : "5A512B" },
        { "f7e7b2" : "F1EABB", "d9c189" : "D8D077", "a38d59" : "A09E4E", "735e3a" : "5F6229" },
        { "f7e7b2" : "DBF4B8", "d9c189" : "A4D66B", "a38d59" : "6F9E47", "735e3a" : "426D26" },
        { "f7e7b2" : "B3C89E", "d9c189" : "82AB5F", "a38d59" : "547A3C", "735e3a" : "2D4F1D" },
        { "f7e7b2" : "B8F4BB", "d9c189" : "72DD7E", "a38d59" : "4AA559", "735e3a" : "266535" },
        { "f7e7b2" : "B8F4D9", "d9c189" : "72DDB3", "a38d59" : "4AA586", "735e3a" : "266554" },
        { "f7e7b2" : "B1F1FE", "d9c189" : "5DD1EC", "a38d59" : "3491AA", "735e3a" : "196072" },
        { "f7e7b2" : "B5C2FA", "d9c189" : "758BF8", "a38d59" : "4A5BA5", "735e3a" : "272665" },
        { "f7e7b2" : "E2B2FF", "d9c189" : "B374D4", "a38d59" : "7C4992", "735e3a" : "4B2655" },
        { "f7e7b2" : "FDD8F2", "d9c189" : "F1AFDF", "a38d59" : "D67EC1", "735e3a" : "AF579A" },
        { "f7e7b2" : "F9D9DA", "d9c189" : "EAB2B5", "a38d59" : "CC8288", "735e3a" : "A55B61" },
        { "f7e7b2" : "B8B0A8", "d9c189" : "967E6E", "a38d59" : "654D43", "735e3a" : "372720" },
        { "f7e7b2" : "9E9B94", "d9c189" : "767162", "a38d59" : "3F3C2E", "735e3a" : "1E1400" },
        { "f7e7b2" : "FFFFFF", "d9c189" : "D7D5DB", "a38d59" : "8E8E9B", "735e3a" : "6D6D6D" }
      ]
    }
     
    Cryptoid likes this.
  4. Cryptoid

    Cryptoid Pangalactic Porcupine

    Thanks for the help.
     
  5. DrPvtSkittles

    DrPvtSkittles Master Astronaut

    All G. Happy Modding!
     
  6. Cryptoid

    Cryptoid Pangalactic Porcupine

    Sorry to bother but how do you do the name gen code? Here is the error code I got for editing the name generator.
    https://pastebin.com/xCBuJhZ9
     
  7. DrPvtSkittles

    DrPvtSkittles Master Astronaut

    Hey no problem

    Line 76: [15:57:37.872] [Error] Exception caught loading asset: /species/noidnamegen.config:names, (AssetException) Could not read JSON asset /species/noidnamegen.config:names
    Line 147: Caused by: (JsonParsingException) Error parsing json: bad array, should be ',' or ']' at 8:1

    This is saying in your noidnamegen.config file, at line 8, character 1 should be a , or ]
     
    Cryptoid likes this.
  8. Cryptoid

    Cryptoid Pangalactic Porcupine

    Ok thanks.
     
  9. Cryptoid

    Cryptoid Pangalactic Porcupine

    Hey there, is there any way to mod in custom tech that you know of. Just want to know.
     
  10. DrPvtSkittles

    DrPvtSkittles Master Astronaut

  11. Cryptoid

    Cryptoid Pangalactic Porcupine

    Thanks.
     
  12. Cryptoid

    Cryptoid Pangalactic Porcupine

  13. projectmayhem

    projectmayhem Spaceman Spiff

    Caused by: (JsonParsingException) Error parsing json: bad array, should be ',' or ']' at 143:5

    look around line 143, you probably missed a , somewhere. The end of line 142 is the most likely culprit
     
    DrPvtSkittles likes this.
  14. Cryptoid

    Cryptoid Pangalactic Porcupine

    Thanks. Fixed it.
     
  15. Cryptoid

    Cryptoid Pangalactic Porcupine

    Is there a guide on how to create a custom ship? If so could someone point me in the right direction.
    Also, is there a way to create custom effects and animations for weapons and characters? I'm trying to figure it out by basically reverse engineering other mods, and looking at the code of how it's done. Not really getting anywhere though.
     
    Last edited: Aug 27, 2018
  16. Cryptoid

    Cryptoid Pangalactic Porcupine

  17. projectmayhem

    projectmayhem Spaceman Spiff

    Are you creating your own mod? Is one of these multitude of errors from a mod you are making? If so, remove every other mod not required for your mod, then run the game and post your error log. Also, posting your mod helps also, when you get the lua errors, so people can poke through the files and see whats wrong. Cheers.
     
  18. The Avelon

    The Avelon Phantasmal Quasar

    Yeah, I see a ton of exceptions and while I can guess which one is yours (cyndroid, I think, for which you are missing square brackets on your argument for that line it looks like), it makes it a lot harder to determine what's going on.
     
  19. Cryptoid

    Cryptoid Pangalactic Porcupine

    Yes I'm making a mod(s).
    They are:
    https://community.playstarbound.com/resources/draugr.5509/
    https://community.playstarbound.com/resources/ever-realm-aruins.5212/
    https://community.playstarbound.com/resources/ever-realm-cyndroids.5336/
    https://community.playstarbound.com/resources/igu-uniforms.5477/
     
  20. The Avelon

    The Avelon Phantasmal Quasar

    My method is I copied my entire Starbound directory into a workspace folder on the desktop. When I'm making mods I put the mod I'm working on + dependencies in that version's mods folder along with skippable cinematics. You don't need skippable cinematics in your workspace folder but I sure do. A big bonus to doing this is your load time is much shorter and another is you don't have to move your mods folder around to play normally.
     

Share This Page