Skip to content

C4Warhead

Changed in 0.2.0

The warhead used for damage that no weapon deals, such as a demolition charge.

Specification
Applies to
global rules
File
rules.ini
Section
[CombatDamage]
Value
class
When omitted
none

C4Warhead names the warhead the game uses for damage that no weapon deals. Demolition charges use it, and so do many other events.

Most of these events deal forced damage. Forced damage skips the warhead’s Verses table and Immune=yes, so the target always takes the full amount. The main events that deal forced damage through this warhead are:

  • a demolition charge detonating on a structure;
  • a unit docked on a structure when the structure is destroyed;
  • the Destroy attached building trigger action;
  • a train running into an object it cannot crush, which deals 10,000 damage to the object and 20 to the train;
  • an object that falls after losing its support, such as a bridge, when it lands;
  • a laser fence section blowing up with its post, and a vehicle, infantryman or aircraft in a laser fence section’s cell while the fence energizes;
  • a vehicle, infantryman or aircraft moving into a raised firestorm wall section;
  • a bridge collapsing or losing a section, for the objects on it and those left on a cell they can no longer occupy;
  • an infantryman stopped on rock or water, and a vehicle stopped on a cell it cannot enter where no structure stands;
  • Tiberium poisoning an infantryman;
  • an aircraft, jumpjet or tunneling unit with nowhere to land or surface, and a jumpjet that moves while off the ground during an ion storm;
  • collecting an explosive crate, for the collector;
  • an engineer damaging a structure in a multiplayer game;
  • a defeated house having all of its objects blown up;
  • the Self destruct team mission.

The other events deal an explosion around a point. The warhead’s Verses table, Spread and Immune=yes apply to it as they do to a weapon’s blast. The events that explode through this warhead are:

  • a Tiberium chain reaction, and the destruction of a Tiberium-spawning terrain object;
  • an Explodes=yes overlay such as a barrel;
  • a harvester exploding with its load;
  • an aircraft falling to the ground;
  • a drop pod whose passenger cannot be placed;
  • the fragments of an explosive crate;
  • an infantryman demolishing a bridge;
  • the Apply 100 damage at… trigger action;
  • the animation named INVISO, which deals its Damage through this warhead.

The structure damage tick a house takes while short of power also uses this warhead without forcing it, so Verses and Immune=yes apply to it.

A falling aircraft, a stranded vehicle, a destroyed Tiberium-spawning terrain object, a failed drop pod, an explosive crate and a Tiberium chain reaction show explosions chosen from the warhead’s AnimList. Over water, a falling aircraft and a stranded vehicle use SplashList instead when the warhead sets Conventional=yes.

Without C4Warhead, the events that explode deal no damage, and neither does the power tick. A Tiberium chain reaction still burns the Tiberium away. Forced damage still lands in full.

History

  1. Changed0.2.0In development

    Stop vehicles blowing up on a service depot pad