Sword System combat

wondering if anyone has ideas on how to pull of a sword system thats scalable so its easy to add new ones, but like a combat system where each sword has a parry mechanic and a parry window on their swings, i dont know how to do it any tips help boii

its like asking…

hey can you just make me a full game and just mark it as “help”?

nah its ok!

a sword system… and parry mechanic that is really complex actually would take months for a polished clean non bug/glitch free one…

right now you could make a normal sword and start with making damage upon activating make a hitbox and if another player touches that hitbox it takes damage simple…

now for a parry mechanic will be the hitbox you used for damage detect if another player is using q for his sword (q = parry ex.) and if its true just retrase the damage and add a stun system

i think it might be a good challenge

wdym a parry window?

i need ideas on hwo to do it im not asking anyone to paste a million lines of code

window for an attack to be parryable i guess? not sure if i shoudl do it

idk wym but parry wise im sure there are a ton of sources on it.

You would have a key that fires the parry.

now in the tool of the scripts if the player hits while the player is in a parry state then u can apply whatever effects you have.

there is a video on player states. i think itll really help.

1 Like