XaiJu
CodeLikeMe
CodeLikeMe

patreon


Unreal Engine 5 - Ammo Crate Randomizing (ALS #64)

This is episode 64 of the third-person shooter series based on Unreal Advanced Locomotion System. Today also, I am going to continue with ammo crates. here we are going to look into how to randomize the ammo type and the amount an ammo box contains. We have around 9 ammo types in our game that are used by different guns. Rifle ammo is the most common ammo type used. Here, we will set up a way to randomize the type of ammo in a box with different probabilities for each type. Because since rifles are the most commonly used weapons, we need more ammo from that type. Also, based on the ammo type, the amount of ammo contained in the box will be randomly decided..

project files

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

Unreal Engine 5 - Ammo Crate Randomizing (ALS #64)

More Creators