Version

menu_open

Crossfading Between Containers on a Blend Track

Now that there is a way to track how far an object is from the player, we can use this information to drive the Crossfade between various containers on a blend track inside of a blend container we have named magic_blast_fire_distance_blend.

As we did for the blend containers created for the ambient system, a new blend track will be created with a Crossfade enabled based on the new game parameter for Distance_to_Player.

Creating a new blend track with Crossfade enabled based on the Distance_to_Player game parameter

Randomized containers can then be added to the assigned objects area in the distance blend track. As previously mentioned, the order of these containers in the assigned objects section is reflected in their positioning on the blend track.

Adding containers to the blend track in the correct order

After the information is passed successfully from the game, the Distance_to_Player game parameter controls the Crossfade between containers, playing only the container (or containers) beneath the game parameter cursor.

  • When the game object plays the magic blast event within 0-25 units from the player, the magic_blast_fire_blend_near is heard alone.

  • When the game object plays the magic blast event within 25-75 units from the player, a blend of both perspectives is heard.

  • When the game object plays the magic blast event within 75-100 units from the player the magic_blast_fire_blend_far is heard alone.

[Note] Designer Note

While similar distance-based blending can be done using multiple attenuations, there are workflow benefits to managing these within blend tracks.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise