OpenXcom Forum

OpenXcom => Open Feedback => Topic started by: long6oarder on January 02, 2018, 08:50:15 pm

Title: Dead soldier weapons are not recovered if mission is successful
Post by: long6oarder on January 02, 2018, 08:50:15 pm
Hello all,

Thanks to everyone who makes this community excellent!! I am constantly impressed by what you all create and how tirelessly you are work to create interesting and thoughtful enhancements for these games. :)

I hope this is the right place to ask about this. I have always noticed that at the end of a successful mission, I still get warning messages about how I am low on ammo or guns or something needed to fully re-equip my squad.

The line of reasoning for the game's behavior makes sense to me for most cases:


This last scenario is what I would like to discuss. So if we are to believe a clean-up crew sweeps the site after a successful mission (or even if the last recruit(s) does it) and collects all the not-blown-up (not destroyed) artifacts, ammo, and corpses, why won't they also grab any X-com guns/ammo/equipment?

Of course, bodies and guns/ammo that get blown up/blown away shouldn't be available to retrieve, and in fact, I love that about the game. How many times have you thrown a grenade near a stunned recruit (who you thought was dead) only to accidentally finish them off? OOPS! By the way, whoever created the new zzZ icon over stunned bodies is a genius/superhuman.

But for those piles of X-com loot scattered throughout the site (sometimes easily spotted because they are marked with a dead human being), can't we recover those? Perhaps the half-used magazines could be ignored, or a percentage of items could be considered 'lost' because the clean-up crew won't spend hours looking for e.g. a single primed proximity mine (better to let a civilian child find it).

So I guess you understand what I am asking about: why doesn't the 'clean-up crew' collect all (or most) of the remaining X-com equipment after the missions?

I am a little embarrassed to admit this, but I can't tell you how many chemical flares I have picked up off the ground during the last few turns when I know the mission will be a success. It's pathetic, I know. But I have also run out and fetched sonic cannons from nearby dead aliens just before aborting a mission just to try to pay the next meat shield's salary for a few months. Here's to all the X-Com penny pincher's out there!  8)

I would love to hear people's thoughts about this. :)
Title: Re: Dead soldier weapons are not recovered if mission is successful
Post by: The Reaver of Darkness on January 02, 2018, 08:57:16 pm
The dead soldier equipment IS recovered. I would check with your specific version or other mods for bugs.
Title: Re: Dead soldier weapons are not recovered if mission is successful
Post by: Meridian on January 02, 2018, 09:01:14 pm
Thanks for the compliment about the Zzz icon.

Anyway, dead soldiers' equipment should be recovered normally.

If it is not for you, please specify exact version of OpenXcom you are using, exact mod(s) you are using and (if you can) provide a save, where we can see this happening.
Title: Re: Dead soldier weapons are not recovered if mission is successful
Post by: long6oarder on January 02, 2018, 09:21:07 pm
I see. Thanks, you two.

I will try to regenerate this condition and get back to you. :)
Title: Re: Dead soldier weapons are not recovered if mission is successful
Post by: bulletdesigner on February 17, 2018, 07:47:40 pm
I have a similar question/bug, but the other way around recently i made soldier armor corpse recover, so what happens was i got one soldier unconsicess , at the end misson i recoverder armor corpse and soldier ! Is it bug or bad script on my part ?
Title: Re: Dead soldier weapons are not recovered if mission is successful
Post by: Meridian on February 17, 2018, 08:25:04 pm
I have a similar question/bug, but the other way around recently i made soldier armor corpse recover, so what happens was i got one soldier unconsicess , at the end misson i recoverder armor corpse and soldier ! Is it bug or bad script on my part ?

check if you have battleType: 11

Code: [Select]
items:
  - type: STR_CORPSE_ARMOR   # battle corpse item for vanilla Personal Armor
    name: STR_CORPSE
    weight: 24
    bigSprite: 28
    floorSprite: 40
    invWidth: 2
    invHeight: 3
    armor: 30
    recover: true            # you probably changed this from false to true
    battleType: 11           # ...but you didn't specify that this item is a corpse (battle type 11)
Title: Re: Dead soldier weapons are not recovered if mission is successful
Post by: Solarius Scorch on February 17, 2018, 08:34:51 pm
May my past mistakes (see above) be a lesson to you all :)
Title: Re: Dead soldier weapons are not recovered if mission is successful
Post by: bulletdesigner on February 19, 2018, 12:23:20 am
check if you have battleType: 11

Code: [Select]
items:
  - type: STR_CORPSE_ARMOR   # battle corpse item for vanilla Personal Armor
    name: STR_CORPSE
    weight: 24
    bigSprite: 28
    floorSprite: 40
    invWidth: 2
    invHeight: 3
    armor: 30
    recover: true            # you probably changed this from false to true
    battleType: 11           # ...but you didn't specify that this item is a corpse (battle type 11)

thks, i guess it´s that since i assign no battletype , sorry for the offhand topic divert