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

RR88

Recruit
33 Badges
Feb 12, 2011
9
0
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Rights of Man
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Cities: Skylines Industries
  • Europa Universalis IV: Golden Century
  • Europa Universalis 4: Emperor
  • Crusader Kings II
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Magicka 2
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Darkest Hour
  • Crusader Kings II: The Old Gods
So, being completly bored and having a lot of time I've created an event that grants us an accepted culture after being in possession of 50/60 % of provinces of one type of culture. Here is an example of acceptance of baltic culture, where we'll have to own 4 of 5 baltic provinces for x years, and have stability at level 3 and not being at war. Feel free to comment and give some feedback.

Code:
event = {
	id = 89002
	trigger = {
		someof = {
		    number = 4
			ownerchange = { province = 283 years = 45 }
			ownerchange = { province = 284 years = 55 }
			ownerchange = { province = 288 years = 45 }
			ownerchange = { province = 289 years = 55 }
			ownerchange = { province = 290 years = 60 }
			}
		someof = {
		    number = 4
			owned = { province = 283 data = -1 }
			owned = { province = 284 data = -1 }
			owned = { province = 288 data = -1 }
			owned = { province = 289 data = -1 }
			owned = { province = 290 data = -1 }
			}
		atwar = no
		stability = 3
		    }
	random = no
	name = "Assimilation of foreign culture"
	desc = "xxx"

	date = { day = 1 month = january year = 1419 }
	offset = 14610
	deathdate = { day = 1 month = january year = 1820 }

	action_a = {
			name = "Great"
			command = { type = add_countryculture which = baltic }
		   }
	}
 
So, being completly bored and having a lot of time I've created an event that grants us an accepted culture after being in possession of 50/60 % of provinces of one type of culture. Here is an example of acceptance of baltic culture, where we'll have to own 4 of 5 baltic provinces for x years, and have stability at level 3 and not being at war. Feel free to comment and give some feedback.

Code:
event = {
	id = 89002
	trigger = {
		someof = {
		    number = 4
			ownerchange = { province = 283 years = 45 }
			ownerchange = { province = 284 years = 55 }
			ownerchange = { province = 288 years = 45 }
			ownerchange = { province = 289 years = 55 }
			ownerchange = { province = 290 years = 60 }
			}
		someof = {
		    number = 4
			owned = { province = 283 data = -1 }
			owned = { province = 284 data = -1 }
			owned = { province = 288 data = -1 }
			owned = { province = 289 data = -1 }
			owned = { province = 290 data = -1 }
			}
		atwar = no
		stability = 3
		    }
	random = no
	name = "Assimilation of foreign culture"
	desc = "xxx"

	date = { day = 1 month = january year = 1419 }
	offset = 14610
	deathdate = { day = 1 month = january year = 1820 }

	action_a = {
			name = "Great"
			command = { type = add_countryculture which = baltic }
		   }
	}

nice event although your offset needs a rethink.

offset works like this . It will choose a given day anytime in date of 14610 days from ( your event) your date line, so 1st of January 1419, then after 1st trigger and failure it will not trigger again until 14610 days have past.
so it could try to trigger on the 2nd of January 1419 and never again until 14610 days later, If you continuously have game on. It could also try first trigger 9000 days after 1st of January 1419. Of course if you save and restart game all offsets are recalculated.

This is the reason a lot of events with long offsets fire after restart.

I have removed/shorten all my offsets which are longer than 5 years for all events
 
Thanks for info about offset... I thought it was something completly different. I've also thought about adding another trigger condition => controlchange, It would be useful, because it could inform how often revolts appers in area (of course if you lose control over province for rebel scum) and how prone provinces are for invasion e.g. Netherlands or baltic area of LO and TO. It would be a little harder to maintain possesion and gain acceptance of foreign culture, especially in high revolt risk areas.

The main problem is that even if you own e.g. 15 of 25 french culture provinces and the trigger is set to 17, after gaining 2 provinces in peace resolution you'll automatically gain a french culture due to the fact that other provinces in the area were owned for other countries for 50-60 years (the trigger is not specified to country, just to provinces) it's my only problem with event, because with small 4/5/6 provnice cultures I've set that you would have to own all of them to gain a culture. I think it's reasonable,

BTW. Offset = 360 it's good setting ?
 
