The Daily Click ::. Forums ::. Klik Coding Help ::. zombie ai example?
 

Post Reply  Post Oekaki 
 

Posted By Message

Zode



Registered
  13/04/2009
Points
  239

PS3 Owner
16th February, 2010 at 19:01:50 -

is there ANYWHERE good zombie ai example? im having trouble getting it work (and NO i dont mean thoose wich have always - look @ player :I )

 
n/a

Rob Westbrook



Registered
  25/05/2007
Points
  193

360 OwnerVIP Member
16th February, 2010 at 19:51:01 -

It depends on what you're looking for exactly. Simple pathfinding so they can chase the player around or L4D or Dead Rising style swarming? There's plenty of articles for the former on here. The latter will obviously take a bit more work although this article might be a good start: http://create-games.com/article.asp?id=2120 It deals with vector-based movement which would lend itself well to swarm AI without the zombies overlapping each other and generally looking a bit pants.

 
There are 10 types of people in the world: Those who understand binary and those who don't.

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
17th February, 2010 at 10:59:46 -

Hey Zode, I noticed your Zombiline project page and saw that you were looking for some waypoint based AI.

I have recently completed an open source zombie game which you may find useful:
http://www.create-games.com/download.asp?id=8087

However, the code is much more complicated that it needs to be since I had to fit it into 20 lines, but if you read the comments you should be able to understand the concepts. It does a similar thing to what you described in your project page.

I would also make the AI better if I had more lines, but it's a good start, so I hope it helps you.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Zode



Registered
  13/04/2009
Points
  239

PS3 Owner
17th February, 2010 at 13:04:04 -

@rob
thx, now i got some idea.. how it works but damn that looks messy code

@andy
Damn nice game! now ill try to learn from that for my game (somehow) ^^
edit: damn that ai from zday20 wont work... O_o
wtf!

Edited by Zode

 
n/a
   

Post Reply



 



Advertisement

Worth A Click