Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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 for a mod called "MyCoolMod":

C:\Users\Brian\AppData\LocalLow\Freehold Games\CavesOfQud\Mods\MyCoolMod\Sounds\mysound1.wav

 

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

 

Sample 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>

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

 

 

 

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.