• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Showing developer posts only. Show all posts in this thread.

Silfae

Colonel
31 Badges
Nov 4, 2013
1.199
298
  • Crusader Kings II
  • Tyranny: Archon Edition
  • Hearts of Iron IV: La Resistance
  • BATTLETECH: Heavy Metal
  • BATTLETECH: Season pass
  • Crusader Kings II: Holy Fury
  • BATTLETECH: Flashpoint
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Age of Wonders III
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • BATTLETECH
  • Crusader Kings Complete
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Stellaris - Path to Destruction bundle
Greetings, everyone.

Well then, this is going to be a long one...

The old elective succession system has been succeeded


So your cousin the Duke of Burgundy always seem to nominate the Steve ‘the drunkard’ as the next Emperor of the realm rather than your favorite quick and attractive son. This has been a common theme for a bunch of our playthroughs while having the elective succession laws active for our main titles. One of the biggest problems about this is that the other electors reasonings for their nomination decisions has been hidden away in an opaque box so you never know which electors can be influenced to see things more in your way.


This was one of the first problems we wanted to address when we decided to rework the elective succession system. So instead of just giving you a list of names in the tooltips for whom casted votes on a given candidate we made a specific interface to enable us to give you a more detailed view into the minds of the powerful electors of the realm.

Succession Laws0.PNG


After it was possible to get a better look at why the electors made their decisions we wanted to make it easier to further edit the underlying factors which governs the AI. Therefor we decided to replicate the old logic from hardcoded conditions to instead be based on a scripted system which decides various rules of how the elective succession works.

This not only enables modding of the elective succession law, we now also allow you to create any number of your own elective rules to fill the world with different electorates that play by their own criterias. Maybe you always wanted to create your own technocratic republic that is governed only by the most learned people of the realm. The party realm might only allow drunkards and hedonists to have a say in whom should be this years party host.

For the people that are more interested in exactly how this is modifiable there’s a brief rundown of the syntax used to define the elective rules here:

Code:
### Condensed syntax layout:

#<elective_law_type> = {

#    candidate_vote_score = {

#        <Weight Modifiers>

#    }

#    elector_selection = {

#        max_amount = <int>

#        <Weight Modifiers> - if max_amount is set it will pick the X amount of top scorers.

#                Negative scores are considered invalid electors - Ruler is always an elector

#    }

#    elector_vote_strength = {

#        <Weight Modifiers>

#    }

#    elector_stances = { - Intended for the elder council positions

#        <stance_name> = {

#            icon = <int>

#            <Weight Modifiers>

#        }

#    }

#    candidate_trigger = {

#        <trigger>

#    }

#}


# <Weight Modifiers> - denotes a field of an arbitrary amount of triggered value modifiers eg.

#    additive_modifier = {

#        value = -4

#        is_tribal = yes

#    }

#

# <trigger> - denotes a field of conditions that needs to be evaluate true for the trigger to be fulfilled

#

# The elector will vote for the candidate with the highest score given by candidate_vote_score

# The electors are selected from the pool of characters which get a non-negative elector_selection score until we reach the max_amount

# elector_vote_strength will determine how much weight the vote of a single elector carries

# The elector will use the elector_stance with the highest score if any are scripted

# The stances are thought to be some kind of common thought process or allegiance for a subgroup of the electors - This system is used to create the different states for how the Elders will behave in the Eldership succession law explained in detail below

In addition to these underlying code changes of the elective succession forms we also added another usage of the Conclave favors so that you now can force electors to vote in compliance with your vote for the succession of a title.

Revamped Elective Laws


The unhardcoding of Elective successions allowed us to completely rewrite the AI behavior for the existing Elective laws accessible through the base game (Feudal Elective, Elective Gavelkind, Tanistry). The various conditions to be eligible as a successor or elector under these laws have remained unchanged (although now they have been translated into moddable script), while the AI electoral behavior has been rewritten into a long list of nuanced modifiers. You can now expect Electors to take into account how much they like a candidate, how legitimate they think his claim his to the title, and how much they trust the ruler that is voting for said candidate. Age, titles, character traits, culture, religion, dynastic ties and much more are now all taken into consideration by the AI and visible to the player when using the new Electors’ Tab. The sum of all these modifiers will result in a voting score, and the potential candidate who has the highest voting score will be the one selected by the Elector in question (and since each Elector has a different personality/status/etc. different kinds of Electors will prefer different kinds of candidates).

Succession Laws1.jpg



The Electors Tab shows to the player the complete list of Electors casting their vote, who they are voting for, the reasons why they are voting for said characters as well as a comparison with the candidate score of the ruler’s preferred candidate and the reasons why they are not voting for him.

Succession Laws2.jpg


Eldership

Somewhat similar to Tanistry, Eldership prevents your title from ever falling outside a ruler’s family, restricting the choice of potential candidates to members of the ruler’s dynasty. Under Eldership, only the six oldest and most learned characters in the realm will be allowed to pick the ruler’s successor. Each Elder can hold one of three possible stances at any given time, depending on how he feels about the ruler: Displeased, Pleased, or Ecstatic.

Making sure that your Elders have a high opinion of you, giving them their preferred Council positions (Chancellor, Steward, Chaplain), or fulfilling the occasional request from them, will push them further to become Ecstatic.

20180824080508_1.jpg


An Ecstatic Elder will almost always vote for the ruler’s chosen candidate, almost never make demands, and even give the occasional piece of advice to make you a better person.

20180824080639_1.jpg


Pleased Elders will try to vote for what they consider to be good and capable candidates amongst the members of your dynasty, favoring older characters with high stewardship. They might occasionally make some demands, such as asking a ruler to give some land to a family member that they really like, but they will, for the most part, be reasonable people to deal with.

Displeased Elders on the other hand, will be much harder to deal with. Not only will they purposefully select bad candidates, they will occasionally grant claims on your title to people that they like, openly questioning their liege’s right to rule.

20180824080819_1.jpg


Holy Fury will allow the Baltic and African realms to start with Eldership as default succession law, rather than Elective Gavelkind. Additionally, other pagans can unlock this succession by picking the right Doctrine when they Reform their faith.

Princely Elective
This new variation on elective has been scripted to replace Feudal Elective for the Holy Roman Empire. This succession limits the electors to a maximum of seven (plus the ruling Emperor) and makes it so the historical titles held by the Prince-Electors are prioritized when determining the valid electors in the Empire, these titles being the Bishoprics of Mainz, Koln and Trier, and the Duchies of Bohemia, Franconia, Saxony, and Brandenburg. If an elector title does not exist or his held by the Emperor, another valid Duke will replace it (prioritizing dejure vassals of the same religion as the ruling Emperor).

20180824081547_1.jpg


Electors under Princely Elective are overall much less likely to pick candidates that are either impious or of a different religion, and Theocratic Catholic Electors have twice as much voter strength than secular Electors whenever the Empire is under Papal Investiture.

While rulers of the Holy Roman Empire can still change the realm’s succession law as usual, the faction for Elective has been made much more easily accessible and palatable for vassals of the HRE and requirements to switch away from this succession have been made more restrictive (the ruler must have Max Centralization and either Absolute Crown Authority or Abolished Council Power).

Imperial Elective
And finally, a completely new succession law has been scripted for the Byzantine (and Roman) Empire, to better represent the peculiar politics of this realm. This succession has been tied to the two titles and is now also the *only* succession law that they have available. There are several features that are unique to this succession law, so I will explain it in sections:

20180824081910_1.jpg


Successors: Potential candidates under Imperial Elective include the Emperor’s children and close family members (spouse included), any claimants to the title, the current Marshal, and any Commander under the Emperor, with mutilated characters being excluded. This is to represent the influence of the military over Byzantium and allow more historical instances of influential commanders becoming Emperors.

Imperial Court: The Emperor, all of his Councilors, and all of his Commanders are valid electors. As Byzantium was a centralized power, the Emperor will need to curry the favor of the most powerful members of his court to ensure that his dynasty continues to maintain the throne, rather than his vassals, like a Feudal ruler would.

