of     1   

l_owbar
#81945732Monday, November 12, 2012 8:43 AM GMT

I've scripted a realistic zombie that follows you only if you're within a certain range and if it can see you (if there's no bricks blocking his view of you) and I now made it able to see through windows. Now I need an idea for a game to use this smart zombie in.
zoomypie2
#81946809Monday, November 12, 2012 10:17 AM GMT

Apocalypse rising 2 Lol.
legosnowtropper
#81956194Monday, November 12, 2012 4:41 PM GMT

Maybe you should make a zombie survival game. But not just any survival game. I epic one with guns you can find on the ground and much more! ~legosnowtropper
colorclaw
#81957206Monday, November 12, 2012 5:08 PM GMT

so like a zombie that follows a certain path?
RottenWraith
#81959642Monday, November 12, 2012 6:02 PM GMT

Its funny you just made this zombie, I made one just like that several days ago. The only difference is that mine uses a simple pathfinding algorithm to be able to walk around walls.
l_owbar
#82008243Tuesday, November 13, 2012 7:27 AM GMT

okay, you win. I have no idea how to make pathfinding algorithms...
RottenWraith
#82217694Saturday, November 17, 2012 2:53 AM GMT

Its really not that hard when you get down to the basics of it. The main idea is that for each move you do a check in the 8 directions surrounding the zombie. For instance, X is each spot you check, Z is the zombie: X X X X Z X X X X If X has something blocking it, you add points to it. If it is diagonal you add points. Then you add points based on its distance to the desired position. You then move the zombie to whichever spot has the least points. for instance, if B represents a blocked square and O is desired point X X X X X X 6 5 4 X X X B Z 3 X X O B 5 6 X X X The zombie would then pick the square labeled 3, because it has the least amount of points. In a more complex algorithm you would keep doing this and make sure the path is able to reach the target. But for simple zombies and terrain that isn't too complex, this works fine.
l_owbar
#82249718Saturday, November 17, 2012 3:51 PM GMT

oh cool i get it now

    of     1