• 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

I would like to start modding Paradox games if only I knew how!

  • True

    Votes: 1.654 70,2%
  • False

    Votes: 78 3,3%
  • I've already started modding!

    Votes: 623 26,5%

  • Total voters
    2.355

cKnoor

Live Content Producer
15 Badges
Jan 19, 2016
181
2.005
  • Lead and Gold
  • Magicka
  • Warlock 2: The Exiled
  • The Showdown Effect
  • Warlock: Master of the Arcane
  • Cities: Skylines
  • Pillars of Eternity
  • Cities: Skylines - After Dark
  • Stellaris Sign-up
  • Cities: Skylines - Green Cities
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Prison Architect
  • Age of Wonders: Planetfall Sign Up
  • Shadowrun: Hong Kong
If you would please answer the above poll we would be eternally grateful for your input!

Hello,

So you want to learn how to mod CK2?

Well you might be in the right place, in this guide we’re going to, step by step, go through how you add an option to an in-game event. It is probably one of the more basic things you can do with modding and this should be considered a primer to see if you want to mod more things in your game.

This guide will not go over more advanced topics, but for those interested in moving forward with their modding feel free to look over the resource available to you in the user modification forum (https://forum.paradoxplaza.com/forum/index.php?forums/crusader-kings-ii-user-modifications.682/) or the CK2 Wiki (http://www.ckiiwiki.com/Modding). We assume that you are using Windows throughout this guide, but only a few things should change for macOS or Linux.

What we want to do is change this (Image of Comet Event) to something more. We’ll do this by finding the event itself among the game files and then edit it. Let’s get started:

1) Create Your Mod

We’re going to start by creating a new mod that you can turn on/off in the launcher. A mod simply consists of a text file containing some basic information about the mod (like the name) and a folder full of content files. You can download the template mod at the end of this post.

Now, go to your “My Documents” directory and go into the folder “Paradox Interactive” and then “Crusader Kings II”. You might need to make a “mod” folder here if you don’t already have one and then you can unzip the template mod above into this directory. At the end of the process, you should have the following;

A file called: “My Documents/Paradox Interactive/Crusader Kings II/mod/getting_started.mod”

A folder called: “My Documents/Paradox Interactive/Crusader Kings II/mod/getting_started/”

2) Find your Mod in the Launcher

You have now created a very basic mod! It doesn’t do anything yet, but if you fire up the Crusader Kings 2 launcher, you should be able to click on the “Mod” tab and see “My Awesome Comet Event” in the list of mods. You can turn it on/off with the check box.

3) Find your install directory

First, a quick primer on how mods work: Whenever CK2 tries to load a file, it will always load it from a loaded mod first (if it can) before loading the file that comes bundled with the game. This means that you can copy any file from the game into your mod, change it - and you can easily change how the game looks / works or plays.

So, in order to copy a file from the game into our mod so that we can change it - we need to find the game files. The easiest way to do this is to open Steam, find CK2 in your games library, right click on the name and select properties in the menu. Choose the local files tab and then press browse local files.

1.jpg


4) Copy health_event.txt into your mod

We want to modify the “health_event.txt” file, which contains information about a whole bunch of events in the game - including the Comet Sighted event. While you can just edit the files directly in the game folder, this is generally a bad idea, because it will get reverted whenever you click “Verify Files” in Steam or update the game and you will lose your precious mod files.

So, for this step, you should copy the file from this folder:

“Crusader Kings II/events/health_events.txt”

To the same folder in your mod:

“My Documents/Paradox Interactive/Crusader Kings II/mod/getting_started/events/health_events.txt”

You can copy nearly any file from the base game into your mod folder and edit it to change how the game works! An awful lot of Crusader Kings II is just made up from text files - from buildings to character names and you can edit it all.

5) Open health_event.txt

Now you need to open the file that you just copied. Make sure you open the file in your mod directory and not in the game directory. We suggest using Notepad++, which is a great free text editor for Windows.

