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