1. Please be advised of a few specific rules and guidelines for this section.

RELEASED Container UI Tweak 2016-07-23

Move the inventory and container windows so they don't obscure the area near the player

  1. Lunchghost

    Lunchghost Master Chief

    Lunchghost submitted a new mod:

    Container UI Tweak - Move the inventory and container windows so they don't obscure the area near the player

    Read more about this mod...
    --- Post updated ---
    Customization Instructions
    (You are basically creating this mod for yourself)

    1. Uninstall/unsubscribe from this mod.

    2. Navigate to the Starbound mods directory: /path/to/Starbound/mods

    3. Create a new folder called myuitweak

    4. In that new folder, create two new files called _metadata and interface.config.patch

    5. Contents of _metadata:
    {
    "author" : "Kluex",
    "dependencies" : [],
    "description" : "My UI Tweak",
    "friendlyName" : "My UI Tweak",

    "name" : "MyUITweak",
    "version" : "1.0"
    }


    6. Contents of interface.config.patch:
    [
    {
    "op": "replace",
    "path": "/displayCenteredWindowGap",
    "value": 160
    }
    ]


    7. Change the line in interface.config.patch starting with "value": to any number you like (the default is 4; this mod sets it to 160; very large values may cause issues)

    8. Launch Starbound and make sure your mod appears in the mods list.
     
    Mumpfbrapp likes this.
  2. Abdurion

    Abdurion Void-Bound Voyager

    I'm sorry but what is the files exactly? notes? i tried it and saved it as UNICODE.
    didn't work, i don't know how is this working.. if anyone can help me, i'd appreciate it!
     
    TMan1019 and BurgerJoint like this.
  3. TMan1019

    TMan1019 Void-Bound Voyager

    Same here, please help!
     
  4. copperstain

    copperstain Intergalactic Tourist

    If you copypasted the code straight from the post, odds are you'll get a JSON parsing error or Asset not found error. Probably because you'll also paste god knows what hidden formatting and linebreaks. Try to copypaste this:
    Code:
    [
        { "op" : "replace", "path" : "/displayCenteredWindowGap", "value" : 160 }
    ]
    
    
    If that still doesn't work, I've added the file that works for me inside a zip.

    This is HUGE improvement for the UI. The inventory screens hiding your player character was driving me mad when trying to cook/eat real quick or reading codexes. Superb tweak all in all :V
     

    Attached Files:

  5. doggovincento

    doggovincento Void-Bound Voyager

    Is this incomptabible with enhanced storage, or merely outdated? Seems to be doing absolutely nothing for me, sadly.
     
  6. anfrony

    anfrony Void-Bound Voyager

    This was fantastic, but for some reason it only worked for me for a while. Then one day Starbound crashed when loading, and when I restarted it this mod no longer worked. I tried deleting the mod and installing it manually with the code you provide, but to no avail, though the mod does show up in the mod list. Do you have any suggestions?
     
  7. Mumpfbrapp

    Mumpfbrapp Scruffy Nerf-Herder

    This Mod fixes in my view one of the top three annoyances in Starbound, and i cannot understand
    how any sane person can play SB without it, much less why this issue is still not adressed by the developers.


    Then the Devs changed the keyname from displayCenteredWindowGap to bringAdjacentWindowGap.

    For Starbound v1.2.2, these lines in interface.config.patch

    [
    {
    "op": "replace",
    "path": "/displayCenteredWindowGap",
    "value": 160
    }
    ]
    have to be replaced by

    [
    {
    "op": "replace",
    "path": "/bringAdjacentWindowGap",
    "value": 160
    }
    ]

    to make it work again.

    I also use the enhanced storage mod and do not see any problems.
     
    rysix likes this.
  8. Wiktornax

    Wiktornax Orbital Explorer

    What is the Path only for inventory?
     
  9. CopperBoltwire

    CopperBoltwire Subatomic Cosmonaut

    Causes crashing upon loading when trying to use the custom version.
     
  10. adam249

    adam249 Space Spelunker

    doesnt work for 1.3.3 even when changing " displayCenteredWindowGap to bringAdjacentWindowGap "
    any new solution to fix this or mod to replace it ?
     
  11. Mumpfbrapp

    Mumpfbrapp Scruffy Nerf-Herder

    It still "seems" to work as long as you first open your inventory window alone, move it to the left, so its position gets stored.
    And from then on, when you open containers, those windows appear at the right side with the proper distance.

    My guess would be that SB remembers the position of the inventory window and when you open containers,
    SB puts the inventory window at its stored place, if that has not changed, it gets placed in the middle of the screen
    which is default, so when we open a container, that window gets placed above the inventorywindow,
    (even though bringAdjacentWindowGap says otherwise).
     
  12. Kyugara

    Kyugara Void-Bound Voyager

    It still doesn't work for me. Since 1.4 is on, did something changed?
    I would like to know the extension of the file, could it be .pak or .txt?
    Should I copy & paste the [ and ] as well?
    Does anyone manage to fix the issue with this MOD?
    PS.: The description doesn't work for me.
     

Share This Page