The main problem is that even if you own e.g. 15 of 25 french culture provinces and the trigger is set to 17, after gaining 2 provinces in peace resolution you'll automatically gain a french culture due to the fact that other provinces in the area were owned for other countries for 50-60 years (the trigger is not specified to country, just to provinces) it's my only problem with event,
You could combine the two someof triggers, like this:
Code:
		someof = {
			number = 4
			AND = {
				owned = { province = 283 data = -1 }
				ownerchange = { province = 283 years = 45 }
			}
			AND = {
				owned = { province = 284 data = -1 }
				ownerchange = { province = 284 years = 55 }
			}
			AND = {
				owned = { province = 288 data = -1 }
				ownerchange = { province = 288 years = 45 }
			}
			AND = {
				owned = { province = 289 data = -1 }
				ownerchange = { province = 289 years = 55 }
			}
			AND = {
				owned = { province = 290 data = -1 }
				ownerchange = { province = 290 years = 60 }
			}
		}

I'm glad to see someone doing cool things with the new triggers.
 
Last edited:
So, being completly bored and having a lot of time I've created an event that grants us an accepted culture after being in possession of 50/60 % of provinces of one type of culture. Here is an example of acceptance of baltic culture, where we'll have to own 4 of 5 baltic provinces for x years, and have stability at level 3 and not being at war. Feel free to comment and give some feedback.
(...)

Really cool.
Anyway you should check this events [for EU2]: rapidshare.com/files/203705856/Quendi_Poland_Mod_aktualna_wersja.exe.html

especially in .\QPM\QPM :)

Author of this mod stopped developing it long time ago, but his events are also cool.
 
Offset = 360, yes in that case it's certainly very good. It's good to have an offset that allows you to test the event an adequate number of times considering the delay between date and deathdate. I mean that if the delay is six months, it would be nice to have, say offset = 20. Toio has given a precious advice above: avoid any unusual offset. I rarely use an offset longer than 720.
 
Great idea :D Why I haven't thought about it myself, now I have to rewrite alomst 20 events :p But that way it'll be more realistic, thanks for help.

I would suggest that you add the condition to the trigger that you not only OWN but CONTROL those provinces too. How would you assimilate the culture if e.g. you own those provinces but all of them would be controlled by rebels?
 
Ok, so after few months I come back to my "project" and created an event to all cultures and begin testing. So I begin with Poland, and in year 1478 I conquered Wallachia, and anexed Moldovia - all romanian culture provinces. In my event I set the assimilation time to 60 years, but in year 1491 I get the event and being a rookie in event editing I have no clue what's wrong. Here is the event:

Code:
event = {
	id = 89085
	trigger = {
		someof = {
		    number = 3
		   	AND = {
     ownerchange = { province = 318 years = 60 }
     owned = { province = 318 data = -1 }
     controlchange = { province = 318 years = 60 }
    }
AND = {
     ownerchange = { province = 319 years = 60 }
     owned = { province = 319 data = -1 }
     controlchange = { province = 319 years = 60 }
    }
AND = {
     ownerchange = { province = 322 years = 60 }
     owned = { province = 322 data = -1 }
     controlchange = { province = 322 years = 60 }
    }
}
      atwar = no
      stability = 3
	}
Random = no
name = "Acceptance of foreign culture"
	desc = "xxx"
	date = { day = 1 month = january year = 1419 }
	offset = 300
	deathdate = { day = 1 month = january year = 1820 }
	action_a = {
		name = "Fantastic!"
		command = { type = add_countryculture which = romanian }
		   }
	}
 
