Jump to content

Rubble

From ModEnc²
Revision as of 13:16, 6 December 2024 by en>Testid123
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Rubble
File(s): art(md).ini
Values: Strings: Normal text. (Limited to: art(md).ini sections)
Default: none
Applicable to: BuildingTypes


Works best on buildings with LeaveRubble=yes
You can customize the picture of rubble as you want.

[CAMSC10]
Rubble=GAPILL
WhenMcBurger Kong [CAMSC10] was destroyed. Will leave a picture of the Pill Box [GAPILL] instead

It also uses the Foundation of [CAMSC10] to display the red area. When you try to place a building on the original [CAMSC10] area.

the tag for this relies on the first frame of the structure's SHP image being the image used for the rubble (that frame is also drawn in a different palette than the structure itself)