Player Attacks and Weapon Attributes - 23rd Oct 2023
- Ibrahim Hussain
- Oct 23, 2023
- 1 min read
Added weapon attributes
Added weapon and attack animations
Replicate the animations and damage
Weapon damage in anim notify state
Added combo attacks
Issues:
Between each attack the transition was not smooth, adjusted animation blueprint settings
Weapon damage was inaccurate, fixed by spawning a collision sphere between two socket points of the weapon skeleton
Would damage a single actor multiple times as trace would hit repeatedly. Fixed by adding an array that contains ignored actors, once an actor is hit its added to array and actors that are in the array are ignored from the sphere trace
Initially clients damage was not replicated, this was as damage was being handled locally on the client but it vneeded to be handled on the server side only then replicated to clients. This is to protect from cheating but keep game in sync also.
Comments