Greetings!
When you buy a new weapon, the old one falls and disappears. Is it possible to do this with clothes so that they also disappear and do not clutter up the location?
I don’t know if I explained my question clearly)))).
It is possible i think.
Somehow we can make the primary and secondary slots work like the pistol and melee slot where picking up a new item will delete the original one
The current problem happens because you are basically swapping weapons like u do when you pick up enemy weapons in the main game.
But the twist here is that the weapon on the wall dont get deleted and it stayed there. So you just have the old gun on the ground
Is it possible to do this with clothes so that they also disappear and do not clutter up the location?
My map has no buyable clothing.
If you’re asking just in general try this maybe:
enlisted_base_soldier{
_override:b=yes
bodyCleanupTime:r=2.0 // time in seconds to remove corpse from scene
human_inventory__lootCleanupTime:r=12.0 // time in seconds to remove items from scene
drop_item_cb__lootCleanupTime:r=1.0 //maybe affects clothing i have no idea. Try it.
shell__cleanupTime:r=30.0 //this is for shells, but it worth a try. Don't enable all at once.
}
I thought that this could be written somewhere in the clothes themselves in the editor, or included somewhere. But I was wrong. From trying to do something at random))) you begin to get tired.
Zombies now spawn in caves. Added dedicated area for them, unaccessable for players. It’s located in the left tunnel. Goal is to finally make players move around more, from the usual camp position at the tunnel.
Thank you for your report
Let me see if there is an issue.
(I am not the creator but i am an active member of the zombie modding community and the creator has taught me so many things to make my map possible, which i made my codes open-source to public.
I am more than happy to help him check out the issue here to show my thanks)