Jump to content

Need help with adding custom sounds


Recommended Posts

Hello,

I need help with adding custom sounds. I made a fmod file and at least I think they are correct, but when I try to call it, there is an fmod error that the file is not found.

The files are located in sound/franzose.

This is in my modmain:

Asset("SOUNDPACKAGE", "sound/franzose/franzose.fev"),
Asset("SOUND", "sound/franzose/franzose.fsb"),
....
inst.SoundEmitter:PlaySound("franzose/franzose/franzose")
inst.SoundEmitter:PlaySound("franzose/franzose/franzose/franzose")
inst.SoundEmitter:PlaySound("sound/franzose/franzose/franzose/franzose")

I just tried it with all the different variants, but all of them say file not found.

I attached the fmod project and hope that somebody can help me.

Thanks in advance,

Monti18

Edit: So it seems I have it resolved, I'm not quite sure what the problem was, I think perhaps the audio was too long, I made it shorter and used another template that I found and now it works :)

franzose.zip

Edited by Monti18
solved
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...