Right my free time has dropped to the point where I can't really progress on TE Gold, but I have enough to do something and so I'm experimenting with scripting and trait editing in Medieval II Kingdoms. But, I'm a bit of a noob when it comes to both, so I would appreciate any and all advice on certain ideas I have. Tell me whether they're feasible, or whether the basic scripts for them I've got are good or not.
And I've got no idea whether any of the stuff I'll do will be released to the public or not.
Claim to the Throne
I've had the idea of when there is a marriage between 2 factions and the faction leader of one faction dies, that the other faction can 'lay claim to the throne'(both get set to really low standings with each other so might lead to war or might not just like in history). It would use the accept/decline historic event that was added in Kingdoms to give the faction a choice of whether to make the claim or not. If the faction is AI controlled, random chance of making the claim.
Here is the early code I've worked out for it after chatting to alpaca on msn, but it's probably got loads of problems with it.
Lands passing to another faction
I've also had the idea of using the give_everything_to_faction command added in Kingdoms for a situation where there is a marriage between 2 factions, and the faction leader of one dies without a heir and so give everything of that faction to the other one. Would use the destroy_unit command to remove units the other faction cannot recruit.
Haven't got code for this yet, would like to hear people's thoughts on feasability and I'll post my ideas for the code up later.
Inquisition
Also want to have an event to notify factions of an inquisition starting in their land, but not quite sure how to do this without having a script for each and every province.
Ideas?
Papal Elections
I was thinking of scripting changes in faction relations based on who voted for/against the new Pope in elections so as to make them a key part of the game. But I think this might be something that would be a lot of work for not much reward.
Titles
I know there are lots of mods with titles out there, but I want to learn how to do this for myself instead of copying other peoples code. I'm guessing it would be based on EndedInSettlement or GovernorInResidence and making them unique ancilliaires.
Houses
I've also had the idea of having houses within factions that family members/generals are more loyal to than the King. If the king is weak, and from another house then members of the other houses are more likely to revolt. Is this kind of thing feasible? Could also allow for some nice mixing of houses between factions.
Traits Generally
I've been thinking of reducing the number of traits characters get by either increasing the requirements or reducing the chances of getting them. Which way do people think is best? Also thinking of increasing the effect of buildings so players have more control over how their characters develop.
Middle Eastern and Orthodox factions
I'm interested in hearing about similar things that could be done for Russia/Byzantium/Moors/Egypt and turks as all the things I've thought of so far are very Catholic faction centered.
Any and all criticism/suggestions welcomed, help me improve as a sccripter and trait/ancilliary editor.