Recently I started working on a (4-player) Coop game project in Unreal Engine 4. The game will feature Horde mode including a few others and is build using the C++ Survival Sample Game I built earlier this year for Epic Games. The source for that project is available to all users of the engine. Additional docs on the project are available on the Unreal Wiki, which I recommend when wanting to get get started with the project or learn C++, AI or Networking with UE4.
This new project is about all coop-play with friends. Below is a video of the first 4-player playtest I did a few days after the project had started.
Adding Ranged Combat AI
Besides a ton of other improvements I added AI capable of ranged combat. For this I used ShooterGame as a reference for basic ranged bot behavior and build from there. The video below demonstrates the additional behaviors I added including ‘Last Known Position’ for the bots to keep track of where the player was last seen. This position information is based on vision and audio cue’s (shooting your weapon or walking can be “heard” by bots – this behavior is available in the original Survival Sample project)
This new ranged bot type was added to the playtest earlier this week, at the original accuracy levels the bots are brutally difficult which created some very tense and fun gameplay!
The current selection of available items include Sniper Rifle, Assault Rifle, Explosive Shotgun, Pistols, Medkit, Ammo and explosive barrels (see below for a nice demo of the barrel in slow motion)
I am currently exploring the possibilities for the game’s direction, it will take reference from takes like Alien Swarm, Left 4 Dead and Borderlands. It’s already been a great asset for improving my knowledge of A.I. and some of the bugfixes made to this project have been pushed back into the original Github repository so everyone can benefit.
Meanwhile you can follow my updates on Twitter or follow this blog using the form below to receive new posts right into your inbox!