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

Dietmar1982

Number 38732
54 Badges
Jan 25, 2005
721
0
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis: Rome Collectors Edition
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Cities: Skylines Industries
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Res Publica
  • Crusader Kings II
  • Europa Universalis III
  • Divine Wind
  • 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
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Hearts of Iron II: Armageddon
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
Dec 29, 2004
636
1
Here is a little event I just made for China

event = {
id = 199990
random = yes
country = CHI


name = "EVT199990N"
desc = "EVT199990D"
style = 0

date = { day = 1 month = january year = 1836 }
offset = 1
deathdate = { day = 30 month = december year = 1910 }

action_a = {
name = "ACT137000A"
command = { type = convert_pop_type which = Nanfaren value = slaves when = 100 }
command = { type = set_slavery value = yes }
}

}

If you force it to fire. It should fire anyway, but I didnt really spend much time making the firing part of it, so it probably needs fixing. Though you will probably not want it to keep on firing, so perhaps random to no and no trigger will mean only you can fire it in command console.

It will convert all Nanfaren nationality into slaves. Sadly there is no way to do it for all minonrities, You can use cultural_minority tag, but that seems to convert all except your main accepted culture, ie the first one on the accepted list, into slaves. Fine if you only have one accepted culture but if not you can lose a lot of pops. Therefore you have to pick nationalities (or religion etc). You could use the cultural_minority tag and then convert those who are accepted back again with a nationality command, but you would lose all types except the one you change back into.

You have to have slavery value set to yes, otherwise they will all convert straight back again.
 
Last edited:

unmerged(74720)

Second Lieutenant
Apr 19, 2007
128
0
Thanks for the input.

What value do I put in to make it happen in all of my provinces?

would this work?

event = {
id = 666666
random = no
country = TRN
name = ""
desc = ""
picture = slavery
date = { day = 1 month = january year = 1800 }
offset = 1
deathdate = { day = 30 month = december year = 2000 }
action_a = {
Name = "To the victor goes the spoils!"
command = { type = convert_pop_type which = Pagan value = slaves when = 100 }
command = { type = set_slavery value = yes }
}
}
 
Last edited:
Dec 29, 2004
636
1
That event above converted nationwide. No need to worry unless you only want it in one province.

That should work, all your pagan pops will be turned into slaves. Not sure, but you prob don't need start/death dates if you are going to fire manually (though the ones you have should cover anything anyway).

EDIT removed the invention bit I had suggested, as I think if there is no specific trigger for an invention it will fire anyway for every country in the world (I was trying to make some economic events to simulate protectionism this way).