Ambient sound system (#4552)

* Ambient sound system

Client-side system that plays audio from nearby objects that are randomly sampled.

* Decent

* Tweaks

* Tweaks

* Comment this out for now

* reduce VM sound

* Fix rolloff

* Fixes

* Volume tweak
This commit is contained in:
metalgearsloth
2021-09-07 18:47:23 +10:00
committed by GitHub
parent 97af34f70a
commit ff40a7665d
25 changed files with 361 additions and 6 deletions

View File

@@ -6,6 +6,10 @@
placement:
mode: AlignTileAny
components:
- type: AmbientSound
range: 7
sound:
path: /Audio/Ambience/Objects/gravity_gen_hum.ogg
- type: Sprite
netsync: false
sprite: Structures/Machines/gravity_generator.rsi

View File

@@ -5,6 +5,12 @@
description: Just add capitalism!
abstract: true
components:
- type: AmbientOnPowered
- type: AmbientSound
volume: -15
range: 3
sound:
path: /Audio/Ambience/Objects/vending_machine_hum.ogg
- type: Sprite
sprite: Structures/Machines/VendingMachines/empty.rsi
netsync: false

View File

@@ -6,6 +6,10 @@
placement:
mode: SnapgridCenter
components:
#- type: AmbientSound
# range: 5
# sound:
# path: /Audio/Ambience/Objects/engine_hum.ogg
- type: Clickable
- type: InteractionOutline
- type: Physics

View File

@@ -46,6 +46,9 @@
placement:
mode: SnapgridCenter
components:
- type: AmbientSound
sound:
path: /Audio/Ambience/Objects/hdd_buzz.ogg
- type: Clickable
- type: AccessReader
access: [["Engineering"]]

View File

@@ -7,6 +7,10 @@
placement:
mode: SnapgridCenter
components:
- type: AmbientSound
range: 3
sound:
path: /Audio/Ambience/Objects/periodic_beep.ogg
- type: Sprite
netsync: false
sprite: Structures/Power/smes.rsi

View File

@@ -4,6 +4,10 @@
description: "An unpowered light."
suffix: Unpowered
components:
- type: AmbientSound
volume: -12
sound:
path: /Audio/Ambience/Objects/light_hum.ogg
- type: Clickable
- type: InteractionOutline
- type: Construction