Skip to content

ImmuneToEMP

Added in 0.2.0

Stops an EM pulse from stunning, powering off, downing or destroying objects of this type.

Specification
Applies to
AircraftTypeBuildingTypeInfantryTypeUnitType
File
rules.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
Context-dependentA BuildingType or UnitType uses its `IsCoreDefender=` value. Every other type uses `no`.
rules.ini
[MYTANK] ; a UnitType registered in [VehicleTypes]
ImmuneToEMP=yes

With ImmuneToEMP=yes, an EM pulse from any source, including an EMEffect=yes warhead, has no effect on objects of this type:

  • a vehicle, cyborg, burrowing object or aircraft on the ground is not stunned;
  • an aircraft taking off or landing does not crash;
  • a structure is not powered off or stunned;
  • a limpet mine is not destroyed.

An immune object still springs its Paralyzed trigger event when a pulse reaches it.

The key changes nothing for objects that a pulse never affects, such as infantry other than cyborgs and aircraft one height level or more above the ground.

To make an IsCoreDefender=yes type vulnerable, set ImmuneToEMP=no.

History

  1. Added0.2.0In development

    Let a type say it is immune to an EM pulse