Sling Framework enables modders to add external sling transport to aircraft in RimWorld, allowing vehicles and structures to be carried between maps. Requires Harmony and Vehicle Framework.

Sling Framework v17.11.2026 · ModsFire, 1.7 МБ · 5 downloads
Contents

The Sling Framework is a modding tool for RimWorld that allows mod authors to add external sling transport capabilities to aircraft. With this framework, helicopters and similar vehicles can carry vehicles and structures-including small objects like floor lamps-between maps. The specific cargo types available to each aircraft are determined by the add-on author.

How Transport Works

  • When ready to depart, select the cargo and destination.
  • The aircraft hovers over the cargo, lowers its slings, attaches the load, and flies to the map edge with the cargo suspended.
  • On arrival, you choose two landing sites: the cargo is lowered and detached at the first, then the aircraft lands at the second. This allows precise placement of cargo, such as next to a warehouse, while the helicopter can land elsewhere.
  • Only one external cargo can be transported per flight, and its weight counts against the aircraft's cargo capacity.

For Mod Authors

To add sling transport to an aircraft, a simple XML patch is sufficient:

  • Add the SlingFramework.CompProperties_Sling component to an aircraft that uses the Vehicle Framework's launch mechanism.
  • Configure allowed vehicles and structures, including objects as small as 1x1 cells.
  • Set suspension weight limits and individual mass multipliers for the vehicle body, structure, cargo, and passengers.
  • Define tether attachment points on both the aircraft and cargo. Adjust tether thickness, hover height, and spacing between the aircraft and cargo.
  • Set approach speed, approach and departure sides, and the duration of each loading and landing phase.
  • Configure visual and audio effects, including propeller dust, shadows, and coupling/uncoupling sounds.

The package includes an example (Examples/LouieFieldLift) that enables the Louie helicopter from VVE Tier 3 to lift a Lightning car and a standard floor lamp from the base game. This example can be used as a template for creating new add-ons. A C# extension is available for buildings with custom cargo storage and vehicles with unique flight paths.

Dependencies and Add-ons

  • Harmony and Vehicle Framework are required.
  • Supports RimWorld versions 1.6 and 1.7.
  • To use sling transport in a colony, enable the add-on for the relevant aircraft. For example, the "Cherokee Sling - Vehicle and Container Airlift" add-on enables this feature for the Cherokee helicopter from VVE Tier 3. Separate add-ons can be created for other vehicles without requiring the Cherokee Sling.

Version 1.1 Features

  • Added "Change Destination" buttons (F8 or "Change Destination" while approaching/selecting a landing location). The world map opens, and if cargo is attached, it continues with the carrier. The key can be reassigned in control settings.
  • Added "Unload Here and Fly" button (select the cargo cell and press the button; the carrier drops and detaches the cargo, then continues its flight. The carrier does not need a landing pad on this map. Range and fuel are calculated from the unloading cell, considering Cargo Fuel & Reserve).
  • Performance improvements.
Add to collection Report