6) Locate the Comet Sighted event

If you look through the health_event.txt file you will see there are a whole bunch of events that can happen based around character’s health - from contracting leprosy to becoming a lunatic. If you search the text file for “6203” you should find the following character event...

2.jpg


This text describes the “Comet Sighted” event. It looks fairly complicated, but it can be broken down into 3 parts. The top part (id, desc, picture, border) describes how the event should look for the player. The middle part describes when the event should happen - so it only happens to player characters and only when your character is over 16 years old for instance. The triggers can get quite complicated, but we don’t need to worry about that now. The last part is a list of “options” which represent the buttons the user can click on.

7) Create a New Event Option

Copy the seven lines of text that makes up the “option” portion of the event text and paste it again below, make sure to include all the brackets. Your event should now look something like this…

Code:
    mean_time_to_happen = {

        months = 120

    }


    option = {

        name = EVTOPTA6203

        add_character_modifier = {

            name = holy_comet

            duration = -1

        }

    }


    option = {

        name = EVTOPTA6203

        add_character_modifier = {

            name = holy_comet

            duration = -1

        }

    }
8) Customize your New Event Option

We’re not going to do anything with the actual mechanics behind the event, so we’re leaving the “character modifier” part alone. We will just change the name of the option, so that we change the text that will be displayed on the second button. So for now just change the name from EVTOPTA6203 to ThisIsANewAddition.

Your file should now look like this - don’t forget to save it!

3.jpg


9) Open the Localization File

As our games support multiple languages, we cannot simply put the text that you want to appear on the button straight in the event file. Instead, we give each event a unique name and then have another text file which tells us which text to show for a button with that name depending on the user’s language.

If you downloaded the “getting_started” mod above, we have already created an empty localization file for you to put your new text in. For this step, just open the file “My Documents/Paradox Interactive/Crusader Kings II/mod/getting_started/localisation/getting_started.csv”.

10) Add Your Event Text

We’re only going to add text for English at the moment, but if you also happen to speak French, German or Spanish - feel free to add your own text there too.

Add the following text to the file:
ThisIsANewAddition;This does not seem that bad!;;;;;;;;;;;;;x

4.jpg


Psst. If you open this in a spreadsheet program you’ll probably get a nicer text display, but this is a quick and dirty mod, so we’re keeping it simple.

11) Save getting_started.csv

12) Open CK2 and wait for the Comet event to trigger.

This could take a long time however, so you could also be lazy and open up the dev console. To do this press the ‘§’ key on Swedish keyboards, or the button to the left of the 1 on most other keyboards. Then type…

event 6203

Now you can enjoy your handiwork!

.
Final-popup.jpg


13) Bonus step - Upload your mod to Steam!

Now you’ve made your awesome event mod, you might want to upload it to Steam to share with your friends. Uploading your mod to Steam simply requires launching the game and clicking a few buttons…

  1. On the title screen of the game, click ‘Content’.

  2. Now click on the ‘MOD’ tab.

  3. Next to your mod, you should be able to click on a button named ‘Manage’.

  4. Enter a description for your mod in the text box.

  5. Click ‘Publish’!

What Next?

If you’ve enjoyed modifying the comet sighted event throughout this guide then you’ve just scratched the surface of what you can accomplish. There are a lot of guides on the internet about modding Paradox games, and here are just some of the places where you might want to get started.

If you’re eager to take event modding to the next step, check out this event modding guide:

http://www.ckiiwiki.com/Event_modding

The CK2 Wiki has a whole section on modding in fact...

http://www.ckiiwiki.com/Modding

The forums are also a great place to get help if you run into problems, so feel free to check out the modding community on the Paradox Plaza forums.

https://forum.paradoxplaza.com/forum/index.php?forums/crusader-kings-ii-user-modifications.682/
 

Attachments

Last edited:
  • 1Like
Reactions:

LordPeter

