Enemy Count(Default vanilla)
🟡 Updated this yearPreview

🔍 Analysis
- 🏆 #90 of 118 Miscellaneous mods in this game by downloads
📋 About This Mod
.Dll > BepInEx\plugins
简单的修改敌人数量,不过别改太高,加载关卡会卡,我试过最高是4 40。排除了BOSS的。
The default values are vanilla. You need to go to cfg and modify PackDensity and PackBudget to your liking, but remember not to set them too high, or loading levels will cause it to freeze. This is my configuration.
## Enemy pack density per room. Higher value = more enemies. / 每房间敌人群组密度。值越高敌人越多。
# Setting type: Single
# Default value: 1. 5
PackDensity = 3
## Budget for each enemy pack. Higher value = more expensive/larger packs. / 每个敌人群组的预算。值越高每组敌人越强/越多。
# Setting type: Int32
# Default value: 15
PackBudget = 30
## Hard cap on total NON-BOSS enemies per level to prevent crashes. Set to -1 for unlimited. / 每关非BOSS敌人数量硬上限,防止崩溃。-1为无限制。
# Setting type: Int32
# Default value: -1
MaxEnemiesPerLevel = -1
## SpawnCost threshold to identify a unit as Boss/Elite. Units with cost >= this are excluded from the limit. / 识别为BOSS/精英的生成造价阈值。造价大于等于此值的单位不计入上限。
# Setting type: Int32
# Default value: 50
BossCostThreshold = 50
IndexOutOfRangeException: Index was outside the bounds of the array.
Stack trace:
PerfectRandom. Sulfur. Core. BatchedNPCRaycasts. LateUpdate () (at <fd61cda9dc1f44a5ac062c7f5eb3ab74>:0)
证明改太高了,当然,你杀着杀着,地图上敌人数量减少到一定程度就不会刷这个报错了。我感觉这不是我应该去修复的东西。也没必要让代码太复杂。
📊 Mod Details
- Game
- Sulfur Mods
- Author
- VB485
- Version
- 1
- Downloads
- 97
- Endorsements
- 2
- Category
- Miscellaneous
- Created
- 4/10/2026
- Updated
- 4/10/2026
- Tags
- Gameplay
🔧 How to Install SULFUR Mods
Install via a mod manager (Vortex or Mod Organizer 2). Most mods drop into the game folder.
📖 Full step-by-step install guide for SULFUR →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for SULFUR commands, item IDs, and more.
Keep browsing — more SULFUR mods await