This Rust plugin disables the flare response of patrol helicopters when they are locked onto by homing missiles, making them defenseless against incoming missiles.
Recommended Plugins
- Patrol Heli No Go Monuments - Prevents the patrol helicopter from flying over specific monuments.
- Patrol Heli Crash Dont Retire - Forces patrol helicopters to crash instead of leaving the map at the end of their lifetime.
- Patrol Heli Crash Sites - Prevents patrol helicopters from crashing at certain monuments.
Configuration
JSON:
{
"Version": "1.1.0",
"Percentage Chance That Heli Cannot Use Flares": 100
}
Percentage Chance That Heli Cannot Use Flares
- Determines the probability (expressed as a percentage) that the patrol helicopter will be unable to deploy flares when targeted by homing missiles.
Harmony Hooks
The following hooks are implemented via Harmony patches:
C#:
object CanPatrolHelicopterFlare(PatrolHelicopter patrolHelicopter)
- Called when the patrol helicopter checks if it should fire flares in response to a homing missile lock.
- Returning false prevents the patrol helicopter from firing flares, while returning true allows it.