Added RenameOnDeath update rule

This commit is contained in:
Gustas
2024-09-19 15:23:41 +03:00
committed by abcdefg30
parent 9c60ac23a3
commit b0899d0ee4
33 changed files with 194 additions and 161 deletions

View File

@@ -16,7 +16,7 @@ CABHUT:
Interactable:
SelectionDecorations:
-Demolishable:
-Explodes:
-FireWarheadsOnDeath:
-FrozenUnderFog:
HiddenUnderShroud:
MapEditorData:

View File

@@ -12,9 +12,9 @@ ABAN01:
HP: 60000
MapEditorData:
ExcludeTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 5, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 4
IsometricSelectable:
Height: 72
@@ -33,9 +33,9 @@ ABAN02:
HP: 60000
MapEditorData:
ExcludeTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 5, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 4
IsometricSelectable:
Height: 48
@@ -54,9 +54,9 @@ ABAN03:
HP: 50000
MapEditorData:
ExcludeTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 5, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 4
IsometricSelectable:
Height: 48
@@ -75,9 +75,9 @@ ABAN04:
HP: 40000
MapEditorData:
ExcludeTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 4, 7
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 3
ABAN05:
@@ -437,9 +437,9 @@ CA0001:
Type: heavy
Health:
HP: 40000
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 5, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 4
CA0002:
@@ -454,9 +454,9 @@ CA0002:
Type: heavy
Health:
HP: 40000
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 5, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 4
CA0003:
@@ -755,9 +755,9 @@ CAARAY:
WithIdleOverlay@LIGHT-bright:
Sequence: idle-light-bright
Palette: bright
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 5, 7
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 4
IsometricSelectable:
Height: 72
@@ -781,9 +781,9 @@ CAARMR:
CaptureManager:
Capturable:
Types: building
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 6, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 3, 4
CACRSH01:
@@ -829,9 +829,9 @@ CAHOSP:
CaptureNotification:
TextNotification: notification-building-captured
ProvidesPrerequisite@BuildingName:
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 5, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 4
MapEditorData:
Categories: Civilian building
@@ -869,9 +869,9 @@ CAPYR02:
HP: 40000
MapEditorData:
ExcludeTilesets: SNOW
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 6, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 3, 4
IsometricSelectable:
Height: 96
@@ -890,9 +890,9 @@ CAPYR03:
HP: 40000
MapEditorData:
ExcludeTilesets: SNOW
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 6, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 3, 4
IsometricSelectable:
Height: 96
@@ -911,9 +911,9 @@ CITY01:
HP: 40000
MapEditorData:
RequireTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 5, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 4
IsometricSelectable:
Height: 72
@@ -932,9 +932,9 @@ CITY02:
HP: 70000
MapEditorData:
RequireTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 5, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 4
IsometricSelectable:
Height: 72
@@ -953,9 +953,9 @@ CITY03:
HP: 50000
MapEditorData:
RequireTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 5, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 4
IsometricSelectable:
Height: 48
@@ -974,9 +974,9 @@ CITY04:
HP: 60000
MapEditorData:
RequireTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 5, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 4
IsometricSelectable:
Height: 72
@@ -995,9 +995,9 @@ CITY05:
HP: 60000
MapEditorData:
RequireTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 5, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 4
IsometricSelectable:
Height: 96
@@ -1016,9 +1016,9 @@ CITY06:
HP: 50000
MapEditorData:
RequireTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 7, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 3, 4
IsometricSelectable:
Height: 72
@@ -1037,9 +1037,9 @@ CITY07:
HP: 40000
MapEditorData:
RequireTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 7, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 3, 4
IsometricSelectable:
Height: 60
@@ -1174,9 +1174,9 @@ CITY15:
HP: 50000
MapEditorData:
RequireTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 7, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 3, 4
CITY16:
@@ -1193,9 +1193,9 @@ CITY16:
HP: 50000
MapEditorData:
RequireTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 7, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 3, 4
IsometricSelectable:
Height: 72
@@ -1214,9 +1214,9 @@ CITY17:
HP: 30000
MapEditorData:
RequireTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 7, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 3, 4
IsometricSelectable:
Height: 108
@@ -1235,9 +1235,9 @@ CITY18:
HP: 60000
MapEditorData:
RequireTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 8, 12
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 5, 7
IsometricSelectable:
Height: 72
@@ -1328,9 +1328,9 @@ CTDAM:
Sequence: idle-water-a
WithIdleOverlay@WATER-B:
Sequence: idle-water-b
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 5, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 4
CTVEGA:
@@ -1347,9 +1347,9 @@ CTVEGA:
HP: 10000
MapEditorData:
ExcludeTilesets: SNOW
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 7, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 3, 4
IsometricSelectable:
Height: 72
@@ -1762,9 +1762,9 @@ NTPYRA:
Palette: player
WithIdleOverlay@LIGHTS:
Sequence: idle-lights
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 7, 9
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 3, 5
IsometricSelectable:
Height: 72
@@ -1785,9 +1785,9 @@ UFO:
Type: Heavy
MapEditorData:
RequireTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 9, 12
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 6, 8
IsometricSelectable:
Height: 144

