Thanksgiving, Sales, and Zombies
Happy Thanksgiving!
Only worked three days this week instead of four. I was a little worried about sales with everyone holding out for Black Friday, but I absolutely killed it. Destroyed my normal weekly sales goal in three days.
A normal person would be spending Thanksgiving with their family. We've already established that I'm not exactly normal. I've been writing code this morning.
I've been spending a LOT of time bringing my Zed Invasion code from Godot over to Unreal. Going from GDScript to C++ has been interesting. There's something particularly frustrating about solving a problem you've already solved.
This morning I've been working on predator behavior. I don't want 40 Zeds on a map that magically know where my soldiers are. I want 40 individual Zeds that have to figure that shit out for themselves. Wandering around, reacting to movement, investigating gunfire and even reacting to the death of another Zed nearby.
AZISoldier* Target = GetTarget();bool bVisible = Target && Sees(*Target);if (Target && !bVisible && Now - LastSeenTime > 3.0){ EnterIdle(UnitAI, Now); Target = nullptr;}Just because a Zed saw you doesn't mean it should know where you are three streets over. Breaking line of sight needs to mean something. The player should be able to outsmart the Zeds without the Zeds being stupid.
I also quadrupled the size of the battlefield this morning. 800m x 800m. Added a couple of residential neighborhoods because watching soldiers and Zeds run around an industrial depot only tells me so much about the code I'm writing.
Somewhere in the middle of all this, I also threw together a quick FPS demo for Hypnotitron. Codename: MARSOC.
More details later, but IMHO, this one is going to be epic.