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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -46,6 +46,9 @@
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: AmbientSound
|
||||
sound:
|
||||
path: /Audio/Ambience/Objects/hdd_buzz.ogg
|
||||
- type: Clickable
|
||||
- type: AccessReader
|
||||
access: [["Engineering"]]
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user