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

@@ -0,0 +1,32 @@
#region Copyright & License Information
/*
* Copyright (c) The OpenRA Developers and Contributors
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version. For more
* information, see COPYING.
*/
#endregion
using System.Collections.Generic;
namespace OpenRA.Mods.Common.UpdateRules.Rules
{
public class RenameOnDeath : UpdateRule
{
public override string Name => "Rename Explodes to FireWarheadOnDeath and ThrowsShrapnel to FireProjectilesOnDeath.";
public override string Description =>
" The Explodes trait was renamed to FireWarheadsOnDeath." +
" The ThrowsShrapnel trait was renamed to FireProjectilesOnDeath.";
public override IEnumerable<string> UpdateActorNode(ModData modData, MiniYamlNodeBuilder actorNode)
{
actorNode.RenameChildrenMatching("Explodes", "FireWarheadsOnDeath");
actorNode.RenameChildrenMatching("ThrowsShrapnel", "FireProjectilesOnDeath");
yield break;
}
}
}

View File

@@ -89,6 +89,7 @@ namespace OpenRA.Mods.Common.UpdateRules
new AddMarkerLayerOverlay(), new AddMarkerLayerOverlay(),
new AddSupportPowerBlockedCursor(), new AddSupportPowerBlockedCursor(),
new MovePreviewFacing(), new MovePreviewFacing(),
new RenameOnDeath(),
// Execute these rules last to avoid premature yaml merge crashes. // Execute these rules last to avoid premature yaml merge crashes.
new ReplaceCloakPalette(), new ReplaceCloakPalette(),

View File

@@ -253,7 +253,7 @@
AttackMove: AttackMove:
WithDamageOverlay: WithDamageOverlay:
WithFacingSpriteBody: WithFacingSpriteBody:
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeSmall Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall EmptyWeapon: UnitExplodeSmall
Guard: Guard:
@@ -308,7 +308,7 @@
Type: GroundPosition Type: GroundPosition
ActorLostNotification: ActorLostNotification:
TextNotification: notification-unit-lost TextNotification: notification-unit-lost
Explodes: FireWarheadsOnDeath:
Weapon: HeliExplode Weapon: HeliExplode
EmptyWeapon: HeliExplode EmptyWeapon: HeliExplode
AttackMove: AttackMove:
@@ -660,7 +660,7 @@
TextNotification: notification-unit-lost TextNotification: notification-unit-lost
AttackMove: AttackMove:
WithDamageOverlay: WithDamageOverlay:
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeShip Weapon: UnitExplodeShip
EmptyWeapon: UnitExplodeShip EmptyWeapon: UnitExplodeShip
Guard: Guard:
@@ -697,7 +697,7 @@
DamagedSounds: xplobig4.aud DamagedSounds: xplobig4.aud
DestroyedSounds: crumble.aud, xplobig4.aud DestroyedSounds: crumble.aud, xplobig4.aud
WithSpriteBody: WithSpriteBody:
Explodes: FireWarheadsOnDeath:
Type: Footprint Type: Footprint
Weapon: BuildingExplode Weapon: BuildingExplode
EmptyWeapon: BuildingExplode EmptyWeapon: BuildingExplode
@@ -827,7 +827,7 @@
Interactable: Interactable:
Tooltip: Tooltip:
GenericName: meta-civfield-generic-name GenericName: meta-civfield-generic-name
-Explodes: -FireWarheadsOnDeath:
-ShakeOnDeath: -ShakeOnDeath:
-SoundOnDamageTransition: -SoundOnDamageTransition:
-Demolishable: -Demolishable:
@@ -1082,7 +1082,7 @@
WithColoredOverlay@IDISABLE: WithColoredOverlay@IDISABLE:
Color: 000000B4 Color: 000000B4
ScriptTriggers: ScriptTriggers:
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeSmall Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall EmptyWeapon: UnitExplodeSmall
WithIdleOverlay@Burns: WithIdleOverlay@Burns:

View File

@@ -133,7 +133,7 @@ STNK.Husk:
IntoActor: stnk IntoActor: stnk
RenderSprites: RenderSprites:
Image: stnk.destroyed Image: stnk.destroyed
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeStealthTank Weapon: UnitExplodeStealthTank
EmptyWeapon: UnitExplodeStealthTank EmptyWeapon: UnitExplodeStealthTank

View File

