OpenXcom Forum
OpenXcom => Suggestions => Topic started 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.
-
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.
-
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.
-
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.
-
A good first step would have hurt aliens heal themselves. Once you can do that, you can look towards making aliens heal each other.
-
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]
-
Shooting should take precedence over healing for sure.