UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2949 alien armour not recovered
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Battlescape
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    5. Important
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2949 Item 2949] imported from sourceforge.net tracker on 2013-01-28 19:54:51

There are two independent reports on forum about alien armours no more collected from battlescape and I think I could reproduce the issue once too.

If I'm right it doesn't happen every time but sometimes. I could even imagine that the problem is "only" that wrong (armoured) models are used sometimes for non-armoured aliens.

This is a serious issue and should be investigated before 2.4 comes out.

-geever
===== Comments Ported from Sourceforge =====

====== tlh2000 (2011-07-17 15:44:50) ======

this is handled in AII_CollectingItems

the armours are no items that were dropped to the ground, because the dead actors still wear the armour - so we have to get the armour from the dead actor's inventory

the cargo is moved to the base in B_SellOrAddItems (and there the tech for the item should be marked as collected)
====== geever (2011-07-17 21:24:26) ======

Thanks for the info, I've found a bug as stunned alien's armour was not recovered (possibly also stunned soldiers items collected twice). However I think it was not the main problem.

-geever
====== tlh2000 (2011-07-18 20:03:30) ======

just for the records:

I have reverted your commit about the LE_IsStunned call - LE_IsDead includes stunned state already
====== tlh2000 (2011-07-18 20:07:40) ======

the model that an alien is using depends on the inventory - see CHRSH_CharGetBody and AI_InitPlayer. i don't think this is wrong.
====== tlh2000 (2011-07-24 11:17:18) ======

should be fixed in 5621d498a8b29457a94a3caa80ff902350f74837
====== aduke1 (2012-09-18 21:24:37.911000) ======

- **status**: pending --> closed
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif