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

RELEASED Convenience Mod - (Mostly) Persistent Chat

Discussion in 'Mechanics' started by AlanDavison, Dec 11, 2013.

  1. AlanDavison

    AlanDavison Scruffy Nerf-Herder

    Ahoy again, fellow stargoers, explorers, and beta testers!

    Have you ever been annoyed that the chatbox vanishes so very quickly? Well, fret no more, as there's another very plainly clear value you can change, just as with the fullbright thing.

    File to change (with Steam in its default location):
    Windows (64-bit): C:\Program Files (x86)\Steam\SteamApps\common\Starbound\assets\interface\chat\chat.config
    Windows (32-bit): C:\Program Files\Steam\SteamApps\common\Starbound\assets\interface\chat\chat.config
    Linux: ~/.local/share/Steam/SteamApps/common/Starbound/assets/interface/chat/chat.config
    Mac: ~/Library/Application Support/Steam/SteamApps/common/Starbound/assets/interface/chat\chat.config


    Code:
    {
      "config" : {
        "offset" : [24, 14],
        "lineHeight" : 10,
        "visTime" : 5,
        "fadeRate" : 1.0,
        "chatWrapLimit" : 266,
        "chatSize" : 6,
        "chatHistoryLimit" : 64,
        "font" : {
          "baseSize" : 8,
          "itemSize" : 8,
          "nameSize" : 8,
          "defaultColor" : [255, 255, 255]
        },
        "colors" : {
          "channel" : "^shadow,green;",
          "broadcast" : "^shadow,yellow;",
          "whisper" : "^shadow,pink;",
          "commandResult" : "^shadow,lightgray;"
        }
      },
      "gui" : {
        "panefeature" : {
          "type" : "panefeature",
          "keyDismissable" : true,
          "persistent" : true,
          "anchor" : "BottomLeft"
        },
        "background" : {
          "type" : "background",
          "fileHeader" : "",
          "fileBody" : "/interface/chat/chatpane.png",
          "fileFooter" : ""
        },
        "textBoxBG" : {
          "type" : "image",
          "file" : "/interface/chat/chat.png",
          "position" : [20, 12]
        },
        "textBox" : {
          "type" : "textbox",
          "maxWidth" : 245,
          "position" : [43, 13],
          "color" : "green"
        },
        "say" : {
          "type" : "label",
          "value" : "Say:",
          "position" : [23, 13],
          "color" : "green"
        },
        "upButton" : {
          "type" : "button",
          "position" : [4, 70],
          "base" : "/interface/chat/up.png",
          "hover" : "/interface/chat/upOver.png"
        },
        "downButton" : {
          "type" : "button",
          "position" : [4, 50],
          "base" : "/interface/chat/down.png",
          "hover" : "/interface/chat/downOver.png"
        },
        "bottomButton" : {
          "type" : "button",
          "position" : [4, 30],
          "base" : "/interface/chat/bottom.png",
          "hover" : "/interface/chat/bottomOver.png"
        },
        "modeButton" : {
          "type" : "button",
          "position" : [3, 9],
          "base" : "/interface/chat/galaxy.png",
          "hover" : "/interface/chat/galaxyOver.png"
        }
      },
      "modes" : {
        "universe" : {
          "base" : "/interface/chat/galaxy.png",
          "hover" : "/interface/chat/galaxyOver.png"
        },
        "planet" : {
          "base" : "/interface/chat/planet.png",
          "hover" : "/interface/chat/planetOver.png"
        },
        "admin" : {
          "base" : "/interface/chat/party.png",
          "hover" : "/interface/chat/partyOver.png"
        }
      },
      "bottom" : {
        "atbottom" : {
          "base" : "/interface/chat/bottom.png",
          "hover" : "/interface/chat/bottomOver.png"
        },
        "scrolling" : {
          "base" : "/interface/chat/atbottom.png",
          "hover" : "/interface/chat/bottomOver.png"
        }
      }
    }
    
    
    See the value "visTime" right near the top? Perhaps you could change that to some ludicrously high number.. 50000 seems to work. Though I'd be wary of going over 65535, just in case it's stored in a regular int.

    Just so the beginning of the file looks like this:
    Code:
    {
      "config" : {
        "offset" : [24, 14],
        "lineHeight" : 10,
        "visTime" : 50000,
    
    Not much more to say about this, and a demonstration would just be a very long video of me sitting there with the chat box remaining open for a long time, so I will leave you all with this:

    [​IMG]
    (Yes, Hartnell has Troughton's screwdriver. Don't ask how.)
     
    Last edited: Dec 11, 2013

Share This Page