Difference between revisions of "SoundBank file"

From Serious Sam's Bogus Detour
Jump to: navigation, search
Line 2: Line 2:
  
 
[//{{SERVERNAME}}/docs/engine/namespace_resources.html Resources::GetSoundEvent]
 
[//{{SERVERNAME}}/docs/engine/namespace_resources.html Resources::GetSoundEvent]
 +
 +
<pre>
 +
<string name="beam-loop-snd">sounds/payload.sbnk:healgun_loop</string>
 +
</pre>
 +
 +
<pre>
 +
<soundbank>
 +
  <sound category="sfx" name="healgun_loop" volume="1" is3d="true" looping="true">
 +
    <source res="sounds/healgun.wav" />
 +
  </sound>
 +
</soundbank>
 +
</pre>
  
 
[[Category:File type]]
 
[[Category:File type]]

Revision as of 12:06, 24 May 2017

.sbnk

Resources::GetSoundEvent

<string name="beam-loop-snd">sounds/payload.sbnk:healgun_loop</string>
<soundbank>
  <sound category="sfx" name="healgun_loop" volume="1" is3d="true" looping="true">
    <source res="sounds/healgun.wav" />
  </sound>
</soundbank>