Is it possible in UE4 to play a soundfile as a “programmer sound” that is not packed in a .pak file (or that is not located in the game’s content folder)?
We are using “plugins” in UE4 to let people create mods for our game (and programmer sounds to allow people to add their own sounds) but the problem is that fmod only seems to look for files in the game’s content folder, which naturally the person creating a mod won’t have.
Any kind of help is very appreciated.
As described in the Programmer Sounds by Path section of the FMOD UE4 Integration User Guide, it is entirely possible to have a programmer instrument play a “loose” audio file from disk.
Moreover, as described in the Programmer Sounds via API section of the user guide, it is possible to use the same API calls to specify a loose audio file that are available in the FMOD Studio API.
Unfortunately, without knowing exactly how you intend mod-making for your game to work, we can’t provide any more specific advice on this topic.
Thanks, this sentence “If you do this, you’ll need to make sure that directory with the media files is added to directories to package in the packaging settings” makes it sound like all programmer sounds need to be packaged with the game. But we figured it out in the meantime.
Thanks for bringing this to our attention! We’ll correct this in a future release of our documentation.