Scaled Voting Power: And this is where things get really interesting. Imperial Elective uses to its full extent the new voter_power function of scripted elective, making sure that every elector has a different amount of influence, entirely dependent on his status in the court and his attributes. The Emperor’s vote starts out with a strength of 200 voting power, which can be further boosted by good diplomacy and martial scores, making it so that a powerful and influential Emperor will be able to push the candidate that he wants on the throne even if most of the Court is against it. Conversely, if the Emperor is not Born in the Purple, deformed or crippled, or if he has made a reputation of appointing sycophants in his court (more on that below), he will see his voting power plummet. The other Electors have their own variable voting power, tied to prestige, rank and attributes (a Steward with high stewardship is more influential than an incompetent one). As such, appointing competent people to be your councilors and commanders will not only mean that your favorite son will have to compete with more competent and palatable candidates, but also that the electors will have a greater influence over the succession. Finally, minor titles can also affect a character’s voting power, so you might want to think a bit more before giving out your Caesar and Sebastokrator spots.

20180824082114_1.jpg


Heroes and Sycophants: Is Belisarius too popular a Commander for your sons to compete with him? Well, you can always discharge him: take away his status as Commander and he will no longer be a potential candidate or an elector, problem solved. Except... when under Imperial Elective, removing a competent Commander or Councilor from his position reduces the Emperor’s voting power of an amount proportional to the competence of the character you are removing. The more competent people the Emperor pushes out of his court, the less his vote will be worth overall. Same applies whenever an Emperor appoints a commander with poor martial score while there are clearly superior choices available: the court will notice that you are appointing mediocre sycophants because you fear competition and you will see your voting power go down. Additionally, Imperial Elective prevents Emperors from appointing landless commanders for as long as potential vassals are available to take the spot. If you wish that high-martial courtier to lead your armies, you will need to give him a proper title first.

Prestige and Ageism: This is not Feudal Elective, the Empire does not care as much about family ties and character traits, it cares about placing a competent and prestigious leader upon the throne. For the Byzantine Empire, this translates to the electors tending to favor skilled high-Intrigue characters, whereas the Roman Empire electors are keener on good orators (high Diplomacy). In both Empires, the electors will always favor people that are competent at their job, that have high prestige and titles (both minor and landed). One of the most visible consequences of this is that hardly anyone under Imperial Elective will ever consider a child to be a valid successor to the throne. If you wish your son to take your place, you will have to groom him first, wait for him to become adult, then push his bid to your Empire, possibly giving him a few honorary and landed titles along the way. While he’s still a toddler, it might be more sensible for you to appoint your younger brother, or your old uncle as preferred heir, just in case something happens before the little Prince comes of age...

20180824082155_1.jpg


Strong Claim Duel
Somewhat related to all these new succession forms, we have also added a new type of duel designed to let players keep their realms together after an Elective Gavelkind succession. This Strong Claim Duel is available regardless of whether you have the War Focus active, or if you are a member of a Warrior Lodge (which is otherwise required for regular dueling). As a tribal character, with a Strong Claim on a title currently held by a tribal ruler, it will be possible to issue a challenge to the current title holder, with the requirement of your target ruler either being independent, or both of you being vassals under the same liege. Bear in mind that the stakes in these duels are high, and losing does not only mean you give up your claims - unless you have a particularly kind opponent, who loves you dearly, death is the common way out of this dispute. Winning, on the other hand, means that you take the title in question and any vassals that come with it, along with any other of their titles on which you have a Strong Claim.

If the target of your Claim Duel happens to be an AI character of your own Dynasty, losing will present players with a choice: accept your fate, or click the option to take over as the character who won the duel, and continue to play the game as the kinsman (or woman) who bested you.

Succession Laws3.jpg
 
Is the Eldership succession type unlocked solely by Baltic/African culture (like Celtic for Tanistry) or do you have to be pagan to use it?
It's tied to religion.
 
Will there be any changes to Merchant Republics in light of the new elective system?

That being said, large families would have an advantage if each person had equal voting power.
No, Merchant Republics are not changed by this update as theirs is an entirely different type of elective.
This new system could be used to mod in "democratic"-like Elective successions for other governments, though.

How is the Imperial government form assigned? As in, can you still create merchant republics as vassals?
Yes. The Imperial Government is tied directly to the ERE RE titles, only the Emperor has it. His vassals are still feudal/theocratic/burgers.