View File

@@ -341,7 +341,7 @@
DamagedSounds: expnew01.aud
DestroyedSounds: crmble2.aud
WithSpriteBody:
Explodes:
FireWarheadsOnDeath:
Weapon: BuildingExplosions
EmptyWeapon: BuildingExplosions
Type: Footprint
@@ -350,11 +350,11 @@
Guardable:
Range: 3c0
Demolishable:
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Weapons: SmallDebris
Pieces: 2, 4
Range: 2c0, 5c0
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Weapons: LargeDebris, LargeDebrisWithTrail
Pieces: 1, 2
Range: 2c0, 5c0
@@ -400,9 +400,9 @@
Notification: StructureSold
WithMakeAnimation:
Condition: build-incomplete
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 3, 5
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 2, 3
WithBuildingRepairDecoration:
Image: allyrepair
@@ -452,9 +452,9 @@
HP: 40000
MapEditorData:
RequireTilesets: TEMPERATE
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Pieces: 1, 3
ThrowsShrapnel@LARGE:
FireProjectilesOnDeath@LARGE:
Pieces: 1, 1
MapEditorData:
Categories: Billboard
@@ -726,7 +726,7 @@
Weapon: CyborgExplode
DamageState: Critical
TriggerOnlyOnce: true
Explodes:
FireWarheadsOnDeath:
Weapon: CyborgExplode
EmptyWeapon: CyborgExplode
DeathSounds:
@@ -822,12 +822,12 @@
Guardable:
BodyOrientation:
CameraPitch: 85
Explodes:
FireWarheadsOnDeath:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
MustBeDestroyed:
RenderSprites:
ThrowsShrapnel:
FireProjectilesOnDeath:
Weapons: SmallDebris
Pieces: 3, 7
Range: 2c0, 5c0
@@ -1212,10 +1212,10 @@
BodyOrientation:
CameraPitch: 85
QuantizedFacings: 0
Explodes:
FireWarheadsOnDeath:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
ThrowsShrapnel:
FireProjectilesOnDeath:
Weapons: SmallDebris
Pieces: 3, 7
Range: 2c0, 5c0

View File

@@ -307,9 +307,9 @@ SONIC:
TurnSpeed: 20
Offset: -170,0,0
WithVoxelTurret:
Explodes:
FireWarheadsOnDeath:
RequiresCondition: !rank-elite
Explodes@ELITE:
FireWarheadsOnDeath@ELITE:
RequiresCondition: rank-elite
Weapon: UnitExplode

View File

@@ -156,11 +156,11 @@ NAFNCE:
RequiresCondition: active-posts == 2
DamageMultiplier: # Prevent all normal damage, but still allows direct kills from the post
Modifier: 0
Explodes:
FireWarheadsOnDeath:
Weapon: BuildingExplosions
EmptyWeapon: BuildingExplosions
Type: Footprint
ThrowsShrapnel@SMALL:
FireProjectilesOnDeath@SMALL:
Weapons: SmallDebris
Pieces: 0, 1
Range: 2c0, 5c0

View File

@@ -543,9 +543,9 @@ STNK:
InitialStance: HoldFire
InitialStanceAI: ReturnFire
-MustBeDestroyed:
Explodes:
FireWarheadsOnDeath:
RequiresCondition: !rank-elite
Explodes@ELITE:
FireWarheadsOnDeath@ELITE:
RequiresCondition: rank-elite
Weapon: UnitExplode

View File

@@ -161,7 +161,7 @@ PROC:
nod: proc.nod
GrantConditionOnPlayerResources:
Condition: contains-tiberium
Explodes:
FireWarheadsOnDeath:
RequiresCondition: contains-tiberium
Weapon: TiberiumExplosion
WithResourceStoragePipsDecoration:
@@ -217,7 +217,7 @@ GASILO:
Amount: -10
GrantConditionOnPlayerResources:
Condition: contains-tiberium
Explodes:
FireWarheadsOnDeath:
RequiresCondition: contains-tiberium
Weapon: TiberiumExplosion
WithResourceStoragePipsDecoration:

View File

@@ -89,7 +89,7 @@ HARV:
MaxHeightDelta: 3
-WithVoxelBody:
WithVoxelUnloadBody:
Explodes:
FireWarheadsOnDeath:
RequiresCondition: !no-tiberium
Weapon: TiberiumExplosion
WithHarvestOverlay: