Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sound are currently exposed on the AmbientSoundGenerator part, OpenSound and CloseSound tag of the Door part and ReloadSound tag of the MagazineAmmoLoader part.

 

Code Block
titleSample ObjectBlueprints.xml adding a ReloadSound to the Desert Rifle object
<?xml version="1.0" encoding="utf-8"?>
<objects>
	<object Name="Desert Rifle" Load="Merge">
    	<tag Name="ReloadSound" Value="mysound1"></tag>
	</object>
</objects>
Code Block
  <object Name="Argyve" Load="Merge">
    <part Name="AmbientSoundGenerator" Sounds="Clink1,Clink2,Clink3,Spark1,Spark2"></part>
  </object>

Supported Sound Tags

TagDescription
ReloadSoundused by MagazineAmmoLoader when a gun is reloaded
OpenSoundused by Door part when a door is opened
CloseSoundused by Door part when a door is closed

Other Sound File Names

FilenameDescription
SplashStep1Walking through a liquid
WoodDoorOpenDefault door open
WoodDoorCloseDefault door close
FirearmReloadDefault firearm reload
sub_bass_mouseover1Default button mouseover
Clink1,Clink2,Clink3,Spark1,Spark2Argyve's hut sound effects
Chop1,Chop2Watervine farmer sound effects