PlasmaSoundAPI
A library for playing AudioClips in Plasma
About this mod Author’s original text
PlasmaSoundAPI
A library for playing AudioClips in Plasma
Usage
EventInstance PlasmaSoundAPI.PlaySound2D(AudioClip audioclip) - play 2D sound
EventInstance PlasmaSoundAPI.PlaySound3D(AudioClip audioclip, Vector3 position) - play 3D sound at given position
Complete example using both of the above methods to play sound from console command.
Dont forget to add
[BepInDependency("Azim.PlasmaSoundAPI", BepInDependency.DependencyFlags.HardDependency)]
annotation to your mod to ensure that the library is loaded before your mod.
Releases
1.0.1
- Renamed assembly file and namespace to fix import issues
- Fixed sound banks not loading
1.0.0
- Initial release
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.
Install locations vary a lot between mods — the bundled readme is the most reliable guide.
Dependencies
Install these first, or the mod will not work:
BepInEx-BepInExPack