Jump to content

Recommended Posts

You should just look at the tutorial for FMOD, everything is explained there 

 

http://forums.kleientertainment.com/topic/27247-new-asset-tools-animations-textures-sounds-and-layouts/

 

Look at the "sound pipeline".

 

Thank you.. I try it.. :)

Oh and don't forget to switch to "3D" mode instead of "2D" mode otherwise the sound will be played for the host constantly, even if he is as the opposite part of the map.

The options i found the closest to the one used by regular DS sounds are

3D Rollof = Linear

3D Min Distance = 1

3D Max Distance = 35

Oh and don't forget to switch to "3D" mode instead of "2D" mode otherwise the sound will be played for the host constantly, even if he is as the opposite part of the map.

The options i found the closest to the one used by regular DS sounds are

3D Rollof = Linear

3D Min Distance = 1

3D Max Distance = 35

 

I can not do the whole. I doesn't understand what I have write in the .luas and in which ... :/

OK, so in your modmain you put in your Asset section

 

Asset("SOUNDPACKAGE", "sound/myproject.fev"),Asset("SOUND", "sound/mybank.fsb"),

These files .fev and .fsb you get it from your FMOD project. You have to "build" your project from FMOD though to get the .fsb file.

 

To do so, you click on "Project" on top of the window, then "Build". You have then to check the sound bank you want to build and you click on the "build" button. This will generate the .fsb

 

I assume that you already created a "group" with "sounds" inside in your FMOD project. That you should have managed if you followed the tutorial I linked.

 

Then to access a sound you have inside your FMOD project, you just put 

 

stuff.SoundEmitter:PlaySound("myproject/mygroup/mysound")

 

 

OK, so in your modmain you put in your Asset section

 

Asset("SOUNDPACKAGE", "sound/myproject.fev"),Asset("SOUND", "sound/mybank.fsb"),

These files .fev and .fsb you get it from your FMOD project. You have to "build" your project from FMOD though to get the .fsb file.

 

To do so, you click on "Project" on top of the window, then "Build". You have then to check the sound bank you want to build and you click on the "build" button. This will generate the .fsb

 

I assume that you already created a "group" with "sounds" inside in your FMOD project. That you should have managed if you followed the tutorial I linked.

 

Then to access a sound you have inside your FMOD project, you just put 

 

stuff.SoundEmitter:PlaySound("myproject/mygroup/mysound")

 

 

my problem are the different names. I don't know, what is what.. XD

I'll try it later with more concentration. and y English is bad, that does not make it better.

Thank you!

 

Oh and don't forget to switch to "3D" mode instead of "2D" mode otherwise the sound will be played for the host constantly, even if he is as the opposite part of the map.

The options i found the closest to the one used by regular DS sounds are

3D Rollof = Linear

3D Min Distance = 1

3D Max Distance = 35

 

Where I must add this?

 

 

Now I have the sound ingame but.. only if I spawn XD Something went wrong :p

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
×
  • Create New...