How do I make dropped weapons stop cluttering up the levels?
The issue I am having is that when a npc gets killed in battle(with me or another npc) and drops their weapon the weapon stays on the ground long after the dead npc is re-spawned and I do not think that they are going to disappear without me picking them up and selling them. Is this an intentional part of the game and is there a way to either make the guns stay in the dead npc's inventory(instead of dropping them) or make them disappear along with their previous owner's body?
For example when I kill a bunch of bandits I can go to the same area a little later and find their shotguns etc laying there(unless I had already picked them up) and I am afraid this will effect my performance or at least make the game look worse.
This has been a big problem for me too, especially when running mods that spawn huge numbers of NPC's. I was at a stage where i felt i needed to mod in a "Cleaning lady" for all the weapons that looked like a spreading disease.
I'm sure there is a technical explanation and resolution for this, but my way of dealing with it was to go on scheduled "Clean-ups" where i empty out my inventory and pick up all the dropped weapons and stuff them all into one or two corpses, and soon enough they disappear. There was also the added bonus of doing my part for the zones well being, kind of felt like an Eco-stalker at one stage.
Sorry, not much help but i can totally relate to your issue.
How do I make dropped weapons are cluttering up the levels?
Welcome to the GSC Forums!
Yes...keeping the Zone clean is in your best interest.
Dropped Weapons that are in good shape or need minor repair
should be sold to the Traders for profit. If you can't carry them
all at once, find a Stash to place them in until you can move them
later. Weapons that are badly damaged or excess in number should
be stashed inside a dead NPC so that when they eventually disappear
it removes the items from the Game. Less items the Game has to create
in each Level that is running means a smoother & a faster operating Game.
When GSC made Call of Pripyat, other NPCs will pick up salvageable weapons.
Thanks for the tips I have already been selling and putting them back on the corpses. But is there really no way I can make it where the guns disappear on their own(like the dead npcs) or where they they are not dropped but appear in the dead npc body after they die?
I am definitely not a modder but I can easily modify files like .ltx or .ini etc if I know what to change. Is there any console commands that would be useful in this case or some mini-mod or something?
But is there really no way I can make it where the guns disappear on their own(like the dead npcs) or where they they are not dropped but appear in the dead npc body after they die?
It probably can be done. The ZRP for SHOC has a function to clean up loose weapons (weapons laying about on the ground). SHOC and CS are very similar in a lot of ways - it is likely you could adapt that function for CS.
If you wanted to give it a try, I'd suggest popping into the ZRP thread and asking NatVac what function in the ZRP is responsible for this. Then, you could "copy and paste" that into CS - this is where the work would come into it.
You would need to do two things:
1. Make sure the commands in CS are the same as SHOC (when I took the spawning function from ZRP for SHOC and converted it to CS for example, I found that mostly the commands were the same, but worked in a slightly different manner between the two games).
2. If you wanted to run it automatically (in ZRP, it is a debug command - ESC D / - which is mapped to a modified main menu screen), you would probably have to add it to bind_stalker.script or similar (with a suitable time period). Or you could just take the ZRP approach and modify the CS main menu to accept the same keystroke.
Thanks! I was really getting tired of sawed off shotguns etc being all over the place. And you probably saved me a lot of time from picking them up. If I wanted to clean thinks up so bad my house just wouldn't be the same. lol