Repository navigation
SMX Screen Mirror
🇬🇧 English · 🇩🇪 Deutsche Version
Source:
SkyMap-X-DEV→Scripts/Game/Components/SMX_ScreenMirrorComponent.c,Scripts/Game/Helper/SMX_ScreenState.c,Scripts/Game/Helper/SMX_MirrorSettings.c; bridgeSIDC-SecondMap-SMX-Bridge(-Beta)→Scripts/Game/SMXBridge/SMX_SecondMapMirror.c. Status: WIP. Branchtablet-spiegelung-2026-11, not compiled or tested yet, not released.
Screen mirror. Other players can see what is on your tablet screen, and a monitor in the world can show your tablet.
- Only a small screen state goes over the network (mode, Hand/Big, brightness, on/off, which camera). It is sent only when something changes. No picture is ever sent.
- Each viewer renders the mirror locally.
Fixed tablet ID. Your tablet's internal ID is derived from your Bohemia account. It stays the same after a server restart or rejoin, so your chats stay intact.
- This is not the "Device ID" text field in the Settings mode. That field stays a free display name.
| Where | Who sees it | When |
|---|---|---|
| Tablet of another player | Players of the same faction in range (default 10 m) | Only while the carrier holds the tablet in Hand or Big view. Mini or stowed closes the mirror after 5 s. |
| Monitor | Everyone in range | After the carrier coupled it (interaction, currently only in German: "Monitor mit eigenem Tablet koppeln" / "Monitor vom Tablet trennen"). Shows all views. |
Visibility works like the SecondMap displays:
- range with hysteresis (opens at r, closes at 1.25·r)
- rendering pauses when the display is out of view
- the display closes 5 s later
- when several displays compete, priority and distance decide
| Tablet state | Without SIDC-SecondMap | With SIDC-SecondMap + bridge |
|---|---|---|
| Off / booting | black. It stays black, even if brightness etc. changes. | black |
| GPS | a static picture (SMX_Mirror_GPS.layout) |
the real SecondMap |
| Chat | static picture (SMX_Mirror_Chat.layout) |
same |
| Settings | static picture (SMX_Mirror_Settings.layout) |
same |
| Feeds | the same camera as the carrier, rendered locally | same |
Brightness
- The screen brightness of the carrier dims the mirror in all modes.
- In the Feeds mode, zoom, camera brightness (EV) and night vision follow the carrier as well. They come through the normal camera-viewer sync.
Feed limits
- At most one mirrored feed is shown per player.
- If you have a different camera open on your own tablet, the mirror shows "NO FEED". The server tracks only one watched camera per player. If both show the same camera, the mirror still works.
The static layouts show nothing about the carrier. They only tell the viewer which mode the tablet is in.
File: $profile:SMX_MirrorSettings.json (per player). A settings UI is planned. Until then, edit the file directly.
| Setting | Default | Meaning |
|---|---|---|
autoMode |
true |
Mirrors open automatically in range |
rangeM |
10 |
Range in metres |
maxDisplays |
2 |
How many mirrors may render at the same time |
qualityPercent |
75 |
Render resolution in % |
onlyWhenInView |
true |
Pause rendering when the display is out of view |
showFeeds |
true |
Show mirrored camera feeds |
- The server derives the ID from your Bohemia account ID (a hash). Only this number is sent to other clients, your account ID is not.
- The chat address is now
T<tablet ID>, e.g.T123456789.- The contact list still shows
Device ID [Info], but only as a label. - Renaming yourself or changing group keeps the chat.
- The contact list still shows
-
Old chat history saved under
Device ID [Info]is moved over once, the first time you open the contact. This only works if your own name and the contact's name are still the same as back then. - Switched-off tablets: messages to a switched-off tablet are held by the server and delivered when it is switched on again.
-
Settings file: your tablet settings are now saved in
$profile:SMX_settings.bin. Older versions usedSMX_settings_{playerID}.bin. The player ID changed each session, so settings could get lost. The old file is taken over once.
Mod boundaries. SkyMap-X, SIDC-Framework and SIDC-SecondMap do not depend on each other.
-
Scripts: SkyMap-X offers two empty hooks in
SMX_ScreenMirrorComponent,HasExternalGpsRenderer()andOnServerCoupled(playerID, coupled). The bridge fills them viamodded class. - Prefabs: SIDC components never go into SkyMap-X prefabs. The bridge adds them through a prefab override or child prefab.
Tablet prefab (SkyMap-X)
-
SMX_ScreenMirrorComponentwithm_bFollowHolder = 1. - An RplComponent is required, for the new RplProps on
SMX_MainComponentX.
Monitor prefab (SkyMap-X)
- RplComponent
- screen material with
$rendertarget -
SMX_ScreenMirrorComponentwithm_bFollowHolder = 0 - ActionsManager with
SMX_ScreenMirrorCoupleAction
In the bridge (only for GPS with SIDC)
- Override the tablet and monitor prefabs and add
SIDC_SecondMap_MonitorComponent:- follow-holder on the tablet
- not follow-holder on the monitor
- Do not add
SIDC_SecondMap_MonitorCoupleAction. Coupling the SMX monitor couples the SIDC display of the same entity as well.
Layouts (UI/Layouts/Mirror/)
-
SMX_MirrorRT.layoutneeds these widget names:RTTexture0,Content,CamFeed,NoFeed,Dim,Off. - The three static layouts can be designed freely.
- Untested. A flicker when switching GPS ↔ Chat with SIDC is possible, because two displays briefly share the render target.
- Two players who are never online at the same time could, extremely rarely, get the same tablet ID.
- No settings UI yet.
SkyKing Mod Docs · EN (Page) / DE (Page-DE) · Keep both languages in sync with the source repos (SkyMap-X-DEV, SpeedUI, SIDC-Framework, Throw Back Grenade) and the companion tools (ATAKmaps, SIDC---C2---Command-Control).
🇬🇧 English
General
SkyMap-X (SMX)
- Overview & Usage
- Workflows (step by step)
- Camera functions (Fnc1/Fnc2, NV)
- Drones (WIP)
- SecondMap Bridge (map provider)
- Chat API (for mods)
- Screen Mirror & Tablet ID (WIP)
SpeedUI (SUI)
SIDC-Framework (SIDC)
Throw Back Grenade (TBG)
Companion tools
🇩🇪 Deutsch
Allgemein
SkyMap-X (SMX)
- Überblick & Bedienung
- Abläufe (Schritt für Schritt)
- Kamera-Funktionen (Fnc1/Fnc2, NV)
- Drohnen (in Arbeit)
- SecondMap-Bridge (Kartenanbieter)
- Chat-API (für Mods)
- Bildschirm-Spiegelung & Tablet-ID (in Arbeit)
SpeedUI (SUI)
SIDC-Framework (SIDC)
Throw Back Grenade (TBG)
Begleit-Tools