Marjoram
47 Badges
Mar 5, 2012
2.249
381
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris - Path to Destruction bundle
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Conclave
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Prison Architect
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Horse Lords
  • 500k Club
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
  • 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
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Sword of Islam
  • Stellaris
  • Europa Universalis IV: Third Rome
  • Cities: Skylines
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
Great idea, an official modding tutorial will surely help new modders.

I just noticed that when you are showing code, it is already color coded. And while you suggest NP++, you might possibly also want to suggest the custom CK2 language to make it look like in your pictures.
The latest version is found here I think:
http://forum.paradoxplaza.com/forum...d-auto-completion.745679/page-4#post-20829444
(Unless something official is coming of course :p)
 

loup99

Godogost of Armorica
78 Badges
Jan 22, 2013
16.179
4.400
  • Crusader Kings III
  • Warlock 2: The Exiled
  • 500k Club
  • Pride of Nations
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings Complete
  • Imperator: Rome Deluxe Edition
  • Victoria 2
  • Arsenal of Democracy
  • Cities in Motion
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • For The Glory
  • Hearts of Iron III
  • March of the Eagles
  • Rome Gold
  • Sengoku
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • Cities: Skylines
  • Europa Universalis IV: Pre-order
Wouldn't this be more appropriate in the modding section @cKnoor ?
 

Splugar

Private
22 Badges
Dec 8, 2011
12
6
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Heir to the Throne
  • Sword of the Stars II
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Stellaris: Apocalypse
  • Stellaris: Synthetic Dawn
  • BATTLETECH
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Tyranny: Archon Edition
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Pillars of Eternity
  • 500k Club
  • Warlock: Master of the Arcane
  • Crusader Kings II
Are other PDX games just as easy to mod as ck2?
 

loup99

Godogost of Armorica
78 Badges
Jan 22, 2013
16.179
4.400
  • Crusader Kings III
  • Warlock 2: The Exiled
  • 500k Club
  • Pride of Nations
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings Complete
  • Imperator: Rome Deluxe Edition
  • Victoria 2
  • Arsenal of Democracy
  • Cities in Motion
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • For The Glory
  • Hearts of Iron III
  • March of the Eagles
  • Rome Gold
  • Sengoku
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • Cities: Skylines
  • Europa Universalis IV: Pre-order
The mod forum is for those that have already decided to make their first mod, this guide is for those that don't know how easy it is to mod.
Fair enough!

Are other PDX games just as easy to mod as ck2?
They are all different, but the base explained here is similar, so I would say it is equally easy. You can see the respective wikis for more details.
 

pcuser1584789

First Lieutenant
On Probation
34 Badges
Jan 5, 2017
206
28
  • Crusader Kings II
  • Cities: Skylines Deluxe Edition
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • 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
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings III
  • Prison Architect
  • Crusader Kings II: Holy Fury
  • Cities: Skylines Industries
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Cities: Skylines - Snowfall
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Cities: Skylines
where is the documentation??? this is one event... where is the list of functions and everything you can do? this is a useless tutorial
 

cKnoor

Live Content Producer
15 Badges
Jan 19, 2016
181
2.005
  • Lead and Gold
  • Magicka
  • Warlock 2: The Exiled
  • The Showdown Effect
  • Warlock: Master of the Arcane
  • Cities: Skylines
  • Pillars of Eternity
  • Cities: Skylines - After Dark
  • Stellaris Sign-up
  • Cities: Skylines - Green Cities
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Prison Architect
  • Age of Wonders: Planetfall Sign Up
  • Shadowrun: Hong Kong
where is the documentation??? this is one event... where is the list of functions and everything you can do? this is a useless tutorial
For that you'll need to look into the resources I linked in the post. That would be way to involved for this type of beginner guide.
 

LordPeter

Marjoram
47 Badges
Mar 5, 2012
2.249
381
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris - Path to Destruction bundle
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Conclave
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Prison Architect
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Horse Lords
  • 500k Club
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
  • 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
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Sword of Islam
  • Stellaris
  • Europa Universalis IV: Third Rome
  • Cities: Skylines
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
your sdk is shit

let us use a normal language like a c language or something... so much shit in this game is broken and needs to be fixed
Would you please kindly stop spamming your hate for this game everywhere? I am really trying to stay polite, but this is an official thread dedicated just to help new people, and you are trying to poison it for no apparent reason.
I would really wish you'd stop doing that in literally every thread.

The game's language is of course nowhere near as complete or powerful as say C++, but it is very easy to use and beginner-friendly. Which is a great thing, and which is why an official guide like this can show this to new people and possibly help them get into the fun of modding.
 

Rognvaldr19

Lt. General
70 Badges
Jul 16, 2013
1.444
1.050
  • 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
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Age of Wonders III
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Prison Architect
  • Stellaris: Leviathans Story Pack
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Stellaris: Lithoids
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Tyranny: Archon Edition
  • Victoria 2
  • War of the Roses
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Mare Nostrum
  • Age of Wonders II
  • Crusader Kings II: Jade Dragon
  • Age of Wonders: Shadow Magic
Many thanks cKnoor, everynow and again when I decide to have a foray into modding, I always forget one or two things, so much appreciated.
 

TinyWiking

★Customer Support Manager★
Administrator
Super Moderator
Moderator
Demi Moderator
85 Badges
Jul 1, 2015
3.213
3.298
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Limited Collectors Edition
  • Stellaris: Digital Anniversary Edition
  • Imperator: Rome Deluxe Edition
  • Steel Division: Normand 44 Sign-up
  • Tyranny - Tales from the Tiers
  • Haemimont Games Staff
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Hearts of Iron IV: Expansion Pass
  • BATTLETECH: Flashpoint
  • Steel Division: Normandy 44
  • Imperator: Rome
  • Prison Architect
  • Surviving Mars: First Colony Edition
  • Imperator: Rome Sign Up
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Sign Up
  • BATTLETECH: Heavy Metal
  • Crusader Kings II: Horse Lords
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Warlock: Master of the Arcane
  • 200k Club
  • Europa Universalis III: Collection
  • Magicka: Wizard Wars Founder Wizard
  • Victoria 2 A House Divided Beta
  • Crusader Kings II: Way of Life
  • Humble Paradox Bundle
  • Magicka 2
  • PDXCON 2017 Gold Ticket holder
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • IPO Investor
  • Eugen Systems Staff
  • Steel Division: Normandy 44 Deluxe Edition
Wouldn't this be more appropriate in the modding section @cKnoor ?
We also spoke about this before posting. I agree that it should be reachable for all, especially users that may not actually know what mods are / are using mods :).
 

Ericadma

Private
36 Badges
Dec 11, 2014
10
0
  • Crusader Kings II
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: El Dorado
  • Victoria 2: Heart of Darkness
  • Crusader Kings II: Way of Life
  • Victoria 2
  • 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
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Mare Nostrum
  • Victoria 2: A House Divided
Say I wanted to make a mod that put Chalcedonian Christianity back into the game (like CK2+ has). How would I go about modding the religion files and icons to make things like:
A new color for the religion (preferably) Gold (metallic / bright [think Golden Horde color])
A new icon (something similar to the golden crucifix that Catholics get but featuring Orthodox elements as well)
Make the already Catholic Pope the head of the religion (without making a new Pope since he was Primus Inter Pares)
Convert that pope to Chalcedonian
Have the Pentarchy in place
Have Crusades
And last but not least among specific features: a way to mend the schism between Catholics and Orthodox making both heresies of True Chalcedonian Christianity
And have all of the other stuff like Excommunication
I've been trying to figure out how to make this but do not know half of what I would need to do. Any help is much appreciated!
 

loup99

