Difference between revisions of "SoundBank file"
From Serious Sam's Bogus Detour
| Line 1: | Line 1: | ||
.sbnk | .sbnk | ||
| − | |||
| − | |||
== Example == | == Example == | ||
| Line 13: | Line 11: | ||
</pre> | </pre> | ||
| − | This sound could then be used | + | This sound could then be used using [//{{SERVERNAME}}/docs/engine/namespace_resources.html Resources::GetSoundEvent], by passing a path like <code>sounds/payload.sbnk:healgun_loop</code>. |
| − | |||
| − | < | ||
| − | |||
| − | |||
[[Category:File type]] | [[Category:File type]] | ||
Latest revision as of 13:30, 12 June 2017
.sbnk
Example
<soundbank>
<sound category="sfx" name="healgun_loop" volume="1" is3d="true" looping="true">
<source res="sounds/healgun.wav" />
</sound>
</soundbank>
This sound could then be used using Resources::GetSoundEvent, by passing a path like sounds/payload.sbnk:healgun_loop.