I was quite sure it matters as I explained, though your determinated reply makes me doubt. I know the distribution outline prior to succession sometimes is unrelyable but I have seen inheritance change the way I explain. In my recent playthrough, as England, I had 8 counties, 7 under England and 1 under Wales. I had enought Vassals in Wales for the title to be created on succession. I held 2 duchie-titles in England. I had 2 sons. The second was predicted to inherit 3 titles and create 1 - the second english duchie, 1 county inside it, the county in wales and create wales.
I then created wales myself. And second son got only 2. Wales and the county in Wales. This was also what happened when succession occured.
What I think happens is that the title creation happens last rather than first. One thing that supports this is the way you as a primary heir gets claims on all counties(including vassals leaving with your brother and any duchy-title) that leaves your(parents) realm but in the case its inherited(rather than created on succession) you get claim only on the top-tier title. One point mildly against is that you as primary heir gets claim on the created title. That means either claim inheritance is the vary last step or that a second claiminheritance happens for created titles.
I can be wrong, there are some other scenarios that COULD lead to the partition seen in the first case.
- I wonder if creating a Wales duchie(the one above the held county) would have created the same scenario. But My guess is the game would give second heir both secondary duchies and their counties.
- It might also be the second English duchie that somehow ruined it for me
So first it is possible the panel informing you of how the succession will go was out of date until the title creation forced it to update. I've never been able to get the succession display to be out of date in my tests, but it is a complaint I've heard.
Second, for the sake of my sanity I do all my tests in debug mode. And while I don't think that would affect the succession code, it is always a possibility.
But I'm pretty positive the title are handed out in a top down manner from the tests I've done. For instance, in my tests, the son who gets the 2nd kingdom title (whether it is created by the confederate partition or not) he will only get titles within that de jure kingdom, but if you make it so the second son doesn't inherit a kingdom title he will inherit land in multiple de jure kingdoms (and in test where there is a lot of titles up for grab outside the 2nd kingdom title, this means he inherits more titles overall when not inheriting the kingdom title). So the extra titles definitely needs to be created before the titles are handed out.
That said I did do some tests related to your what you mentioned about claims, as I haven't really looked at that before. And you are right. If I have two children and the second gets a kingdom that is created on succession, my primary heir only gets the claim on the kingdom title. But if that 2nd kingdom is created ahead of time, the primary heir gets claims on all the titles.
But I decided to see what would happen if I added a 3rd heir and weirdly it made it so the primary heir got claims on the titles of heir to the 2nd kingdom regardless of if the 2nd kingdom is created ahead of time or not. But it gets weirder.
I then tried the first setup with the two kids again (wanted to double check) and got claims on all of the 2nd son's titles regardless of if I created the title ahead of time or not. And this is despite me doing all these test by loading the same save and making tweaks (though time was allowed to pass as I wasn't paused).
So my only guess is that there seem to be some kind of bug causing the claims to be wrong on succession, but I can't reliably reproduce it.
I can be wrong, there are some other scenarios that COULD lead to the partition seen in the first case.
- I wonder if creating a Wales duchie(the one above the held county) would have created the same scenario. But My guess is the game would give second heir both secondary duchies and their counties.
- It might also be the second English duchie that somehow ruined it for me
In the tests I've done, I've have specifically looked at whether having a the duchy under a kingdom, or not, affects things and it definitely doesn't seem to with confederate partition.
I've also looked at whether having lots of or very few duchies (and/or counties) in your primary kingdom effects things. And as long as the other heirs inherit kingdom level titles, they don't take titles from you primary kingdom. But as there are a lot of possible combinations for this (and there do seem to be some weird bugs in the succession code) so I can't completely rule out that there isn't some combination that breaks things.
I have never seen a secondary heir ursurping from vassals on succession. Likely there are cases when it happens but I am quite sure it does not happen at least when succession creates the toptier.
I just retested this to make sure and it definitely is the case. It even happens if the kingdom title is the only title the 2nd heir receives (whether created ahead of time or not).
I will laborate a bit tonight if I find the time.
Please do, while I have done lots of testing of the system at this point and feel I have a good understanding of it. There is definitely the possibility of edge cases I hadn't considered, bugs I hadn't noticed, or something I've overlooked.