@@ -73,7 +73,7 @@ E2:
ProneOffset: 300,0,-227 ProneOffset: 300,0,-227
WithInfantryBody: WithInfantryBody:
DefaultAttackSequence: throw DefaultAttackSequence: throw
Explodes: FireWarheadsOnDeath:
Weapon: GrenadierExplode Weapon: GrenadierExplode
EmptyWeapon: GrenadierExplode EmptyWeapon: GrenadierExplode
Chance: 50 Chance: 50

View File

@@ -93,10 +93,10 @@ HARV:
EffectiveOwnerFromOwner: true EffectiveOwnerFromOwner: true
WithHarvestAnimation: WithHarvestAnimation:
WithDockingAnimation: WithDockingAnimation:
Explodes@EMPTY: FireWarheadsOnDeath@EMPTY:
Weapon: UnitExplodeHarvEmpty Weapon: UnitExplodeHarvEmpty
EmptyWeapon: UnitExplodeHarvEmpty EmptyWeapon: UnitExplodeHarvEmpty
Explodes: FireWarheadsOnDeath:
RequiresCondition: !no-tiberium RequiresCondition: !no-tiberium
Weapon: TiberiumExplosion Weapon: TiberiumExplosion
WithStoresResourcesPipsDecoration: WithStoresResourcesPipsDecoration:
@@ -184,7 +184,7 @@ APC:
MaxWeight: 5 MaxWeight: 5
UnloadVoice: Unload UnloadVoice: Unload
LoadingCondition: notmobile LoadingCondition: notmobile
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeBig Weapon: UnitExplodeBig
EmptyWeapon: UnitExplodeBig EmptyWeapon: UnitExplodeBig
SpawnActorOnDeath: SpawnActorOnDeath:
@@ -241,7 +241,7 @@ ARTY:
Actor: ARTY.Husk Actor: ARTY.Husk
OwnerType: InternalName OwnerType: InternalName
EffectiveOwnerFromOwner: true EffectiveOwnerFromOwner: true
Explodes: FireWarheadsOnDeath:
Weapon: ArtilleryShell Weapon: ArtilleryShell
EmptyWeapon: ArtilleryShell EmptyWeapon: ArtilleryShell
@@ -286,7 +286,7 @@ FTNK:
AttackMove: AttackMove:
Voice: Attack Voice: Attack
WithMuzzleOverlay: WithMuzzleOverlay:
Explodes: FireWarheadsOnDeath:
Weapon: FlametankExplode Weapon: FlametankExplode
EmptyWeapon: FlametankExplode EmptyWeapon: FlametankExplode
SpawnActorOnDeath: SpawnActorOnDeath:
@@ -532,7 +532,7 @@ MTNK:
Voice: Attack Voice: Attack
WithMuzzleOverlay: WithMuzzleOverlay:
WithSpriteTurret: WithSpriteTurret:
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeBig Weapon: UnitExplodeBig
EmptyWeapon: UnitExplodeBig EmptyWeapon: UnitExplodeBig
SpawnActorOnDeath: SpawnActorOnDeath:
@@ -600,7 +600,7 @@ HTNK:
Delay: 10 Delay: 10
StartIfBelow: 50 StartIfBelow: 50
DamageCooldown: 200 DamageCooldown: 200
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeMech Weapon: UnitExplodeMech
EmptyWeapon: UnitExplodeMech EmptyWeapon: UnitExplodeMech
SpawnActorOnDeath: SpawnActorOnDeath:
@@ -659,7 +659,7 @@ MSAM:
AttackMove: AttackMove:
Voice: Attack Voice: Attack
WithSpriteTurret: WithSpriteTurret:
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeMech Weapon: UnitExplodeMech
EmptyWeapon: UnitExplodeMech EmptyWeapon: UnitExplodeMech
SpawnActorOnDeath: SpawnActorOnDeath:
@@ -789,7 +789,7 @@ STNK:
AutoTarget: AutoTarget:
InitialStance: HoldFire InitialStance: HoldFire
InitialStanceAI: ReturnFire InitialStanceAI: ReturnFire
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeStealthTank Weapon: UnitExplodeStealthTank
EmptyWeapon: UnitExplodeStealthTank EmptyWeapon: UnitExplodeStealthTank
SpawnActorOnDeath: SpawnActorOnDeath:

View File

@@ -41,7 +41,7 @@ spicebloom:
Name: actor-spicebloom-name Name: actor-spicebloom-name
SpiceBloom: SpiceBloom:
Weapon: SpiceExplosion Weapon: SpiceExplosion
Explodes: FireWarheadsOnDeath:
Weapon: BloomExplosion Weapon: BloomExplosion
EmptyWeapon: BloomExplosion EmptyWeapon: BloomExplosion
Crushable: Crushable:

View File

@@ -312,7 +312,7 @@
RequiresForceFire: true RequiresForceFire: true
WithColoredOverlay@husk: WithColoredOverlay@husk:
Color: 00000060 Color: 00000060
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeMed Weapon: UnitExplodeMed
EmptyWeapon: UnitExplodeMed EmptyWeapon: UnitExplodeMed
CaptureManager: CaptureManager:
@@ -497,7 +497,7 @@
SoundOnDamageTransition: SoundOnDamageTransition:
DamagedSounds: EXPLSML1.WAV DamagedSounds: EXPLSML1.WAV
DestroyedSounds: EXPLHG1.WAV DestroyedSounds: EXPLHG1.WAV
Explodes: FireWarheadsOnDeath:
Type: Footprint Type: Footprint
Weapon: BuildingExplode Weapon: BuildingExplode
EmptyWeapon: BuildingExplode EmptyWeapon: BuildingExplode
@@ -526,7 +526,7 @@
Notification: StructureSold Notification: StructureSold
Guardable: Guardable:
Range: 3c0 Range: 3c0
ThrowsShrapnel: FireProjectilesOnDeath:
Weapons: Debris, Debris2, Debris3, Debris4 Weapons: Debris, Debris2, Debris3, Debris4
Pieces: 2, 5 Pieces: 2, 5
Range: 1c512, 4c0 Range: 1c512, 4c0
@@ -569,7 +569,7 @@
RequiresCondition: !build-incomplete RequiresCondition: !build-incomplete
LineBuildNode: LineBuildNode:
Types: turret Types: turret
ThrowsShrapnel: FireProjectilesOnDeath:
Weapons: Debris, Debris3 Weapons: Debris, Debris3
Pieces: 2, 2 Pieces: 2, 2
Range: 2c0, 4c0 Range: 2c0, 4c0
@@ -713,7 +713,7 @@
Owner: Neutral Owner: Neutral
HitShape: HitShape:
UseTargetableCellsOffsets: true UseTargetableCellsOffsets: true
Explodes: FireWarheadsOnDeath:
Type: CenterPosition Type: CenterPosition
Weapon: cliffExplode Weapon: cliffExplode
EmptyWeapon: cliffExplode EmptyWeapon: cliffExplode

View File

@@ -237,7 +237,7 @@ grenadier:
ProneOffset: 96,100,-64 ProneOffset: 96,100,-64
WithInfantryBody: WithInfantryBody:
DefaultAttackSequence: throw DefaultAttackSequence: throw
Explodes: FireWarheadsOnDeath:
Weapon: GrenDeath Weapon: GrenDeath
EmptyWeapon: GrenDeath EmptyWeapon: GrenDeath
@@ -275,7 +275,7 @@ sardaukar:
Category: Units Category: Units
Voiced: Voiced:
VoiceSet: GenericVoice VoiceSet: GenericVoice
Explodes: FireWarheadsOnDeath:
Weapon: SardDeath Weapon: SardDeath
EmptyWeapon: SardDeath EmptyWeapon: SardDeath
Chance: 100 Chance: 100

View File

@@ -363,7 +363,7 @@ silo:
Amount: -15 Amount: -15
MustBeDestroyed: MustBeDestroyed:
RequiredForShortGame: false RequiredForShortGame: false
ThrowsShrapnel: FireProjectilesOnDeath:
Weapons: Debris, Debris2, Debris3, Debris4 Weapons: Debris, Debris2, Debris3, Debris4
Pieces: 3, 5 Pieces: 3, 5
Range: 2c0, 5c0 Range: 2c0, 5c0
@@ -756,10 +756,10 @@ wall:
Sellable: Sellable:
SellSounds: CHUNG.WAV SellSounds: CHUNG.WAV
Guardable: Guardable:
Explodes: FireWarheadsOnDeath:
Weapon: WallExplode Weapon: WallExplode
EmptyWeapon: WallExplode EmptyWeapon: WallExplode
ThrowsShrapnel: FireProjectilesOnDeath:
Weapons: Debris2, Debris3 Weapons: Debris2, Debris3
Pieces: 1, 1 Pieces: 1, 1
Range: 1c512, 2c768 Range: 1c512, 2c768

View File

@@ -30,7 +30,7 @@ mcv:
MustBeDestroyed: MustBeDestroyed:
RequiredForShortGame: true RequiredForShortGame: true
BaseBuilding: BaseBuilding:
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeLarge Weapon: UnitExplodeLarge
EmptyWeapon: UnitExplodeLarge EmptyWeapon: UnitExplodeLarge
Transforms: Transforms:
@@ -93,7 +93,7 @@ harvester:
Speed: 43 Speed: 43
RevealsShroud: RevealsShroud:
Range: 3c768 Range: 3c768
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeLarge Weapon: UnitExplodeLarge
EmptyWeapon: UnitExplodeLarge EmptyWeapon: UnitExplodeLarge
SpawnActorOnDeath: SpawnActorOnDeath:
@@ -116,12 +116,12 @@ harvester:
RequiresSelection: true RequiresSelection: true
PipCount: 7 PipCount: 7
-SpeedMultiplier@HEAVYDAMAGE: -SpeedMultiplier@HEAVYDAMAGE:
ThrowsShrapnel@ShrapnelNotEmpty: FireProjectilesOnDeath@ShrapnelNotEmpty:
Weapons: Debris, Debris2, Debris3, Debris4 Weapons: Debris, Debris2, Debris3, Debris4
Pieces: 3, 5 Pieces: 3, 5
Range: 1c0, 6c0 Range: 1c0, 6c0
RequiresCondition: !harvester-empty RequiresCondition: !harvester-empty
ThrowsShrapnel@throwSpice: FireProjectilesOnDeath@throwSpice:
Weapons: SpiceExplosion Weapons: SpiceExplosion
Pieces: 1, 3 Pieces: 1, 3
Range: 1c0, 5c0 Range: 1c0, 5c0
@@ -169,7 +169,7 @@ trike:
MuzzleSequence: muzzle MuzzleSequence: muzzle
AttackFrontal: AttackFrontal:
FacingTolerance: 0 FacingTolerance: 0
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeSmall Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall EmptyWeapon: UnitExplodeSmall
AttractsWorms: AttractsWorms:
@@ -210,7 +210,7 @@ quad:
Category: Units Category: Units
AttackFrontal: AttackFrontal:
FacingTolerance: 0 FacingTolerance: 0
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeSmall Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall EmptyWeapon: UnitExplodeSmall
Selectable: Selectable:
@@ -261,7 +261,7 @@ siege_tank:
FacingTolerance: 0 FacingTolerance: 0
WithMuzzleOverlay: WithMuzzleOverlay:
WithSpriteTurret: WithSpriteTurret:
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeMed Weapon: UnitExplodeMed
EmptyWeapon: UnitExplodeMed EmptyWeapon: UnitExplodeMed
AutoTarget: AutoTarget:
@@ -312,7 +312,7 @@ missile_tank:
FacingTolerance: 0 FacingTolerance: 0
AutoTarget: AutoTarget:
InitialStanceAI: Defend InitialStanceAI: Defend
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeMed Weapon: UnitExplodeMed
EmptyWeapon: UnitExplodeMed EmptyWeapon: UnitExplodeMed
Selectable: Selectable:
@@ -323,11 +323,11 @@ missile_tank:
EffectiveOwnerFromOwner: true EffectiveOwnerFromOwner: true
AttractsWorms: AttractsWorms:
Intensity: 600 Intensity: 600
ThrowsShrapnel@02: FireProjectilesOnDeath@02:
Weapons: Debris3, Debris Weapons: Debris3, Debris
Pieces: 0,2 Pieces: 0,2
Range: 2c0, 3c0 Range: 2c0, 3c0
ThrowsShrapnel@03: FireProjectilesOnDeath@03:
Weapons: DebrisMissile Weapons: DebrisMissile
Pieces: 0,2 Pieces: 0,2
Range: 4c0, 6c0 Range: 4c0, 6c0
@@ -367,7 +367,7 @@ sonic_tank:
Category: Units Category: Units
AttackFrontal: AttackFrontal:
FacingTolerance: 0 FacingTolerance: 0
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeLarge Weapon: UnitExplodeLarge
EmptyWeapon: UnitExplodeLarge EmptyWeapon: UnitExplodeLarge
SpawnActorOnDeath: SpawnActorOnDeath:
@@ -420,7 +420,7 @@ devastator:
FacingTolerance: 0 FacingTolerance: 0
WithMuzzleOverlay: WithMuzzleOverlay:
IgnoreOffset: true IgnoreOffset: true
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeLarge Weapon: UnitExplodeLarge
EmptyWeapon: UnitExplodeLarge EmptyWeapon: UnitExplodeLarge
RequiresCondition: !overload RequiresCondition: !overload
@@ -428,7 +428,7 @@ devastator:
Actor: devastator.husk Actor: devastator.husk
OwnerType: InternalName OwnerType: InternalName
EffectiveOwnerFromOwner: true EffectiveOwnerFromOwner: true
Explodes@OVERLOAD: FireWarheadsOnDeath@OVERLOAD:
Weapon: PlasmaExplosion Weapon: PlasmaExplosion
EmptyWeapon: PlasmaExplosion EmptyWeapon: PlasmaExplosion
RequiresCondition: meltdown RequiresCondition: meltdown
@@ -494,7 +494,7 @@ raider:
MuzzleSequence: muzzle MuzzleSequence: muzzle
AttackFrontal: AttackFrontal:
FacingTolerance: 0 FacingTolerance: 0
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeSmall Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall EmptyWeapon: UnitExplodeSmall
AttractsWorms: AttractsWorms:
@@ -568,7 +568,7 @@ deviator:
FacingTolerance: 0 FacingTolerance: 0
AutoTarget: AutoTarget:
InitialStanceAI: Defend InitialStanceAI: Defend
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeLarge Weapon: UnitExplodeLarge
EmptyWeapon: UnitExplodeLarge EmptyWeapon: UnitExplodeLarge
SpawnActorOnDeath: SpawnActorOnDeath:
@@ -613,7 +613,7 @@ deviator:
AttackTurreted: AttackTurreted:
WithMuzzleOverlay: WithMuzzleOverlay:
WithSpriteTurret: WithSpriteTurret:
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeMed Weapon: UnitExplodeMed
EmptyWeapon: UnitExplodeMed EmptyWeapon: UnitExplodeMed
Selectable: Selectable:
@@ -623,7 +623,7 @@ deviator:
SpawnActorOnDeath: SpawnActorOnDeath:
OwnerType: InternalName OwnerType: InternalName
EffectiveOwnerFromOwner: true EffectiveOwnerFromOwner: true
ThrowsShrapnel: FireProjectilesOnDeath:
Weapons: Debris, Debris2, Debris3 Weapons: Debris, Debris2, Debris3
Pieces: 0, 2 Pieces: 0, 2
Range: 2c0, 4c0 Range: 2c0, 4c0

