Missile Weapons
Creating A Missile Weapon
To create a missile weapon:
Create a new game object and call it 'Missile Weapon'
Add a Missile Weapon component
Add a Projectile Weapon Unit component
Drag a missile prefab into the Projectile Prefab field in the inspector of the Projectile Weapon Unit component.
The missile weapon is now ready to use and will fire missiles when triggered, and can be loaded onto a vehicle as a module.
Check out the missile weapon prefabs to see examples of setting up visual and audio effects.
Creating Missiles
To create a missile:
Create a new game object and call it 'Missile'
Add a Missile component
Add your meshes and exhaust trails as desired.
The missile is now ready to use, and can be made into a prefab and used in missile weapons.
Missile Swarms
You can create a missile swarm for your game, there is an example implemented in the Mech Combat Kit but it is possible to create with any of the kits.
Create a missile weapon (see steps above) with multiple projectile weapon units (as many as you wish). Make sure they are all added to the Weapon Units list in the inspector of the Missile Weapon component.
Create a missile (see steps above) but instead of using the Missile component, use the Swarm Missile component. Add it to all the missile weapon units you created.
Now, your weapon will spawn a swarm of missiles when fired. Customize the settings on the Swarm Missile component to adjust the look and feel.
Last updated