• Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

Captain Gars

Lead AI Programmer
Super Moderator
4 Badges
Oct 4, 2010
5.887
902
  • Crusader Kings II
  • Sengoku
  • 500k Club
  • Paradox Order
This thread is meant to give you some information about what's being done by the Usermod Coordinator regarding the moddability for CK2, like bug fixes, new triggers & effects and new features.

This is not the place to report bugs or ask general modding questions - there are already threads for that.
 

Captain Gars

Lead AI Programmer
Super Moderator
4 Badges
Oct 4, 2010
5.887
902
  • Crusader Kings II
  • Sengoku
  • 500k Club
  • Paradox Order
Update:

- check_variable trigger now take a value, scope or another variable as an argument.
- Added subtract_variable, multiply_variable and divide_variable effects
- All variable effects now take a scope or second variable as right-side argument
 
Last edited:

Captain Gars

Lead AI Programmer
Super Moderator
4 Badges
Oct 4, 2010
5.887
902
  • Crusader Kings II
  • Sengoku
  • 500k Club
  • Paradox Order
Update:

- Added event target dynasty_head
- difficulty trigger can now take a text string as well as an integer number
- Added num_of_max_settlements trigger
- Added num_of_empty_holdings trigger
 

Captain Gars

Lead AI Programmer
Super Moderator
4 Badges
Oct 4, 2010
5.887
902
  • Crusader Kings II
  • Sengoku
  • 500k Club
  • Paradox Order
Update:

- Added trigger borders_major_river
 

Meneth

Crusader Kings 3 Programmer
129 Badges
Feb 9, 2011
10.020
4.396
www.paradoxwikis.com
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • 500k Club
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Cradle of Civilization
  • Magicka: Wizard Wars Founder Wizard
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Field Marshal
  • Age of Wonders III
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Galaxy Edition
  • Surviving Mars
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Crusader Kings Complete
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Parklife
  • Prison Architect
  • Stellaris: Leviathans Story Pack
  • Europa Universalis III Complete
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis III Complete
  • Europa Universalis IV: Rule Britannia
  • Teleglitch: Die More Edition
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Magicka 2 - Signup Campaign
  • Knights of Pen and Paper 2
  • Europa Universalis IV: Mare Nostrum
  • Knights of Honor
  • Deus Vult
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
Update:

- check_variable trigger now take a value, scope or another variable as an argument.
- Added subtract_variable, multiply_variable and divide_variable effects
- All variable effects now take a scope or second variable as right-side argument
Definitely my favorite change so far.
I'm really looking forward to finally being able to code proper compounding interest for PB.
 

Captain Gars

Lead AI Programmer
Super Moderator
4 Badges
Oct 4, 2010
5.887
902
  • Crusader Kings II
  • Sengoku
  • 500k Club
  • Paradox Order
Update:

- Added set_graphical_culture effect
- Added is_variable_equal trigger (will check if a variable has the exact value, so not >=)
 

Captain Gars

Lead AI Programmer
Super Moderator
4 Badges
Oct 4, 2010
5.887
902
  • Crusader Kings II
  • Sengoku
  • 500k Club
  • Paradox Order
Update:

- Added is_looting trigger
- Added is_looting_in trigger
 

Captain Gars

Lead AI Programmer
Super Moderator
4 Badges
Oct 4, 2010
5.887
902
  • Crusader Kings II
  • Sengoku
  • 500k Club
  • Paradox Order
OMG :eek:hmy::eek:hmy::eek:hmy:

Best thing ever. Go and release 2.1.5 right away!!
None of this is in the new patch. Will see if I can lift some of it for the next patch. Anything big I might do down the line though will probably only be included in the next expansion/DLC patch.
 

Zusk

Captain
79 Badges
Apr 29, 2011
440
81
  • 500k Club
  • Divine Wind
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
Update:

- Added set_graphical_culture effect
- Added is_variable_equal trigger (will check if a variable has the exact value, so not >=)
If I can ask, what does the "set_graphical_culture" effect take as a argument?

Does it only take culture or can you do something like "set_graphical_culture = FROM"
 

Captain Gars

Lead AI Programmer
Super Moderator
4 Badges
Oct 4, 2010
5.887
902
  • Crusader Kings II
  • Sengoku
  • 500k Club
  • Paradox Order
If I can ask, what does the "set_graphical_culture" effect take as a argument?

Does it only take culture or can you do something like "set_graphical_culture = FROM"
You can use both a culture or a scope, and the scope can point to another character or a province.
 

Hotl3looded

Second Lieutenant
17 Badges
Jun 11, 2012
146
18
  • Crusader Kings II
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • 500k Club
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Update:

- Added event target dynasty_head
- difficulty trigger can now take a text string as well as an integer number
- Added num_of_max_settlements trigger
- Added num_of_empty_holdings trigger
Does the num_of_empty_holdings trigger considers a holding slot in which a settlement is being built as empty?
 

Captain Gars

Lead AI Programmer
Super Moderator
4 Badges
Oct 4, 2010
5.887
902
  • Crusader Kings II
  • Sengoku
  • 500k Club
  • Paradox Order
Does the num_of_empty_holdings trigger considers a holding slot in which a settlement is being build as empty?
No. Empty is completely empty.
 

Zireael

General
6 Badges
Apr 10, 2012
2.288
6
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Warlock: Master of the Arcane
  • 500k Club
Will set_graphical_culture be available as a cheat, maybe?
 

Captain Gars

Lead AI Programmer
Super Moderator
4 Badges
Oct 4, 2010
5.887
902
  • Crusader Kings II
  • Sengoku
  • 500k Club
  • Paradox Order
Update:

- Untangled and made cardinal election moddable
- Added moddable opinion for brother
- Added moddable opinion for half-brother
- Added moddable opinion for sister
- Added moddable opinion for half-sister
- Added moddable opinion for grandfather
- Added moddable opinion for grandmother
- Added moddable opinion for grandchild
- Added moddable opinion for uncle
- Added moddable opinion for aunt
- Added moddable opinion for nephew
- Added moddable opinion for niece

These opinions are by default set to zero, but setting them to any other value will apply them in the game.
 

fanoI

General
2 Badges
Aug 26, 2012
1.870
105
  • Crusader Kings II
Update:
- Untangled and made cardinal election moddable
How much is this moddable? I could use this succession law to elect a feudal / republican ruler too?
As said in the Suggestion thread I wanted to use it to emulate the Senate of the Roman Republic that should elect the Consul (and after the Emperor) not a priest.