Merge pull request #12692 from reaperrr/ts-debris
Refactor TS debris to work more like in the original
This commit is contained in:
@@ -11,6 +11,10 @@ ABAN01:
|
|||||||
HP: 600
|
HP: 600
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
ExcludeTilesets: TEMPERATE
|
ExcludeTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 5, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 2, 4
|
||||||
|
|
||||||
ABAN02:
|
ABAN02:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -25,6 +29,10 @@ ABAN02:
|
|||||||
HP: 600
|
HP: 600
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
ExcludeTilesets: TEMPERATE
|
ExcludeTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 5, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 2, 4
|
||||||
|
|
||||||
ABAN03:
|
ABAN03:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -39,6 +47,10 @@ ABAN03:
|
|||||||
HP: 500
|
HP: 500
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
ExcludeTilesets: TEMPERATE
|
ExcludeTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 5, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 2, 4
|
||||||
|
|
||||||
ABAN04:
|
ABAN04:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -53,6 +65,10 @@ ABAN04:
|
|||||||
HP: 400
|
HP: 400
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
ExcludeTilesets: TEMPERATE
|
ExcludeTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 4, 7
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 2, 3
|
||||||
|
|
||||||
ABAN05:
|
ABAN05:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -373,6 +389,10 @@ CA0001:
|
|||||||
Type: heavy
|
Type: heavy
|
||||||
Health:
|
Health:
|
||||||
HP: 400
|
HP: 400
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 5, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 2, 4
|
||||||
|
|
||||||
CA0002:
|
CA0002:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -385,6 +405,10 @@ CA0002:
|
|||||||
Type: heavy
|
Type: heavy
|
||||||
Health:
|
Health:
|
||||||
HP: 400
|
HP: 400
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 5, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 2, 4
|
||||||
|
|
||||||
CA0003:
|
CA0003:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -627,6 +651,10 @@ CAARAY:
|
|||||||
HP: 400
|
HP: 400
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Palette: player
|
Palette: player
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 5, 7
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 2, 4
|
||||||
|
|
||||||
CAARMR:
|
CAARMR:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -644,6 +672,10 @@ CAARMR:
|
|||||||
ProvidesPrerequisite:
|
ProvidesPrerequisite:
|
||||||
Prerequisite: barracks.upgraded
|
Prerequisite: barracks.upgraded
|
||||||
Capturable:
|
Capturable:
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 6, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 3, 4
|
||||||
|
|
||||||
CACRSH01:
|
CACRSH01:
|
||||||
Inherits: ^Decoration
|
Inherits: ^Decoration
|
||||||
@@ -684,6 +716,10 @@ CAHOSP:
|
|||||||
ProvidesPrerequisite@BuildingName:
|
ProvidesPrerequisite@BuildingName:
|
||||||
Buildable:
|
Buildable:
|
||||||
Description: Gives friendly units a medkit to heal themselves.
|
Description: Gives friendly units a medkit to heal themselves.
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 5, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 2, 4
|
||||||
|
|
||||||
CAPYR01:
|
CAPYR01:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -712,6 +748,10 @@ CAPYR02:
|
|||||||
HP: 400
|
HP: 400
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
ExcludeTilesets: SNOW
|
ExcludeTilesets: SNOW
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 6, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 3, 4
|
||||||
|
|
||||||
CAPYR03:
|
CAPYR03:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -726,6 +766,10 @@ CAPYR03:
|
|||||||
HP: 400
|
HP: 400
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
ExcludeTilesets: SNOW
|
ExcludeTilesets: SNOW
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 6, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 3, 4
|
||||||
|
|
||||||
CITY01:
|
CITY01:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -740,6 +784,10 @@ CITY01:
|
|||||||
HP: 400
|
HP: 400
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
RequireTilesets: TEMPERATE
|
RequireTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 5, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 2, 4
|
||||||
|
|
||||||
CITY02:
|
CITY02:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -754,6 +802,10 @@ CITY02:
|
|||||||
HP: 700
|
HP: 700
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
RequireTilesets: TEMPERATE
|
RequireTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 5, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 2, 4
|
||||||
|
|
||||||
CITY03:
|
CITY03:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -768,6 +820,10 @@ CITY03:
|
|||||||
HP: 500
|
HP: 500
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
RequireTilesets: TEMPERATE
|
RequireTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 5, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 2, 4
|
||||||
|
|
||||||
CITY04:
|
CITY04:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -782,6 +838,10 @@ CITY04:
|
|||||||
HP: 600
|
HP: 600
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
RequireTilesets: TEMPERATE
|
RequireTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 5, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 2, 4
|
||||||
|
|
||||||
CITY05:
|
CITY05:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -796,6 +856,10 @@ CITY05:
|
|||||||
HP: 600
|
HP: 600
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
RequireTilesets: TEMPERATE
|
RequireTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 5, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 2, 4
|
||||||
|
|
||||||
CITY06:
|
CITY06:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -810,6 +874,10 @@ CITY06:
|
|||||||
HP: 500
|
HP: 500
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
RequireTilesets: TEMPERATE
|
RequireTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 7, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 3, 4
|
||||||
|
|
||||||
CITY07:
|
CITY07:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -824,6 +892,10 @@ CITY07:
|
|||||||
HP: 400
|
HP: 400
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
RequireTilesets: TEMPERATE
|
RequireTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 7, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 3, 4
|
||||||
|
|
||||||
CITY08:
|
CITY08:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -936,6 +1008,10 @@ CITY15:
|
|||||||
HP: 500
|
HP: 500
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
RequireTilesets: TEMPERATE
|
RequireTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 7, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 3, 4
|
||||||
|
|
||||||
CITY16:
|
CITY16:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -950,6 +1026,10 @@ CITY16:
|
|||||||
HP: 500
|
HP: 500
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
RequireTilesets: TEMPERATE
|
RequireTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 7, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 3, 4
|
||||||
|
|
||||||
CITY17:
|
CITY17:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -964,6 +1044,10 @@ CITY17:
|
|||||||
HP: 300
|
HP: 300
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
RequireTilesets: TEMPERATE
|
RequireTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 7, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 3, 4
|
||||||
|
|
||||||
CITY18:
|
CITY18:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -978,6 +1062,10 @@ CITY18:
|
|||||||
HP: 600
|
HP: 600
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
RequireTilesets: TEMPERATE
|
RequireTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 8, 12
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 5, 7
|
||||||
|
|
||||||
CITY19:
|
CITY19:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -1059,6 +1147,10 @@ CTDAM:
|
|||||||
Sequence: idle-water
|
Sequence: idle-water
|
||||||
Buildable:
|
Buildable:
|
||||||
Description: Provides power for other structures
|
Description: Provides power for other structures
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 5, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 2, 4
|
||||||
|
|
||||||
CTVEGA:
|
CTVEGA:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -1073,6 +1165,10 @@ CTVEGA:
|
|||||||
HP: 100
|
HP: 100
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
ExcludeTilesets: SNOW
|
ExcludeTilesets: SNOW
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 7, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 3, 4
|
||||||
|
|
||||||
GAKODK:
|
GAKODK:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -1330,6 +1426,10 @@ NTPYRA:
|
|||||||
Palette: player
|
Palette: player
|
||||||
WithIdleOverlay@LIGHTS:
|
WithIdleOverlay@LIGHTS:
|
||||||
Sequence: idle-lights
|
Sequence: idle-lights
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 7, 9
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 3, 5
|
||||||
|
|
||||||
UFO:
|
UFO:
|
||||||
Inherits: ^CivBuilding
|
Inherits: ^CivBuilding
|
||||||
@@ -1350,3 +1450,7 @@ UFO:
|
|||||||
RequireTilesets: TEMPERATE
|
RequireTilesets: TEMPERATE
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
VisualBounds: 144, 72, 0, 0
|
VisualBounds: 144, 72, 0, 0
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 9, 12
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 6, 8
|
||||||
|
|||||||
@@ -144,6 +144,14 @@
|
|||||||
Guardable:
|
Guardable:
|
||||||
Range: 3c0
|
Range: 3c0
|
||||||
Demolishable:
|
Demolishable:
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Weapons: SmallDebris
|
||||||
|
Pieces: 2, 4
|
||||||
|
Range: 2c0, 5c0
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Weapons: LargeDebris, LargeDebrisWithTrail
|
||||||
|
Pieces: 1, 2
|
||||||
|
Range: 2c0, 5c0
|
||||||
|
|
||||||
^Building:
|
^Building:
|
||||||
Inherits@1: ^BasicBuilding
|
Inherits@1: ^BasicBuilding
|
||||||
@@ -168,10 +176,10 @@
|
|||||||
Sellable:
|
Sellable:
|
||||||
SellSounds: cashturn.aud
|
SellSounds: cashturn.aud
|
||||||
WithMakeAnimation:
|
WithMakeAnimation:
|
||||||
ThrowsShrapnel:
|
ThrowsShrapnel@SMALL:
|
||||||
Weapons: LargeDebris
|
Pieces: 3, 5
|
||||||
Pieces: 3, 7
|
ThrowsShrapnel@LARGE:
|
||||||
Range: 2c0, 5c0
|
Pieces: 2, 3
|
||||||
|
|
||||||
^CivBuilding:
|
^CivBuilding:
|
||||||
Inherits: ^BasicBuilding
|
Inherits: ^BasicBuilding
|
||||||
@@ -200,6 +208,10 @@
|
|||||||
HP: 400
|
HP: 400
|
||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
RequireTilesets: TEMPERATE
|
RequireTilesets: TEMPERATE
|
||||||
|
ThrowsShrapnel@SMALL:
|
||||||
|
Pieces: 1, 3
|
||||||
|
ThrowsShrapnel@LARGE:
|
||||||
|
Pieces: 1, 1
|
||||||
|
|
||||||
^Crate:
|
^Crate:
|
||||||
HiddenUnderFog:
|
HiddenUnderFog:
|
||||||
|
|||||||
@@ -56,21 +56,6 @@ TiberiumExplosion:
|
|||||||
Explosions: large_explosion
|
Explosions: large_explosion
|
||||||
-Warhead@4Smu: LeaveSmudge
|
-Warhead@4Smu: LeaveSmudge
|
||||||
|
|
||||||
SmallDebris:
|
|
||||||
ReloadDelay: 60
|
|
||||||
Range: 4c0
|
|
||||||
Projectile: Bullet
|
|
||||||
Speed: 50, 125
|
|
||||||
LaunchAngle: 45, 135
|
|
||||||
Image: dbrissm
|
|
||||||
Sequences: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
|
|
||||||
Shadow: true
|
|
||||||
|
|
||||||
LargeDebris:
|
|
||||||
Inherits: SmallDebris
|
|
||||||
Projectile: Bullet
|
|
||||||
Image: dbrislg
|
|
||||||
|
|
||||||
Demolish:
|
Demolish:
|
||||||
Warhead@1Dam: SpreadDamage
|
Warhead@1Dam: SpreadDamage
|
||||||
DamageTypes: DefaultDeath
|
DamageTypes: DefaultDeath
|
||||||
|
|||||||
@@ -106,3 +106,60 @@ Veins:
|
|||||||
Warhead@Effect: CreateEffect
|
Warhead@Effect: CreateEffect
|
||||||
Explosions: veins
|
Explosions: veins
|
||||||
ExplosionPalette: player
|
ExplosionPalette: player
|
||||||
|
|
||||||
|
^Debris:
|
||||||
|
Range: 5c0
|
||||||
|
Projectile: Bullet
|
||||||
|
Speed: 64, 128
|
||||||
|
LaunchAngle: 80, 192
|
||||||
|
Image: dbrissm
|
||||||
|
Sequences: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
|
||||||
|
Shadow: true
|
||||||
|
Blockable: false
|
||||||
|
Warhead@1Dam: SpreadDamage
|
||||||
|
Spread: 200
|
||||||
|
Falloff: 100, 100, 0
|
||||||
|
Damage: 10
|
||||||
|
Versus:
|
||||||
|
None: 100
|
||||||
|
Wood: 85
|
||||||
|
Light: 70
|
||||||
|
Heavy: 35
|
||||||
|
Concrete: 28
|
||||||
|
DamageTypes: Prone100Percent, TriggerProne, ExplosionDeath
|
||||||
|
Warhead@2Eff: CreateEffect
|
||||||
|
Explosions: tiny_twlt
|
||||||
|
ExplosionPalette: effectalpha75
|
||||||
|
InvalidImpactTypes: Water
|
||||||
|
Warhead@3EffWater: CreateEffect
|
||||||
|
Explosions: small_watersplash
|
||||||
|
ExplosionPalette: player
|
||||||
|
ImpactSounds: ssplash3.aud
|
||||||
|
ValidImpactTypes: Water
|
||||||
|
Warhead@4Smu: LeaveSmudge
|
||||||
|
SmudgeType: SmallScorch
|
||||||
|
InvalidTargets: Vehicle, Building, Wall
|
||||||
|
|
||||||
|
SmallDebris:
|
||||||
|
Inherits: ^Debris
|
||||||
|
|
||||||
|
LargeDebris:
|
||||||
|
Inherits: ^Debris
|
||||||
|
Projectile: Bullet
|
||||||
|
Image: dbrislg
|
||||||
|
Sequences: 2, 3, 4, 6, 7, 9, 10
|
||||||
|
Warhead@1Dam: SpreadDamage
|
||||||
|
Spread: 320
|
||||||
|
Damage: 20
|
||||||
|
Warhead@2Eff: CreateEffect
|
||||||
|
Explosions: small_twlt
|
||||||
|
ImpactSounds: expnew06.aud
|
||||||
|
Warhead@4Smu: LeaveSmudge
|
||||||
|
SmudgeType: MediumCrater
|
||||||
|
|
||||||
|
LargeDebrisWithTrail:
|
||||||
|
Inherits: LargeDebris
|
||||||
|
Projectile: Bullet
|
||||||
|
Sequences: 1, 5, 8
|
||||||
|
TrailImage: small_smoke_trail
|
||||||
|
TrailInterval: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user