FirestormWall
Flag: | FirestormWall |
File(s): | rules(md).ini |
Values: | Floating point values: Any decimal number (clearer range should be added in Template:Values). |
Default: | no |
Applicable to: | BuildingTypes |
Logic related to FirestormWall, as a whole or in part, is obsolete in Red Alert 2 and/or Yuri's Revenge. |
Whether or not this BuildingType is part of the Firestorm Defense system. Buildings can be placed like walls, connecting to each other over a distance, and changing their appearance depending on whether neighbouring cells also contain Firestorm Wall sections.
The Firestorm logic does not exist in Red Alert 2 and Yuri's Revenge, but this tag is still parsed. All functions related to activation are not available.
Properties
Firestorm Wall sections have properties that change depending on whether the Firestorm Defense is active or not.
If the Firestorm is active, the Wall cannot be traversed by units, and units entering the wall section are destroyed using FirestormWarhead if they are IgnoresFirestorm=no. Otherwise the wall section behaves like an open gate.
Active Firestorm Wall sections burn IgnoresFirestorm=no projectiles targeting or traversing the wall. Ambient and spread damage is converted and reduces the charge of the super weapon. Inactive Wall sections take damage like normal buildings.
Only inactive Firestorm Wall sections can be sold.
Frame order
The shape file for this building type is expected to have 64 frames followed by 64 shadow frames in this order: 16 for the inactive state, 16 for the damaged inactive state, 16 for the active state and another 16 for the damaged active state. The damaged frames are unused.
Each block of 16 images represent all possible combinations of neighbouring cells containing another Firestorm Wall to connect to. The connection points can be viewed as bits, so frame 0 connects to no other walls, 1 connects to the top-right neighbour, 2 connects to the bottom-right neighbour, 4 to the bottom-left and 8 to the top-left. Adding these values gives the frame number for that number of connections. For example, frame 12 is a corner connecting to the two upper neighbours.