AI and AI Damage
Since I have spent all this time on mechanics it would be a waste to not have any reason to use them so I have added simple AI enemies to attack and kill. This is done simply by using the apply damage event that is tied to a collision box attached to the players sword. This collision box is active at all times so the player can currently just walk into the enemy to do damage, however since the event only triggers on a single overlap the player can't just simply hold the sword next to an enemy and kill them. The enemy tacking/following system is very simple using a pawn sensor that when active tells the AI to move to the players location. I haven't scripted any sort of player damage mechanic as due to the simple melee nature of the game it would be very frustrating to play against a simplistic system. Right now hitting the AI has very little feedback so that's the next thing I will address. Likely by adding sounds upon impact.
I have dotted the enemies around the level
Comments
Post a Comment