UFO: Alien Invasion Issue Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
OPEN  Feature request #3881  -  Soldier autoequip buys from market
Posted Feb 06, 2009 - updated Jan 29, 2013
action_vote_minus_faded.png
1
Votes
action_vote_plus_faded.png
geever (geever) has been working on this issue since January 28, 2013 (20:48)
Issue details
  • Type of issue
    Feature request
  • Status
     
    Accepted
  • Assigned to
     geever
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     btaxis
  • Owned by
    Not owned by anyone
  • Category
    General
  • Priority
    4. Useful
  • Targetted for
    icon_milestones.png Not determined
  • Complexity
    icon_customdatatype.png Not determined
Issue description
Item 396 imported from sourceforge.net tracker on 2013-01-28 20:18:20

r22381. As per the title, should not happen. Soldier equipment should be taken from the base store ONLY. No automatic purchases should be made. If the desired equipment is out of stock, another weapon should be equipped instead.

Alternatively, auto-equip can be disabled for singleplayer campaigns.
Comments Ported from Sourceforge  ⇑ top
tlh2000 (2009-03-21 08:56:45)  ⇑ top
it is bought? the base equipment costs money and is used to equip the soldiers. so it's imo only indirectly bought from market.

and in my opinion this is correct. it should costs money - as we are using the same functions everywhere (if i'm not wrong here).

this can be tweaked by changing the initial money amount and maybe some other stuff in scripts. but i dislike the idea to produce new code for this.
btaxis (2009-03-21 09:40:17)  ⇑ top
No, that's the point. The equipment bought for the base is NOT used - the equipment assigned to soldiers is bought in addition to the equipment bought for the base. What you describe is desired behavior, just not the current behavior (although geever is working on it as far as I know).
sf-robot (2010-01-27 02:20:31)  ⇑ top
This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
btaxis (2010-01-27 08:56:20)  ⇑ top
Bug is still alive, reopening.
geever (2010-02-08 16:46:31)  ⇑ top
This is a hard one. The real solution is not-for-2.3 category.

We should implement an AutoEquip function that equips a soldier with the best available equipment (from a store list (equipDef_t?)). And selecting "the best" is another problem.

The autoequip function we have somewhere is using a probability list not a store list. Actually once we implemented the function(s) proposed above we should split this to GenerateStoreList (based on probabilyty list) and call the AutoEquip on it.

For now I'll remove the the cost this autobuy to reduce the sideeffects.

-geever
tlh2000 (2010-08-21 15:58:53)  ⇑ top
isn't that more a feature request than a bug?
geever (2010-08-21 19:16:26)  ⇑ top
yea, sort of.

-geever