From 7795e4f524aba8cdfa9a321fe863209cd5cd8e2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Tue, 23 Feb 2016 21:56:13 +0100 Subject: [PATCH] Add damaging through Veins. --- mods/ts/rules/defaults.yaml | 3 +++ mods/ts/rules/gdi-vehicles.yaml | 2 ++ mods/ts/rules/nod-vehicles.yaml | 2 ++ mods/ts/rules/shared-vehicles.yaml | 1 + mods/ts/sequences/misc.yaml | 5 +++++ mods/ts/weapons/otherweapons.yaml | 10 ++++++++++ 6 files changed, 23 insertions(+) diff --git a/mods/ts/rules/defaults.yaml b/mods/ts/rules/defaults.yaml index ac494541c3..341d57559a 100644 --- a/mods/ts/rules/defaults.yaml +++ b/mods/ts/rules/defaults.yaml @@ -437,6 +437,9 @@ Weapons: SmallDebris Pieces: 3, 7 Range: 2c0, 5c0 + PoisonedByTiberium: + Weapon: Veins + Resources: Veins ^Tank: Inherits: ^Vehicle diff --git a/mods/ts/rules/gdi-vehicles.yaml b/mods/ts/rules/gdi-vehicles.yaml index 2a8e221def..eebeea85ef 100644 --- a/mods/ts/rules/gdi-vehicles.yaml +++ b/mods/ts/rules/gdi-vehicles.yaml @@ -85,6 +85,7 @@ HVR: TrailWhileStationary: True StationaryInterval: 18 MovingInterval: 6 + -PoisonedByTiberium: SMECH: Inherits: ^Vehicle @@ -123,6 +124,7 @@ SMECH: MoveSequence: run Selectable: Bounds: 20, 32, 0, -8 + -PoisonedByTiberium: MMCH: Inherits: ^Tank diff --git a/mods/ts/rules/nod-vehicles.yaml b/mods/ts/rules/nod-vehicles.yaml index 90cf5ca203..3141529ed8 100644 --- a/mods/ts/rules/nod-vehicles.yaml +++ b/mods/ts/rules/nod-vehicles.yaml @@ -27,6 +27,7 @@ BGGY: Voice: Attack AutoTarget: WithMuzzleOverlay: + -PoisonedByTiberium: BIKE: Inherits: ^VoxelVehicle @@ -255,6 +256,7 @@ WEED: -WithVoxelBody: WithVoxelUnloadBody: -GainsExperience: + -PoisonedByTiberium: SAPC: Inherits: ^VoxelTank diff --git a/mods/ts/rules/shared-vehicles.yaml b/mods/ts/rules/shared-vehicles.yaml index d1e192c882..102506cccc 100644 --- a/mods/ts/rules/shared-vehicles.yaml +++ b/mods/ts/rules/shared-vehicles.yaml @@ -97,6 +97,7 @@ HARV: FactionImages: gdi: harv.gdi nod: harv.nod + -PoisonedByTiberium: LPST: Inherits: ^VoxelTank diff --git a/mods/ts/sequences/misc.yaml b/mods/ts/sequences/misc.yaml index 263d8b4150..cd3376ab6a 100644 --- a/mods/ts/sequences/misc.yaml +++ b/mods/ts/sequences/misc.yaml @@ -175,6 +175,10 @@ explosion: small_grey_explosion: xgrysml2 medium_grey_explosion: xgrymed1 large_grey_explosion: xgrymed2 + veins: veinatac + Length: 12 + UseTilesetExtension: true + ZOffset: 1023 discus: idle: @@ -299,6 +303,7 @@ resources: Length: 1 Start: 52 ShadowStart: -1 + Tick: 180 shroud: Defaults: diff --git a/mods/ts/weapons/otherweapons.yaml b/mods/ts/weapons/otherweapons.yaml index 7aab314efc..1703431112 100644 --- a/mods/ts/weapons/otherweapons.yaml +++ b/mods/ts/weapons/otherweapons.yaml @@ -66,3 +66,13 @@ Tiberium: Spread: 42 Damage: 2 DamageTypes: EnergyDeath # TODO: FIX ME! + +Veins: + ReloadDelay: 16 + Warhead@Damage: SpreadDamage + Spread: 42 + Damage: 5 + DamageTypes: EnergyDeath # TODO: FIX ME! + Warhead@Effect: CreateEffect + Explosions: veins + ExplosionPalette: player