Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

In this episode of my unreal engine third person shooter series, I am going to continue with the weapon swapping system. Last time we implemented a way to popup a notification when player move closer to a weapon dropped in the world. Today, we will be working onhow to actually swap that weapon with the weapon we already have in the same category. That means, i am going to define 3 weapon categories, primary (AK, m16... automatic rifles) and secondary (revolver, pistol.. handguns) and special (sniper, rpg, crossbow). character will be able to carry 1 weapon in each category, when character walks into a dropped weapon, if he already has a weapon in similar category, for example, assume character has an AK 47 and walking near a M16. "Press E to swap AK with M16" popup will appear. If player press E, the 2 guns will be swapped and player can shoot with newly picked up m16 rifle.

Files

Previews only

Unreal Third person Shooter #82 - Swap Weapons (Part 3)

Project Files : https://www.patreon.com/posts/53725473 In this episode of my unreal engine third person shooter series, I am going to continue with the weapon swapping system. Last time we implemented a way to popup a notification when player move closer to a weapon dropped in the world. Today, we will be working onhow to actually swap that weapon with the weapon we already have in the same category. That means, i am going to define 3 weapon categories, primary (AK, m16... automatic rifles) and secondary (revolver, pistol.. handguns) and special (sniper, rpg, crossbow). character will be able to carry 1 weapon in each category, when character walks into a dropped weapon, if he already has a weapon in similar category, for example, assume character has an AK 47 and walking near a M16. "Press E to swap AK with M16" popup will appear. If player press E, the 2 guns will be swapped and player can shoot with newly picked up m16 rifle. ► 👇 𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐓𝐡𝐞 𝐂𝐡𝐚𝐧𝐧𝐞𝐥 // 𝐁𝐞𝐜𝐨𝐦𝐞 𝐀 𝐏𝐚𝐭𝐫𝐨𝐧! https://www.patreon.com/codelikeme ►Patrons will have access to project files of all the stuff I do in the channel and other extra benefits Full third person shooter series : https://youtube.com/playlist?list=PLNTm9yU0zou4HL7SAyIQoCqJRJ5QeQAl8 Join this channel to get access to perks: https://www.youtube.com/channel/UClb6Jh9EBV7a_Nm52Ipll_Q/join Like my facebook page for more content : https://www.facebook.com/gamedevelopersclub/ Follow me on twitter : https://twitter.com/CodeLikeMe2 Follow me on reddit : https://www.reddit.com/user/codelikeme #CodeLikeMe #unrealengine #ue4 #indiegamedev

Comments

No comments found for this post.