커뮤니티 Q&A

Audiokinetic의 커뮤니티 Q&A 포럼에 오신 것을 환영합니다. 이 포럼은 Wwise와 Strata 사용자들이 서로 도움을 주는 곳입니다. Audiokinetic의 직접적인 도움을 얻으려면 지원 티켓 페이지를 사용하세요. 버그를 보고하려면 Audiokinetic 런처에서 Bug Report 옵션을 사용하세요. (Q&A 포럼에 제출된 버그 보고는 거절됩니다. 전용 Bug Report 시스템을 사용하면 보고 내용이 담당자에게 정확히 전달되어 문제 해결 가능성이 크게 높아집니다.)<segment 6493>

빠르고 정확한 답변을 얻으려면 질문을 올릴 때 다음 팁을 참고하세요.

  • 구체적인 내용을 적어주세요: 무엇을 하려는지, 혹은 어떤 특정 문제에 부딪혔는지 설명하세요.
  • 핵심 정보를 포함하세요: Wwise와 게임 엔진 버전, 운영체제 등 관련 정보를 함께 제공하세요.
  • 시도한 방법들을 알려주세요: 문제 해결을 위해 이미 어떤 단계를 시도해봤는지 설명해주세요.
  • 객관적인 사실에 초점을 맞추세요: 문제의 기술적 사실을 중심으로 설명하세요. 문제에 집중할수록 다른 사람들이 더 빠르게 해결책을 찾을 수 있습니다.

0 투표
Hello,

I have a music playlist with several songs playing one after the other as background music. In the game, the player can unlock new songs that can be added to the initial playlist. How can I link these new songs to states in order to be played within the initial playlist? I thought about creating a new playlist, but how would the 2 playlists merge? I don't think that's the solution. But if I add new songs in a playlist that could be unlocked under specific conditions, how do I structure my system?

Thanks!
General Discussion Kim D. (100 포인트) 로 부터

1 답변

0 투표
One solution could be the use of a switch track containing your different playlist containers. In this case, you would sync each state with it's corresponding playlist; and with the transitions configuration, you'd select when and to which element in the new playlist the music should jump into.

Now, I don't know what is the order you intend for your playlist elements, but you should always be able to accomodate them using both transitions configuration and playlists' groups.

 

If this doen't fit your needs, please let me know and I'll look for another solution, but then I'll need a little bit more info,

Hope it works :)
Juan Schweizer (640 포인트) 로 부터
Hello! Thanks for your answer, sorry for the late reply! I jumped on something else, but now I'm back on this situation. I'm not sure to understand well the solution you're suggesting. Let's say I have a playlist containing songs 1,2,3,4,5 (random step) that are the initial songs playing in-game. Later on, the player succeeds in a quest and the song A is unlocked which is added to the initial playlist. What's playing now is 1,2,3,4,5,A (random step), but song A will not necessarily play next, it's only unlocked and will now be heard one time or another.

Could you please explain your solution with this situation? It would help me a lot! Thanks!
Great. So you have both playlists, right? Playlist "Alpha" containing songs 1-5, and playlist "Beta" containing songs 1-5 and song A. Both random step, as you pointed out.

Now, on the Game Syncs tab, under Switches, you should create a new Switch Group; let's call it "Level Stage". Within this switch group, create two switches: "Initial" and "Quest A completed" (I'm sure you will come up with better names depending on the whole level possibilities, and you could add all the extra switches you may need).
For these to work, you need to link them to the event you mentioned ("Quest A success"). Select that event from the Project Explorer, in the Event Editor, right-click and create a New Action > Set Switch; then right-click on the red box and Set Target > Quest A completed (you can also drag and drop the switch into the Event Editor view). Now when that event is triggered, the switch group will change from "initial" to "Quest A completed". You should make sure you set this group to "Initial" when the level starts using the corresponding event (it's the same process, but you add the action Set Switch "Initial" to the "Start Level X" event).

Now, back to our Project Explorer/Audio tab. You should create a new Music Switch Container, which will call "Level X Music", or whatever. Move both playlists, Alpha and Beta, inside Level X Music. From the Interactive Music layout, select Level X Music and link it to our Switch Group: "Level Stage". Drag playlist Alpha on top of "Initial" and Beta on top of "Quest A completed".
You can test it using the SoundCaster. Make sure to go to the Transitions tab within Level X Music, and define your transition rules.

If I was unclear, let me know and I'll try to add some images.

Good luck!
...