Destruction & impact sound rework pass 1 (#24282)

* Various sounds ported

* Replace wall_bonk.ogg

* Metal/metalglass break sound pass

* Replace metalbreak.ogg

* Replace woodhit

* Replcae tap.ogg n some smack uses

* Fix lint

* Replace bang.ogg and some instances of hit_kick.ogg

* couple more

* fix wood sound

* i may be stupid

* le attributing

* bro what

* standardize more destruction sounds

* fix melee hit sound cutting off

* window threshold sounds and remove `destroySound` it literally doesnt exist
This commit is contained in:
Kara
2024-01-19 08:33:07 -07:00
committed by GitHub
parent bdb1399ada
commit 818b07ecf8
157 changed files with 455 additions and 236 deletions

View File

@@ -64,7 +64,7 @@ namespace Content.IntegrationTests.Tests.Destructible
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/woodhit.ogg collection: WoodDestroy
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
{SpawnedEntityId}: {SpawnedEntityId}:
@@ -86,7 +86,7 @@ namespace Content.IntegrationTests.Tests.Destructible
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/woodhit.ogg collection: WoodDestroyHeavy
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
{SpawnedEntityId}: {SpawnedEntityId}:

View File

@@ -106,7 +106,6 @@ namespace Content.IntegrationTests.Tests.Destructible
Assert.Multiple(() => Assert.Multiple(() =>
{ {
Assert.That(actsThreshold.Acts, Is.EqualTo(ThresholdActs.Breakage)); Assert.That(actsThreshold.Acts, Is.EqualTo(ThresholdActs.Breakage));
Assert.That(audio.GetSound(soundThreshold.Sound), Is.EqualTo("/Audio/Effects/woodhit.ogg"));
Assert.That(spawnThreshold.Spawn, Is.Not.Null); Assert.That(spawnThreshold.Spawn, Is.Not.Null);
Assert.That(spawnThreshold.Spawn, Has.Count.EqualTo(1)); Assert.That(spawnThreshold.Spawn, Has.Count.EqualTo(1));
Assert.That(spawnThreshold.Spawn.Single().Key, Is.EqualTo(SpawnedEntityId)); Assert.That(spawnThreshold.Spawn.Single().Key, Is.EqualTo(SpawnedEntityId));
@@ -173,7 +172,6 @@ namespace Content.IntegrationTests.Tests.Destructible
Assert.Multiple(() => Assert.Multiple(() =>
{ {
Assert.That(actsThreshold.Acts, Is.EqualTo(ThresholdActs.Breakage)); Assert.That(actsThreshold.Acts, Is.EqualTo(ThresholdActs.Breakage));
Assert.That(audio.GetSound(soundThreshold.Sound), Is.EqualTo("/Audio/Effects/woodhit.ogg"));
Assert.That(spawnThreshold.Spawn, Is.Not.Null); Assert.That(spawnThreshold.Spawn, Is.Not.Null);
Assert.That(spawnThreshold.Spawn, Has.Count.EqualTo(1)); Assert.That(spawnThreshold.Spawn, Has.Count.EqualTo(1));
Assert.That(spawnThreshold.Spawn.Single().Key, Is.EqualTo(SpawnedEntityId)); Assert.That(spawnThreshold.Spawn.Single().Key, Is.EqualTo(SpawnedEntityId));
@@ -236,7 +234,6 @@ namespace Content.IntegrationTests.Tests.Destructible
Assert.Multiple(() => Assert.Multiple(() =>
{ {
Assert.That(actsThreshold.Acts, Is.EqualTo(ThresholdActs.Breakage)); Assert.That(actsThreshold.Acts, Is.EqualTo(ThresholdActs.Breakage));
Assert.That(audio.GetSound(soundThreshold.Sound), Is.EqualTo("/Audio/Effects/woodhit.ogg"));
Assert.That(spawnThreshold.Spawn, Is.Not.Null); Assert.That(spawnThreshold.Spawn, Is.Not.Null);
Assert.That(spawnThreshold.Spawn, Has.Count.EqualTo(1)); Assert.That(spawnThreshold.Spawn, Has.Count.EqualTo(1));
Assert.That(spawnThreshold.Spawn.Single().Key, Is.EqualTo(SpawnedEntityId)); Assert.That(spawnThreshold.Spawn.Single().Key, Is.EqualTo(SpawnedEntityId));

View File

@@ -59,7 +59,7 @@ public sealed partial class AmeControllerComponent : SharedAmeControllerComponen
/// </summary> /// </summary>
[DataField("injectSound")] [DataField("injectSound")]
[ViewVariables(VVAccess.ReadWrite)] [ViewVariables(VVAccess.ReadWrite)]
public SoundSpecifier InjectSound = new SoundPathSpecifier("/Audio/Effects/bang.ogg"); public SoundSpecifier InjectSound = new SoundCollectionSpecifier("MetalThud");
/// <summary> /// <summary>
/// The last time this could have injected fuel into the AME. /// The last time this could have injected fuel into the AME.

View File

@@ -8,7 +8,7 @@ public sealed partial class ImmovableRodComponent : Component
public int MobCount = 0; public int MobCount = 0;
[DataField("hitSound")] [DataField("hitSound")]
public SoundSpecifier Sound = new SoundPathSpecifier("/Audio/Effects/bang.ogg"); public SoundSpecifier Sound = new SoundCollectionSpecifier("MetalSlam");
[DataField("hitSoundProbability")] [DataField("hitSoundProbability")]
public float HitSoundProbability = 0.1f; public float HitSoundProbability = 0.1f;

View File

@@ -100,7 +100,7 @@ public sealed partial class DoorComponent : Component
/// Sound to play when a disarmed (hands comp with 0 hands) entity opens the door. What? /// Sound to play when a disarmed (hands comp with 0 hands) entity opens the door. What?
/// </summary> /// </summary>
[DataField("tryOpenDoorSound")] [DataField("tryOpenDoorSound")]
public SoundSpecifier TryOpenDoorSound = new SoundPathSpecifier("/Audio/Effects/bang.ogg"); public SoundSpecifier TryOpenDoorSound = new SoundCollectionSpecifier("MetalSlam");
/// <summary> /// <summary>
/// Sound to play when door has been emagged or possibly electrically tampered /// Sound to play when door has been emagged or possibly electrically tampered

View File

@@ -138,7 +138,7 @@ public sealed partial class MeleeWeaponComponent : Component
/// </summary> /// </summary>
[ViewVariables(VVAccess.ReadWrite)] [ViewVariables(VVAccess.ReadWrite)]
[DataField("soundNoDamage"), AutoNetworkedField] [DataField("soundNoDamage"), AutoNetworkedField]
public SoundSpecifier NoDamageSound { get; set; } = new SoundPathSpecifier("/Audio/Weapons/tap.ogg"); public SoundSpecifier NoDamageSound { get; set; } = new SoundCollectionSpecifier("WeakHit");
} }
/// <summary> /// <summary>

View File

@@ -740,22 +740,27 @@ public abstract class SharedMeleeWeaponSystem : EntitySystem
{ {
var playedSound = false; var playedSound = false;
if (Deleted(target))
return;
// hitting can obv destroy an entity so we play at coords and not following them
var coords = Transform(target).Coordinates;
// Play sound based off of highest damage type. // Play sound based off of highest damage type.
if (TryComp<MeleeSoundComponent>(target, out var damageSoundComp)) if (TryComp<MeleeSoundComponent>(target, out var damageSoundComp))
{ {
if (type == null && damageSoundComp.NoDamageSound != null) if (type == null && damageSoundComp.NoDamageSound != null)
{ {
Audio.PlayPredicted(damageSoundComp.NoDamageSound, target, user, AudioParams.Default.WithVariation(DamagePitchVariation)); Audio.PlayPredicted(damageSoundComp.NoDamageSound, coords, user, AudioParams.Default.WithVariation(DamagePitchVariation));
playedSound = true; playedSound = true;
} }
else if (type != null && damageSoundComp.SoundTypes?.TryGetValue(type, out var damageSoundType) == true) else if (type != null && damageSoundComp.SoundTypes?.TryGetValue(type, out var damageSoundType) == true)
{ {
Audio.PlayPredicted(damageSoundType, target, user, AudioParams.Default.WithVariation(DamagePitchVariation)); Audio.PlayPredicted(damageSoundType, coords, user, AudioParams.Default.WithVariation(DamagePitchVariation));
playedSound = true; playedSound = true;
} }
else if (type != null && damageSoundComp.SoundGroups?.TryGetValue(type, out var damageSoundGroup) == true) else if (type != null && damageSoundComp.SoundGroups?.TryGetValue(type, out var damageSoundGroup) == true)
{ {
Audio.PlayPredicted(damageSoundGroup, target, user, AudioParams.Default.WithVariation(DamagePitchVariation)); Audio.PlayPredicted(damageSoundGroup, coords, user, AudioParams.Default.WithVariation(DamagePitchVariation));
playedSound = true; playedSound = true;
} }
} }
@@ -765,12 +770,12 @@ public abstract class SharedMeleeWeaponSystem : EntitySystem
{ {
if (hitSoundOverride != null) if (hitSoundOverride != null)
{ {
Audio.PlayPredicted(hitSoundOverride, target, user, AudioParams.Default.WithVariation(DamagePitchVariation)); Audio.PlayPredicted(hitSoundOverride, coords, user, AudioParams.Default.WithVariation(DamagePitchVariation));
playedSound = true; playedSound = true;
} }
else if (hitSound != null) else if (hitSound != null)
{ {
Audio.PlayPredicted(hitSound, target, user, AudioParams.Default.WithVariation(DamagePitchVariation)); Audio.PlayPredicted(hitSound, coords, user, AudioParams.Default.WithVariation(DamagePitchVariation));
playedSound = true; playedSound = true;
} }
} }
@@ -789,10 +794,10 @@ public abstract class SharedMeleeWeaponSystem : EntitySystem
break; break;
// No damage, fallback to tappies // No damage, fallback to tappies
case null: case null:
Audio.PlayPredicted(new SoundPathSpecifier("/Audio/Weapons/tap.ogg"), target, user, AudioParams.Default.WithVariation(DamagePitchVariation)); Audio.PlayPredicted(new SoundCollectionSpecifier("WeakHit"), target, user, AudioParams.Default.WithVariation(DamagePitchVariation));
break; break;
case "Brute": case "Brute":
Audio.PlayPredicted(new SoundPathSpecifier("/Audio/Weapons/smash.ogg"), target, user, AudioParams.Default.WithVariation(DamagePitchVariation)); Audio.PlayPredicted(new SoundCollectionSpecifier("MetalThud"), target, user, AudioParams.Default.WithVariation(DamagePitchVariation));
break; break;
} }
} }

View File

@@ -88,7 +88,7 @@ public sealed partial class ArtifactCrusherComponent : Component
/// Sound played at the end of a successful crush. /// Sound played at the end of a successful crush.
/// </summary> /// </summary>
[DataField, AutoNetworkedField] [DataField, AutoNetworkedField]
public SoundSpecifier? CrushingCompleteSound = new SoundPathSpecifier("/Audio/Effects/metal_crunch.ogg"); public SoundSpecifier? CrushingCompleteSound = new SoundCollectionSpecifier("MetalCrunch");
/// <summary> /// <summary>
/// Sound played throughout the entire crushing. Cut off if ended early. /// Sound played throughout the entire crushing. Cut off if ended early.

View File

@@ -77,12 +77,12 @@
license: "CC-BY-NC-SA-3.0" license: "CC-BY-NC-SA-3.0"
copyright: "Taken from DragishaRambo21 via freesound.org and mixed from stereo to mono." copyright: "Taken from DragishaRambo21 via freesound.org and mixed from stereo to mono."
source: "https://freesound.org/people/DragishaRambo21/sounds/345920/" source: "https://freesound.org/people/DragishaRambo21/sounds/345920/"
- files: ["tesla_consume.ogg"] - files: ["tesla_consume.ogg"]
license: "CC0-1.0" license: "CC0-1.0"
copyright: "Taken from egomassive via freesound.org and mixed from stereo to mono." copyright: "Taken from egomassive via freesound.org and mixed from stereo to mono."
source: "https://freesound.org/people/egomassive/sounds/536741/" source: "https://freesound.org/people/egomassive/sounds/536741/"
- files: ["sizzle.ogg"] - files: ["sizzle.ogg"]
license: "CC-BY-SA-3.0" license: "CC-BY-SA-3.0"
copyright: "Recorded by deltanedas for SS14" copyright: "Recorded by deltanedas for SS14"
@@ -93,11 +93,6 @@
license: Custom license: Custom
source: https://gdc.sonniss.com source: https://gdc.sonniss.com
- files: ["wall_bonk.ogg"]
copyright: '"Nuts and Bolts" by 344 Audio of SONNISS.com. See https://sonniss.com/gdc-bundle-license/ for license.'
license: Custom
source: https://gdc.sonniss.com
- files: ["pop.ogg"] - files: ["pop.ogg"]
copyright: '"pop.ogg" by mirrorcult of GitHub.com' copyright: '"pop.ogg" by mirrorcult of GitHub.com'
license: "CC0-1.0" license: "CC0-1.0"
@@ -132,6 +127,26 @@
license: "CC-BY-NC-4.0" license: "CC-BY-NC-4.0"
source: "https://freesound.org/people/PNMCarrieRailfan/sounds/682439/" source: "https://freesound.org/people/PNMCarrieRailfan/sounds/682439/"
- files: ["metal_slam5.ogg", "metal_break1.ogg", "metal_break1.ogg", "metal_break1.ogg", "metal_break1.ogg", "metal_break5.ogg", "metal_glass_break1.ogg", "metal_glass_break2.ogg"]
copyright: 'Created by and released in a sound pack by PNMCarrieRailfan on Freesound.org. Cut, edited and exported to mono .ogg by mirrorcult (github)'
license: "CC-BY-NC-4.0"
source: "https://freesound.org/people/PNMCarrieRailfan/packs/38016/"
- files: ["glass_break1.ogg", "glass_break2.ogg", "glass_break3.ogg", "glass_break4.ogg", "glass_smack.ogg", "glass_smash.ogg", "metal_thud1.ogg", "metal_thud2.ogg", "metal_thud3.ogg", "weak_hit.ogg", "wood_destroy1.ogg", "window_shatter1.ogg", "window_shatter2.ogg", "window_shatter3.ogg"]
copyright: "CM-SS13 at 84dc482572649ae7c2264c71ea1fe9fd169e4774"
license: "CC-BY-SA-3.0"
source: "https://github.com/cmss13-devs/cmss13"
- files: ["glass_crack1.ogg", "glass_crack2.ogg", "glass_crack3.ogg", "glass_crack4.ogg", "metal_scrape1.ogg", "metal_scrape2.ogg", "metal_scrape3.ogg"]
copyright: "Baystation 12 at 23c0d851246ebbaeb0df647318ce9874da895d3d"
license: "CC-BY-SA-3.0"
source: "https://github.com/Baystation12/Baystation12"
- files: ["wood_destroy2.ogg", "wood_destroy3.ogg", "wood_destroy_heavy1.ogg", "metal_slam1.ogg", "metal_slam2.ogg", "metal_slam3.ogg"]
copyright: "Based on sounds from OpenSourceWeb at edb003dc8ff5009476a9bcb74e79206039fb3390, edited and reworked by mirrorcult"
license: "CC-BY-SA-3.0"
source: "https://github.com/Open-SourceWeb/OpenSourceWeb"
- files: ["voteding.ogg"] - files: ["voteding.ogg"]
copyright: '"Bike, Bell Ding, Single, 01-01.wav" byInspectorJ (www.jshaw.co.uk) of Freesound.org; The volume has been reduced.' copyright: '"Bike, Bell Ding, Single, 01-01.wav" byInspectorJ (www.jshaw.co.uk) of Freesound.org; The volume has been reduced.'
license: "CC-BY-4.0" license: "CC-BY-4.0"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -14,7 +14,7 @@
types: types:
Blunt: 5 Blunt: 5
soundHit: soundHit:
path: /Audio/Effects/hit_kick.ogg collection: MetalThud
- type: CombatMode - type: CombatMode
- type: NoSlip - type: NoSlip
- type: StaticPrice - type: StaticPrice
@@ -159,7 +159,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- !type:EmptyContainersBehaviour - !type:EmptyContainersBehaviour
containers: containers:
- borg_brain - borg_brain
@@ -249,4 +249,4 @@
channels: channels:
- Syndicate - Syndicate
- type: ShowSyndicateIcons - type: ShowSyndicateIcons
- type: MovementAlwaysTouching - type: MovementAlwaysTouching

View File

@@ -26,7 +26,7 @@
types: types:
Blunt: 5 Blunt: 5
soundHit: soundHit:
path: /Audio/Effects/hit_kick.ogg collection: MetalThud
- type: RandomSprite - type: RandomSprite
available: available:
- enum.DamageStateVisualLayers.Base: - enum.DamageStateVisualLayers.Base:

View File

@@ -13,7 +13,7 @@
types: types:
Blunt: 5 Blunt: 5
soundHit: soundHit:
path: /Audio/Effects/hit_kick.ogg collection: MetalThud
- type: Clickable - type: Clickable
- type: Damageable - type: Damageable
damageContainer: Inorganic damageContainer: Inorganic

View File

@@ -62,7 +62,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
params: params:
volume: -8 volume: -8
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior

View File

@@ -223,7 +223,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/glass_break1.ogg collection: GlassBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
FloodlightBroken: FloodlightBroken:
@@ -259,7 +259,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalGlassBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
SheetSteel1: SheetSteel1:

View File

@@ -34,7 +34,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
params: params:
volume: -8 volume: -8
- !type:DoActsBehavior - !type:DoActsBehavior

View File

@@ -6,8 +6,7 @@
- type: MeleeSound - type: MeleeSound
soundGroups: soundGroups:
Brute: Brute:
path: collection: GlassSmash
"/Audio/Effects/glass_hit.ogg"
- type: Sprite - type: Sprite
sprite: Objects/Power/light_bulb.rsi sprite: Objects/Power/light_bulb.rsi
layers: layers:

View File

@@ -47,7 +47,8 @@
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: /Audio/Effects/metalbreak.ogg sound:
collection: MetalBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
SheetSteel: SheetSteel:
@@ -160,7 +161,8 @@
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: /Audio/Effects/metalbreak.ogg sound:
collection: WoodDestroy
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
MaterialWoodPlank: MaterialWoodPlank:
@@ -215,7 +217,8 @@
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: /Audio/Effects/metalbreak.ogg sound:
collection: MetalBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
SheetSteel: SheetSteel:
@@ -273,7 +276,7 @@
max: 1 max: 1
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/woodhit.ogg collection: WoodDestroy
#Magic/Cult Shields (give these to wizard for now) #Magic/Cult Shields (give these to wizard for now)
@@ -346,7 +349,8 @@
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: /Audio/Effects/glass_break1.ogg sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
SheetGlass: SheetGlass:
@@ -440,7 +444,8 @@
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: /Audio/Effects/metalbreak.ogg sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
BrokenEnergyShield: BrokenEnergyShield:
@@ -518,7 +523,8 @@
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: /Audio/Effects/metalbreak.ogg sound:
collection: MetalGlassBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
SheetSteel: SheetSteel:

View File

@@ -401,7 +401,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- type: ItemMapper - type: ItemMapper
mapLayers: mapLayers:
cart_plunger: cart_plunger:
@@ -544,7 +544,7 @@
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- type: entity - type: entity
name: plunger name: plunger

View File

@@ -40,7 +40,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- type: Appearance - type: Appearance
- type: UserInterface - type: UserInterface
interfaces: interfaces:

View File

@@ -67,7 +67,7 @@
max: 5 max: 5
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
- type: PointLight - type: PointLight

View File

@@ -44,7 +44,7 @@
max: 5 max: 5
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
@@ -107,6 +107,6 @@
max: 10 max: 10
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]

View File

@@ -39,7 +39,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- !type:DumpRestockInventory - !type:DumpRestockInventory
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]

View File

@@ -37,7 +37,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalGlassBreak
- !type:ExplodeBehavior - !type:ExplodeBehavior
- type: entity - type: entity
@@ -125,7 +125,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalGlassBreak
- !type:ExplodeBehavior - !type:ExplodeBehavior
- !type:SpawnEntitiesBehavior # in future should also emit a cloud of hot gas - !type:SpawnEntitiesBehavior # in future should also emit a cloud of hot gas
spawn: spawn:
@@ -402,7 +402,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- type: entity - type: entity
parent: VehicleUnicycle parent: VehicleUnicycle

View File

@@ -255,7 +255,7 @@
types: types:
Heat: 5 Heat: 5
soundHit: soundHit:
path: "/Audio/Weapons/tap.ogg" collection: WeakHit
forceSound: true forceSound: true
- type: entity - type: entity
@@ -295,7 +295,7 @@
types: types:
Heat: 1 Heat: 1
soundHit: soundHit:
path: "/Audio/Weapons/tap.ogg" collection: WeakHit
forceSound: true forceSound: true
- type: entity - type: entity
@@ -866,7 +866,7 @@
types: types:
Heat: 2 Heat: 2
soundHit: soundHit:
path: "/Audio/Weapons/tap.ogg" collection: WeakHit
forceSound: true forceSound: true
- type: entity - type: entity

View File

@@ -23,7 +23,7 @@
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalGlassBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
SheetSteel1: SheetSteel1:
@@ -86,7 +86,7 @@
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalGlassBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
SheetSteel1: SheetSteel1:

View File

@@ -31,7 +31,8 @@
damage: 15 damage: 15
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: /Audio/Effects/metalbreak.ogg sound:
collection: MetalBreak
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
- type: DamageOnLand - type: DamageOnLand

View File

@@ -10,7 +10,7 @@
- type: MovedByPressure - type: MovedByPressure
- type: EmitSoundOnCollide - type: EmitSoundOnCollide
sound: sound:
path: /Audio/Effects/wall_bonk.ogg collection: WeakHit
- type: EmitSoundOnLand - type: EmitSoundOnLand
sound: sound:
path: /Audio/Effects/drop.ogg path: /Audio/Effects/drop.ogg
@@ -21,7 +21,7 @@
types: types:
Blunt: 5 Blunt: 5
soundHit: soundHit:
path: /Audio/Effects/hit_kick.ogg collection: MetalThud
- type: CollisionWake - type: CollisionWake
- type: TileFrictionModifier - type: TileFrictionModifier
modifier: 0.5 modifier: 0.5

View File

@@ -23,7 +23,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
PartRodMetal1: PartRodMetal1:

View File

@@ -53,7 +53,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalGlassBreak
- type: ReagentDispenser - type: ReagentDispenser
storageWhitelist: storageWhitelist:
tags: tags:

View File

@@ -22,6 +22,9 @@
!type:DamageTrigger !type:DamageTrigger
damage: 100 damage: 100
behaviors: behaviors:
- !type:PlaySoundBehavior
sound:
collection: MetalGlassBreak
- !type:ChangeConstructionNodeBehavior - !type:ChangeConstructionNodeBehavior
node: machineFrame node: machineFrame
- !type:DoActsBehavior - !type:DoActsBehavior

View File

@@ -129,7 +129,7 @@
components: components:
- type: Sprite - type: Sprite
sprite: Structures/Doors/Airlocks/Standard/hatch_maint.rsi sprite: Structures/Doors/Airlocks/Standard/hatch_maint.rsi
# Glass # Glass
- type: entity - type: entity
@@ -140,8 +140,7 @@
- type: MeleeSound - type: MeleeSound
soundGroups: soundGroups:
Brute: Brute:
path: collection: GlassSmack
"/Audio/Effects/glass_hit.ogg"
- type: Door - type: Door
occludes: false occludes: false
- type: Occluder - type: Occluder

View File

@@ -118,6 +118,10 @@
behaviors: behaviors:
- !type:DoActsBehavior - !type:DoActsBehavior
acts: ["Destruction"] acts: ["Destruction"]
# TODO this should go to the broken node first
- !type:PlaySoundBehavior
sound:
collection: MetalSlam
- type: Construction - type: Construction
graph: Airlock graph: Airlock
node: airlock node: airlock

View File

@@ -233,7 +233,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/woodhit.ogg collection: WoodDestroy
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
MaterialWebSilk: MaterialWebSilk:

View File

@@ -8,8 +8,7 @@
- type: MeleeSound - type: MeleeSound
soundGroups: soundGroups:
Brute: Brute:
path: collection: GlassSmash
"/Audio/Effects/glass_hit.ogg"
- type: InteractionOutline - type: InteractionOutline
- type: Physics - type: Physics
- type: Fixtures - type: Fixtures

View File

@@ -41,7 +41,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
params: params:
volume: -6 volume: -6
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
@@ -98,7 +98,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/woodhit.ogg collection: WoodDestroy
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
MaterialWoodPlank1: MaterialWoodPlank1:
@@ -141,7 +141,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
params: params:
volume: -6 volume: -6
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
@@ -182,7 +182,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
params: params:
volume: -6 volume: -6
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
@@ -220,7 +220,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
params: params:
volume: -6 volume: -6
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
@@ -267,13 +267,16 @@
behaviors: behaviors:
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- trigger: - trigger:
!type:DamageTrigger !type:DamageTrigger
damage: 5 damage: 5
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/glass_break2.ogg collection: GlassBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
ShardGlass: ShardGlass:
@@ -316,13 +319,16 @@
behaviors: #excess damage (nuke?). avoid computational cost of spawning entities. behaviors: #excess damage (nuke?). avoid computational cost of spawning entities.
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- trigger: - trigger:
!type:DamageTrigger !type:DamageTrigger
damage: 20 damage: 20
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/glass_break2.ogg collection: GlassBreak
- !type:ChangeConstructionNodeBehavior - !type:ChangeConstructionNodeBehavior
node: TableFrame node: TableFrame
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
@@ -368,13 +374,16 @@
behaviors: #excess damage (nuke?). avoid computational cost of spawning entities. behaviors: #excess damage (nuke?). avoid computational cost of spawning entities.
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- trigger: - trigger:
!type:DamageTrigger !type:DamageTrigger
damage: 50 damage: 50
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/glass_break2.ogg collection: GlassBreak
- !type:ChangeConstructionNodeBehavior - !type:ChangeConstructionNodeBehavior
node: TableFrame node: TableFrame
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
@@ -414,13 +423,16 @@
behaviors: #excess damage (nuke?). avoid computational cost of spawning entities. behaviors: #excess damage (nuke?). avoid computational cost of spawning entities.
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- trigger: - trigger:
!type:DamageTrigger !type:DamageTrigger
damage: 15 damage: 15
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/woodhit.ogg collection: WoodDestroy
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
MaterialWoodPlank: MaterialWoodPlank:
@@ -458,7 +470,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/woodhit.ogg collection: WoodDestroy
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
MaterialWoodPlank: MaterialWoodPlank:
@@ -589,7 +601,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/woodhit.ogg collection: WoodDestroy
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
MaterialWoodPlank1: MaterialWoodPlank1:
@@ -632,7 +644,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
params: params:
volume: -6 volume: -6
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior

View File

@@ -53,7 +53,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
SheetSteel1: SheetSteel1:
@@ -187,7 +187,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/woodhit.ogg collection: WoodDestroyHeavy
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
MaterialWoodPlank: MaterialWoodPlank:
@@ -382,7 +382,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
SheetSteel1: SheetSteel1:

View File

@@ -105,7 +105,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/woodhit.ogg collection: WoodDestroy
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
MaterialWoodPlank: MaterialWoodPlank:
@@ -144,7 +144,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/woodhit.ogg collection: WoodDestroy
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
MaterialWebSilk: MaterialWebSilk:

View File

@@ -26,7 +26,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/woodhit.ogg collection: WoodDestroyHeavy
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
MaterialWoodPlank: MaterialWoodPlank:

View File

@@ -45,7 +45,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- type: StaticPrice - type: StaticPrice
price: 10 price: 10
@@ -191,7 +191,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/woodhit.ogg collection: WoodDestroy
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
MaterialWoodPlank: MaterialWoodPlank:
@@ -289,7 +289,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/woodhit.ogg collection: WoodDestroy
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
MaterialWebSilk: MaterialWebSilk:

View File

@@ -22,7 +22,8 @@
visible: false visible: false
- type: MovedByPressure - type: MovedByPressure
- type: DamageOnHighSpeedImpact - type: DamageOnHighSpeedImpact
soundHit: /Audio/Effects/bang.ogg soundHit:
collection: MetalThud
- type: InteractionOutline - type: InteractionOutline
- type: Physics - type: Physics
- type: Fixtures - type: Fixtures

View File

@@ -58,7 +58,7 @@
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- type: AmbientSound - type: AmbientSound
enabled: false enabled: false
volume: -8 volume: -8

View File

@@ -13,8 +13,7 @@
- type: MeleeSound - type: MeleeSound
soundGroups: soundGroups:
Brute: Brute:
path: collection: GlassSmash
"/Audio/Effects/glass_hit.ogg"
- type: Transform - type: Transform
anchored: true anchored: true
- type: Clickable - type: Clickable
@@ -49,6 +48,9 @@
behaviors: #excess damage, don't spawn entities. behaviors: #excess damage, don't spawn entities.
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- trigger: - trigger:
!type:DamageTrigger !type:DamageTrigger
damage: 50 damage: 50
@@ -61,6 +63,9 @@
max: 2 max: 2
- !type:DoActsBehavior - !type:DoActsBehavior
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
placement: placement:
mode: SnapgridCenter mode: SnapgridCenter
snap: snap:

View File

@@ -41,7 +41,7 @@
- !type:EmptyAllContainersBehaviour - !type:EmptyAllContainersBehaviour
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalGlassBreak
- type: entity - type: entity
parent: BaseLightStructure parent: BaseLightStructure

View File

@@ -8,8 +8,7 @@
- type: MeleeSound - type: MeleeSound
soundGroups: soundGroups:
Brute: Brute:
path: collection: GlassSmash
"/Audio/Effects/glass_hit.ogg"
- type: Construction - type: Construction
graph: Computer graph: Computer
node: computer node: computer

View File

@@ -90,7 +90,7 @@
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalGlassBreak
params: params:
volume: -6 volume: -6
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior

View File

@@ -63,6 +63,9 @@
damage: 100 damage: 100
behaviors: behaviors:
- !type:EmptyAllContainersBehaviour - !type:EmptyAllContainersBehaviour
- !type:PlaySoundBehavior
sound:
collection: WindowShatter
- !type:ChangeConstructionNodeBehavior - !type:ChangeConstructionNodeBehavior
node: machineFrame node: machineFrame
- !type:DoActsBehavior - !type:DoActsBehavior

View File

@@ -85,7 +85,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalGlassBreak
- !type:ExplodeBehavior - !type:ExplodeBehavior
- type: GuideHelp - type: GuideHelp
guides: guides:

View File

@@ -40,7 +40,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- type: entity - type: entity
abstract: true abstract: true

View File

@@ -38,6 +38,9 @@
!type:DamageTrigger !type:DamageTrigger
damage: 50 damage: 50
behaviors: behaviors:
- !type:PlaySoundBehavior
sound:
collection: MetalGlassBreak
- !type:ChangeConstructionNodeBehavior - !type:ChangeConstructionNodeBehavior
node: machineFrame node: machineFrame
- !type:DoActsBehavior - !type:DoActsBehavior

View File

@@ -39,6 +39,9 @@
!type:DamageTrigger !type:DamageTrigger
damage: 100 damage: 100
behaviors: behaviors:
- !type:PlaySoundBehavior
sound:
collection: MetalGlassBreak
- !type:ChangeConstructionNodeBehavior - !type:ChangeConstructionNodeBehavior
node: machineFrame node: machineFrame
- !type:DoActsBehavior - !type:DoActsBehavior

View File

@@ -50,7 +50,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalGlassBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
SheetSteel1: SheetSteel1:

View File

@@ -88,6 +88,9 @@
!type:DamageTrigger !type:DamageTrigger
damage: 100 damage: 100
behaviors: behaviors:
- !type:PlaySoundBehavior
sound:
collection: MetalGlassBreak
- !type:ChangeConstructionNodeBehavior - !type:ChangeConstructionNodeBehavior
node: machineFrame node: machineFrame
- !type:DoActsBehavior - !type:DoActsBehavior

View File

@@ -45,6 +45,9 @@
!type:DamageTrigger !type:DamageTrigger
damage: 100 damage: 100
behaviors: behaviors:
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- !type:ChangeConstructionNodeBehavior - !type:ChangeConstructionNodeBehavior
node: start node: start
- !type:DoActsBehavior - !type:DoActsBehavior
@@ -97,6 +100,9 @@
!type:DamageTrigger !type:DamageTrigger
damage: 100 damage: 100
behaviors: behaviors:
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- !type:ChangeConstructionNodeBehavior - !type:ChangeConstructionNodeBehavior
node: missingWires node: missingWires
- !type:DoActsBehavior - !type:DoActsBehavior

View File

@@ -113,7 +113,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalGlassBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
MachineFrameDestroyed: MachineFrameDestroyed:

View File

@@ -25,6 +25,9 @@
!type:DamageTrigger !type:DamageTrigger
damage: 100 damage: 100
behaviors: behaviors:
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- !type:ChangeConstructionNodeBehavior - !type:ChangeConstructionNodeBehavior
node: machineFrame node: machineFrame
- !type:DoActsBehavior - !type:DoActsBehavior

View File

@@ -51,6 +51,9 @@
!type:DamageTrigger !type:DamageTrigger
damage: 100 damage: 100
behaviors: behaviors:
- !type:PlaySoundBehavior
sound:
collection: MetalGlassBreak
- !type:ChangeConstructionNodeBehavior - !type:ChangeConstructionNodeBehavior
node: machineFrame node: machineFrame
- !type:DoActsBehavior - !type:DoActsBehavior

View File

@@ -59,6 +59,9 @@
!type:DamageTrigger !type:DamageTrigger
damage: 100 damage: 100
behaviors: behaviors:
- !type:PlaySoundBehavior
sound:
collection: MetalGlassBreak
- !type:ChangeConstructionNodeBehavior - !type:ChangeConstructionNodeBehavior
node: machineFrame node: machineFrame
- !type:DoActsBehavior - !type:DoActsBehavior

View File

@@ -45,7 +45,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
SheetSteel1: SheetSteel1:
@@ -112,7 +112,7 @@
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- !type:SpawnEntitiesBehavior - !type:SpawnEntitiesBehavior
spawn: spawn:
SheetSteel1: SheetSteel1:

View File

@@ -82,7 +82,7 @@
acts: [ "Destruction" ] acts: [ "Destruction" ]
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
path: /Audio/Effects/metalbreak.ogg collection: MetalBreak
- type: Damageable - type: Damageable
damageContainer: Inorganic damageContainer: Inorganic
damageModifierSet: Metallic damageModifierSet: Metallic
@@ -91,4 +91,4 @@
types: types:
Blunt: 5 Blunt: 5
soundHit: soundHit:
path: /Audio/Effects/bang.ogg collection: MetalThud

Some files were not shown because too many files have changed in this diff Show More