AFAIK The chance to invite to court is hard coded.
However people getting captured is all done via events, so that can be changed. The current events are in events\battle_events.txt, but capturing people is only limited by your event scripting skills and your imagination.
Well, my skills are rather limited, but I did find this in the
battle_events.txt:
Code:
#On-action battle_lost: Imprisoned by the enemy
character_event = {
id = 250
is_triggered_only = yes
picture = "GFX_evt_into_the_dungeon"
desc = "EVTDESC250"
trigger = {
is_alive = yes
prisoner = no
NOT = {
character = FROM
}
}
Phrased like so, it seems like
anyone could be captured, regardless of who they are, and even if they have no titles at all. Alright, next I look in
on_actions.txt and find this:
Code:
#character
on_battle_lost = {
random_events = {
900 = 0
50 = 250 # Imprisoned by the enemy
50 = 8320 # Crusader becomes cynical
}
}
Alright, so it's in there after all, so yay for that. Then I look underneath it and find this:
Hmmm, a lump of nothing.
SO... here is what I am thinking, and I'm probably wrong of course, but if I were to copy & paste some of that "on_battle_lost stuff" into the empty "on_siege_lost" area, then would it trigger the same events during a siege as it does in a battle? And would it properly aim it at the at-home defender of the siege, or would it just say "who?" and fail to trigger? Something like this:
Code:
#on_siege_lost = {
random_events = {
900 = 0
50 = 250 # Imprisoned by the enemy
}
}
Do you think that would do the trick? Or do I need something more elaborate?
And finally, I have not been able to locate any actual probability modifiers. It says that it checks once per "combat pulse," but what do the numbers inside mean? What is "2750 = 0" mean? Or "10 = 255?" I'm confuzzled.