Weapon with two ammo types

RobotGames

Member
I may be a bit thick here and missing something but can I have two different ammo types for a single weapon? Here's the story, I have a shotgun, now a shotgun can use either shot or slugs (in my case) the user will select the loadout before a mission and get to select the ammo. Can this be done? Is it documented somewhere?

Worst case I guess I could have 2 shotguns and depending on what ammo the player selects it would activate the correct gun.
 
Yes, you can have multiple shootable weapons actions which allows you to set multiple Consumable Item Types. In the demo scene there aren't any weapons with multiple Shootable Weapons but there are items that have multiple Melee Weapon components.
 
How can I switch between ammo types (arrows).
I added shootable weapon component with different id, added use item ability, but when I run it shows 2 arrows at the same time.
I also want to add it to the item action panel but don't know how.
1652368857086.png
 
Top