• 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.

blackninja9939

Experienced Programmer - Crusader Kings 3
Paradox Staff
78 Badges
Aug 28, 2013
2.398
7.756
  • Crusader Kings III
  • Stellaris: Federations
  • Battle for Bosporus
  • Stellaris: Nemesis
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV
  • Crusader Kings III: Royal Edition
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Crusader Kings II
  • Crusader Kings II: Holy Fury
  • Imperator: Rome - Magna Graecia
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • Surviving Mars
  • BATTLETECH
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rule Britannia
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Stellaris Sign-up
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Stellaris: Lithoids
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Imperator: Rome Deluxe Edition
  • Prison Architect
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Crusader Kings II: Conclave
  • Crusader Kings II: The Republic
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Stellaris
  • Mount & Blade: Warband
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Sunset Invasion
Ok so after playing around for a while I have found how to make more diplo-actions need council votes, so I thought I would write a quick guide for other people so everyone knows how to do it.

  • In defines.lua find the action that you want the council to vote on eg the replace_mercenary_captain_interaction
  • Add that interaction to REGENCY_VOTING if you want the regent to vote on that interaction
  • In the laws folder add to the ze_council_power_laws a new law group with whatever name you want eg:
    Code:
    replace_merc_cpt_voting_power = {
        law_type = council
        allowed_for_councillors = yes
    }
  • Create a block for your new law in the laws = { clause, the easiest way is to just copy one of the existing ones then change your conditions. For this guide I recommend just copying and modifying the last on execution_voting_power
  • Create your two new laws replace_merc_cpt_voting_power_0 and replace_merc_cpt_voting_power_1 and put them in group = replace_merc_cpt_voting_power
  • Change occurences of execution_voting_power_1 and execution_voting_power_0 to be replace_merc_cpt_voting_power_1 and replace_merc_cpt_voting_power_0 respectively in your new laws
  • Change execute_imprisoned_interaction/disable_council_voting_on_issue = execute_imprisoned_interaction to be execute_imprisoned_interaction/disable_council_voting_on_issue = replace_mercenary_captain_interaction
  • Change which is default, the potential, allow and effect etc to your liking
  • Create localisation for your new laws
  • Create new for and against voting patterns in council_voting to include your new laws and then add those voting patterns to the council_positions files. This part is the most annoying as you have to balance them out so each of teh different council parties properly decide whether to be for or against your actions.
If you do all of this you will now have the council voting on new diplo actions!
If any more clarification is needed then let me know and I'll see if I can help
 
  • 9
Reactions: