-
Notifications
You must be signed in to change notification settings - Fork 0
04. Weapon ‐ Create New
DYLO Gaming edited this page Dec 16, 2024
·
2 revisions
The first thing you need to decide is if it's going to be a melee or ranged weapon
Then decide the primary socket where the weapon will attach to
Hide bones under the skeleton window & you can see where each preset socket is
Set up the rest of the variables respective to your weapon type
If creating a melee weapon, I recommend looking to Sword (2 Hand)/Sword & Shield/Fists as examples
Inside BP_Sword 🧩 Attack Pattern we can see 4 attacks have been set
The first attack in the array will be used for the default attack. This example is named "1"
Upon attacking, the montage plays and several notify windows run executing additional logic
ANW_Damage |
Deals damage to any hit actor during window |
|
---|---|---|
ANW_NextAttack | If attack input is pressed during this window, the next attack specified, in this example "2" is played |
|
ANW_WeaponTrail (Name gets changed when you assign trail particle) | Spawns a weapon trail following weapon during attack animation |
If you set "👾 Debug" to true, you will see the collision generate during damage window