Modding Help Difficulty relocating the questtracker

Discussion in 'Starbound Modding' started by Inf_Wolf14, Aug 3, 2016.

  1. Inf_Wolf14

    Inf_Wolf14 Parsec Taste Tester

    Alright, working with interfaces. Ive been able to edit the position of all other features of the questtracker including: The frame image, objective labels, and progress bar images.

    However I can't seem to move to expanded window frame, except on the x-axis. I can change the horizontal position, adjust to size of the expansion, and the frame padding but directly moving the expanded frame down by even a few pixels is driving me mad.

    My questtracker.config.patch:
    Code:
    [
      {
        "op" : "replace",
        "path" : "/paneLayout/panefeature/positionLocked",
        "value" : false
      },
    
      {  //Adjust Components Down
        "op" : "replace",
        "path" : "/paneLayout/imgFrame/position",
        "value" : [-131, -123]
      },{  //THIS DOESNT SEEM TO DO ANYTHING
        "op" : "replace",
        "path" : "/paneLayout/imgFrameExpanded/position",
        "value" : [-131, -200]
      },{
        "op" : "replace",
        "path" : "/paneLayout/lblQuestObjectiveList/position",
        "value" : [-125, -103]
      },{
        "op" : "replace",
        "path" : "/paneLayout/imgProgressFrame/position",
        "value" : [-131, -109]
      },{
        "op" : "replace",
        "path" : "/paneLayout/questProgress/position",
        "value" : [-128, -106]
      },{
        "op" : "replace",
        "path" : "/paneLayout/imgCompassFrame/position",
        "value" : [-153, -123]
      },{
        "op" : "replace",
        "path" : "/paneLayout/imgCompass/position",
        "value" : [-141, -112]
      }
    ]
    
    Any obvious syntax that may be there is user error in posting. The JSON is valid and other changes take effect.

    Any insight will be greatly appreciated!
     
  2. XDarkPhoenixX

    XDarkPhoenixX Pangalactic Porcupine

    Unsure as to what, specifically you are trying to do? Are you trying to move the expanded window away from the quest tracker entirely?

    Anyway. Tried a bunch of things. The only time the Expanded Window moves down is when you move the entire quest tracker as one object. I couldn't find a way to move the expanded window down separately/by itself.

    Example: http://i.imgur.com/ChdSElx.png > http://i.imgur.com/PuD9fEu.png
    In one of my mods I switched the Quest Icon and the Codex Icon. So I moved the whole quest tracker down. (I switched it cause it was covering the Action Bar.)

    Edit: In case you are trying to move the ENTIRE quest tracker at once.

    [
    {
    "op": "replace",
    "path": "/paneLayout/panefeature/offset/0",
    "value": -30
    },
    {
    "op": "replace",
    "path": "/paneLayout/panefeature/offset/1",
    "value": -40
    }
    ]
     
    Last edited: Aug 3, 2016
  3. Inf_Wolf14

    Inf_Wolf14 Parsec Taste Tester

    Yeah, it was to move the entire questtracker interface in general. Before, i could move all the components but the expanded window always popped up in the vanilla position.

    Thanks for the help. I faintly remember testing the offset, but it didnt work before. Just tested it, and now it works.
    Probably commented it out on accident when i tried it...
     
  4. XDarkPhoenixX

    XDarkPhoenixX Pangalactic Porcupine

    All good.

    If you need to check syntax is correct, try http://chbrown.github.io/rfc6902/

    The syntax it uses is kind of the long way of doing it. But I haven't had any issues with it.
    Whereas using normal syntax in my mods, sometimes fails for some reason.
     
    Inf_Wolf14 likes this.

Share This Page