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

liyanjifeng

Corporal
23 Badges
Apr 3, 2020
39
1
  • Crusader Kings II: Way of Life
  • Crusader Kings III Referal
  • Crusader Kings II: Holy Fury
  • Cities: Skylines - Parklife
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Snowfall
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Cities: Skylines
  • Crusader Kings II
  • Cities: Skylines Deluxe Edition
  • 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
Hello everyone, I have been trying to create a mod recently, it is similar to Random Hordes(https://steamcommunity.com/workshop/filedetails/?id=455245469), once the number of provinces within a independent character's scope more than 40, it will be invaded by a random cultural and religious adventurer every decade, for every 10 more provinces, the adventurer's strength will increase by a portion. But during testing, I found that these events did not seem to have been triggered normally.
This is my first time trying to create a mod, and I may have made some mistakes, but I couldn't detect it myself, I hope to receive your help.
 

Attachments

  • random_ck2.7z
    3,8 KB · Views: 0
I have remade the mod, redesigned the events for ease of testing, and created a decision for testing purposes. At present, its operating condition basically meets my expectations, but I have found some other issues. Some rulers may encounter two invasion events at once, for example, the Umayyads of 769 will definitely experience this situation, although this situation is only a minority, I feel very uneasy.
 

Attachments

  • random_ck2.rar
    4,7 KB · Views: 0
Hello everyone, I have been trying to create a mod recently, it is similar to Random Hordes(https://steamcommunity.com/workshop/filedetails/?id=455245469), once the number of provinces within a independent character's scope more than 40, it will be invaded by a random cultural and religious adventurer every decade, for every 10 more provinces, the adventurer's strength will increase by a portion. But during testing, I found that these events did not seem to have been triggered normally.
This is my first time trying to create a mod, and I may have made some mistakes, but I couldn't detect it myself, I hope to receive your help.
I have remade the mod, redesigned the events for ease of testing, and created a decision for testing purposes. At present, its operating condition basically meets my expectations, but I have found some other issues. Some rulers may encounter two invasion events at once, for example, the Umayyads of 769 will definitely experience this situation, although this situation is only a minority, I feel very uneasy.

I'd suggest to post in the modding-quick questions thread.

Maybe just a short version of your problem at first, clear and short problem description with script in code blocks or a link to this thread.
The few folks left sometimes only look at already subscribed threads.

PS : Ooops, i see you did already.
MfvvyDB.gif

Looks like you got some help. Nice.
I can't help with the apparently left over troubles, sorry.
Some of the guys are also on discord (CK2-mod subschannel to CK general or CK2 modding den)
 
Last edited:
  • 1Like
Reactions:
I'd suggest to post in the modding-quick questions thread.

Maybe just a short version of your problem at first, clear and short problem description with script in code blocks or a link to this thread.
The few folks left sometimes only look at already subscribed threads.

PS : Ooops, i see you did already.
MfvvyDB.gif

Looks like you got some help. Nice.
I can't help with the apparently left over troubles, sorry.
Some of the guys are also on discord (CK2-mod subschannel to CK general or CK2 modding den)
Thanks for your reply, I have solved most of the problems now, but I still don't know why some characters are inevitably invaded twice.
 
Thanks for your reply, I have solved most of the problems now, but I still don't know why some characters are inevitably invaded twice.

Asi said i can't help with that.
All i know is that you most likely need some flag or conditon in a trigger to prevent that from happening.
On how and where in the events i can't tell. I'd check the vanilla files how it's done there.

Present your problem clearly, maybe rephrase, take another point of view than you did before, and maybe have an idea
or two on where the issue might be and what might help and ask for opinions.
Maybe you get some feedback at aforementioned places.

Good luck
 
Last edited:
  • 1Like
Reactions: