LCD Screen formatting tags

Discussion in 'General Discussion' started by shadowiviper, Jun 29, 2020.

  1. shadowiviper

    shadowiviper Commander

    Joined:
    Apr 13, 2020
    Messages:
    89
    Likes Received:
    145
    Is there a full list or documentation anywhere of the codes that can be used within an LCD screen? I've seen in game the tooltip that covers the basics (<b>, <i>, <color> etc) all of which make sense and I've used pretty much all of them combined with EmpyrionScriptingMod.

    Today I spotted in https://empyriononline.com/threads/what-did-you-do-in-empyrion-today.2826/page-1060#post-400536 an awesome looking projector by @Atomino that uses additonal tags that (unless I'm blind) I can't see documented anywhere, such as "<pos>". Possibly this is something added in A12 but having checked, I can't see it in the help file within the screen itself or used in any of the example screens in the default blueprints / prebuilt structures in creative.

    So the question is, is "<pos>" the only *new* tag that doesn't appear in the documentation, or are there others that anyone has found, and are there any plans to update the help files to include any missing tags?

    I'll try to keep this thread as a comprehensive list as/when any more options are discovered:

    • <b> - bold
    • <u> - underline
    • <i> - italic
    • <sub> - subscript
    • <sup> - superscript
    • <cspace> - character spacing
    • <line-height> - vertical spacing between lines (whole screen)
    • <size> - font size
    • <color> - font colour, named or hex, supports alpha
    • <indent> - pixel or %, absolute horizontal positioning
    • <pos> - ?? possibly the same as <indent>
    I may be missing some already documented above until I can check in game so will update later
     
    #1
    Lyceq and Sephrajin like this.
  2. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,274
    Likes Received:
    11,936
    #2
  3. shadowiviper

    shadowiviper Commander

    Joined:
    Apr 13, 2020
    Messages:
    89
    Likes Received:
    145
    Thank you very much! Definitely some interesting looking options in there if they work, should be interesting to have a play with later :)
     
    #3
    ravien_ff likes this.
  4. shadowiviper

    shadowiviper Commander

    Joined:
    Apr 13, 2020
    Messages:
    89
    Likes Received:
    145
    Working off the documentation that @ravien_ff so kindly dug up, I've tested through the list and most do work though not all are useful - uppercase,lowercase,noparse etc. The most useful ones I've found are:

    <mark> - highlighting text
    Code:
    This is some <mark=#AAFF0040>Highlighted</mark> text
    
    upload_2020-6-29_22-17-59.png

    <voffset> - vertical alignment/text positioning, but doesnt allow overlap like <indent> does
    Code:
    -----------------
    This is <voffset=5>one</voffset> line <voffset=-10>of</voffset> text
    -----------------
    
    upload_2020-6-29_22-30-47.png

    <line-indent> vs <indent>
    Code:
    <line-indent=15%>This is the first line of this text example.
    This is the second line of the same text.</line-indent>
    
    <indent=15%>This is the first line of this text example.
    This is the second line of the same text.</indent>
    
    upload_2020-6-29_22-35-1.png

    <margin> - only left and right, no top/bottom margin
    Code:
    <margin=10>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis eleifend fringilla blandit. Curabitur pharetra eget sapien non bibendum. In malesuada blandit facilisis. Nulla interdum dui arcu.</margin>
    
    upload_2020-6-29_22-38-4.png

    <sprite> - the spites selected from the popup menu can have a tint/color applied to them!!
    Code:
    Default:     <size=12><sprite=56></size>
    Green:       <size=12><sprite=56 color=#00FF00></size>
    Yellow:      <size=12><sprite=56 color=#FFFF0020></size>
    Clear:        <size=12><sprite=56 color=#FFFFFF10></size>
    
    Default: <size=12><sprite name="Engineering_Bar"></size>
    Red:     <size=12><sprite name="Engineering_Bar" color=#AA222260></size>
    
    upload_2020-6-29_22-55-54.png
     
    #4
    ravien_ff likes this.
  5. Luna3009_CN

    Luna3009_CN Ensign

    Joined:
    Jun 22, 2017
    Messages:
    19
    Likes Received:
    6
    Is it possible or is there a command to create a blinking text without using scripts?
     
    #5
  6. Kaeser

    Kaeser Rear Admiral

    Joined:
    Aug 17, 2015
    Messages:
    1,640
    Likes Received:
    2,422
    #6
    Luna3009_CN likes this.
  7. Luna3009_CN

    Luna3009_CN Ensign

    Joined:
    Jun 22, 2017
    Messages:
    19
    Likes Received:
    6
    Thanx :)
    And facepalm for myself for not thinking that signal logic way earlier...
     
    #7

Share This Page