Niccce, I'll be messing around with this
Nice find regarding the joining modifiers. HF made Crusades even more horrifyingly overpowered. Maybe other modifiers can be applied which relate to location, time period, culture etc. The last thing on your mind if playing as Egypt in 1337 should be seriously worrying about Crusades.
Wonder if there are modifiers for the defenders too? Daft to see the Volga Bulghars and Delhi Sultanates send doom stacks to defend the Holy Land.
I feel like a lot more could be considered, for example distance, empty state coffers / bankruptcy, relations with the pope, impending military threats at home (invasion being prepared against you) etc. Also, if the ruler is either crazy or an idiot, it might negate some of the aforementioned restrictions. Edit 2: Just thought of one more thing: you'd be probably a lot more reluctant to join a crusade against someone who's religion you're sympathetic to (say the crusade target is muslim and you have the
Sympathy for Islam trait), or worse, who's your friend (unlikely, but not unheard of -- think of fellow Hermetic society members).
That being said, it wouldn't make much sense to just modify HFP.41005 without revisiting HFP.41006 and the corresponding counter-pledge events HFP.41070 and HFP.41073. The thing is if the combined crusader army is smaller than the defending one (
crusade_preparation_strength <= 0.75), just about any able ruler with a modicum of
ai_zeal is forced to pledge to join the crusade. A similar check is made for the defenders (
crusade_preparation_strength >= 1.2). Edit: It's actually worse than that: more rulers are added until
crusade_preparation_strength <= 1.75, just with more restricted
ai_zeal requirements.
There's a lot more wrong with the crusades than the inflated number of participants though. So I guess it would require a more closer look from the development team.