Skip to content

SMX Drones

Hey Sky edited this page Nov 12, 2026 · 1 revision

SkyMap-X — Drones (in development)

🇬🇧 English · 🇩🇪 Deutsche Version

Status: work in progress (Beta branch), not yet released or fully tested. Source: SkyMap-X-DEV → SMX_DroneComponent.c, SMX_DroneChargerComponent.c, SMX_UserAction_ChargeDrone.c, SMX_ModeHelper_Feed.c.

1. What it is

Small reconnaissance drones (first: Black Hornet PD-100, 17 g, max 5 m/s, about 25 min flight time, much less in wind) that you carry as an inventory item and fly from the Feed menu of the SMX tablet. Larger drones with fixed equipment (case, station) are planned.

2. Using a drone

  1. Drop the drone, then pick the drone entry in the Feed list (cams and drones share the list).
  2. Fnc3 = Pilot: take control (if free) or release it. The pilot's name is shown. Everybody else can only watch or operate the camera. Start takes control automatically if nobody is pilot.
  3. Fnc4 = Camera switch (only if the drone has several cameras, shown as "1/3"). The choice is local, so two players can watch different cameras of one drone.
  4. Fly with the keys (Keybinds menu → Drone button mapping): forward/back, up/down, yaw left/right, strafe (Ctrl + yaw), Slow. Command keys/buttons: Takeoff/Land, RTH (return home), Hold (cancel landing/return and hover), Shutdown.
  5. Flight keys only work while you are the pilot of the selected drone (movement keys are then used for the drone, not your character).

The panel shows battery (ASCII bar), time left, power, state, mode, speed + heading, height above ground and link quality, plus warnings for low battery and weak link.

3. Flight and battery model

  • Server-side flight controller (no helicopter simulation): speed and climb are limited, wind pushes the drone, drag grows with speed relative to the air.
  • Battery drain depends on required motor power: hovering, speed (cubic with airspeed) and headwind increase it. Below 20 % the available power sinks, warning at 25 %, automatic return at 10 %, at 0 % the motors stop.
  • Failsafes: low battery and lost radio link (out of range for 5 s) trigger return home. A drone in an inventory cannot fly.

4. Charging

The PD-100 has a fixed battery. Carry a charger item and use the action Charge Drone on the landed, switched-off drone: each use charges 10 %, and the time per use depends on the battery capacity (PD-100: about 12 s).

5. Setting up a drone prefab (modders)

Component Notes
SMX_DroneComponent Flight, battery and link attributes (category "SMX - Drone …")
SMX_ItemDeviceComponent Camera role; m_iCamID = 1 for the first camera, 2, 3 … for more cameras on the same entity (only camera 1 registers a device); m_bShowCamName + m_sCamName optional
InventoryItemComponent The drone itself is the inventory item
SMX_UserAction_ChargeDrone In the actions manager; set the action Duration = capacity (Wh) × 0.1 × 100 s
SMX_DroneChargerComponent On the charger item (m_fChargeStep, m_fSecondsPerWh)

6. Planned

Autonomous modes (follow target / unit, route, orbit, go-to-point from the map), waypoints, light, payload and weapon slots, ground station, radio relay and jamming for larger drones.

Clone this wiki locally