Item Stacking Bug

From UFOpaedia
Jump to navigation Jump to search

The item stacking bug occurs when several items are stacked in the same location in a unit's inventory. It can happen naturally, via the alien AI, or by using the item stacking trick.

The most common occurance of stacked items happen when accessing an alien's inventory. Aliens always stack their equipment in the very first slot in their inventory. Oddly enough, the first item slot for all units is also the right leg slot.

Because we were never meant to access alien inventories, the AI manages its inventories internally, so it doesn't care about actual object placement.

A stacked item can can happen to X-Com units if an X-Com unit is mind controlled and the AI briefly switches the controlled unit's weapons and doesn't switch it back when you regain control. You may just find your huge rocket launcher taped to your right leg slot, stacked on top of whatever else was in there.

Item Stacking Trick

The item stacking trick allows players to stack two items in the same inventory slot at the same time.

To peform the item stacking trick:

  1. Go to the inventory screen.
  2. Pick up an item - any item - by clicking on it.
  3. With the item on your cursor, click on the arrow.
  4. Place the item where you want it. You'll hear it get placed, but it will look empty. At this point in time, do not click on the arrow button or it'll refresh the inventory screen and you'll have to start over.
  5. Pick up another item and place it over the item you just placed.
  6. Leave the inventory screen and come back in, switch to another soldier and come back, or just hit the ground item tab button to refresh the screen to see the result.

Because the way this trick works, you can only place a maximum of two small in any given location. This effectively doubles your equipment space. Keep in mind that the weight of all the items you're carrying still applies.


Be sure to read the rest of this document, particularly the word of caution at the end, before you proceed to try this trick in an actual game.

Note: This only works in versions of UFO with the inventory ground item tab button (the arrow). Early versions of UFO, such as v1.2, do not have the arrow.

This trick does not work in TFTD, however stacked items in TFTD are still possible although there are no known in-game methods of achieving it manually.

Effects of stacked items in hand slots

When placed in the hand slots, strange things can happen when you start to use these items. It's up to the player to experiment and see what does what, and what causes the game to crash, if any. The safest items to try are ranged weapons and grenades.

The strangest but most useful effect is when you stack a stun rod and a ranged weapon into a hand slot.

If you stacked the stun rod and gun, you will find that in addition to your normal firing commands, you'll have the stun command as well. Also take note that your weapon will look like a stun-rod and your ammo counter will be missing. Rest assured, your weapon will continue to fire normally.

What's more interesting is the stun command. A stun rod only uses 30% of your total TUs for an attack. The stun command listed will instead cost 50% of your total TUs. If you use it on an enemy target, you will not stun it. Instead, you will kill it.

This has, in effect, re-enabled the game's disabled melee attack. Or the elusive 'hit' command seen in the illustrations used in the game's manual.

Apart from the previously mentioned problems, the biggest problem is finding out what weapons do what damage. The stun rod obviously does stun damage, but the other weapons do not seem to conform to the melee damage types and values listed in the game's battlescape object file. So, again, you'll need to experiment to find what's best for you.

Although expensive in TU, a melee attack with the right stun rod and weapon combo can sometimes kill a sectopod in one hit.

Danger: Moving Stacked Items

In the initial equipment screen prior to the start of the battle, you can stack and unstack items all you want as no TUs are spent.

However, be very careful when picking up items from an item stack after the battle has commenced and you are using Time Units to manage your inventory.

If you pick up an item from a stack and don't have the time units to drop it, put it down in an empty spot within the same object slot area. This costs nothing.

If there is no space and you've run out of time units, you will have put the game into the state of an infinite loop where you can never put the item back down again. This is especially true when fiddling with alien inventories, as they like to put items as large as Heavy Plasmas in their right leg slot. You simply cannot place the heavy plasma back onto the stack, or into the adjoining empty slot.

At least for aliens, there seems to be a "magic" TU value indicating when it is safe to unstack items: 20. Since the aliens never carry more than 3 items stacked on the leg slot, you need to conserve 18 TU to drop these items to the ground (3 items * 6 TU/item), plus 2 TU to drop the customary weapon in the hand. If you intend to shift items around instead of dropping them to the ground, beware. Twenty time units will not be enough.

The best time to stack items, or fiddle with stacked items, is when you have a sufficiently full Time Unit bar. If you get it beneath the 50% or 25% threshold, then you may want to continue stacking items on the next turn.

If you do get into an infinte loop, the only way to stop the game is to force the game to shut down via your operating system. Switch to your desktop, then have your operating system forcibly shut down the console or emulator you're running the game in, or use your task manager if your operating system comes with one. If you're in Pure Dos Mode, you must manually reset your computer from the mains.