View File

@@ -190,7 +190,7 @@ MINVV:
Step: -100 Step: -100
Delay: 1 Delay: 1
StartIfBelow: 101 StartIfBelow: 101
Explodes: FireWarheadsOnDeath:
Weapon: CrateNuke Weapon: CrateNuke
EmptyWeapon: CrateNuke EmptyWeapon: CrateNuke
HitShape: HitShape:

View File

@@ -53,7 +53,7 @@ DTRK:
HP: 10000 HP: 10000
Armor: Armor:
Type: Heavy Type: Heavy
Explodes: FireWarheadsOnDeath:
Weapon: CrateNuke Weapon: CrateNuke
EmptyWeapon: CrateNuke EmptyWeapon: CrateNuke

View File

@@ -53,7 +53,7 @@ DTRK:
HP: 10000 HP: 10000
Armor: Armor:
Type: Heavy Type: Heavy
Explodes: FireWarheadsOnDeath:
Weapon: CrateNuke Weapon: CrateNuke
EmptyWeapon: CrateNuke EmptyWeapon: CrateNuke

View File

@@ -228,7 +228,7 @@ E2:
Prerequisites: barracks Prerequisites: barracks
Valued: Valued:
Cost: 40 Cost: 40
Explodes: FireWarheadsOnDeath:
Chance: 20 Chance: 20
E3: E3:
@@ -383,7 +383,7 @@ V2RL:
RecoilRecovery: 0c7 RecoilRecovery: 0c7
Armament@SECONDARY: Armament@SECONDARY:
Recoil: 2 Recoil: 2
Explodes: FireWarheadsOnDeath:
Weapon: napalm Weapon: napalm
EmptyWeapon: napalm EmptyWeapon: napalm
ChangesHealth: ChangesHealth:

View File

