Repository navigation
SMX SecondMap Bridge
🇬🇧 English · 🇩🇪 Deutsche Version
Source:
SkyMap-X-DEV(Scripts/Game/Map/Provider/, hooks inSMX_MainComponentX), bridge addonsSIDC-SecondMap-SMX-Bridge(-Beta)andSIDC-SMX-Bridge(-Beta). Status: beta — the production bridges still carry the older scripts and need a release SkyMap-X that contains the provider and hooks.
The map inside the SkyMap-X tablet (Mini / Big / Hand) is replaceable. SkyMap-X only asks a map provider to open, close, zoom and pan; the tablet UI stays the same. By default the provider is the vanilla map (SCR_MapEntity). With the bridge addons loaded, the tablet shows the SIDC-SecondMap (its own renderer, embedded mode) instead.
SkyMap-X, SIDC-Framework and SIDC-SecondMap do not depend on each other. Reforger has no optional dependencies, so two small bridge addons link them (by ID) and hook in with modded class only:
| Addon | Needs | Does |
|---|---|---|
SIDC-SMX-Bridge (-Beta) |
SkyMap-X, SIDC-Framework | Sets the physical SIDC channel (ATAK) for the tablet |
SIDC-SecondMap-SMX-Bridge (-Beta) |
SkyMap-X, SIDC-Framework, SIDC-SecondMap | Shows the SecondMap in the tablet frame, draws BFT trackers as SIDC markers |
Load either the Beta or the Production pair, never both. The Beta pair needs the SkyMap-X beta project (SkyMapXbeta); an old copy of the same GUID in the Workbench addons folder must be removed, otherwise the old scripts load.
-
The tablet map is the SecondMap: SIDC markers, drawing, the SIDC keybinds and the channel info all work on the tablet.
-
Physical channel: while the tablet is on and whenever its map opens, you are on ATAK. Exception: the server allows "All" and set it as default — then it stays on All. When the tablet is switched off, your previous channel is restored.
-
Normal map (paper map): opening it while the tablet is on sets the channel to the default again (Map, or All if the server default is All).
-
Markers you place on the tablet are ATAK markers (visible on the tablet), markers placed on the normal map are Map markers.
-
BFT trackers (device, SMT, UTD) appear as SIDC symbols with their name in the info field and no direction arrow. Friend (own faction) / neutral (CIV) / hostile (other) is set automatically.
-
Server setting
bftShowMarkersOnMap:false→ BFT markers are shown only on the tablet, never on a map (even on the All channel).true→ also on the normal map. -
Pressing Big/Mini while the paper map is open closes the map and then opens the requested mode.
-
Not synced to world displays: BFT markers (trackers) are not shown on tablet-watching displays or monitors, only SIDC markers; the server does not stream trackers to viewers without an active SMX tablet. See SIDC-SecondMap §10.
-
Brightness: the tablet brightness (keybinds / settings slider) is forwarded to the SecondMap (
SMX_MapProvider.SetBrightness→SIDC_SecondMap_ViewBase.SetSyncBrightness) and synced to the world displays that show your tablet (tablet watching, monitors), which dim accordingly. Details: SIDC-SecondMap §10. -
Screen mirror (WIP): with the bridge, the GPS mode of a mirrored tablet / coupled monitor shows the real SecondMap instead of the static picture, and coupling an SMX monitor also couples its SIDC display. See Screen Mirror & Tablet ID.
SIDC-SecondMap-SMX-Bridge → Configs/SMX_SIDC_TrackerMarkers.conf: one entry per faction and tracker kind (DEVICE, SMT, UTD).
-
m_FactionConfig: drag and drop e.g.SMX_Faction_FIA.conf— the first faction key in it (e.g.FIA) is the tracker's key. Orm_sFactionKeyas plain text. Both empty = default for all factions. -
m_sSidc: 30-digit SIDC number from the SIDC AllMarkers list. The affiliation digit (4th) is overwritten automatically. - Write the number on one line (
m_sSidc "100327000011010100000000000000").
Override one static function; return your own provider (subclass of SMX_MapProvider):
modded class SMX_MapProviderFactory
{
override static SMX_MapProvider Create()
{
return new MyMapProvider();
}
}
Hooks in SMX_MainComponentX (override and call super): OnTabletPoweredOn(), OnTabletPoweredOff(), OnTabletMapOpening(). If the provider fails to open, SkyMap-X falls back to the vanilla map.
- The map view is rebuilt on every tablet mode change; keeping it alive across Mini/Big/Hand is planned, not done.
- Tablet zoom is capped at 4 px/m (the SecondMap is one big image; higher zoom turns it black).
- Production bridges not updated yet.
-
SMX_TrackedEntityComponent(SkyMap-X): put it on a vehicle or an AI character to give it a BFT marker. Fields: faction config, SIDC, info text, icon. Unit text = group of the driver / the AI group; info only if set in the editor. Visibility is faction-only (observer needs an active tablet). -
SMX_SIDC_PlayerIconComponent(this bridge): put it on a player/character prefab to override the default SIDC icon of that player's tablet / SMT (e.g. GR vs. TL). Only the icon changes, never visibility. Empty = config default. - Faction: from the faction config if set, otherwise from the entity (
FactionAffiliationComponent, incl. the vehicle / character variants; re-read every 2 s, so a vehicle follows its crew). Symbol colour per faction = entries of kindVEHICLE/AIinConfigs/SMX_SIDC_TrackerMarkers.conf(4th SIDC digit = affiliation). - Empty vehicle: unit text (T) stays empty until a driver with a group enters; the info text only appears in H.
-
Vehicle name by the player (fuel cap): the action Change vehicle name (BFT) (
SMX_UserAction_EditCarName) sits on thefuel_capcontext of the vehicle prefab (Vehicle_Base.et), only on vehicles with the component. It opens a dialog (SMX_UI_Driver_Edit-BFT.layout:eb_CarName,btn_apply,btn_cancel). The server only accepts it within 12 m of the vehicle; max. 32 characters. Unit text =group - vehicle name(e.g. for convoys); without a name only the group. Preset value in the editor:m_sCarName. -
Occupants: the device markers (tablet / SMT / UTD) of the occupants are hidden while they sit in a tracked vehicle, so they do not stack. The info text shows
driver name [+N](N = further occupants with an active tracker). - Status: AI / vehicles show fully capable / damaged / destroyed from damage and consciousness; the Zeus can force it.
-
Sees everything: a player with the full Zeus editor sees all BFT markers (no tablet / faction / subchannel check), also on the vanilla map. Server option
bftShowZeusinSMX_ConfigV3.Json(defaulttrue). -
Zeus map: the editor map has neither
SCR_MapMarkersUInor aMapFrame, so vanilla marker widgets are not drawn there.SMX_ZeusTrackerRenderer(SkyMap-X) draws the trackers itself (SMX icon + text); with the bridge,SMX_SIDC_ZeusTrackerViewdraws SIDC symbols instead. The framework'sSIDC_MarkerRenderer.FindMapFramegot a fallback (parent of the map widget) so normal SIDC markers show on the Zeus map as well. -
Edit BFT: right-click action
SMX_ContextAction_EditBft(based onSCR_SelectedEntitiesContextAction) on an entity with the component opens a dialog (SMX_UI_Zeus_Edit-BFT.layout:eb_info,eb_sidc,cb_status,btn_apply,btn_cancel). The server checks the sender has an open full editor. The action must be added to the editor's context action list (override of the vanilla config). -
Status (Zeus only): fully capable / damaged / destroyed. Auto from damage (AI: unconscious or dead = destroyed, health < 99 % = damaged; vehicle: destroyed state) or fixed in the dialog / component. Shown as the SIDC status digit (index 6: 2 / 3 / 4), only on the Zeus client; never in the export (
Build(tracker, false)). The state is replicated to all clients but only displayed for the Zeus. Dead AI / destroyed vehicles stay as "destroyed" and are removed afterm_iRemoveDestroyedSec(default 300 s, -1 = never).
-
Edit BFT (Zeus): the dialog has a marker picker (Builder picker mode of the framework's Advanced Builder) and a live
SIDC_MarkerViewpreview next to the SIDC field. -
Defaults: player characters get no AI marker;
SMX_SIDC_PlayerIconComponent.GetSidc()only applies while the character is player-controlled. Destroyed markers are removed afterm_iRemoveDestroyedSec(default -1 = never). -
Advanced Builder: Country and Combat effectiveness fields added; Reinforced and Reduced are mutually exclusive (enabling one switches the other off).
MapMarkerBaseSIDCpreview.layoutneedsText_Country/Text_CombatEffectivenesswidgets. -
Inspect menu: lists every field of the marker as
explanation - current value. Modifier texts come fromSIDC-Modifier-<Name>_Description, echelon/mobility fromSIDC-Inspect-Echelon_<n>/Mobility_<n>. Assumption: catalog code = SIDC digits 16-17 / 18-19 (else only the generic modifier text shows).
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