Development > Newbie Coding

Artificial Intelligence

(1/11) > >>

Latino210:
Hi

I am trying some mapping and I was wondering about the artificial intelligence of the aliens. In my map the aliens spend a turn slaughtering all civilians on sight, then they proceed to charge towards my soldiers pinpointing them like IR guided missiles. They all behave the same, no matter their race and/or equipment. Is this behavior normal? It's because the map is so small and streamlined? Sometimes in the game an uninjured alien just "get lost" and waits in a corridor to be found and slaughtered. I d'like to know more about enemy AI because I am building another map and I want to know how the enemy will act.

If anyone is interested, my map is here: http://ufoai.org/forum/index.php/topic,6428.msg52284.html#msg52284

H-Hour:
Alien AI is very basic. What you describe is roughly what aliens will do: they will generally target the nearest enemy (soldier or civilian). They will move towards the enemy they are targeting. If they can not move without moving closer, they will not (this is why they often get "stuck" in the Harvester).

There is no independent AI for different alien races.

Of course, we hope to develop the AI in the future.

kurja:
do aliens have a completely "individualistic" ai, as in, there's no common "team ai" to coordinate them in any way?

H-Hour:

--- Quote from: kurja on May 23, 2012, 01:38:58 pm ---do aliens have a completely "individualistic" ai, as in, there's no common "team ai" to coordinate them in any way?

--- End quote ---

I believe so, yes. But morale effects them, so teammate deaths matter. There is no, "you go that way, I'll go this way, and we'll flank them."

kurja:

--- Quote from: H-Hour on May 23, 2012, 04:27:21 pm ---I believe so, yes. But morale effects them, so teammate deaths matter. There is no, "you go that way, I'll go this way, and we'll flank them."

--- End quote ---

imho if ai gets a complete overhaul (which it needs) it should be a "team ai", as they're supposed to share the same consciousness and even if it wasn't that they're still soldiers of some kind and should work as a unified group.

Navigation

[0] Message Index

[#] Next page

Go to full version