This is my group’s first time using fmod, so we’re still trying to figure out how to best use it.
A few weeks ago, one of the sound designers I’m working with, Chadd, posted a question asking about using multiple projects. The reply seemed to imply that it was a good idea to use multiple projects to organize the sounds in the game.
Right now I’m trying to implement some of the project loading and unloading for our project, and I have not been able to find any mention in the api of using multiple projects simultaneously. Did we misinterpret the answer to our original post, or is there a way to use multiple projects?
- lamoup asked 12 years ago
[quote:1jzxijfn]When fixed, will it be possible to load a project with an id?[/quote:1jzxijfn]
No, you’ll still load projects by filename.
[quote:1jzxijfn]And will it be possible to use non-blocking loading?[/quote:1jzxijfn]
Not at this stage, no. That feature is already planned but the fix I was referring to in this thread is for working with id’s and multiple projects.
Sorry to repost but I just noticed the dates on this thread after posting my question. Anyway, I am having a problem with multiple wavebanks in a project on Xbox. I believe it is working correctly on PC. I am calling EventSystem::getGroupByIndex(). Is this a problem I should be having? One portion of the thread talks about problems with multiple [i:29wlosjl]wavebanks[/i:29wlosjl] and getting groups via index; the fix you mentioned is for multiple [i:29wlosjl]projects[/i:29wlosjl] and getting groups via index.
- droberts answered 12 years ago
Just EventSystem::load more than one project. They’ll all be loaded into the same hierarchy so just imagine all projects overlaid on top of each other. You may have the same event groups in different projects but you can’t have the same event in the same event group in different projects – this will cause a conflict. Remember the handle returned from EventSystem::load and pass it to EventSystem::unload if you want to selectively unload per project.
Thanks for the quick response. I’m glad to hear that we will indeed be able to use multiple projects.
I have a follow up question to this. What are the implications of using EventGroup::GetEventByIndex while using multiple banks? It looks like if there are multiple banks contributing events to a bank, the indices of all banks will start at 0, causing errors. Is there a plan to fix this, or will we have to make a decision between using index numbers and multiple banks?
- lamoup answered 12 years ago
Yeah, as it is right now only one project can be used at the time if working with ids. Also, it would be nice to be able to assign ids to projects which I guess would require a top level project. Seems somehow that this architecture needs some polish and possible rethinking cause it’s getting a bit messy.
Please login first to submit.