Please login to see this attachment.
Hello Clickers!
I've been working on this on and off for a little while. It's the beginnings of a sandbox top view city, in a similar vein to the original GTA, but without polygonal buildings.
At the moment I have some relatively intelligent pedestrians that wander about and occasionally look at their phones,
And a bunch of relatively intelligent cars, that drive around, giveway to each other, reverse when things get snarled up etc.
At that point I posted it over in the main CF2.5 forum, but I've decided to take it from a demonstrator that just does that, to a kind of micro-scale GTA.
1 neighbourhood in which you live and operate, and you have to do drug deals and other generally illegal stuff while dodging cops and rival gangs.
It's early days...
But, over the last few days I've been (starting ) to write a relatively decent and lightweight Cop AI.
So we now have cops, who patrol the streets like pedestrians. If they see you, they chase you until they either lose you or catch up to you. If they catch you, you fight (for now you just mash the a key really fast to punch).
If they lose you in the chase they return to a nearby patrol path. There's view cones and line of sight in there too, and they have a bit of "intuition" when in chase mode so they can cheat the pathfinding * a bit *
Obvs I want to add the ability to fight multiple cops at once, have them alert each other when chasing you, and make them look around for you a bit after they lose you, before wandering off. But it's there and the whole state machine and other stuff is in place to easily add these features.
Anyway, I'm pretty pleased with what's there so far, even just getting the whole little "city" up and running was a challenge and I'm pleased with how it's come off so far.
ENOUGH CHIT CHAT! Here's a youtube video of me wandering about, getting chased by cops and having some fights at the end.
Please login to see this media element.
In addition, if you're interested in playing around with what I have so far, there's a build you can try out here:
Please login to see this link.
Arrow Keys to move (there's no collision yet and you move too fast, but that's just to make testing the cop chase AI easier).
Press A really fast to punch when you're in a fight. This isn't the final system, I'm just getting the animations in and getting an idea for how it will feel before commiting.
Also, all the art is placeholder at the moment. I'm just getting mechanics and systems in place before working on actual art style.
Thoughts, feedback etc welcome.