- Is there any code to add pirates to a specific sea province in the scenario file? Not an event script, but a string for the scenario file. If I add a navalunit then pirates have a navalunit (amazing, right?), not the piratic ships mechanic for a sea province. I just want pirates to be in a certain province from the very start of the scenario. Not via events.
- How can I add a permanent casus belli to a country scenario file? I know only the code "casusbelli = { type = temporary expirydate = { year = xxxx } }". With "permanent" instead of "temporary" it does not work. Please, do not write to me obvious things about cores and casus belli.
- I can use the code to set up the siege from the beginning of the scenario.
Code:combat = { id = { type = 4712 id = 60175 } type = siege province = xxx date = { day = 1 month = november year = 431 } #I type here the past day when the siege began morale = { 4.415 4.415 } attackers = { { type = xxxx id = xx } } #I type here the type and id of the army in that province fortress = { inf = 13000 cav = 500 art = 0 } siege_p = 0 siege_d = 0.000 siege_breaches = 0 }
If the owner have the province, which rebels control in the very beginning of the scenario, and his army is already in that province, there is no automatic siege. The human player has to move the army out of that province and then move the army back to begin the siege.
And what is "siege_p" and "siege_d"?
Can we use this code not for sieges but for the land and sea battles? What will it look like? - Along with the province culture parameter in the game, there is also the hidden settlement culture parameter. I do not understand this mechanic very well. Is there any code to set the settlement culture in the scenario file? Like "province = { id = xxx culture = "xxxxx" }" for the province culture. I am asking this because I have a problem. I set the culture of the specific province in my scenario by the code "province = { id = xxx culture = "xxxxx" }". The new culture, of course, differs from the one in the province.txt. But when I start the scenario, sometimes (not every time!) the game just rejects my code and changes the culture of that province to the main culture of its owner. The province contains colonial city (2001 population). I have already broken my head trying to figure out what the reason for this behaviour is, but I have no idea. Recently I began to think about the hidden settlement culture parameter. But most likely it is all about "culture_change = yes" for the continent in the geography.txt. Can I overcome this and dictate the game culture of this province to the game at the very beginning of the scenario? It seems strange to me that the game does not voluntary changes the provinceculture in spite of my code every time, but only sometimes.
Last edited: