Author Topic: ALIEN AI -WEAPONS  (Read 13670 times)

Offline luke83

  • Commander
  • *****
  • Posts: 1559
    • View Profile
    • openxcommods
ALIEN AI -WEAPONS
« on: January 19, 2012, 12:32:01 pm »
Question for all you experts,
 In the original game, if you disarmed a alien , would he ever try to pick up a weapon again?

Offline kkmic

  • Commander
  • *****
  • Posts: 582
  • Undefined
    • View Profile
Re: ALIEN AI -WEAPONS
« Reply #1 on: January 19, 2012, 01:05:11 pm »
Never.

It only used HTH, psionics or other items in the inventory (if any).

Offline luke83

  • Commander
  • *****
  • Posts: 1559
    • View Profile
    • openxcommods
Re: ALIEN AI -WEAPONS
« Reply #2 on: January 19, 2012, 01:13:06 pm »
hmm , i hope Dalky considers this a Bug and fixes it.

Offline Daiky

  • Battlescape Programmer
  • Administrator
  • Commander
  • *****
  • Posts: 904
    • View Profile
Re: ALIEN AI -WEAPONS
« Reply #3 on: January 19, 2012, 01:20:13 pm »
I think Volutar once discovered there are traces of an AI function to pick up objects they dropped, but never worked

source : https://www.ufopaedia.org/index.php?title=OBPOS.DAT check the latest comment on bit 12 (0x0C)

It will work in openxcom.


Also: I don't think an alien should pick up human weapons and start shooting with those :) So a check should be done to see if the weapon is not human. But I do think aliens should be able to pick up alien weapons dropped by players...
« Last Edit: January 19, 2012, 01:26:49 pm by Daiky »

Volutar

  • Guest
Re: ALIEN AI -WEAPONS
« Reply #4 on: January 19, 2012, 03:06:09 pm »
Daiky, there are number of condition when picking up is possible.
1) item is dropped during ALIEN move (including alien panic).
2) item have special flag "pickup importance" which is set only for alien items.

There are no chances of using some kind of "bate" to get aliens at fire line. So this "unused" feature of original xcom is totally safe. Though it will make panic attack almost pointless.

Offline Daiky

  • Battlescape Programmer
  • Administrator
  • Commander
  • *****
  • Posts: 904
    • View Profile
Re: ALIEN AI -WEAPONS
« Reply #5 on: January 19, 2012, 03:37:17 pm »
Yeah, I need to add a similar flag.

It's true a panic attack is not the worst thing that can happen. Maybe it should only pick up it's weapon, but leave other stuff, like ammo still on the ground?

Another solution, if it's the last alien on the map, it might panic, prime a grenade and drop it and blow itself up :p Now that would be hilarious. And useful to end those boring last alien searches. You could explain it as some sort of self-destruct, to avoid being captured and being experimented on :p

(be sure to capture the commander fast, or he will self-destruct himself)

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: ALIEN AI -WEAPONS
« Reply #6 on: January 20, 2012, 05:03:15 am »
Your soldiers panicking was never a major issue either, you could pick your stuff back up once you got your TUs back, although it could take a few turns. The real issue was the threat of your soldier getting himself or others killed, presumably the same would apply to aliens?

Although it was pretty amusing to find weaponless aliens just standing around. :P

Offline luke83

  • Commander
  • *****
  • Posts: 1559
    • View Profile
    • openxcommods
Re: ALIEN AI -WEAPONS
« Reply #7 on: January 20, 2012, 07:25:33 am »
I think any weapon less aliens should walk up to you soldiers , King Hit them to knock your guys out and steal the x-com "human" weapon to execute your soldier on the ground. Just a thought ::)

Offline kkmic

  • Commander
  • *****
  • Posts: 582
  • Undefined
    • View Profile
Re: ALIEN AI -WEAPONS
« Reply #8 on: January 20, 2012, 10:26:53 am »
Although it was pretty amusing to find weaponless aliens just standing around. :P

Some of them had a grenade or two up their sleeves.

Oh wait, the aliens did not had any sleeves. But they did had a magic pocket somewhere :)
« Last Edit: January 20, 2012, 09:39:44 pm by kkmic »

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: ALIEN AI -WEAPONS
« Reply #9 on: January 20, 2012, 08:29:43 pm »

Offline hsbckb

  • Colonel
  • ****
  • Posts: 275
  • Gill Man
    • View Profile
Re: ALIEN AI -WEAPONS
« Reply #10 on: January 21, 2012, 10:17:37 am »


Another solution, if it's the last alien on the map, it might panic, prime a grenade and drop it and blow itself up :p Now that would be hilarious. And useful to end those boring last alien searches. You could explain it as some sort of self-destruct, to avoid being captured and being experimented on :p

(be sure to capture the commander fast, or he will self-destruct himself)

I can't agree more. Another method for solving the search of last alien is auto combat.
« Last Edit: January 21, 2012, 12:21:51 pm by hsbckb »

Offline luke83

  • Commander
  • *****
  • Posts: 1559
    • View Profile
    • openxcommods
Re: ALIEN AI -WEAPONS
« Reply #11 on: January 21, 2012, 12:00:22 pm »
No, last alien should turn into rambo and come looking for you. Let it cheat like the old game did ( after turn 20) , and let it know where all your men are and have it come HUNT you down. That would save you time as it will be looking for you.

Offline DiceMaster

  • Sergeant
  • **
  • Posts: 44
    • View Profile
Re: ALIEN AI -WEAPONS
« Reply #12 on: January 21, 2012, 03:40:45 pm »
No, last alien should turn into rambo and come looking for you. Let it cheat like the old game did ( after turn 20) , and let it know where all your men are and have it come HUNT you down. That would save you time as it will be looking for you.
I think it is better not to wait for specific turn or specific number of aliens, but check that some number of turns passed without any combat actions and no new aliens were spotted.

Offline Zharik1999

  • Colonel
  • ****
  • Posts: 133
    • View Profile
Re: ALIEN AI -WEAPONS
« Reply #13 on: May 09, 2012, 09:55:05 am »
It seems to be a good idea.