Version
menu_open

Defining Weapon Type

In the continued pursuit of randomness and variation, we are going to build a system that utilizes switches in a similar fashion to the previous footstep and movement examples. Instead of focusing on character and step type, we'll use weapon type in conjunction with an expanded list of surface types to allow for an increased level of detail.

Weapon_Type switch group and switches

This switch group will change based on the weapon type being wielded by either the player or NPC and will be assigned a unique sound object for each type. Now that there is an established switch group for weapon type, it can be used to implement the swings created in the previous section by parenting them within a switch container, setting the switch group, and assigning the objects.

Weapon type switch group with assigned swing sounds


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise