Skip to content

IsCoreDefender

Changed in 0.2.0

Makes a vehicle or structure type immune to EM pulses by default, draws the vehicle like a structure, and marks the structure as a deployed vehicle.

Core defender structure

Specification — Core defender structure
Applies to
BuildingType
File
rules.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no

IsCoreDefender=yes makes the structure one of the deployed-vehicle kinds. A vehicle that deploys into it places it on the vehicle’s cell, not one cell away, and the structure undeploys back onto that cell. It can be undeployed whether or not the session allows redeploying.

When the type leaves out ImmuneToEMP, the flag also makes the structure immune to EM pulses. A pulse that powers off and stuns other structures leaves it running and only springs its Paralyzed trigger event. Set ImmuneToEMP=no to remove the immunity.

Core defender vehicle

Specification — Core defender vehicle
Applies to
UnitType
File
rules.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no

On a vehicle, IsCoreDefender=yes has two unrelated effects.

When the type leaves out ImmuneToEMP, the flag makes the vehicle immune to EM pulses. A pulse that stops and stuns other vehicles leaves it moving and only springs its Paralyzed trigger event. Set ImmuneToEMP=no to remove the immunity.

The vehicle is also drawn the way a structure is. When selected, it gets a box-shaped selection outline and a structure’s pip bar along the near edge of its footprint, where other vehicles get a bracket and a row of health pips. The outline is 700 leptons tall, a little under three cell widths.

An unselected core defender vehicle is drawn the same way while it is underground on a cell that the player’s sensor array detects.

History

  1. Changed0.2.0In development

    Let a type say it is immune to an EM pulse — buildingtype

  2. Changed0.2.0In development

    Let a type say it is immune to an EM pulse — unittype