This Rust plugin lets you fully customize airdrops and cargo planes, including drop speed, flight height, parachute behavior, supply signal precision, and more.
Called when a supply drop is about to be altered. Useful for preventing this plugin from modifying supply drops.
Called when a cargo plane is about to be altered. Useful for preventing this plugin from modifying cargo planes.
Called when a supply signal is about to be altered. Useful for preventing this plugin from modifying supply signals.
Called before the cargo plane updates its drop position. Useful for modifying the drop position.
Called before the supply signal explodes. Useful for modifying the airdrop position or altering the spawned cargo plane.
Features
- Setting how high the cargo plane spawns above the terrain.
- Controlling how fast the cargo plane flies across the map.
- Determining the speed at which the airdrop falls to the ground.
- Enabling airdrops to spawn instantly without the need for a cargo plane.
- Removing the parachute from airdrops.
- Dropping airdrops exactly where the supply signal was thrown.
- Setting how long the supply signal smoke lasts, with an option to remove it.
- Customizing the despawn duration for airdrops.
Compatible Plugins
- Airdrop Turrets - Deploys auto turrets onto airdrops.
- Legacy Airdrops - Brings back legacy airdrops where cargo planes drop multiple airdrops instead of just one.
- Supply Signal Commands - Run commands when a supply signal is thrown.
Configuration
All default values in the config match vanilla settings.
JSON:
{
"Version": "1.2.0",
"Cargo Plane Spawn Height": 250.0,
"Cargo Plane Speed Level": "Normal",
"Instant Drop Without Plane": false,
"Airdrop Fall Speed Level": "Normal",
"Remove Airdrop Parachute": false,
"Drop Airdrop Exactly At Supply Signal Position": false,
"Supply Signal Smoke Duration Seconds": 210.0,
"Airdrop Despawn Time Seconds": 0.0
}
Cargo Plane Spawn Height
- Sets the height at which the cargo plane spawns. Higher values will increase the plane's flight altitude, while lower values (including negative) will decrease it.Cargo Plane Speed Level
- Adjusts the speed of the cargo plane.Instant Drop Without Plane
- If enabled, airdrops will spawn instantly without being dropped by a cargo plane.Airdrop Fall Speed Level
- Controls how quickly the airdrop descends by adjusting its air resistance.Remove Airdrop Parachute
- If enabled, not only will the parachute be removed, but it will also cause the airdrop to fall faster.Drop Airdrop Exactly At Supply Signal Position
- If enabled, the airdrop will land exactly at the position where the supply signal was dropped. By default, the airdrop lands at a random position within a radius around the supply signal.Supply Signal Smoke Duration Seconds
- Sets the duration of the smoke emitted by the supply signal in seconds. Setting it to 0 removes the smoke entirely.Airdrop Despawn Time Seconds
- Specifies how long an airdrop remains before despawning. Set this value to 0 or any negative number to disable despawning.
Cargo Plane Speed Level
and Airdrop Fall Speed Level
config options:- VerySlow
- Slow
- Normal
- Fast
- VeryFast
Developer Hooks
C#:
object OnSupplyDropSettingsChange(SupplyDrop supplyDrop)
- Returning
false
prevents the supply drop from being altered. - Returning
null
allows the default behavior.
C#:
object OnCargoPlaneSettingsChange(CargoPlane cargoPlane)
- Returning
false
denies the settings change for the cargo plane. - Returning
null
allows the default behavior.
C#:
object OnSupplySignalSettingsChange(SupplySignal supplySignal)
- Returning
false
denies the settings change for the supply signal. - Returning
null
allows the default behavior.
Harmony Hooks
The following hooks are implemented via Harmony patches:
C#:
object OnCargoPlaneUpdateDropPosition(CargoPlane cargoPlane, Vector3 newDropPosition)
- Returning a non-null value prevents the cargo plane from updating the drop position.
- Returning null allows it.
C#:
object OnSupplySignalExplode(SupplySignal supplySignal)
- Returning a non-null value prevents the supply signal from exploding.