Signals & Track Missing Signal Label

Discussion in 'PC Editor Discussion' started by ben#6357, Jul 9, 2024.

Tags:
  1. ben#6357

    ben#6357 Active Member

    Joined:
    Feb 14, 2024
    Messages:
    144
    Likes Received:
    84
    Hello!
    I have the problem that nothing is displayed on the signal ID plate. Under "Edit Property" I filled out both fields with the designation "Signal ID" and "Signal Display ID" (entered an "18" in each case). However, the designation does not appear on the signal. This happens with all signals.
    Screenshot 2024-07-09 134231.png
     
  2. peterdian

    peterdian Member

    Joined:
    Dec 9, 2016
    Messages:
    37
    Likes Received:
    7
    That might be a problem with editor and fonts... I don't have any signal or other labels in editor, e.g. mileposts... Looking forward to the editor update, so that cooking, fonts, materials, etc. are working as expected.
     
  3. fceschmidt

    fceschmidt Well-Known Member

    Joined:
    Oct 22, 2020
    Messages:
    312
    Likes Received:
    414
    Yeah, I had the same issue, some of the built in fonts don't work for some reason. In some cases you can replace the font but it's a bit hacky. I think we'll have to wait for an editor fix regarding this issue.
     
  4. ben#6357

    ben#6357 Active Member

    Joined:
    Feb 14, 2024
    Messages:
    144
    Likes Received:
    84
    Can you also replace the font for the signals?
     
  5. fceschmidt

    fceschmidt Well-Known Member

    Joined:
    Oct 22, 2020
    Messages:
    312
    Likes Received:
    414
    It's not impossible...

    So for german style signals, the complexity is that in order to get it working here and now you will have to create a new blueprint in your own plugin which inherits from the DE_SignalSign_Base class*. In this derived blueprint you can design your sign's base plate (using a static mesh component) and put a text render component on it with whatever font you like and override the "Set Text" function to set the text of the text render. You'll need to tweak the size, font etc. of the text render component, but you can do essentially anything you like in that blueprint. In terms of useful things you could even automatically squeeze the text when it's too wide for the base plate, etc. The limit is your imagination.

    Anyway, next you can replace the class of the sign that is referenced in the settings of the signal view which you have placed with your derived blueprint, and the broken sign should magically be replaced by your sign with working text.

    * potentially there are multiple options with that name, which exact variant you will have to use depends on which plugin you used for your signals in general
     
    • Like Like x 1
  6. emil#3734

    emil#3734 Well-Known Member

    Joined:
    Sep 25, 2023
    Messages:
    365
    Likes Received:
    285
    I actually made everything fully functional, but I still gotta do a tutorial...
     
    • Like Like x 1
  7. fceschmidt

    fceschmidt Well-Known Member

    Joined:
    Oct 22, 2020
    Messages:
    312
    Likes Received:
    414
    Oh that's even better, any insights into how you did that?
     
  8. emil#3734

    emil#3734 Well-Known Member

    Joined:
    Sep 25, 2023
    Messages:
    365
    Likes Received:
    285
    You'll see in a moment, when I'm posting it...
     
  9. emil#3734

    emil#3734 Well-Known Member

    Joined:
    Sep 25, 2023
    Messages:
    365
    Likes Received:
    285
    • Like Like x 1

Share This Page