Thanks for the great mod! I'm looking to tweak spawn percentages of NPCs. I feel like the encounters are too common. Also is there a way to remove certain NPCs or alter their spawn weapons. For example, I want to remove rocket launcher NPC or just the weapon.
Thanks again for all the great work you guys do!
Each NPC pack should have an entitygroups.xml within the main Config folder. This is a good place to start tweaking the settings to match your requirements.
For example, the 1-SoldierPack.
There is an entry for the Rocket Launcher soldier like this:
<entity name="npcSoldier1RocketL" prob=".1" />
He has a low probability to spawn compared to default entities but the same probability to spawn as other Soldiers in the pack. Your choices are to remove him totally or further reduce his chance to appear, and here are instructions to do that first. This will still allow him to be a feature but much more of a surprise than a guaranteed regular occurrence. For example, change his probability to:
<entity name="npcSoldier1RocketL" prob="0.02" />
This only provides a 2% chance to spawn on an individual basis, but even less so when we take all of the other NPCs in the same spawning area with greater probability into account. If encounters are too common this can really balance it out and make it a lot of fun when he does appear on those much rarer occasions.
I hope you'll try that method as he can be a cool character in smaller doses. ^^
However, to remove him, you can totally delete that line or 'comment it out'. Commenting out forces the game to disregard that line and skip to the next one. A commented out entry for this Rocket Man looks like this:
<!--entity name="npcSoldier1RocketL" prob=".1" /-->