Crater Creator
Community Moderator
For a mod I'm working on, I've re-enabled lootable zombie corpses, giving them a LootListOnDeath property in addition to the new dropped loot bags. Unfortunately, this seems to interfere with retrieving arrows from their corpses. If I look at the arrow, I get the prompt to search the corpse instead of the prompt to pick up the arrow.
There's somewhat of a workaround for this. You can wait for the corpse to disappear, and then the arrows will convert into little burlap sacks that fall on the ground. The problem with this workaround is, half the time the arrow was on the bottom of the ragdoll corpse, and so the sack spawns below the ground and immediately falls through the world.
I could theoretically at least get rid of the waiting for the corpse to disappear part, by having the corpse disappear after looting. Then you could in effect spawn the sacks of arrows when you're ready. However, if I set destroy_on_close="true" on the zombie's loot container definition, it spawns a dropped loot backpack 100% of the time when closed. That obviously throws the balance all out of whack.
Does anyone have tips for either enabling arrow retrieval on lootable corpses, or at least making destroy_on_close work without spawning a loot backpack?
There's somewhat of a workaround for this. You can wait for the corpse to disappear, and then the arrows will convert into little burlap sacks that fall on the ground. The problem with this workaround is, half the time the arrow was on the bottom of the ragdoll corpse, and so the sack spawns below the ground and immediately falls through the world.
I could theoretically at least get rid of the waiting for the corpse to disappear part, by having the corpse disappear after looting. Then you could in effect spawn the sacks of arrows when you're ready. However, if I set destroy_on_close="true" on the zombie's loot container definition, it spawns a dropped loot backpack 100% of the time when closed. That obviously throws the balance all out of whack.
Does anyone have tips for either enabling arrow retrieval on lootable corpses, or at least making destroy_on_close work without spawning a loot backpack?
Last edited by a moderator: