Crusader Kings III

Crusader Kings III

WORKSHOP BROKEN - NEW LINK ON PAGE- Sud's Gameplay Overhaul
Mongol Invasion
Hi Sud, I was just trying to test the Mongol Invasion, and was playing with the start gold, number/type of soldiers, and Temujin's stats. I wanted to have the invasion kick off sooner so that I could observe the effects early and not wait ~140 years

Its working after a few tries... Super Temujin and his mighty horde just arrived (see stats below).

I edited these files --> aa_sud_mod_mongol.txt and the default yearly_on_actions.txt.

**Deleted file edits **
Last edited by TheLoneWanderer; 20 Sep, 2020 @ 3:57pm
< >
Showing 1-7 of 7 comments
Sudhir  [developer] 20 Sep, 2020 @ 2:02pm 
So to edit his troops, I believe you'd need to edit the file: aa_sud_mod_mongol_invasion_effects in common/scripted effects. Those values in the history file do nothing. I figure they started that to to make a bookmark (start date).

In "mod_mongol_invasion_effects" Make sure the Empire has troops" section you should find the troops that spawn. At least I believe that's how it works. Getting the Mongols to work well is still on my to do list
Sudhir  [developer] 20 Sep, 2020 @ 2:07pm 
As for yearly_on_actions.txt, I don't see what you changed- the modifiers look the same I think
TheLoneWanderer 20 Sep, 2020 @ 2:48pm 
How would I buff all of Temujin's sons and Generals? (Thanks!) I am happy to run some observation games with other changes for you. And tweak values as I go to try to get the intended affects.
Sudhir  [developer] 21 Sep, 2020 @ 1:06am 
Hmm that I think you could find in the history file. I would recommend you run the game in debug mode and mouse over the characters you're interested in. The tooltip will show you their ID. Note, you want their historical ID (there are two numbers).
TheLoneWanderer 21 Sep, 2020 @ 8:50am 
I have figured out some things on making it work (this is my first attempt at modding) (I am not going to publish a mod). Thank you for the help pointing me in the right direction.

With the changes that I made, the Mongols rampage over most of Asia, battle with the Byzantines, and usually make it to Crimea or just a little further into Europe. I buffed Temujin quite a bit and his sons as well. In addition, I gave them more troops, and prestige and gold increases. Temujin had outstanding generals and his sons were as well, it wasn't a one man show. The changes/buffs were significant, however I really wanted to see if the Mongols could/would expand without the need to change the AI or more complicated changes, which they absolutely do.

I also delayed the collapse of the Mongol kingdom by a generation to give it some time to expand further. I think the Mongols sweeping through Asia and eastern Europe is not just historical but is interesting in that it clears the slate of existing countries and allows for dynamic changes. With the split up of the Mongol kingdom being hard coded, it means that they do not dominate long term however they really shake things up, which I like - unless I was the recipient of the horde wiping me out.

Question - is there a way for us to communicate directly or exchange files?
Sudhir  [developer] 21 Sep, 2020 @ 4:15pm 
Originally posted by TheLoneWanderer:

Question - is there a way for us to communicate directly or exchange files?

Oh sorry man, only just saw your friend request- just accepted it. Would definitely be happy to take a look at those files. I'd like to make the baseline threat of the Mongols higher for sure.

Eventually, I'd like to learn how to make a lot of the mod "modular" via rules. Something like a super strong Genghis would be a great option to have for that.
TheLoneWanderer 21 Sep, 2020 @ 7:45pm 
Making it modular, actually looks fairly easy. --I may be wrong about what I have below, as I am a novice at this.

*Add a directory called game_rules under common

Create a file Suds_game_rules.txt

Content of file:

Mongol Invasion= {
default = Mongol_Horde

Mongol_Horde = {

}

Mongol_Default= {

}
}

* Then within other mod files add the text

********
For events add:

trigger = {
= { has_game_rule = Mongol_Horde }

*********
For other changes:

option = { # Temujin Buff
name = ???
add_gold = 20000
add_trait = greatest_of_khans
if = {
limit = {
has_game_rule = Mongol_Horde
< >
Showing 1-7 of 7 comments
Per page: 1530 50