Originally Posted by
alreadyded
This is a good script to produce fair battles. It takes the size of the garrison into account so the player should always have a shot at winning from my experience. Just add settlement size as a condition and swap what needs swapping and it should work for what you want. I have other scripts that do it other ways but this one is best for random raids on garrisons being fun battles to fight and having a way to stop them. It is a game after all so you have to keep it fun. I spawn the armies far away and have them walk to attack, so not sure if it works if you spawn the army right next to the settlement.
I also have many rebel factions that randomly raid villages on the map by scripts and stop when they upgrade, but that might be harder for you to use for what you want.
If you still have Sauron pope faction in your mod you can use that for raids as well. And TATW may use a orc faction for the palantiri or whatever stuff too, I can't remember. I have no clue just how much you want these raids to affect gameplay. In my mod it is just a fun battle to fight every once in awhile, not a huge deal so you can play normally thing. But there are lots of things to go fight in my mod so turtling is not something I wanted to make necessary because of raids. That will make the campaign boring to me, I would try to keep it so I can take a settlement every 20 turns if I want to. Making someone wait 20 turns to do anything they want in a game is taking away from the fun factor is the simple way I see it. So if you want them to be big you may want to add more free upkeep slots or spawn a few units for the player in the settlement or something is all I am saying.