The year is 1865, the american civil war has been fought for four years. Rumors of monsters are spread across America, people started scavenging and hiding from their society in fear of the monsters. The monsters are spreading through epidemics. Your old friends have left you to protect themselfs and their families, you're on your own, your goal is to survive. You wake up, you have nothing, you have to scavenge supplies and survive the unforgiving world. Darkest Night is a first person horror survival game, coming to PC/Mac/Linux. Either play with or against other players in multiplayer, or play by yourself in singleplayer, both modes are available. Darkest Night is designed with a low poly art style, it looks great, and it has good performance for the player. Stay tuned for updates regarding the game!

Report RSS Darkest Night - Pre-Alpha v1.4 Pathfinding, Spawnsystem, and player features

This week I've been working on pathfinding, spawnsystem, and the player. Implementing the pathfinding NavMesh system, random loot spawns, and other things.

Posted by on

IT'S BEEN A WHILE

But development is going smooth, this week I've been working on pathfinding, spawnsystem, and the player.It feels like I need to start working on the antagonists and the new map, because the player is almost done with the inventory system.

PATHFINDING

Pathfinding, the most challenging part for me personally thus far in development. There's tons of different pathfinding solutions out there,and the tough part is to find what fits best with your game.For you who don't know what pathfinding is, pathfinding is a part of your AI, whenever you're moving your AI you don't want it to walk through walls or objects.That's why you use pathfinding, pathfinding is basically finding the quickest route between two points, without running through any objects.I chose Unity's own NavMesh for Darkest Night, it's simple, it's efficient, and it works for Darkest Night's AI.Since vampire, werewolf, and similar monsters are pretty easy AI's in terms of pathfinding, I believe Unity's NavMesh will work fine.

(Image below is a top-down view showing the pathfinding, and a navmesh bake image)

Darkest Night - Pre-Alpha v1.4 - Pathfinding
Darkest Night - Pre-Alpha v1.4 - Pathfinding

SPAWNSYSTEM

In survival games, you want the server to spawn loot at random points in the world.I have implemented a spawnsystem, and it spawns random loot in the world.It's very efficient for me as a developer to use an approach where all spawnpoints are connected with each building/spawn.For example a barn, the barn has 4 spawn points, with every server restart it spawns new loot in each spawn point handled by the server itself.And if I move this barn, the spawn points will remain at the same position, this makes it easy for me to design the new map.The spawnsystem has not been correctly balanced yet, and I will take feedback from people playing the alpha version regarding the spawn rates.

(Image below is showcasing the spawnsystem, the yellow spheres represents a spawnpoint)

Darkest Night - Pre-Alpha v1.4 - Pathfinding

PLAYER FEATURES

I've for quite some time now working on solely the player, how the player can interact with the environment, how the player uses the inventory system, and other things.But now I feel like it's almost ready for the alpha version, which means I can focus on other parts instead of the player.There's still much polishing to do, but I think the foundation of the player is set.One thing I will complete before starting to work on something else is weapon management, how the player can reload their weapon with ammonition they've found.Weapon management will be quite dynamic in Darkest Night, so you don't need to open up your inventory each time you need to reload, it should be fast and automatic.

(The images below is first the blood screen, which is showing when the player get hurt. The second image is showcasing the wolf that's in Darkest Night)

Darkest Night - Pre-Alpha v1.4 - Pathfinding
Darkest Night - Pre-Alpha v1.4 - Pathfinding

NEXT WEEK

Next week I'll continue my work with the monsters, the antagonists.Working with models, animations, and AI behaviour. Antagonists is such a huge part of Darkest Night, so I think it needs more attention in development.I will also start thinking of new antagonists, 2-3 antagonists won't be enough, so I'll make sure there are enough before I release the alpha version.

Post comment Comments
ahhhasadahh
ahhhasadahh - - 489 comments

sounds like you are getting there! :D

Reply Good karma Bad karma+1 vote
VoytechInteractive Author
VoytechInteractive - - 12 comments

Hey NateBravender !

Thanks for recurring to watch Darkest Night's latest news. And yes, the alpha is coming closer by each day passing, and I'm super stoked for others to try it.

Best regards,
Andreas

Reply Good karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: