OpenXcom Forum

OpenXcom => Suggestions => Topic started by: Reaper on September 23, 2014, 10:42:00 am

Title: [AI] Way to do better battlescape AI
Post by: Reaper on September 23, 2014, 10:42:00 am
Just idea.
AI has map with different marks:
For each reachable tile calculate:
If enemy attacks they looks for tile with best attack potential (maximum possible to find enemy + minimum time to get cover), patrol - find way to see not visible tiles (scout), attack - find tile with best attack potential, etc.

Now (as i understand the code) enemy looks only for closest and (in some cases) visibly enemy. It make them stupid. I want do system where enemy make fire and throw grenades to possibly player position, fire indirect, better get covers and ambush. Any advise?
---
Sorry for bad english.