Difference between revisions of "Item Stacking Bug"

From UFOpaedia
Jump to navigation Jump to search
m (→‎Item Stacking Trick: It was small items. Tried a bit of a rewrite to see if it clarifies it any.)
(Does this edit make sense? I think it clarifies the situation, if it does. If not - please fix it.)
Line 1: Line 1:
 
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 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 occurances of stacked items happen when accessing an alien's inventory, as they always stack their equipment in the third ([2]) slot. Oddly enough, that's one of the small right leg "pockets".  
+
The most common occurances of stacked items happen when accessing an alien's inventory, as they always stack their equipment in the third slot (offset [2]). Oddly enough, that's one of the small right leg "pockets".  
  
 
Because we were never meant to access alien inventories, the AI manages them internally and doesn't care about object placement rules. <i>Dunno if they even spend TUs in there. - [[User:Bomb Bloke|Bomb Bloke]] 16:49, 25 October 2007 (PDT)</i>
 
Because we were never meant to access alien inventories, the AI manages them internally and doesn't care about object placement rules. <i>Dunno if they even spend TUs in there. - [[User:Bomb Bloke|Bomb Bloke]] 16:49, 25 October 2007 (PDT)</i>
Line 18: Line 18:
 
# 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.  
 
# 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 items in any given location. This effectively doubles your equipment space. For example a grenade takes one slot while a large rocket occupies three slots.  
+
Because of the way this trick works, you can only have a maximum of two items in any given inventory location. For example, you can have a pistol on the left side of your belt, plus two grenades there as well (one in each of the two inventory locations that the pistol occupies).
  
The weight of all the items you're carrying still applies.  
+
As you can see, this effectively doubles your equipment space. But be careful! 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.  
 
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.  
Line 26: Line 26:
 
'''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.  
 
'''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.
+
This trick does not work in TFTD. While you can hack a TFTD save game in order to stack items, there is no known way to do this from within the game.
  
 
= Effects of stacked items in hand slots =  
 
= Effects of stacked items in hand slots =  

Revision as of 05:09, 26 October 2007

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 occurances of stacked items happen when accessing an alien's inventory, as they always stack their equipment in the third slot (offset [2]). Oddly enough, that's one of the small right leg "pockets".

Because we were never meant to access alien inventories, the AI manages them internally and doesn't care about object placement rules. Dunno if they even spend TUs in there. - Bomb Bloke 16:49, 25 October 2007 (PDT)

A stacked item can happen to X-Com units if they're mind controlled and the AI briefly switches their weapons. Depending on whether they get changed back before 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 of the way this trick works, you can only have a maximum of two items in any given inventory location. For example, you can have a pistol on the left side of your belt, plus two grenades there as well (one in each of the two inventory locations that the pistol occupies).

As you can see, this effectively doubles your equipment space. But be careful! 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. While you can hack a TFTD save game in order to stack items, there is no known way to do this from within the game.

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.