Hello, I'm dimmon3991, author of this mod: https://steamcommunity.com/sharedfiles/filedetails/?id=1526148940
I got some issues with adding sound to my block. Of course i did steps:
1. Put audio file with .ogg extension to Resource folder
2. Declare audio in Mod.xml
I learn how to make custom script from "Drum pad and War horn" tutorials and API's. Result - my mod in workshop.
But i don't get how to declare and use sound in script.
In Unity 3D it's no problem to me, but not in "besiege modding" case.
If someone have code from standard besiege blocks or other examples, please gimme that))
Or just tell me, please, how use modding API, it's not clear to me without code examples
I got some issues with adding sound to my block. Of course i did steps:
1. Put audio file with .ogg extension to Resource folder
2. Declare audio in Mod.xml
I learn how to make custom script from "Drum pad and War horn" tutorials and API's. Result - my mod in workshop.
But i don't get how to declare and use sound in script.
In Unity 3D it's no problem to me, but not in "besiege modding" case.
If someone have code from standard besiege blocks or other examples, please gimme that))
Or just tell me, please, how use modding API, it's not clear to me without code examples