OpenXcom Forum

OpenXcom => Suggestions => Topic started by: kikimoristan on August 16, 2015, 10:49:22 pm

Title: ability for aliens ai to use a medi-kit weapon
Post by: kikimoristan on August 16, 2015, 10:49:22 pm
pretty basic. i guess take the regular ai but make it target hurt friendlies instead. perhaps only the ability to use heal health not restore stamina or revive.

not sure how do-able this is.

ideally i'd like to be able to make some for of healing units for enemies and make medics actually act like medics.
Title: Re: ability for aliens ai to use a medi-kit weapon
Post by: kikimoristan on August 16, 2015, 10:57:30 pm
i mean if friendly units are hurt and if you have a medi-kit with charges left then act out the ai. might be too complicated i guess.
Title: Re: ability for aliens ai to use a medi-kit weapon
Post by: Surrealistik on August 16, 2015, 11:13:31 pm
Yeah, would be cool to see alien medics actually acting like it; don't think it would be too hard to program; just have it move to the nearest alien with fatal wounds and use the medikit item.
Title: Re: ability for aliens ai to use a medi-kit weapon
Post by: kikimoristan on August 16, 2015, 11:20:15 pm
well i wouldn't say is not too hard to program. probably it is. i didn't program any ai myself and although i can code i'm not pro at c++ . may be somewhat difficult / not really necessary atm.

it would deff be a nice feature to have to complete the ai by allowing enemies to do things only human players can making battles a tad bit more challenging when medics are present.
Title: Re: ability for aliens ai to use a medi-kit weapon
Post by: Shoes on August 16, 2015, 11:41:04 pm
A good first step would have hurt aliens heal themselves. Once you can do that, you can look towards making aliens heal each other.
Title: Re: ability for aliens ai to use a medi-kit weapon
Post by: kikimoristan on August 17, 2015, 12:25:15 am
or even if there is a hurt friendly close by (including yourself) and you have enough TU for walk to/use medi-kit [and enough charges left] then do that to the closest one rather than shoot at enemies. if by walking you meet enemy (x-com) unit then reevalue ai package for shoot rather than heal

[edited]
Title: Re: ability for aliens ai to use a medi-kit weapon
Post by: Surrealistik on August 17, 2015, 01:02:21 am
Shooting should take precedence over healing for sure.