Create ELDEN RING in Unity ► EP. 20 WEAPON ITEMS (Pt. 2)

Subscribers:
33,900
Published on ● Video Link: https://www.youtube.com/watch?v=xrw_yOGp9Jo



Elden Ring
Game:
Elden Ring (2022)
Duration: 36:26
2,299 views
86


In this video we create the "Melee Weapon Damage Collider", a collider that will allow us to set the damage of our weapon upon equipping it. We also create the functionality to swap our weapons. The weapon swap will work as it does in Elden Ring, which is the following.

If you have ONE weapon equipped, upon switching you will switch to the "Unarmed" weapon, switch again and you will return to your main equipped weapon.

If you have MORE THAN ONE weapon equipped, you will always skip the unarmed slot, and you will cycle between the two weapons you have equipped.

We then sync our weapon switches online, we do this by creating an "Item Database". We use this to sync our current right and left weapons using their weapon id (an int) as a network variable, when the network variable changes it will fetch the new weapon from the database using its ID, it will then be instantiated and equipped, the weapon switch will appear for everybody on the network.

► DEV LOGS (Second Channel)
https://www.youtube.com/@SebbyGraves

► JOIN OUR DISCORD
https://discord.gg/jC6EXKa9Fj

► SUPPORT ME ON PATREON!
http://www.patreon.com/SebastianGraves

► ASSET STORE PAGE (Animations & Models)
https://assetstore.unity.com/publishers/58059

► FREE ANIMATION WEBSITE
https://www.mixamo.com/#/?page=1&query=Jump

► FOLLOW ME IN INSTAGRAM!
https://www.instagram.com/tragicallycanadian/

► EPISODE 21
https://youtu.be/1pntIfgX3-E




Other Videos By Sebastian Graves


2023-09-30Create ELDEN RING in Unity ► EP. 28 LOCK ON (Pt. 1)
2023-09-26Create DARK SOULS in Unity ► EP. 151 Netcode Refactor (PT. 11) || A.I
2023-09-23Create ELDEN RING in Unity ► EP. 27 DIRECTIONAL BASED DAMAGE ANIMATION
2023-09-16Create ELDEN RING in Unity ► EP. 26 CHARACTER EFFECTS (Pt. 2)
2023-09-09Create ELDEN RING in Unity ► EP. 25 WEAPON ITEM BASED ACTIONS (Pt. 3)
2023-09-01Create ELDEN RING in Unity ► EP. 24 WEAPON ITEM BASED ACTIONS (Pt. 2)
2023-08-25Create ELDEN RING in Unity ► EP. 23 WEAPON ITEM BASED ACTIONS (Pt. 1)
2023-08-25Create ELDEN RING in Unity ► EP. 22 JUMPING & FALLING (Pt. 3)
2023-08-19Create ELDEN RING in Unity ► EP. 21 BODY ACCURATE HIT DETECTION
2023-08-15Create DARK SOULS in Unity ► EP. 149 Netcode Refactor (PT. 9) || Archery
2023-08-12Create ELDEN RING in Unity ► EP. 20 WEAPON ITEMS (Pt. 2)
2023-08-05Create ELDEN RING in Unity ► EP. 19 WEAPON ITEMS (Pt. 1)
2023-08-01Create DARK SOULS in Unity ► EP. 148 Netcode Refactor (PT. 8) || UI Ownership
2023-07-29Create ELDEN RING in Unity ► EP. 18 YOU DIED
2023-07-22Create ELDEN RING in Unity ► EP. 17 TAKING DAMAGE (Pt. 1)
2023-07-18Create DARK SOULS in Unity ► EP. 147 Netcode Refactor (PT. 7) || Blocking Damage
2023-07-15Create ELDEN RING in Unity ► EP. 16 HEALTH SYSTEM
2023-07-08Create ELDEN RING in Unity ► EP. 15 CHARACTER EFFECTS (Pt. 1)
2023-07-04Create DARK SOULS in Unity ► EP. 146 Netcode Refactor (PT. 6) || Character Damage
2023-07-01Create ELDEN RING in Unity ► EP. 14 JUMPING & FALLING (Pt. 2)
2023-06-24Create ELDEN RING in Unity ► EP. 13 JUMPING & FALLING (Pt. 1)



Other Statistics

Elden Ring Statistics For Sebastian Graves

At this time, Sebastian Graves has 18,850 views for Elden Ring spread across 10 videos. His channel currently has around 4 hours worth of content for Elden Ring, roughly 5.19% of the content that Sebastian Graves has uploaded to YouTube.