Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Ah hah, so you've decided to remove the possibility to loot dead bodies when they don't have anythig left to take? Well, yeah, why not. There's probably no reason to put anything in their pockets after you take everything, I guess. Unless it will vanish with their corpse after you revisit the location, and that would be a good way to dispose of unwanted items without the need to carry them outside the location and drop in the random encounter in the Wasteland. Though, if the player will leave their weapons on them (and there's probably no reason to grab dozens of pistols or spears or whatever) this won't help too much.
Also a way to separate stacked items (especially weapons, when you have, say, a stack of 7 pistols, and need to drop 6 but leave one in your Inventory, or want to drop a few of them to stop being overencumbered, but still want to haul a bunch of them to the trader) is a must.

To separate one pistol from stock hold CTRL and grab one pistol. Check how this works. Maybe i add hold Shift to grab half in future. Yes i decide to disable this because when you hold RMB i  game code all corpses seeking collision with player to run function thats why game frames skipping

Nice.
Although I haven't noticed the game skipping frames when trying to loot a pile of corpses. Rather when there is a big pile of corpses and I shoot another enemy with the shotgun (since it makes many hits in a row for each shot, as if it's a burst weapon, and calculates hit chance, damage etc for each bullet). The problem with looting was only in taht it was impossible to search other corpses in a pile, and you would almost always search the same (usually, empty) corpse and could not reach the other ones because if this. (preventing searching the empty ones should help with this, although enemy weapons would still cause problems here. So maybe enemies on the Arena should be special and not drop weapons at all, or some other workaround must be invented).
Also, i think in Fallout 2 there was a similar problem (when corpses fell on each other it was hard to loot the corpse you need, so there was a workaround for this in the form of two small buttons with arrows under the corpse's "portrait" in the inventory, which allowed to switch between the corpses in the pile, if they were lying on the same hex. But then again, it only worked nice for non-combat situations, or during a pause in the turn-based combat mode. It won't work well for the continuous real-time onslaught with no pause in the battle).

Tested, Separating the item from the stack works.