• 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

This thread is more than 5 months old.

It is very likely that it does not need any further discussion and thus bumping it serves no purpose. If you feel it is necessary to make a new reply, you can still do so though.

CurryHodac

Recruit
1 Badges
Oct 11, 2013
4
0
  • For The Glory
Hi, for the past few years I've lurked on this subforum as I play FtG on/off and I was wondering if it was possible to rescript core provinces to be automatically obtained after X amount of years owned by a country (ex. England getting cores on its French provinces if it's able to keep them). It feels strange that countries like the Ottomans have cores on the provinces they conquered historically but if a country ahistorically conquers a province then it just never gets to core them. I personally manually go into the game files and apply a 100-year rule to my national cores, but it gets quite old and I only update it about every 50 in-game years.
 

ConjurerDragon

Generalissimus
63 Badges
Apr 19, 2005
5.213
457
  • Teleglitch: Die More Edition
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • The Kings Crusade
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Sengoku
  • Ship Simulator Extremes
  • Sword of the Stars
  • Impire
  • Victoria 2
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Pride of Nations
  • Rise of Prussia
  • Shadowrun: Hong Kong
  • East India Company Collection
  • Hearts of Iron Anthology
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Europa Universalis IV
  • 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
  • Hearts of Iron III
The Ottomans (and some others) get historical cores not simply for having conquered them historically, but to steer them to try to conquer them ingame.
Having one of the 3 cores makes a country more likely to go to war to obtain that core.

If you do not like how it is done in vanilla FtG then look at AGCEEP where the Ottomans gain their cores in multiple steps.

MichaelM already created something similar mechanically when he programmed the claimcores (cores that turn to full cores only after a time set in settings.txt, currently 30 years).
A country could have or gain claimcores and gain full cores on the provinces only after having owned and controlled them for 30 years.

For gaining claimcores for a province that a country has conquered and held for a set amount of time you could write events to hand out cores or claimcores to the owner of a province who has no core but controlled the province for 100 years.

You find the possible commands and triggers for events here:

https://forum.paradoxplaza.com/foru...mands-and-triggers-list.459110/#post-10731874
 

CurryHodac

Recruit
1 Badges
Oct 11, 2013
4
0
  • For The Glory
This was a sample event written by Third Angel
Code:
event = {
    id = XXX
    trigger = {
        controlchange = { province = x years = 100 }
    }
    random = no
    country = AAA

    name = ""
    desc = ""

    date = { day =  month = year = }
    offset =
    deathdate = { day = month = year = }

    action = {
        name = ""
        command = { type = addcore_national which = x }
    }
}

If I want the event to fire every time /any/ province reaches 100 years of ownership, what should I have in place of "x" in province = x? Is x a valid value?
 

ConjurerDragon

Generalissimus
63 Badges
Apr 19, 2005
5.213
457
  • Teleglitch: Die More Edition
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • The Kings Crusade
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Sengoku
  • Ship Simulator Extremes
  • Sword of the Stars
  • Impire
  • Victoria 2
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Pride of Nations
  • Rise of Prussia
  • Shadowrun: Hong Kong
  • East India Company Collection
  • Hearts of Iron Anthology
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Europa Universalis IV
  • 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
  • Hearts of Iron III
This was a sample event written by Third Angel
Code:
event = {
    id = XXX
    trigger = {
        controlchange = { province = x years = 100 }
    }
    random = no
    country = AAA

    name = ""
    desc = ""

    date = { day =  month = year = }
    offset =
    deathdate = { day = month = year = }

    action = {
        name = ""
        command = { type = addcore_national which = x }
    }
}

If I want the event to fire every time /any/ province reaches 100 years of ownership, what should I have in place of "x" in province = x? Is x a valid value?

You find the working commands and triggers and their conditions described in this thread
https://forum.paradoxplaza.com/forum/index.php?threads/commands-and-triggers-list.459110/
and in this pdf
https://forumcontent.paradoxplaza.com/public/29729/ftg_event_help.pdf

When you use a country trigger then you would have to write events for each and every country to make it work for every state (that is unless you plan to make it work only for the one country you play). If you go for provincespecific events you would need a persistent (so that it may trigger more than once, because another state might conquer the province) event for every province.

For better realism I suggest using the mechanic that MichaelM in part already provided - use addcore_claim instead of addcore_national to simulate the 30 years of gaining slowly more control over the province. After 30 years of owning and controlling the province the claimcore will turn into a full(=national)core.
So instead of 100 years having no core and then suddenly having a full national core increasing manpower and taxes better have a claimcore added after 70 years that may turn into a national core after additional 30 years (but only if the country keeps controlling the province).