Modding:Sounds: Difference between revisions

Jump to navigation Jump to search
88 bytes added ,  16:07, 23 May 2019
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
<?xml version="1.0" encoding="utf-8"?>
<syntaxhighlight lang="xml">
<objects>
<?xml version="1.0" encoding="utf-8"?>
    <object Name="Desert Rifle" Load="Merge">
<objects>
        <tag Name="ReloadSound" Value="mysound1"></tag>
  <object Name="Desert Rifle" Load="Merge">
    </object>
      <tag Name="ReloadSound" Value="mysound1"></tag>
</objects>
  </object>
</objects>
</syntaxhighlight>


<object Name="Argyve" Load="Merge">
<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>
</object>
</syntaxhighlight>
=Supported Sound Tags=
=Supported Sound Tags=
{|class="wikitable tablesorter tablesorter-default stickyTableHeaders"
{|class="wikitable tablesorter tablesorter-default stickyTableHeaders"

Navigation menu