- Joined
- Mar 20, 2014
- Messages
- 67
Hi all,
Having some trouble here with the enemy AI I coded
I'm working on replicating/creating a new version of Custom Castle Defense v4.2.0
The problem is I have NO idea how they coded their AI, right now Mills provide income, and everyone requires income, so I have the enemy units attack-moving to mills.
This creates problems with hills and trees where they'll get stuck, so I made an anti-stuck system, but it still doesn't work that well, as some people with more cliffs will get no spawns for a while
Does anyone know how they did it?
Thanks!
- Zach
Having some trouble here with the enemy AI I coded
I'm working on replicating/creating a new version of Custom Castle Defense v4.2.0
The problem is I have NO idea how they coded their AI, right now Mills provide income, and everyone requires income, so I have the enemy units attack-moving to mills.
This creates problems with hills and trees where they'll get stuck, so I made an anti-stuck system, but it still doesn't work that well, as some people with more cliffs will get no spawns for a while
Does anyone know how they did it?
Thanks!
- Zach