• entries
    9
  • comments
    13
  • views
    25981

Winner winner, chicken dinner!

Sign in to follow this  
Brain

1224 views

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!

Sign in to follow this  


2 Comments


Recommended Comments

"right-wing animal groups"

Is there even such a thing?

 

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

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now