Godogost of Armorica
78 Badges
Jan 22, 2013
16.179
4.400
  • Crusader Kings III
  • Warlock 2: The Exiled
  • 500k Club
  • Pride of Nations
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings Complete
  • Imperator: Rome Deluxe Edition
  • Victoria 2
  • Arsenal of Democracy
  • Cities in Motion
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • For The Glory
  • Hearts of Iron III
  • March of the Eagles
  • Rome Gold
  • Sengoku
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • Cities: Skylines
  • Europa Universalis IV: Pre-order
Say I wanted to make a mod that put Chalcedonian Christianity back into the game (like CK2+ has). How would I go about modding the religion files and icons to make things like:
A new color for the religion (preferably) Gold (metallic / bright [think Golden Horde color])
A new icon (something similar to the golden crucifix that Catholics get but featuring Orthodox elements as well)
Make the already Catholic Pope the head of the religion (without making a new Pope since he was Primus Inter Pares)
Convert that pope to Chalcedonian
Have the Pentarchy in place
Have Crusades
And last but not least among specific features: a way to mend the schism between Catholics and Orthodox making both heresies of True Chalcedonian Christianity
And have all of the other stuff like Excommunication
I've been trying to figure out how to make this but do not know half of what I would need to do. Any help is much appreciated!
Everything is explained here: http://www.ckiiwiki.com/Religion_modding
 

stnylan

Compulsive CommentatAAR
119 Badges
Aug 1, 2002
36.732
2.813
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Hearts of Iron III Collection
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Europa Universalis: Rome Collectors Edition
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings III
  • Darkest Hour
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Crusader Kings II
  • 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
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
Just wanted to say, whilst I clicked True in the above, the real reason I am unlikely to mod anytime in the near (or not so near) future is time.

And Paradox bears a great deal of responsibility for my lack of time. For starters they keep creating these games that I want to play. And others want to play - and write AARs about - and I want to read about.

So if I never mod it is Paradox's fault. :D
 

Romulien

Lt. General
19 Badges
Jul 2, 2013
1.404
308
  • Crusader Kings II
  • Major Wiki Contributor
Just wanted to say, whilst I clicked True in the above, the real reason I am unlikely to mod anytime in the near (or not so near) future is time.
In a way I agree that modding is too time consuming, and I think that's the next big improvement to democratize it...
The documentation is already quite extensive on the wiki and there are various community tools that greatly help in specific areas (validator, map, 3D models, portraits, ...)

But compared to modern development environments for programming languages, it is still the stone age: documentation is not integrated, syntax validation is external (and slow), no refactoring capabilities, context-based auto-completion etc. Even after several years of modding, doing simple changes are still time consuming, because of undetected mistakes and slow troubleshooting (a feedback loop of 1-2 min is way too long).

Trying a few things (mainly with Xtext in Java with Eclipse), I was quickly blocked by the fact the grammar for CK2 scripts (and I think other Paradox games) is ambiguous and context dependent: you need the path of the parent folder to know what syntax to expect in the file, and doesn't work well with language grammar tools.

For instance instead of having common/religions/00_religion.txt with:
Code:
religion1 = {
}
it would be more tooling-friendly with simply:
Code:
religions = {
  religion1 = {
  }
}
Unless Paradox scripters have access to some secret magic tooling, I suppose they face the same issues as modders do, easily introducing bugs for simple changes, causing extra work for themselves and QA, so it would make sense to invest here early for future games.
 

LordDamien

Lord of Shadows
51 Badges
Feb 9, 2013
2.067
716
  • Crusader Kings II
  • Tyranny - Tales from the Tiers
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Rome Gold
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Stellaris - Path to Destruction bundle
  • Crusader Kings III
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normand 44 Sign-up
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Prison Architect
  • Stellaris: Leviathans Story Pack
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Cradle of Civilization
I really want to make a Ancient Egyptian Mod.. But I am too afraid to get into modding and then mess something up and break the game :(

The Guide helps but i am still afraid of breaking something...