Hey all, I'm back on track and have made a lot of progress, which will be posted below. As i already may have mentioned i have had a lot of studying and exams in the past which have taken up a lot of my time. On top of that my right lung collapsed and i was hospitalized for some time. I am out of the hospital and feeling fine. My apologizes for any delay this must have caused. Well, enough excuses, lets see the progress.
I had planed to make 3 separate applications which would be merged when completed, and form the fundamental for the Zombies Intelligent behavior. The applications are; Perception( making Zombies able to see and hear ), Movement( making Zombies able to move and collide with world objects, like walls, and other Zombies ), Pathfinding( making the Zombies able to determine paths and navigate through maps ).
The Perception has by far been the hardest and trickiest one to create, i have spend loads of time analyzing it and even reworking it from scratch several times.
The Perception app and Movement app are complete and merged into the Master Application, demo below. My solutions in the app are very minimalistic, raising the Object Count only by 2 for each zombie inserted into the app. I have also programmed simple 'placeholder' behaviors associated with zombies Sight and Hearing. The thickes walls are also marked as 'Soundbarricades', meaning sound cant penetrate through it.
As i believe i have stated earlier, i have now remade the FSM( Finite State Machine ) to fit with the new understanding of how the zombies shall behave. This new FSM is much more complex than the original one, and should accounts for every possible situation. It was so complex in fact that i had to divide it into two charts. There are a total of 10 different States Zombies can switch between.
UPDATE 18.aug.2010
I have replaced the old FSM charts with new ones. I have corrected a few flaws i found in the old design and added some stuff too. The old version is no longer available for download.
*Yellow boxes are States
*White boxes are Conditions, which acts as trancitions to other States if True
*Green boxes are Actions
-Green arrows should be followed when a Condition is True
-Dotted arrows are transactions to the State nr written at the end of the dotted line
Although i do see the possibility of maybe having to change or alter the FMs slightly, this should resemble the final logic of the AI and not change radically.