Skip to content

DemandLoadBuildup

Changed in 0.3.0

Loads the structure's construction artwork when each scenario starts, from a loose file or any archive.

Specification
Applies to
BuildingType
File
art.ini
Section
[<Image ID>]Image ID: Image= value; ObjectType ID when omitted
Value
boolean
When omitted
no

With DemandLoadBuildup=yes, the file that Buildup= specifies is loaded when a scenario starts or a saved game is loaded, rather than with the rules, and stays loaded until the next scenario or saved game is loaded. The file can be loose or in any archive. Without the flag, the file is read from a cached archive with the rules, and again when a scenario starts for a Theater=yes or NewTheater=yes type.

This load always looks for the name rewritten for the theater by the structure-art convention, with a .SHP extension, whatever the type’s theater settings say. A Theater=yes structure that sets this flag therefore does not look for a file with the theater’s extension. The load also times the animation the ordinary way Buildup= describes, spreading BuildupTime over the steps. The five-second timing of a Theater=yes type does not apply. Every player in a network game loads the file at the same point, so all of them use the same construction animation.

See also — Buildup, DemandLoad

History

  1. Changed0.2.0Release candidate

    Keep demand-loaded artwork under its owner's lifetime

  2. Changed0.3.0In development

    Load uncached art when each scenario starts