Modding Help Assets not loading after patch

Discussion in 'Starbound Modding' started by Etsia, Nov 6, 2019.

  1. Etsia

    Etsia Big Damn Hero

    Heya, so I've been having this issue where the asset I patched isn't showing up. To explain, I'm making a HUD reskin, so the first thing I tried was to replace the path of the toolbar at the top with the asset I have for it. It works, in the sense it doesn't crash, but it doesn't load the asset. Right now the mod is in the mods folder, just trying to avoid dirty edits, any help would be appreciated.

    CODE

    Replacement

    [{ "op" : "replace","path" : "/background/fileBody","value" : "/interface/actionbar/hld_actionbarbg.png" }]

    What's being replaced
    {
    "background" : {
    "type" : "background",
    "fileHeader" : "",
    "fileBody" : "/interface/actionbar/actionbarbg.png",
    "fileFooter" : ""
    }
    }

    File Paths

    Mod

    interface/windowconfig/actionbar.config.patch

    Starbound
    interface/windowconfig/actionbar.config
     
  2. Etsia

    Etsia Big Damn Hero

    I may just be dumb, but I can't find a solution without overriding the texture or actionbar.config
     
  3. Zaakari

    Zaakari Zero Gravity Genie

    Not dumb, no; just missed something little.
    I took a look at the "actionbar.config" file, and the "background" object is within the "paneLayout" object. So your replace path ought to be:
    Code:
    "/paneLayout/background/fileBody"
    Your description of your issue is very well laid out, by the way; good job (that helps make responses like this quite simple).
     
    Last edited: Nov 7, 2019
    Etsia likes this.
  4. Etsia

    Etsia Big Damn Hero

    *facepalm*

    Thank you, It is very appreciated, I'll take heed to observe every bracket
     

Share This Page