The trigger looks all right (although of course you're asking it to choose any 3 of the 3 AND-blocks). May I have a save game from just before the event fires?
 
Instead of
deathdate = { day = 1 month = january year = 1820 }
you can simply use
deathdate = { year = 1820 }

What kind of event should that be? One specifically for POLand? If so the country is missing.

If it´s a provincesspecific event the province needs to be specified for which it should fire.

province = 323 #Transylvania

e.g. event 338291 in AGCEEP_Global_provincespec.eue


As far as I remember if you don´t make it provincespecific AND not countryspecific then the trigger is met as soon as ANYONE fulfills the trigger. Not just you/Poland.
 
Last edited:
Ok, somebody help me with descripton and I'll be good to share my creation with others ;) I thought about something like:
After years of integration, the new lands finally acknowledge our superiority.
But for me it is little incoherent and too short. Maybe somebody else would have better idea?
 
Ok, somebody help me with descripton and I'll be good to share my creation with others ;) I thought about something like:

But for me it is little incoherent and too short. Maybe somebody else would have better idea?

Resistance is futile - they have been assimilated?
 
Though this thread is quite old, I was wondering if it was possible within the command list to code a random event with the trigger being owning a wrong culture province for x amount of time (like say, 50 years), and the command being to accept that culture.
 
Though this thread is quite old, I was wondering if it was possible within the command list to code a random event with the trigger being owning a wrong culture province for x amount of time (like say, 50 years), and the command being to accept that culture.

Yes. However not with just one random event. Random events happen only once per year to a country and are chosen from all possible events (due to their triggers being met) by random chance. Which means that you would not get your desired event after an exact amount of years because there are quite a lot of random events existing that will make your new event quite unlikely to trigger even if the triggers of your event are met.

Better would be to have a persistent event (so that it might trigger again and again for different countries) for every province.
 
Other culture assimilation events after 100 years:

Code:
event = {
    id = 10000
    trigger = {
        ownerchange = { province = xxx years = 100 }
        OR = { 
            AND = { 
                tag = FRA
                # core_national/core_national/core_casusbelli - optional
                NOT = { provinceculture = { province = xxx data = french } }
                }
            AND = {
                tag = GER
                # core_national/core_national/core_casusbelli - optional
                NOT = { provinceculture = { province = xxx data = german } }
                }
        }
    }

    province = xxx #Alsace
    persistent = yes

    name = "Culture change after 100 years"
    desc = "testing"

    date = { day = 0 month = january year = 1400 }
    offset = 720
    deathdate = { day = 29 month = december year = 1900 }

    action = {
        name = "Change culture in province to state culture"
        trigger = { tag = FRA }
        command = { type = provinceculture which = xxx value = french }
        #command = { type = addcore_national which = xxx } - optional addcore_claim
        command = { type = cityname which = xxx value = "Strasbourg" }
    }

    action = {
        name = "Change culture in province to state culture"
        trigger = { tag = GER }
        command = { type = provinceculture which = xxx value = german }
        #command = { type = addcore_national which = xxx } - optional addcore_claim
        command = { type = cityname which = xxx value = "Strassburg" }
    }
}

or

Code:
event = {
    id = 10000
    trigger = {
        #owned = { province = xxx data = -1 } - optional with country tag only
        ownerchange = { province = xxx years = 100 }
        #OR = { tag = AAA tag = BBB tag = CCC ...} - optional
    }

    province = xxx #Alsace
    persistent = yes
    
    name = "Culture change after 100 years whoever owns Alsace"
    desc = ""

    date = { day = 0 month = january year = 1400 }
    offset = 720
    deathdate = { year = 1900 }

    action = {
        name = "Change culture in province to french"
        trigger = { culture = french }
        command = { type = provinceculture which = xxx value = french }
        #command = { type = addcore_national which = xxx } - optional addcore_claim
        command = { type = cityname which = xxx value = "Strasbourg" }
    }

    action = {
        name = "Change culture in province to german"
        trigger = { culture = german }
        command = { type = provinceculture which = xxx value = german }
        #command = { type = addcore_national which = xxx } - optional addcore_claim
        command = { type = cityname which = xxx value = "Strassburg" }
    }
    
    action = {
        name = "Change culture in province to english"
        trigger = { culture = english }
        command = { type = provinceculture which = xxx value = english }
        #command = { type = addcore_national which = xxx } - optional addcore_claim
    }

    action = {
        name = "Change culture in province to dutch"
        trigger = { culture = dutch }
        command = { type = provinceculture which = xxx value = dutch }
        #command = { type = addcore_national which = xxx } - optional addcore_claim
    }

}
 
Instead of checking for FRA and GER specifically I would suggest to use the trigger to check that the controlling nation has french culture, so that any french minor could change the culture, too. Historically the provinces in the area of Alsace-Lorraine were not only re-conquered by GER (or the german wilhelminian Empire, founded 1871) but parts of it belonged to HAB (Sundgau) or Württemberg (Mömpelgard = Montbeliard) or Trier (Trois Eveches).

culture = culture_name
Checks if that culture is an accepted one for the receiving country.

Instead of only checking ownerchange for 100 years (I would be more generous and use, say 2 generations or 50 years) I would use a controlchange trigger in addition. No change if you own the province but someone else contrls it most of the time...