Difference between revisions of "SoundBank file"
From Serious Sam's Bogus Detour
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
.sbnk | .sbnk | ||
− | + | == Example == | |
− | |||
− | |||
− | |||
− | |||
<pre> | <pre> | ||
Line 14: | Line 10: | ||
</soundbank> | </soundbank> | ||
</pre> | </pre> | ||
+ | |||
+ | 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 12: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
.