@@ -23,7 +23,7 @@ World:
^ExplodingCivBuilding: ^ExplodingCivBuilding:
Inherits: ^CivBuilding Inherits: ^CivBuilding
Explodes: FireWarheadsOnDeath:
Weapon: BarrelExplode Weapon: BarrelExplode
EmptyWeapon: BarrelExplode EmptyWeapon: BarrelExplode
@@ -78,7 +78,7 @@ V11.exploding:
Image: V11 Image: V11
V19: V19:
Explodes: FireWarheadsOnDeath:
Weapon: BarrelExplode Weapon: BarrelExplode
EmptyWeapon: BarrelExplode EmptyWeapon: BarrelExplode
@@ -155,7 +155,7 @@ PBOX:
AttackTurreted: AttackTurreted:
WithMuzzleOverlay: WithMuzzleOverlay:
WithSpriteTurret: WithSpriteTurret:
Explodes: FireWarheadsOnDeath:
Weapon: MiniNuke Weapon: MiniNuke
EmptyWeapon: MiniNuke EmptyWeapon: MiniNuke
SpawnActorOnDeath: SpawnActorOnDeath:

View File

@@ -22,7 +22,7 @@ powerproxy.paratroopers:
MustBeDestroyed: MustBeDestroyed:
JEEP: JEEP:
Explodes: FireWarheadsOnDeath:
ProximityExternalCondition@JAMMER: ProximityExternalCondition@JAMMER:
Range: 10c0 Range: 10c0
ValidRelationships: Enemy, Neutral ValidRelationships: Enemy, Neutral

View File

@@ -376,8 +376,8 @@ V19.Husk:
-Demolishable: -Demolishable:
-HitShape: -HitShape:
-Health: -Health:
-Explodes: -FireWarheadsOnDeath:
-Explodes@CIVPANIC: -FireWarheadsOnDeath@CIVPANIC:
Interactable: Interactable:
BARL: BARL:
@@ -385,7 +385,7 @@ BARL:
-Selectable: -Selectable:
Health: Health:
HP: 1000 HP: 1000
Explodes: FireWarheadsOnDeath:
Weapon: BarrelExplode Weapon: BarrelExplode
Tooltip: Tooltip:
Name: actor-barl-name Name: actor-barl-name
@@ -407,7 +407,7 @@ BRL3:
-Selectable: -Selectable:
Health: Health:
HP: 1000 HP: 1000
Explodes: FireWarheadsOnDeath:
Weapon: BarrelExplode Weapon: BarrelExplode
Tooltip: Tooltip:
Name: actor-brl3-name Name: actor-brl3-name
@@ -551,7 +551,7 @@ OILB:
TooltipDescription@other: TooltipDescription@other:
Description: actor-oilb.capturable-desc Description: actor-oilb.capturable-desc
ValidRelationships: Neutral, Enemy ValidRelationships: Neutral, Enemy
Explodes: FireWarheadsOnDeath:
Weapon: BarrelExplode Weapon: BarrelExplode
GpsDot: GpsDot:
String: Oil String: Oil

View File

