Winner winner, chicken dinner!

Published July 28, 2015
Advertisement
Hi everyone!

As the next step in my game i have decided to anger various right-wing animal rights groups by testing out virtual weapons on virtual chickens. The next step in my game was obvious in that some form of combat was needed.

I have implemented a combat system based on the approximate swing arc of the sword (or whatever weapon the player is weilding) which deals a set amount of damage per swipe, for now. Each chicken or any other NPC listens to the "On Take Any Damage" event which allows it to be hit.

[sharedmedia=gallery:images:6509]

By default, chickens wander in a 100 unit radius of their original spawn location, unless injured, which resets their 'spawn' location and centres their wanderings on a new location. Hitting them also puts them into panic mode which can make them move faster and more often.

[sharedmedia=gallery:images:6511]

Alive chickens emit random clucking sounds every few seconds, and when killed a death animation is played for the static mesh and a death sound played at the same time.

It is rather hard to hit the chickens, as can be seen in the video below:



Questions or comments as always are welcome below!
2 likes 2 comments

Comments

JTippetts
"right-wing animal groups"

Is there even such a thing?
July 29, 2015 05:58 PM
Brain

"right-wing animal groups"

Is there even such a thing?

Of course. flying animals have both a left and a right wing :lol:

July 30, 2015 10:08 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement