Jump to content

Rubble: Difference between revisions

From ModEnc²
en>Testid123
Created page with "{{Flag |files={{Categ|art(md).ini}} |values=boolean |default=no |types={{Categ|BuildingTypes}} |ts=no |fs=no |hp=no |ra2=yes |yr=yes }} Works best on buildings with '''LeaveR..."
 
m 3 revisions imported
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Flag
{{Flag
|files={{Categ|art(md).ini}}
|files={{Categ|art(md).ini}}
|values=boolean
|values={{values|Strings|art(md).ini sections}}
|default=no
|default=none
|types={{Categ|BuildingTypes}}
|types={{Categ|BuildingTypes}}
|ts=no
|ts=no
Line 10: Line 10:
|yr=yes
|yr=yes
}}
}}
 
Works best on buildings with '''LeaveRubble=yes'''<br>
Works best on buildings with '''LeaveRubble=yes'''
You can customize the picture of rubble  as you want.<br>
 
*How to use, just add '''Rubble=x(any [[SHP]] image)''' in [[Art.ini]] or [[Artmd.ini]]<br>
You can customize the picture of rubble  as you want.
'''[CAMSC10]'''<br>
 
'''Rubble=GAPILL'''<br>
*How to use, just add '''Rubble=x(any [[SHP]] image)''' in [[Art.ini]] or [[Artmd.ini]]
WhenMcBurger Kong '''[CAMSC10]''' was destroyed. Will leave a picture of the '''Pill Box [GAPILL]''' instead<br>
 
;It also uses the [[Foundation]] of '''[CAMSC10]''' to display the red area. When you try to place a building on the original '''[CAMSC10]''' area.<br>
'''[CAMSC10]'''
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)'''
 
'''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.

Latest revision as of 22:03, 31 March 2025

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)