Text tags for PDA/game [request]

Discussion in 'The Hangar Bay' started by Exacute, May 13, 2017.

  1. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    Anyone have a list, or some documentation, describing what kind of different custom tags the game supports?
    There's stuff like for bold, and [c][HEX] for color, but does anyone have a full list?
     
    #1
  2. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    From what I can tell, the official use includes

    Code:
    [u][/u] - underline
    [b][/b] - bold
    [i][/i] - cursive
    \n - newline
    [c][019245][-][/c] - colored: second [] is hex
    [s][/s] - striked through
    [sub][/sub] - subtext (_)
    [sup][/sup] - supertext (^)
    

    Is there more than these?
     
    #2
    Last edited: May 14, 2017
    Apan Loon likes this.
  3. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
  4. macrogramz

    macrogramz Ensign

    Joined:
    May 31, 2017
    Messages:
    5
    Likes Received:
    0
    You are prolific! :) I'm somewhat behind you in getting all the code figured out. thank you for the help.. so far it looks like a minimal version of a bulletin board (forum) BB_Code almost ..
     
    #4
  5. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
  6. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    in case anyone else is still looking into this

    Bold
    Italic
    Underline
    Strikethru

    [sup] Superscript [/sup]
    [sub] Subscript [/sub]

    [50] Transparency (I haven't figured out the closing tag for this one yet.) It works for any number 1-99

    [c][000000] Color change [-][/c] any html hex code may be used. Both closing tags are required.
    https://www.rapidtables.com/web/color/html-color-codes.html
     
    #6
    Apan Loon likes this.
  7. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    Code:
    [b] Bold [/b]
    [i] Italic [/i]
    [u] Underline [/u]
    [s] Strikethru [/s]
    
    [sup] Superscript [/sup]
    [sub] subscript [/sub]
    
    [50] Transparency (I haven't figured out the closing tag for this one yet.) It works for any number 1-99
    
    [c][000000] Color change [-][/c] any html hex code may be used. Both closing tags are required.
    https://www.rapidtables.com/web/color/html-color-codes.html
     
    #7
  8. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    Unable to confirm.
    Transparancy simply cuts the text off, rather than making it transparant for me atleast..
    (Used it in the PDA)
    Where did you apply it?
    And potentially, do you have a test string?

    I did:

    Code:
     Description: "Greetings, Commander. I am [10]IDA (Integrated Datapad Assistant).\n\nThere has been an unknown malfunction and you have crash landed on the planet in your escape pod, but your vitals are stable.\nThe emergency Robinson Protocol has been activated due to your low health and food levels.\n\nDo you want to follow it?"
       
    With the result being

    [​IMG]

    For testing purposes, I also did the same at the 'preamble', where it also just cut the text off.
     
    #8
  9. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    I test in regular chat, all that works in regular chat
     
    #9
  10. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    Alright.
    Confirmed to work in normal text-chat
    Value indeed 1-99 (99 still being a considerable amount off from not using it
    [​IMG]
    (90,50,10 transparancy)
    Unable to find closing tag ([-] isn't doing it either). Closest workaround is to start a new tag with [99], while it is still not ideal.
    [​IMG]
     
    #10
    Apan Loon likes this.
  11. Apan Loon

    Apan Loon Lieutenant

    Joined:
    Jun 7, 2018
    Messages:
    91
    Likes Received:
    52
    Do these codes work on display blocks in a model as well as UI elements?
     
    #11
  12. Taelyn

    Taelyn Guest

    Dont think it works on LCD screens
     
    #12
  13. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    I can't say, that I've tested.
    I don't *think* they do however. I could be wrong.
    They all work in text-chat, some works in PDA (all but transparancy), some work for playfield descriptions, etc
     
    #13
  14. Apan Loon

    Apan Loon Lieutenant

    Joined:
    Jun 7, 2018
    Messages:
    91
    Likes Received:
    52
    Too bad. It would be cool with more control over those. I have a pretty clear grasp on how these are stored in the EPB files but not so much about what they can contain.

    Edit: From memory I don’t recall seeing any such tags in the EPBs - only a bunch of non-ascii UTF8 characters stands out. Foreground colour, background colour and font size is stored in separate fields. I guess that implies that no tags would work.
     
    #14
    Last edited: Jan 3, 2019
    Exacute likes this.
  15. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    Do feel free to test it tho ;)
     
    #15
  16. Apan Loon

    Apan Loon Lieutenant

    Joined:
    Jun 7, 2018
    Messages:
    91
    Likes Received:
    52
    Lol, I would, if the time wasn’t 5:42 am and I should be sleeping.
     
    #16
    Exacute likes this.
  17. Apan Loon

    Apan Loon Lieutenant

    Joined:
    Jun 7, 2018
    Messages:
    91
    Likes Received:
    52
    Ok, I can confirm that these do NOT work with LCD screens. I did have mixed luck using superscript and subscript unicode characters. The bold and italic sets did not work though and some, like Ⓣⓗⓔⓢⓔ worked in the editor but gave me an error when applying them to the screen. Weird. I suppose we can go back to the original topic now. ;)
     
    #17
    Exacute likes this.
  18. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    Yes, you can use a lot of ascii for the displays, which makes them a little more flexible.
    But I suspected they wouldn't support these tags ;)
    Thanks for checking!

    Honestly, anything related to text-formatting is welcome ;) It's not like this thread is seeing much use
     
    #18

Share This Page