Questions et réponses de la communauté

Bienvenue sur le forum de questions et réponses d'Audiokinetic, propulsé par la communauté. C'est l'endroit où les utilisateurs de Wwise et Strata s'entraident. Pour obtenir une aide directe de notre équipe, veuillez utiliser la page « Tickets de soutien ». Pour signaler un bug, utilisez l'option Bug Report dans l'Audiokinetic Launcher. (Veuillez noter que les rapports de bug soumis au forum questions-réponses seront rejetés. L'utilisation de notre système de rapport de bug dédié garantit que votre rapport est vu par les bonnes personnes et a les meilleures chances d'être corrigé.)

Pour obtenir rapidement les meilleures réponses, suivez ces conseils lorsque vous posez une question :

  • Soyez précis : qu'essayez-vous de réaliser ou quel est le problème spécifique que vous rencontrez ?
  • Pensez à inclure les détails importants : incluez des détails tels que les versions de Wwise et du moteur de jeu, le système d'exploitation, etc.
  • Expliquez ce que vous avez essayé de faire : indiquez aux autres les mesures que vous avez déjà prises pour essayer de résoudre le problème.
  • Concentrez-vous sur les faits : décrivez les aspects techniques de votre problème. Se concentrer sur le problème aide les autres personnes à trouver rapidement une solution.

0 votes
Hello,

I have footsteps set up to change according to what terrain you are currently on by using a Switch Group on the switch container. What I'm trying to do next is have different footsteps sounds play when a character is injured. I was hoping to be able to connect the switch container to two switch groups but nested switches is weirdly not a thing. I don't want to make "injured" a state because states are global. Is there a way to have something like a nested switch that will be able to control both terrain and injury status? Would that have to be done through RTPC only?

Thanks in advance!
dans General Discussion par Jocelyn R. (260 points)

1 Réponse

0 votes
Hi Jocelyn,

Nested switches are possible- I do it for terrain type and movement speed (sneak/walk/run). You could also do it with an RTPC. furthermore, you can link the RTPC to a switch, so from the game engine it would be like using a switch.

Cheers
par Richard Goulet (5.8k points)
oh i see. so just to clarify, nested switches are possible by linking an RTPC with a parameter 'injured' to the "terrain" switch? (like the example on pg 396 on the manual) Theres not a way to create two switches, one 'injured' and the other 'terrain' w/o having to hook it up to an RTPC?

thank you for your time :)
I think you might be misunderstanding... Nested switches are completely possible as is, to whichever depth you want. I have created nested switch structures up to 4 layers deep. Are you encountering some type of problem when attempting to nest one switch container into another? I forgot to mention, you can not put a virtual folder inside of a switch container, if that's what you're trying :)
...