From 3f25163b39a831845b47dde3a55eff371975392b Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Thu, 6 May 2010 19:41:21 +1200 Subject: [PATCH] better sound match for wall destruction --- OpenRA.Game/Traits/Building.cs | 1 + mods/ra/defaults.yaml | 4 +++- mods/ra/structures.yaml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/OpenRA.Game/Traits/Building.cs b/OpenRA.Game/Traits/Building.cs index 4a4ff0e794..0e78e6b638 100644 --- a/OpenRA.Game/Traits/Building.cs +++ b/OpenRA.Game/Traits/Building.cs @@ -53,6 +53,7 @@ namespace OpenRA.Traits public readonly string[] SellSounds = {"cashturn.aud"}; public readonly string DamagedSound = "kaboom1.aud"; public readonly string DestroyedSound = "kaboom22.aud"; + public object Create(Actor self) { return new Building(self); } } diff --git a/mods/ra/defaults.yaml b/mods/ra/defaults.yaml index ffdd08575d..98e36e14c4 100644 --- a/mods/ra/defaults.yaml +++ b/mods/ra/defaults.yaml @@ -66,7 +66,9 @@ Capturable: false BaseNormal: no Crewed: no - Sight: 0 + Sight: 0 + DamagedSound: sandbag2.aud + DestroyedSound: sandbag2.aud Wall: LineBuild: Selectable: diff --git a/mods/ra/structures.yaml b/mods/ra/structures.yaml index 08516078f9..87e1d333e1 100644 --- a/mods/ra/structures.yaml +++ b/mods/ra/structures.yaml @@ -849,6 +849,8 @@ BRIK: Description: Concrete Wall LongDesc: Stop units and blocks enemy fire. BuildPaletteOrder: 100 + DamagedSound: crmble2.aud + DestroyedSound: kaboom30.aud Building: HP: 100 Armor: none