Dawn of the Living Horsemasks
Apocalypse now
A terrible catastrophe has befallen the Earth. Apocalypse has begun and hordes of Horsemasked creatures have risen and overrun the city. Military troops have been deployed but no word has been heard since. Satellite has captured footage of a single Panzer making rounds around the city park.
Goal
Dawn of the Living Horsemasks was a project where we would need to implement various steering behaviors of autonomous agents. In Horsemasks I implemented Wander, Seeking, Flocking, Arrival, Obstacle Avoidance and simple Path following. As an added bonus I decided to also add in a playable character that the user may move around the city with and is even able to attack the Horsemasks.
Gameplay
The player character appears in the city park surrounded by wandering Horsemasks. If they get within certain range of her, they will follow her. To escape she is able to move around using a Point and Click system similar to to other ortographic games like Diablo Alternatively, she can punch horsemasks in the face with her magical fist by hovering over them and pressing the Spacebar.
The living horsemasks appear in random locations around the city. They wander through the streets avoiding any obstacles in the way. When in close range to the player they begin chasing her. If the player manages to get away they will stop searching and wander once again. The horsemasks will flock if there are several of them following the player.
Patrolling the city lies a single tank. It moves along the street never stopping for anything. Due to the fact that it doesn’t engage in combat with the Horsmasks, some wonder if the people within the tank are alive, or even human.
Project Timeline
Ideation & Planning
First phase of the project was coming up with the initial plan that encompassed the steering behaviors and how they react to other agents and respond to objects in the environment, flocking, and character motivations. I decided on making a controllable character and the horsemasks which would want to follow the character if they were in range. If not then they would simply wander around. I would also implement a tank and some soldiers which would move around the city using path following. If the soldiers came in range with a horsemask then they would pursue and eliminate it.
Functional Prototype
For this phase we would need the basic steering behaviors working. I made the horsemasks all agents which would seek the moving player’s current velocity. I also created a rough map so that I could randomly place objects and test obstacle avoidance as well as implement path following. The wander method was partially implemented.
Delivery
On the previous rough map I worked to finish wander and make sure all the other steering behaviors worked as intended and then I preceded to do a new map on work on level design. I made a draft of how I wanted the city to look, the park with its benches, dumpsters, trees and vending machines as well as the small graveyard north of it. I created the new path the tank would follow with roads. Finally, I implemented the combat and “eliminating” the horsemask by translating it somewhere else.
Assets
I found some neat (free) assets on the Unity Asset Store. I decided to give the scene a darker and creepier atmosphere. I used a dark autumn texture for most of the terrain with some ground paths here and there. I added some Sycamore, willow and alder trees to give it some flavor and some of the textures appear white. Most of the city assets, cars, roads, buildings, light posts, signs come from Sinister Games. The benches come from Lef. The snack vending machines come from VIS Games, while the dumpster is from Ozgur Saral. The cemetery assets come from Xiaolianhua Studio. The tank is from Torsten Heldmann, the rubber horse mask is from Biscuitland, the zombies are from Pxktiger, and the female model is from Yurov Viktor.
Parting Thoughts
Dawn of the Living Horsemasks was a fun project to do and working with Craig Reynolds’s steering behaviors was a fascinating exercise in viewing how animated characters would behave as if they were alive. I was glad to have extra time to also implement the fighting aspect of the game and wish I had even more time to expand on it and make it clearer with nameplates and health bars. Designing the scene was also a fun experiment as I tried to make a cohesive city and give it a grim tone. It would have been interesting to expand on the city and add tunnels and bridges but for the purposes of the project a smaller city facilitated the display of the required behaviors.