Move damage sounds and shaking from Building/RenderBuilding into their own traits. Fix wall damage/death sounds under cnc.

This commit is contained in:
Paul Chote
2011-01-04 13:13:01 +13:00
parent 4a47641656
commit 76216b8dd9
12 changed files with 106 additions and 35 deletions

BIN
mods/cnc/bits/sandbag2.aud Normal file

Binary file not shown.

View File

@@ -187,6 +187,7 @@
Footprint: x
BuildSounds: constru2.aud, hvydoor1.aud
SellSounds: cashturn.aud
SoundOnDamageTransition:
DamagedSound: xplos.aud
DestroyedSound: xplobig4.aud
Buildable:
@@ -208,6 +209,7 @@
Notification: strclost.aud
EditorAppearance:
RelativeToTopLeft: yes
ShakeOnDeath:
^CivBuilding:
Inherits: ^Building
@@ -243,8 +245,6 @@
BuildSounds: hvydoor1.aud
Capturable: false
BaseNormal: no
DamagedSound:
DestroyedSound:
Adjacent: 7
TargetableBuilding:
TargetTypes: Ground
@@ -311,8 +311,9 @@
BelowUnits:
Health:
HP: 1000
Building:
SoundOnDamageTransition:
DamagedSound: xplos.aud
DestroyedSound: xplobig4.aud
Building:
Footprint: ______ ______ ______ ______
Dimensions: 6,4

View File

@@ -569,8 +569,8 @@ BRIK:
Type: Heavy
Wall:
CrushClasses: heavywall
CrushSound:
Building:
-CrushSound:
SoundOnDamageTransition:
DestroyedSound: crumble.aud
GUN:

View File

@@ -130,6 +130,9 @@
Building:
Dimensions: 1,1
Footprint: x
SoundOnDamageTransition:
DamagedSound: kaboom1.aud
DestroyedSound: kaboom22.aud
RenderBuilding:
RepairableBuilding:
EmitInfantryOnSell:
@@ -141,6 +144,7 @@
Notification: strucap1.aud
EditorAppearance:
RelativeToTopLeft: yes
ShakeOnDeath:
^Wall:
AppearsOnRadar:
@@ -150,9 +154,10 @@
BuildSounds: placbldg.aud
Capturable: false
BaseNormal: no
Adjacent: 7
SoundOnDamageTransition:
DamagedSound: sandbag2.aud
DestroyedSound: sandbag2.aud
Adjacent: 7
Wall:
CrushClasses: wall
LineBuild:

View File

@@ -1135,7 +1135,7 @@ BRIK:
Tooltip:
Name: Concrete Wall
Description: Stop units and blocks enemy fire.
Building:
SoundOnDamageTransition:
DamagedSound: crmble2.aud
DestroyedSound: kaboom30.aud
Health: