Jump to content

Anssi

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Anssi

  1. When the Rifleman default equipment consist of non-unlimited items A, B, C, but there is no free C available when hiring a new recruit, you still lose A and B.

    Example:

    1. Rifleman default equipment: Jackal armor, Plasma rifle, Plasma pistol (random example)

    2. Have 5 Jackal armor, 5 Plasma pistols, 0 Plasma rifles in store.

    3. Recruit 5 new soldiers.

    4. There was not enough equipment for new soldiers so they got the basic default load-out of Ballistic rifles instead (with no armor or pistol).

    5. All your 5 jackal armors and 5 plasma pistols have now vanished regardless.

    So far I have been able to always reproduce this, but a testcase save game is nevertheless attached. Rifleman default equipment is set to mag rifle + jackal armor, and there are 0 mag rifles and 4 jackal armors. If one recruits a new soldier, you lose 1 jackal armor.

    equipmentbug.sav

    equipmentbug.sav

    equipmentbug.sav

  2. Best explained with an example:

    1. Set Rifleman default equipment: Jackal armor, Plasma rifle, Plasma pistol (just for the case of this example).

    2. Have 5 Jackal armor, 5 Plasma pistols, 0 Plasma rifles in store.

    3. Recruit 5 new soldiers.

    4. Wait for it...

    5. There was not enough equipment for new soldiers so they got the basic default load-out of Ballistic rifles instead (with no armor or pistol).

    6. All your 5 jackal armors and 5 plasma pistols have now vanished, congrats :)

    I must have lost dozens of Wolf armors this way before I noticed they weren't actually destroyed in combat but just when recruiting...

    I guess the code which adds the default equipment for a new recruit doesn't restore the already reduced store counts when it notices not everything is available and falls back to just using the basic load-out of 1 rifle + 1 magazine.

×
×
  • Create New...