@@ -295,7 +295,7 @@
FallRate: 26 FallRate: 26
KilledOnImpassableTerrain: true KilledOnImpassableTerrain: true
ParachutingCondition: parachute ParachutingCondition: parachute
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeSmall Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall EmptyWeapon: UnitExplodeSmall
WithFacingSpriteBody: WithFacingSpriteBody:
@@ -531,7 +531,7 @@
GpsDot: GpsDot:
String: Ship String: Ship
WithDamageOverlay: WithDamageOverlay:
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeShip Weapon: UnitExplodeShip
EmptyWeapon: UnitExplodeShip EmptyWeapon: UnitExplodeShip
Guard: Guard:
@@ -633,7 +633,7 @@
Categories: Aircraft Categories: Aircraft
SpawnActorOnDeath: SpawnActorOnDeath:
RequiresCondition: airborne RequiresCondition: airborne
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplode Weapon: UnitExplode
RequiresCondition: !airborne RequiresCondition: !airborne
CaptureManager: CaptureManager:
@@ -698,7 +698,7 @@
DamagedSounds: kaboom1.aud DamagedSounds: kaboom1.aud
DestroyedSounds: kaboom22.aud DestroyedSounds: kaboom22.aud
WithSpriteBody: WithSpriteBody:
Explodes: FireWarheadsOnDeath:
Type: Footprint Type: Footprint
Weapon: BuildingExplode Weapon: BuildingExplode
EmptyWeapon: BuildingExplode EmptyWeapon: BuildingExplode
@@ -778,7 +778,7 @@
-GivesBuildableArea: -GivesBuildableArea:
-AcceptsDeliveredCash: -AcceptsDeliveredCash:
RenderRangeCircle: RenderRangeCircle:
Explodes: FireWarheadsOnDeath:
Weapon: SmallBuildingExplode Weapon: SmallBuildingExplode
EmptyWeapon: SmallBuildingExplode EmptyWeapon: SmallBuildingExplode
MapEditorData: MapEditorData:
@@ -857,7 +857,7 @@
AreaTypes: fake AreaTypes: fake
Health: Health:
HP: 10000 HP: 10000
Explodes: FireWarheadsOnDeath:
Weapon: Demolish Weapon: Demolish
DamageThreshold: 70 DamageThreshold: 70
RevealsShroud: RevealsShroud:
@@ -889,7 +889,7 @@
-Selectable: -Selectable:
Health: Health:
HP: 1000 HP: 1000
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplode Weapon: UnitExplode
Tooltip: Tooltip:
Name: meta-ammobox-name Name: meta-ammobox-name
@@ -909,17 +909,17 @@
MapEditorData: MapEditorData:
ExcludeTilesets: INTERIOR ExcludeTilesets: INTERIOR
Categories: Civilian building Categories: Civilian building
Explodes: FireWarheadsOnDeath:
Weapon: SmallBuildingExplode Weapon: SmallBuildingExplode
Explodes@CIVPANIC: FireWarheadsOnDeath@CIVPANIC:
Weapon: CivPanicExplosion Weapon: CivPanicExplosion
^CivField: ^CivField:
Inherits: ^CivBuilding Inherits: ^CivBuilding
-HitShape: -HitShape:
-Health: -Health:
-Explodes: -FireWarheadsOnDeath:
-Explodes@CIVPANIC: -FireWarheadsOnDeath@CIVPANIC:
-Selectable: -Selectable:
-ScriptTriggers: -ScriptTriggers:
Tooltip: Tooltip:

View File

@@ -360,7 +360,7 @@ PDOF:
HP: 100000 HP: 100000
Armor: Armor:
Type: Wood Type: Wood
Explodes: FireWarheadsOnDeath:
DamageThreshold: 50 DamageThreshold: 50
MSLF: MSLF:
@@ -393,7 +393,7 @@ MSLF:
HP: 100000 HP: 100000
Armor: Armor:
Type: Wood Type: Wood
Explodes: FireWarheadsOnDeath:
DamageThreshold: 50 DamageThreshold: 50
FACF: FACF:

View File

@@ -158,7 +158,7 @@ E2:
RequiresCondition: parachute RequiresCondition: parachute
Palette: player-noshadow Palette: player-noshadow
IsPlayerPalette: true IsPlayerPalette: true
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeSmall Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall EmptyWeapon: UnitExplodeSmall
DamageSource: Killer DamageSource: Killer
@@ -258,7 +258,7 @@ E4:
Weapon: Flamer Weapon: Flamer
TakeCover: TakeCover:
ProneOffset: 160,0,-288 ProneOffset: 160,0,-288
Explodes: FireWarheadsOnDeath:
Weapon: VisualExplode Weapon: VisualExplode
EmptyWeapon: VisualExplode EmptyWeapon: VisualExplode
Chance: 50 Chance: 50

View File

@@ -6,13 +6,13 @@ MINV:
soviet: minp soviet: minp
russia: minp russia: minp
ukraine: minp ukraine: minp
Explodes: FireWarheadsOnDeath:
Weapon: ATMine Weapon: ATMine
# Only kept for backwards-compatibility with existing and imported maps, use MINV instead # Only kept for backwards-compatibility with existing and imported maps, use MINV instead
MINP: MINP:
Inherits: MINV Inherits: MINV
Explodes: FireWarheadsOnDeath:
Weapon: APMine Weapon: APMine
CRATE: CRATE:
@@ -464,7 +464,7 @@ CTFLAG:
HasMinibib: true HasMinibib: true
-HitShape: -HitShape:
-Health: -Health:
-Explodes: -FireWarheadsOnDeath:
-Selectable: -Selectable:
-Targetable: -Targetable:
MapEditorData: MapEditorData:

View File

