Modding Help PLEASE HELP : Modding Issues

Discussion in 'Starbound Modding' started by Trivectus, May 13, 2015.

  1. Trivectus

    Trivectus Void-Bound Voyager

    Alright it is currently 10 pm in my timezone so when should I continue this in my timezone?
     
  2. Kayuko

    Kayuko Oxygen Tank

    Uhm... Idk, in about 8-10 hours?
    If you attach the modfiles I'll just get back to you in a convo when I'm there and / or done.
     
  3. The | Suit

    The | Suit Agent S. Forum Moderator

    Kayuko likes this.
  4. Trivectus

    Trivectus Void-Bound Voyager

    So what it looks like from the guide is that I don't need

    "__merge" : [],

    Is that correct?
     
  5. Kayuko

    Kayuko Oxygen Tank

    Post an example from a file using __merge.
    It's not THAT simple, but __merge is now:

    [
    {
    "op" : "add/replace/remove",
    "path" : "/xxx",
    "value" : "xxx"
    }
    ]
     
  6. Trivectus

    Trivectus Void-Bound Voyager

    Sorry I don't really use coding ever so how exactly does this work, what exactly should I add, I am so sorry for the trouble.
     
  7. Kayuko

    Kayuko Oxygen Tank

    Nono, merge doesn't need to be in the file anymore.
    Oh and, don't forget to rename the file xxx.xxx.patch, or you'll run into the same error again.
     
  8. Trivectus

    Trivectus Void-Bound Voyager

    So this is my code after:

    {
    [
    {
    "op" : "add",
    "path": "/defaultBlueprints/tier1/0",
    "value": { "item" : "flaglv" }
    }
    ]
    "defaultBlueprints" : {

    "tier1" : [
    { "item" : "flaglv " }
    ]
    }
    }



    The old one is below

    Did I edit it correctly?

    {
    "__merge" : [],
    "defaultBlueprints" : {

    "tier1" : [
    { "item" : "flaglv " }
    ]
    }
    }[DOUBLEPOST=1431554172][/DOUBLEPOST]And do I rename play.config to xxx.xxx.patch or which file do I rename
     
  9. Kayuko

    Kayuko Oxygen Tank

    {
    [
    {
    "op" : "add",
    "path" : "/defaultBlueprints/tier1/-",
    "value" : { "item" : "flaglv"}
    }
    ]
    }
    }


    Red is deleted. Orange changed. And the obvious changes are - well - obvious.
    But that's how it works.

    Little info on a sidenote:

    You had still defined the path (defaultBlueprints and tier1) in the value-section.
    Only needs to be defined withing the paths function.
     
  10. Trivectus

    Trivectus Void-Bound Voyager

    Thank you very much, now this I rename the player.config file to xxx.xxx.patch correct?
     
  11. Kayuko

    Kayuko Oxygen Tank

    Uh, not x actually, that was just a placeholder.
    The new name is player.config.patch
     
  12. Trivectus

    Trivectus Void-Bound Voyager

    I know it was a place holder, :p
     
  13. Kayuko

    Kayuko Oxygen Tank

    You never know!
    There are people out there that'd really call the file xxx.xxx.patch, sad but true. x:
     
  14. Trivectus

    Trivectus Void-Bound Voyager

    Yet more problems....the flag shows up as an item but it doesn't have the icon or appearance I set it to have in the .object file
     
  15. Kayuko

    Kayuko Oxygen Tank

    What does the object file look like?
    And, I hope the pngs are in the same folder like the object file?
     
  16. Trivectus

    Trivectus Void-Bound Voyager

    {
    "objectName" : "flaglv",
    "rarity" : "Common",

    "category" : "crafting",
    "price" : 100,

    "description" : "The Laisvatanian flag. The famous lotus banner.",
    "shortdescription" : "Laisvatanian Flag",
    "race" : "hylotl" ,

    "apexDescription" : "The Laisvatanian flag. Barbarian Pirates.",
    "avianDescription" : "A Laisvatanian flag. A rare sight.",
    "floranDescription" : "Floran never seen thissss.",
    "glitchDescription" : "Confusion. A Laisvatanian flag?",
    "humanDescription" : "A Laisvatanian flag. Raider land if you ask me...",
    "hylotlDescription" : "The Laisvatanian flag. Most dangerous of my kind.",


    "inventoryIcon" : "lvunionicon.png",
    "orientations" : [
    {
    "dualImage" : "lvunionflag.png:<color>.<frame>",
    "imagePosition" : [-16, 0],
    "frames" : 6,
    "animationCycle" : 1.0,

    "spaceScan" : 0.1,
    "anchors" : [ "bottom" ]

    }
    ]
    }
     
  17. Kayuko

    Kayuko Oxygen Tank

    Huh, this should actually work.
    Can you attach a starbound log (again)?
    If there's an issue with image resolving, it's mentioned in there.

    Tho I'm not sure about the image position being -16, but I'm sure there's a reason.
     
  18. Trivectus

    Trivectus Void-Bound Voyager

    Alright I fixed it. Thank you so much for your assistance.
     
  19. Kayuko

    Kayuko Oxygen Tank

    Well, you're welcome, glad you got it working. :3
     

Share This Page