I wonder...Will it be possible for you guys to add other kinds of government such as...I guess a Western Version of the Monastic Feudal government?
Governments have been moddable for some time now; the Imperial government doesn't use any new special code.
 
Looks really great! Especially fixing the HRE elective is really nice, making it more fun to play there. Question though: if one of the 7 original electors is gone, is there a way to influence who will become the replacement elector? And if one of the bishoprics county titles get usurped and changed to feudal, will that electorship shift to another bishop or to the owner of that county?
The historical Elector titles are prioritized when determining the HRE Electors; if they are missing (or the ruler owns them directly), other Electors are picked automatically. They will more or less follow the same logic as Feudal Elective, but theocracies and dejure Dukes of the same religion of the Emperor will be prioritized over infidels.
 
Can Strong Claim Duels be used as a janky means of expanding your realm? For example, raise your character's Personal Combat, have your Chancellor fabricate a strong claim, then duel whoever holds the title?
Yes, that is indeed possible.

Couple of questions too. Does the elected Basileus just win the empire title and not the county of Constantinople, leaving them to use the claim Constantinople decision to clean that mess up as usual or what happens there?
Works as usual.
And is negative voting power a permanent or timed modifier? If you clean house and fire a bunch of skilled advisors(for whatever) reason, are you permanently handicapped on voting power even after a hypothetical sixty glorious years of successful reconquest, and rely on all that prestige to counteract the negative modifiers? Or do the modifiers expire?
Oh and what if you replace an extremely competent council member with equally competent or more competent one?
Negative modifiers are permanent, they need to be counteracted with Prestige and skills.
If you replace a councilor with a more competent councilor you do not get any negative modifier.
Can other realms (Empires?) than the HRE / ERE / Roman Empire choose to use Princely / Imperial Elective respectivly?
No, they are tied to those titles.
Is it possible to drop put of a race now? Not always when I play a vassal game I wanted to be elected Emperor or King.
No, though I suppose that, if you own Conclave, you can use Favors to make Electors vote for somebody else.

One question, are all these changes part of the Patch or the DLC? Eldership Succession and the Duels are mentioned in the description of the DLC so I supposed are DLC.
Eldership and Duel Claims are DLC material, the rest is part of the patch.
Also, will the Holy Roman Empire have Princely Elective all the way from 1066 to 1337 or will pre XIIIth century have another succession law?
Yes, HRE and ERE have their new successions at all start dates.
 
Does killing your kin with 'Strong Claim Duel' gives you a kinslayer trait?
There is a new Tribal Kinslayer trait with lessened malus to handle it, but yes.
 
I’m actually a little hyped about the elective SL Modders come up with.
Oh, yes, me too; the new system is highly moddable, there are plenty of ways it can be used to create weird new types of succession laws. While in game it is used only for elective types, nothing even prevents a modder from using it to create a law that can only have a single candidate at any time, which would just be a new kind of non-elective custom succession law.
Is adopting skillful guy into your family as a heir is possible in imperial government?
No, I'm afraid there is no adoption.
 
The possibilities for this moddable succession law fills me with immense excitement, and what you've done with it all is truly fantastic. Hats off to you Silfae (and others involved).

Thank you, we appreciate it. It was @Divine that worked on all the programming stuff (unhardcoding the elective system and making it moddable), @IsakMiller did the work on Duel Claims, while I handled the rework of the new and updated elections that appear in game.

1. In the Byzantine/Roman government, does this mean that all landed titles can be revoked now, or it still only ducal-tier and higher?
The latter, if I recall correctly.
2. How easy would it be to add an option to opt out of elections via modding? e.g. Could we make mod a trait which reduced elect-ability by a massive amount, and then a player-only decision to add/remove that trait at will?
Yes, that is definitely possible.
3. In terms of priority of electorship/elect-ability, can this take into account dynamic titles? e.g. Could we make a system for the Byzantine Empire with hard-coded and/or dynamic family titles and make them have eligibility, as a way of simulating a the Merchant Republic patrician families mechanic within the Byzantine Empire (or any other elective type)?
Hm, I'm not entirely sure... It might be possible by applying specific title_flags on those dynamic titles and then checking for them in your custom election. It'd need to be tested.
4. In Agnatic-Cognatic Imperial Elective, can women be nominated at all, or not unless there are no valid male candidates?
Yes, only Agnatic/Enatic prevent the opposite sex from being picked, though Electors will prioritize males in Agnatic-Cognatic (as well in other cases, depending on Doctrines, or Status of Women law).

5. I do't know how regents are determined specifically (beyond Designated Regent), but can one mod the likely regent of a child heir to be have a high priority for electors? e.g. If the current Basileus' heir apparent is a child, could one make it so that the person who would become the Regent of that child if they became the Basileus have priority for electorship?
Yes, you can mod the current Regent to be prioritized as a potential Elector.
To make this easier to follow, pretend that Leo IV has a nine year old son, Constantine VI when he died. Leo IV's widow, Irene of Athens, would become regent of Constantine VI when he ascended. Could we mod it so that in Imperial Elective, Irene of Athens is eligible to be elected to be Basilissa and Constantine VI given a strong claim (and the ability to later claim the title, through some other modding)?
Yes, it should be possible to mod this.

I assume that you can edit elective succession to only grant a vote to certain tiers? The Warhammer mod would greatly benefit from being able to restrict the Empires election to the Elector Counts (=kings) in addition to the few Arch-Lectors.
Yes, absolutely.
How does HRE elective work with earlier start dates?
Princely Elective replaces Feudal Elective for the HRE and pseudo-HRE Empires (such as the one created in AltStart), the law should be applied when creating the Empire by decision.
 
Baltic pagans start with eldership succession automatically. Under eldership election six of the oldest and most wise of the realm are appointed as elders, or electors. Does eldership happen automatically? Is venerable elder title for pagans still just an honorary title?
Yes, Venerable Elder is not tied to the succession in any way (it is a nice way to get Elders to like you a bit more...).
Eldership is the succession law the Baltic Pagans start with, yes. Upon starting the game, you will have Elders spawn in your court; as they die, they will be replaced by existing characters, prioritizing by age and learning.

And let's say I recreate Rome under Imperial elective, does Imperial reqonquest CB still be valid? Or if I reform Rome under hellenic temporal or pontifex maximus head, can I usurp kingdoms from heathens under great holy war?
Yes, those would be conquered titles.

Is competence for this purely based on the relevant skill, i.e. for a chancellor is it purely based on diplomacy? If so, can you game the system by first swapping councilor positions and then replacing them? As in, say you have a 20 diplomacy and 2 intrigue chancellor, if you make him spymaster, can you then fire him without negative consequences?
The relevant skill is just one of the factors, there's also Intrigue (for Byzantines) or Diplomacy (for Romans), Prestige, minor titles, and so forth.

Will there be any changes to tanistry?
All the old Elective successions (Feudal Elective, Elective Gavelkind and Tanistry) use this new system.
 
To be clear, I don't mean making the Regent be an Elector, but the potential regent/mother of the child heir be a potential for election. Is this still possible, to simulate mothers of child-heirs becoming rulers in their own right?
Yes, that can also be possible.
Does the Caesar title (i.e. Co-Emperor) have a high priority/effect for election in Imperial Electorship? If not, could this be added?
Yes, the Caesar title gives 15 voting power.
Baltic as in Romuva or Baltic as in the pagans in the area compromising of Lithuania, Latvia and Estonia?
Yes, sorry, I meant Romuva. In game script the religion is called baltic_pagan, so I get confused.
 
I can now finally mod in divine-blood-religion exclusive succession law that makes characters born of xwedoah marriages take priority over impure bloodlines.
Yes, something like that is definitely possible.
 
Is it possible for a player's character to be an elder under the eldership rules?

And if so, are we allowed to choose who we support, or is that decided for us the way our council votes are decided?
It is possible for a player vassal to become an Elder for his liege, yes, in which case you are able to freely pick a candidate of your choice.
So what happens with successions if I hold both Hispania and Byzantium, having Hispania as my older and primary title?
As is already the case in pre-HF CK2, King and Empire-tier titles have separate succession laws.
 
Amazing changes! Love them!
Will it be possible to filter the electors, after who has the most voting power? It would come in handy, when playing as a Byzantine ruler...
It's not currently possible to sort the electors by voting power. It's a good idea if we get some time for an upcoming patch. :)
 
But will there be any new rationals or effects for Tanistry? It's still quite strange that it elects minors which never happened historically. It's also unusual that all titles are passed on when historically it was nore like feudal elective amd the highest title changed hands.
Yes, the AI behavior when picking candidates for it has been changed as well, like it was done to the other Elective successions.
 
Is there still a way for a child to end up on the throne of Byzantium/Rome? I ask since there were times where children did rule as Emperor, such as Gordian III, Romulus Augustus, Honorius, and Theodosius II; most usually being puppets of sorts to either the Roman senate (Gordian III) or court officials/family/generals, but some actually gaining some actual power (e.g., Theodosius II) later in life.
It is not impossible, but it is very difficult, especially if they are very young. The Byzantines are scripted to be slightly more accepting of them compared to the Romans.
I'm wondering, if you mod the game so that being elected favors or requires certain traits, would ambitious characters work on getting those traits?
Not unless you also mod events for ambitious characters trying to gain those traits.
It says that Imperial Elective is the only succession law available to the ERE and RE, but the Hellenic unique reform doctrine Civilised allows Heir Designation, Hellenism only able to be revived by the RE.
Does the doctrine override this and allow you to change between Heir Designation and Imperial Elective or are you stuck with Imperial Elective and the Heir Designation part of the doctrine useless to the reformer and only usable by their feudal vassals? Because that would seem a little silly to me if you are unable to make full use of your own unique reformation doctrine.
Same question with the Ancestor Veneration doctrine which allows Eldership Succession.
Yes, Imperial Elective is the only succession law allowed in the Roman Empires, it is not overrided. Hellenism cannot be achieved just by restoring Rome, it can be revived by Delving into the Classics too. The Doctrine still carries other perks for the Roman Emperor, and, in the event of your dynasty losing an election, your new primary title will have heir designation due to "Civilized" (as well as, like you said, all your vassals and other independent Hellenic rulers).

So this shakes up the path to becoming Byzantine Emperor as a outsider quite a bit, as it seems to me now that marriage is now almost useless because regencies with women and little kiddies will be much rarer, as is going, and exploiting the faction system to force elective, and then immediately forcing yourself onto the throne. Now what you'd what to do is swear fealty and train up a dynasty of characters with high martial and high intrigue.
Yes, but also consider that the Basileus' wife herself is also a valid potential candidate for the succession now. And you can try marrying your daughters to the best Byzantine Commanders/Councilors that might be favored by the election.

Can I have this question answered please?
It works like any elective succession already in game, if the successor is of a different dynasty, only the main title is passed on.
Is Latin Empire feudal then?
Yes.
 
So this isn't tied to the Imperial Administration law in any way? That's disappointing. It would be nice to have the option to reform other empires to be similar to the Romans.

Can the (E)RE's succession law be changed? For example if the Emperor reforms Hellenism and enables Heir Designation, does that only apply to his vassals and not himself?
Unfortunately not, it would have required a bit of work to adapt the new succession law so that it could work for any sufficiently centralized Empire, so it was preferred to limit it just to the Roman Empires.

Imperial Elective is tied to the Roman Empires; the heir designation feature does not affect a title using it, just the same as it wouldn't affect a title using Feudal Elective or any other kind of elective succession.
Could you clarify how the prioritized elector titles work? For the duchies of Bohemia, Franconia, Saxony and Brandenburg, it's quite clear - the holder of the title becomes an elector. But how do the bishoprics work? Are Mainz, Köln and Trier also duchies but only becomes electors if they are theocracies? Or is the elector status tied to the actual holdings of Mainz, Köln and Trier (the barony tier bishoprics, that is) and if that's the case, do they have to be direct vassals to the emperor to be electors or can they be buried under a count/duke/king etc. In a similar vein, if the kingdom of Bohemia has been formed and the king has granted (or lost) the duchy to a vassal, then will the king or the duke be elector?
The elector titles themselves (duchies and counties) are prioritized specifically, while theocracies of the ruler's religion are prioritized in general. Valid Electors check for the Empire's dejure, for what concerns Princely Elective the seven official elector titles can indeed be vassals of vassals or not defacto under the HRE.
Let's say that you're a sixty year old emperor with a five year old kid and a non dynastic wife. If you support your wife, I'd wager that your kid (once he's grown up) would be the preferred candidate of the empress due to the "my child" modifier. Or would she be more likely to support a viable candidate of her own dynasty?
Also, if she's unlanded and elected empress, will she inherit your demesne as well - forcing you to land your child (preferably not in Constantinople) to avoid game over?
The inheritance of titles works the same as Feudal Elective. She would likely gain just the Empire itself and then automatically take over a barony to become landed.
And yes, she would definitely be more likely to vote for her child (+30 basic modifier, + 10 if of the same dynasty, + some tiered modifier depending on her opinion of him), so it could be a way to get the title back into your dynasty in two elections... It would be a bit of a gamble though, especially if your wife ends up being a poor Empress and bleeds voting power.

I normally don't touch elective in CK2 so I have a question. For Imperial Elective, will having a different religion for either your ruler or heir have an impact on the AI elector's decision to elect them?
Yes, behavior for all Elective Succession takes into account religious and cultural differences to different degrees. Princely Elective is the most restrictive in this regard, but Imperial Elective has also negative modifiers towards infidel/heretic candidates, unless the Elector's religion belongs to the Eastern Group or is Cosmopolitan, in which case penalties are ignored. Conversely, if the religion is Dogmatic, penalties tend to be greater.
 
Well, they took out the Duchy of Dalmatia, too, from the looks of recent screenshots and videos... I would prefer that the title and region my profile image and family history is based upon remains. The Dalmatian coat of arms is my favorite, as well, with its three golden lions and the blue background color. I am sorry about your favorite region. Which province was removed?

No? The Duchy of Dalmatia is still there, it is just controlled by someone with a culture that changes the name.
 
Isn't this quite open for exploits though? It can turn Elective Gavelkind to something alike appointment. You can challenge your preferred candidate simply to play as them. If your preferred candidate is a bit on the weaker side when it comes to personal combat, just worship your ancestors and pluck out your eyes to even the odds.

(On the topic of taking over and continue playing as the character who just bested your ruler in a duel: )
It's a valid question, but our testing so far has not given us that impression. It is in general now also more dangerous to be a tribal ruler, as any other tribal character with a Strong Claim to your titles can challenge your rule, while you can only continue playing as your own Dynasty members, which again is a choice - you can also simply let them kill you and continue as your next heir. In addition, there is always risk to entering duels, as the outcome can rarely be completely guaranteed, and repeatedly turning these duels down will give you a negative modifier, and run the risk of setting a bad example for your court, in that some events might trigger which essentially spreads the Craven trait in your realm.

If reports were to start coming in that this is overwhelmingly OP we would probably reconsider the design, but we will basically have to wait and see for that. :)
 
Would this make it even harder for Hellenism to pick up again in the Roman state? Or would you have completely different or converted electors after you win that massive civil war event?
Conversions are handled separately, I was referring specifically to the likelyhood of an elector to pick a candidate of a different religion over another.

The picture you showed is Inheritance law interface,what I mean is Realm law interface,on right of Inheritance law interface。
Ah, this one:
20181026124606_1.jpg
Nothing was changed there.

I apologise if this has already been addressed and I've not gotten that far yet but Hispania is an empire tier tital. What happens when you and empora of somewhere and then get the Byzantine or Roman empire's through any of the methods available?
If you have two Empires, each of them will have its inheritance law, so, in your example, you'd hold the Roman Empire, following Imperial Elective, and Hispania, following whichever law has been passed for that Empire, with different electors and potential candidates.

Question: If I am playing a merchant republic and manage to push my claim on Byzantium, what happens? Do I change to the Imperial governement, or does the ERE become a grand principality? Playing another Venice into Byzantium game is not high on my list at the moment, but I want to know for future reference.

Other question: in the Imperial government, do I lose voting power for turning down people who think they would be better councilors and come to bug me about it?

A Merchant Republic government takes precedence over Imperial Government, so you would not switch in that case.
No, only it only happens when a new character is appointed or removed from office, turning down a vassal's will not cause a loss in voting power.

So it would now be moddable to create a "Roman Senatorial election" law in which all people with the honorary title "Senator" are electors and thus elect the Roman Emperor (or Consul).
Yes, the new system would allow this.