@@ -41,7 +41,7 @@ SS:
DetectionTypes: Underwater DetectionTypes: Underwater
Range: 5c0 Range: 5c0
RenderDetectionCircle: RenderDetectionCircle:
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeSubmarine Weapon: UnitExplodeSubmarine
EmptyWeapon: UnitExplodeSubmarine EmptyWeapon: UnitExplodeSubmarine
Selectable: Selectable:
@@ -96,7 +96,7 @@ MSUB:
DetectionTypes: Underwater DetectionTypes: Underwater
Range: 4c0 Range: 4c0
RenderDetectionCircle: RenderDetectionCircle:
Explodes: FireWarheadsOnDeath:
Weapon: UnitExplodeSubmarine Weapon: UnitExplodeSubmarine
EmptyWeapon: UnitExplodeSubmarine EmptyWeapon: UnitExplodeSubmarine
Selectable: Selectable:

View File

@@ -113,7 +113,7 @@ GAP:
MustBeDestroyed: MustBeDestroyed:
RequiredForShortGame: false RequiredForShortGame: false
-AcceptsDeliveredCash: -AcceptsDeliveredCash:
Explodes: FireWarheadsOnDeath:
Weapon: SmallBuildingExplode Weapon: SmallBuildingExplode
EmptyWeapon: SmallBuildingExplode EmptyWeapon: SmallBuildingExplode
HitShape: HitShape:
@@ -919,7 +919,7 @@ FTUR:
DetectCloaked: DetectCloaked:
Range: 6c0 Range: 6c0
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
Explodes: FireWarheadsOnDeath:
Weapon: BuildingExplode Weapon: BuildingExplode
EmptyWeapon: BuildingExplode EmptyWeapon: BuildingExplode
@@ -1386,7 +1386,7 @@ SILO:
-SpawnActorsOnSell: -SpawnActorsOnSell:
Power: Power:
Amount: -10 Amount: -10
Explodes: FireWarheadsOnDeath:
Weapon: SmallBuildingExplode Weapon: SmallBuildingExplode
EmptyWeapon: SmallBuildingExplode EmptyWeapon: SmallBuildingExplode
WithResourceStoragePipsDecoration: WithResourceStoragePipsDecoration:

View File

@@ -41,7 +41,7 @@ V2RL:
RequiresCondition: reloading RequiresCondition: reloading
Sequence: empty-idle Sequence: empty-idle
Name: reloading Name: reloading
Explodes: FireWarheadsOnDeath:
Weapon: V2Explode Weapon: V2Explode
ProducibleWithLevel: ProducibleWithLevel:
Prerequisites: vehicles.upgraded Prerequisites: vehicles.upgraded
@@ -294,7 +294,7 @@ ARTY:
ForceFireIgnoresActors: True ForceFireIgnoresActors: True
FacingTolerance: 0 FacingTolerance: 0
WithMuzzleOverlay: WithMuzzleOverlay:
Explodes: FireWarheadsOnDeath:
Weapon: ArtilleryExplode Weapon: ArtilleryExplode
EmptyWeapon: UnitExplodeSmall EmptyWeapon: UnitExplodeSmall
LoadedChance: 75 LoadedChance: 75
@@ -353,7 +353,7 @@ HARV:
Delay: 25 Delay: 25
StartIfBelow: 50 StartIfBelow: 50
DamageCooldown: 500 DamageCooldown: 500
Explodes: FireWarheadsOnDeath:
RequiresCondition: !no-ore RequiresCondition: !no-ore
Weapon: OreExplosion Weapon: OreExplosion
WithHarvesterSpriteBody: WithHarvesterSpriteBody:
@@ -541,7 +541,7 @@ MNLY:
Range: 5c0 Range: 5c0
DetectionTypes: Mine DetectionTypes: Mine
RenderDetectionCircle: RenderDetectionCircle:
Explodes: FireWarheadsOnDeath:
Weapon: ATMine Weapon: ATMine
RenderSprites: RenderSprites:
Image: MNLY Image: MNLY
@@ -767,7 +767,7 @@ DTRK:
Speed: 67 Speed: 67
RevealsShroud: RevealsShroud:
Range: 4c0 Range: 4c0
Explodes: FireWarheadsOnDeath:
Weapon: MiniNuke Weapon: MiniNuke
EmptyWeapon: MiniNuke EmptyWeapon: MiniNuke
DamageSource: Killer DamageSource: Killer

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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