CatStation/Content.Client/Communications/CommunicationsConsoleComponent.cs
Whatstone 041a7e6504
Scrolling text screens (#43997)
* Scrolling text screens

* remove ScrollingTextScreenComponent, fix comments

* shave a pixel off of the frame, commas cut off

* logMissing to false, state does may not exist

* variable timing, offset array serializer

* namespaces are a state of mind

* Use CustomArraySerializer instead of a one-off

* better alphabetize punctuation text

* Unneeded VV access, 4-space meta.json

* Subscription attributes

* cleanup pass

* shift left

* AJCM's suggestions

Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>

* PadRight returns a string.

* kill the loop, use funny division instead

* smoother animations, dark stripe on outer frame

* Update for the new comms console UI

* communications console changes

* can't spell pain without UI

* the ocho

* it's big brain time

* just a touch wider

* UI polish pass - forgive the sins

* look at my attributions dog

* EDITED

* Text screen layer init deferred until startup

* that's a new one

---------

Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
2026-08-15 22:03:22 +00:00

19 lines
689 B
C#

using Content.Shared.Communications;
using Robust.Shared.Prototypes;
namespace Content.Client.Communications;
/// <inheritdoc/>
[RegisterComponent]
public sealed partial class CommunicationsConsoleComponent : SharedCommunicationsConsoleComponent
{
/// <summary>
/// The prototype ID to use in the UI to show what entities a broadcast will display on.
/// </summary>
/// <remarks>
/// The UI works expecting a screen that's roughly 32x16 pixels, centered in a 32x32 box.
/// If this isn't true, create a dummy entity or adjust the margins/scale in MessagingControls.xaml.
/// </remarks>
[DataField]
public EntProtoId ScreenDisplayId = "ScreenDummy";
}