🛡️ Raid Blocker
[b]Protect your colony from unfair raid spawns![/b]
[img]https://images.steamusercontent.com/ugc/13518632793764758490/984D84192CBA790F07F9646020A14638B027323D/?imw=5000&imh=5000&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img]
[hr]
Description
Ever been frustrated by raids that spawn [b]right next to your base[/b]? This mod changes raid behavior! Enemies will no longer spawn at your walls — instead, they'll come from other, fairer locations on the map.
The mod analyzes your building layout and blocks raid spawns near your base, redirecting them to a safe distance.
[hr]
Features
[list]
[*] [b]Smart raid blocking[/b] - Automatically detects your base boundaries and blocks nearby spawns
[*] [b]Automatic raid redirection[/b] - If a spawn point is blocked, raids come from another direction
[*] [b]Softlock protection[/b] - Won't block the last available spawn points (raids will still come)
[*] [b]Visual overlay[/b] - Shows blocked and valid spawn zones on the map
[*] [b]Configurable settings[/b] - All parameters adjustable in mod settings
[*] [b]Debug info[/b] - Toggleable text overlay for testing
[*] [b]Compatibility[/b] - Works with all raid arrival types
[/list]
[hr]
How to Use
[list]
[*] Enable the mod in the Mods menu and restart the game
[*] Load a save or start a new game
[*] Build a base
[*] Toggle the overlay via the button in the bottom-right UI bar
[*] Enjoy fairer raids!
[/list]
[img]https://images.steamusercontent.com/ugc/13681379131807207009/D59BE8F6D7CCDC5B8BCEB1E817F676DEACE3C575/?imw=5000&imh=5000&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img]
[hr]
Settings
Parameter
Default
Description
Base Bounds Margin
20
How far to expand base bounds before checking
Raid Block Radius
15
Distance from base where raids cannot spawn
Min Base Size
5
Minimum buildings required to activate blocking
Min Core Ratio
50%
Minimum % of buildings that must be in core cluster
Max Centroid Radius
50
Max distance from center to consider building part of core
[hr]
Technical Details
[list]
[*] [b]Load Order:[/b] After Harmony
[*] [b]Conflicts:[/b] May conflict with mods that modify raid spawn logic
[*] [b]Performance:[/b] Minimal FPS impact (caches update every 250-600 ticks)
[*] [b]Language:[/b] English/Русский/Український/Français (translations welcome!)
[/list]
[hr]
Planned Features
[list]
[*] Smart raid spawn blocking near your base [b]✓ done![/b]
[*] Automatic raid redirection to valid spawn points [b]✓ done![/b]
[*] Visual overlay showing blocked/valid zones [b]✓ done![/b]
[*] Protection against softlock [b]✓ done![/b]
[*] Notification when blocking is suspended [b]✓ done![/b]
[*] Individual settings per raid type
[*] Raid direction indicators on map
[*] Blocked raids statistics tracking
[*] Custom spawn zone painting (manual mode)
[/list]
[hr]
FAQ
[b]Save compatible?[/b] - Yes, safe to add/remove mid-save
[b]Does it block all raids?[/b] - Only edge spawns near your base. Drop pods and special raids are not affected
[b]Where do I configure settings?[/b] - Mod Settings → BetterPages → Raid Blocking Settings
[b]Can I manually paint blocked zones?[/b] - Not yet, but it's definitely planned!
[b]Why isn't blocking working?[/b] - Check if you have minimum buildings in your base area (configurable in settings)
[b]Will this break quests?[/b] - No, only affects spawn location, not raid composition or points
[b]Performance impact?[/b] - Minimal, caches update every 250-600 ticks
[hr]
My Other Mods
[list]
[*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3664953620]Dev QOL[/url]
[/list]
[hr]
Feedback
[b]If you like this mod, please leave a comment and share with friends![/b]
[b]Found a bug or have suggestions?[/b] Leave a comment below!
[hr]
Credits
[list]
[*] [b]Author:[/b] seneaL
[*] [b]Inspiration:[/b] Community feedback on unfair raid spawns
[/list]
[hr]
[i]Seneal Spawn Shield - Made with ❤️ for the RimWorld community[/i]