XaiJu
CodeLikeMe
CodeLikeMe

patreon


Unreal Engine 5 - Different Ammo Types (ALS #63)

This is episode 63 of the third-person shooter series based on Unreal Advanced Locomotion System. Today, I am going to implement different ammo types and crates. We will have different ammo types that are used with different weapons in the game such as rifle ammo, sniper ammo, crossbow ammo,... etc. Unless the player has a weapon that uses a particular ammo type that contains in an ammo crate, the Player will not get the notification to pick up the ammo crate and the player will not be able to collect ammo from that crate. If the ammo crate contains shotgun ammo, the player must have a shotgun in order to pick ammo from that crate. Also, as the ammo type change in the crate, the icon will be automatically changed to match the ammo type..

project files

https://www.patreon.com/posts/63654325

Unreal Engine 5 - Different Ammo Types (ALS #63)

Comments

Yeah a universal ammo can max out the ammo count of the weapon that the player is currently using (and not all of the weapons in the players inventory, only the equipped weapon gets the ammo). I saw some games using this universal ammo.

ThinKong Mania

so, ammo count of all the weapons maxed out when interact with that?

Thilina Premasiri

Is it possible to create a universal ammo crate, so that every weapon is compatible with this type of ammo? Maybe you can implement this too in the future. Thanks for the tutorial!

ThinKong Mania


More Creators