Skip to content

ScrapMetal

Added in 0.2.0

Whether wrecks leave the scrap animations their types name instead of their ordinary ones.

Specification
Applies to
scenarios
File
map file
Section
[SpecialFlags]
Value
boolean
When omitted
noA campaign mission that omits the key plays with scrap wreckage off.

With scrap wreckage on, wherever a destroyed vehicle, aircraft or structure would play an animation from its type’s Explosion list, it plays one from its ScrapExplosion list instead. A type with no ScrapExplosion animations keeps its Explosion animations, so a ruleset can give scrap animations to only some of its types.

Where the setting comes from depends on the kind of game:

  • In a skirmish or a game against other machines, the launch file’s ScrapMetal option decides it, and scrap wreckage is off in a game started without one. The map’s ScrapMetal entry is ignored.
  • In a campaign mission, the map’s ScrapMetal entry in [SpecialFlags] decides it. A campaign mission started from a launch file does not take the option from the file.
  • A saved game keeps the setting it was saved with.

The wreck animation is picked with the random numbers every machine in a match shares, so every machine in a game against other machines must use the same ScrapMetal option. A machine whose launch file disagrees goes out of step with the others.

History

  1. Added0.2.0In development

    Honor the scrap debris option