Modding:Sounds: Difference between revisions
no edit summary
imported>CaptainTechnicality54384 (Created page with "Category:Modding Sounds can be added in the /sounds folder of a mod. Supported types: wav, mp3, aiff, ogg For example on windows you'd have sound files in this location f...") |
imported>CaptainTechnicality54384 No edit summary |
||
Line 9: | Line 9: | ||
Sample ObjectBlueprints.xml adding a ReloadSound to the Desert Rifle object | Sample ObjectBlueprints.xml adding a ReloadSound to the Desert Rifle object | ||
<syntaxhighlight lang="xml"> | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<objects> | |||
<object Name="Desert Rifle" Load="Merge"> | |||
<tag Name="ReloadSound" Value="mysound1"></tag> | |||
</object> | |||
</objects> | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="xml"> | |||
<object Name="Argyve" Load="Merge"> | |||
<part Name="AmbientSoundGenerator" Sounds="Clink1,Clink2,Clink3,Spark1,Spark2"></part> | <part Name="AmbientSoundGenerator" Sounds="Clink1,Clink2,Clink3,Spark1,Spark2"></part> | ||
</object> | |||
</syntaxhighlight> | |||
=Supported Sound Tags= | =Supported Sound Tags= | ||
{|class="wikitable tablesorter tablesorter-default stickyTableHeaders" | {|class="wikitable tablesorter tablesorter-default stickyTableHeaders" |