Skip to content

Action

A superweapon's targeting cursor and firing path, or on a scenario the movie played as the mission begins.

Superweapon cursor action

Specification — Superweapon cursor action
Applies to
SuperWeaponType
File
rules.ini
Section
[<ObjectType ID>]
Value
actiontype
When omitted
None

Action= decides what clicking the weapon’s charged cameo does, and which click on the map fires the weapon.

  • With None, clicking the charged cameo fires the weapon at once at cell 0,0, with no targeting step. The stock firestorm defense and hunter seeker are fired this way.
  • Any other value arms targeting mode. The cursor over the map shows this action in place of the usual one, and releasing the left button fires the weapon at the cell under the pointer.

Aiming and the click covers targeting mode in full.

Nuke, IonCannon, DropPod, ChemBomb, EMPulse and EMPulseRange are the actions with superweapon cursors. EMPulse and EMPulseRange are the EM pulse’s in-range and out-of-range cursors.

Type= alone decides what the weapon does when it fires; Action= changes only the cursor and the click. A Type=EMPulse weapon is the exception. Once its targeting mode is armed, its cursor is always one of the EM pulse cursors, and an in-range click fires the first section with Action=EMPulse. Give a Type=EMPulse section Action=EMPulse.

The missile crate also picks its weapon by this key. When some section has Type=MultiMissile, the crate grants the first section with Action=Nuke.

Scenario movie

Specification — Scenario movie
Applies to
scenarios
File
map file
Section
[Basic]
Value
movie
When omitted
<none>
map file
[Basic]
Action=NOD_M04
Theme=APPROACH

The movie plays just before the mission begins. It follows the mission’s briefing, either the Brief movie or the objectives screen, and the dropship loadout screen if the mission has one. It plays only on a fresh start. A restart from the menu or a replay after a loss skips it.

The movie queues the mission’s Theme track as it opens. If the Theme track is already playing behind the objectives screen, it fades out before the movie. A mission that names no action movie queues its Theme at the same point instead.

If the movie does not play, the mission starts with a track from normal rotation. This happens on a restart, when the movie’s file is missing, and in a multiplayer or skirmish game launched without movies.

Theme covers what happens to the track once the movie ends. Intro covers how a movie name is resolved and what happens to one that cannot be found.