Modding Discussion I want to update and outdated mod myself and need some help!

Discussion in 'Starbound Modding' started by TheHero2805, Jun 1, 2017.

  1. TheHero2805

    TheHero2805 Scruffy Nerf-Herder

    After looking around on different forums for a JoJo's Bizarre Adventure mod that adds Stands into the game I stumbled upon a mod called StandBound (link:http://community.playstarbound.com/resources/standbound-jojos-bizarre-adventure.1610/) that was updated the last time in march of 2014 and as I looked through the comments of the mod thread I new that the original uploader of the mod doesn't work on it anymore. That's when I decided that I want to do it myself for the sake of all the people who wanted this mod so badly after the original uploader "gave up" on it. So far I have looked everywhere to find clues as to how the mods are made both in 0.9 (original mod version) and the current version of Starbound, but I didn't find anything that could tell me what the essential difference is between mods from either version.
    Thanks in advance to anyone might know how to help me with this dilemma and it would be greatly appreciated if you could tell me a way to make this work.
     
    Last edited: Jun 6, 2017
  2. Jonesy

    Jonesy Sarif's Attack Kangaroo Forum Moderator

    Please note that the mod's permissions settings state that the author's consent is needed to alter or redistribute it.
     
    projectmayhem likes this.
  3. TheHero2805

    TheHero2805 Scruffy Nerf-Herder

    I am fully aware of the fact that I need the author's consent to alter and redistribute his work. And as long as I have not gotten an answer from the author I will not upload anything. The question however is not "Am I allowed to...?" but rather "How am I able to...?"
     
  4. projectmayhem

    projectmayhem Spaceman Spiff

    Basically you download it, and start digging through the files and seeing what needs updated. I haven't been in the Starbound community long, but I think 1.0 or something introduced activeitems as an example.


    *EDIT*

    Just poking around in the files, I think the player.config patch needs fixed, the armor files, the treasurepool patches. I don't know anything about lua, so I can't tell you if the stand files need updated at all.
     
  5. TheHero2805

    TheHero2805 Scruffy Nerf-Herder

    thank you for your answer. I will look into those files and see what I can do.

    I think that I have fixed the treasurepool patches and the player.config patch. Now all I need to work on are the armor files you said and the Stand files, tough I must confirm that when you said the "armor files" need to be fixed, do you mean the outfit of Gyro Zeppeli?
     
    Last edited by a moderator: Jun 5, 2017
  6. projectmayhem

    projectmayhem Spaceman Spiff

    Yeah, the old code looks like this..

    Code:
    {
      "itemName" : "Gyrochest",
      "inventoryIcon" : "gyroicons.png:chest",
      "dropCollision" : [-4.0, -3.0, 4.0, 3.0],
      "maxStack" : 1,
      "rarity" : "Common",
      "description" : "Gyro Zeppeli's studded shirt.",
      "shortdescription" : "Gyro Zeppeli's Shirt",
      "inspectionKind" : "armor",
      "maleFrames" : {
        "body" : "chest.png",
        "backSleeve" : "bsleeve.png",
        "frontSleeve" : "fsleeve.png"
      },
    
      "femaleFrames" : {
        "body" : "chest.png",
        "backSleeve" : "bsleeve.png",
        "frontSleeve" : "fsleeve.png"
      },
    
      "statusEffects" : [
        {
          "kind" : "ColdProtection",
          "amount" : 47.5
        },
    
        {
          "kind" : "protection",
          "amount" : 2
        },
    
        {
          "kind" : "healthincrease",
          "amount" : 10
        }
      ],
    
      "colorOptions" : [
        /* UNIQUE BROWN DEFAULT */
        { "ffca8a" : "000000", "e0975c" : "a38354", "a85636" : "735d3e", "6f2919" : "4c3d29" },
        /* BLACK */
        { "ffca8a" : "838383", "e0975c" : "555555", "a85636" : "383838", "6f2919" : "151515" },
        /* GREY */
        { "ffca8a" : "b5b5b5", "e0975c" : "808080", "a85636" : "555555", "6f2919" : "303030" },
        /* WHITE */
        { "ffca8a" : "e6e6e6", "e0975c" : "b6b6b6", "a85636" : "7b7b7b", "6f2919" : "373737" },
        /* RED */
        { "ffca8a" : "f4988c", "e0975c" : "d93a3a", "a85636" : "932625", "6f2919" : "601119" },
        /* ORANGE */
        { "ffca8a" : "ffd495", "e0975c" : "ea9931", "a85636" : "af4e00", "6f2919" : "6e2900" },
        /* YELLOW */
        { "ffca8a" : "ffffa7", "e0975c" : "e2c344", "a85636" : "a46e06", "6f2919" : "642f00" },
        /* GREEN */
        { "ffca8a" : "b2e89d", "e0975c" : "51bd3b", "a85636" : "247824", "6f2919" : "144216" },
        /* BLUE */
        { "ffca8a" : "96cbe7", "e0975c" : "5588d4", "a85636" : "344495", "6f2919" : "1a1c51" },
        /* PURPLE */
        { "ffca8a" : "d29ce7", "e0975c" : "a451c4", "a85636" : "6a2284", "6f2919" : "320c40" },
        /* PINK */
        { "ffca8a" : "eab3db", "e0975c" : "d35eae", "a85636" : "97276d", "6f2919" : "59163f" },
        /* BROWN */
        { "ffca8a" : "ccae7c", "e0975c" : "a47844", "a85636" : "754c23", "6f2919" : "472b13" }
        /*
        { "e0975c" : "a96a44", "a85636" : "804424", "6f2919" : "532612" },
        { "e0975c" : "757575", "a85636" : "515151", "6f2919" : "252525" },
        { "e0975c" : "cf5b36", "a85636" : "a32c1a", "6f2919" : "721706" },
        { "e0975c" : "358ec7", "a85636" : "1f5a91", "6f2919" : "112766" },
        { "e0975c" : "dedb57", "a85636" : "968b32", "6f2919" : "6f6421" },
        { "e0975c" : "815892", "a85636" : "5a3d65", "6f2919" : "291c2e" },
        { "e0975c" : "83d358", "a85636" : "529634", "6f2919" : "306e23" },
        { "e0975c" : "e3b21c", "a85636" : "9d7319", "6f2919" : "735212" },
        { "e0975c" : "dda1dd", "a85636" : "9c5f99", "6f2919" : "663b5f" },
        { "e0975c" : "aaaaaa", "a85636" : "6f6f6f", "6f2919" : "494949" },
        { "e0975c" : "d8d8d8", "a85636" : "8d8d8d", "6f2919" : "636363" }
    */
      ]
    }
    


    In order to update it, you would need it to look more like this....


    Code:
    {
      "itemName" : "Gyrochest",
      "inventoryIcon" : "icons.png:chest",
      "dropCollision" : [-4.0, -3.0, 4.0, 3.0],
      "maxStack" : 1,
      "rarity" : "Common",
      "description" : "Gyro Zeppeli's studded shirt.",
      "shortdescription" : "Gyro Zeppeli's Shirt",
      "tooltipKind" : "armor",
    
      "maleFrames" : {
        "body" : "chestm.png",
        "backSleeve" : "bsleeve.png",
        "frontSleeve" : "fsleeve.png"
      },
    
      "femaleFrames" : {
        "body" : "chestf.png",
        "backSleeve" : "bsleeve.png",
        "frontSleeve" : "fsleeve.png"
      },
    
      "level" : 1,
       "leveledStatusEffects" : [
        {
          "levelFunction" : "standardArmorLevelPowerMultiplierMultiplier",
          "stat" : "powerMultiplier",
          "baseMultiplier" : 1.25
        },
        {
          "levelFunction" : "standardArmorLevelProtectionMultiplier",
          "stat" : "protection",
          "amount" : 0.5
        },
        {
          "levelFunction" : "standardArmorLevelMaxEnergyMultiplier",
          "stat" : "maxEnergy",
          "amount" : 5
        },
        {
          "levelFunction" : "standardArmorLevelMaxHealthMultiplier",
          "stat" : "maxHealth",
          "amount" : 5
        }
      ],
    
      "itemTags" : [ "tier1armour" ]
    }
    
    [
     
  7. TheHero2805

    TheHero2805 Scruffy Nerf-Herder

    Thank you for your help. I'm going to test if this whole mod works after I've changed this just to see if I need to update the lua in any way.

    I have tested everything after changing all the files that were outdated except for the lua files. After running Starbound, realizing that it still crashes after it's finished loading and checking the lua again with help of the official Starbound wiki I've found out that the lua is outdated as well... Now I need help updating the lua since I don't know how to code with it.
     
    Last edited by a moderator: Jun 5, 2017

Share This Page