Revision Difference
Sound_Scapes#547376
<cat>Dev.Sound</cat>
<title>Soundscapes</title>
Soundscapes are a type of audio asset used to add ambience to maps. And unlike in Source 1 and other Source 2 games you don't have to edit text files to make them in S&box.
# Creating a Soundscape Asset
Within the [Assets Browser](Editor#assetsbrowser) window **'Right Click' > 'New Soundscape'** then save the asset.
from within the inspector, you can add the following
* Looped Sounds - Sounds that loop.
* Sting Sounds - Sounds that repeat occasionally.
<upload src="a768a/8da5c22fac4b4ef.png" size="63927" name="sbox-dev_pJkLigtufR.png" />
⤶
<note> WIP, Edits welcome</note>⤶
# Using Soundscapes⤶
⤶
### Step 1⤶
⤶
Within hammer use the **Entity tool** ( <key>Shift</key> + <key>E</key> ) to search for the **snd_soundscape** entity and place it somewhere in your map.⤶
⤶
### Step 2⤶
⤶
In your object properties window set a soundscape asset to use and specify a radius. `Note: the radius can also be changed in any of the 2D Views by manipulating the helpers`⤶
⤶
<upload src="a768a/8da7b51ea85b67b.png" size="465646" name="sbox-dev_bXbz9zIaCT.png" />⤶
⤶
### Step 3⤶
⤶
Compile your map and see your soundscape in action!⤶
⤶
<upload src="a768a/8da7b5358032294.mp4" size="13818613" name="snd_soundscape-test.mp4" />⤶
⤶
# Debugging Soundscapes⤶
⤶
To debug your soundscape to make sure it's working and playing sounds as it should. Go to the bottom bar of the game window and click on⤶
**'No Overlay' > 'Soundscape'**⤶
⤶
<upload src="a768a/8da7b53a44959f7.png" size="6264" name="XhDDvJjbjt.png" />⤶
⤶
<upload src="a768a/8da7b540312ab25.mp4" size="15635507" name="snd_soundscape-test_debug.mp4" />⤶
⤶
Here in the debug overlay you can see the following :⤶
⤶
+ Current Soundscape⤶
+ Currently playing loop & sting sounds⤶
⤶
⤶
<note> WIP, Edits welcome</note>