Is there a way to turn provinces uncolonized on patch 1.34?

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

Nuiqes

Recruit
39 Badges
May 2, 2017
3
4
  • Prison Architect
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Stellaris: Leviathans Story Pack
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Art of War
  • Cities: Skylines
  • Victoria 2
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV
  • Crusader Kings II
  • Hearts of Iron III
  • Cities: Skylines Deluxe Edition
  • Stellaris - Path to Destruction bundle
Up to this point i just used the "observe" command, and then used own or colonize commands in order to turn specific provinces into no man's land. However, the most recent patch, and i apologise for the colloquialism, flubbed everything up, and instead of desired effect, provinces become briefly "occupied" by the observer, to just turn back to prievous state a tick later.
Is there a new command or something to turn provinces uncolonized? Or am i, yet again, cursed with digging through the save files without a shovel? Cheers
 
Last edited by a moderator:

grotaclas

Field Marshal
54 Badges
Aug 7, 2019
5.001
4.558
  • Victoria 3 Sign Up
  • Battle for Bosporus
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Europa Universalis 4: Emperor
  • Cities: Skylines
That "own" as the observer made a province uncolonized in previous versions sounds more like a bug than a desired effect. I guess it worked, because the observer was coded as having null as the country and null as a province owner meant uncolonized.

1.34 offers another way to make a province uncolonized which is definitely intended, because the patchnotes say
Added "decolonize = <province_id> / yes" effect.
You can use any effect with a run file.
 
  • 2Like
  • 2
  • 1
Reactions:

Msarc

Corporal
5 Badges
Oct 4, 2014
43
52
  • Crusader Kings II
  • Europa Universalis IV
  • Hearts of Iron III
  • Victoria 2
  • Imperator: Rome Sign Up
1.34 offers another way to make a province uncolonized which is definitely intended, because the patchnotes say
You can use any effect with a run file.
This is fantastic. Best thing is it accepts scopes like super regions, so for example you could decolonize the whole of Americas and Oceania with just a run file like this:

Code:
north_america_superregion = {
    decolonize = THIS
}
central_america_superregion = {
    decolonize = THIS
}
south_america_superregion = {
    decolonize = THIS
}
andes_superregion = {
    decolonize = THIS
}
oceania_superregion = {
    decolonize = THIS
}

Although I'm sure there's a more elegant way to code the above.
 
  • 2Like
Reactions:

Nuiqes

Recruit
39 Badges
May 2, 2017
3
4
  • Prison Architect
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Stellaris: Leviathans Story Pack
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Art of War
  • Cities: Skylines
  • Victoria 2
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV
  • Crusader Kings II
  • Hearts of Iron III
  • Cities: Skylines Deluxe Edition
  • Stellaris - Path to Destruction bundle
This is fantastic. Best thing is it accepts scopes like super regions, so for example you could decolonize the whole of Americas and Oceania with just a run file like this:

[Nice code]

Although I'm sure there's a more elegant way to code the above.
Is there a way to create a console command out of run file? Or create a console command for specific provinces? I know how to make a basic run file, however i wish i could insert script parameters to the console, and not have to tab out of the game every time to overwrite the run file. You know, like in bash scripts?
 

grotaclas

Field Marshal
54 Badges
Aug 7, 2019
5.001
4.558
  • Victoria 3 Sign Up
  • Battle for Bosporus
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Europa Universalis 4: Emperor
  • Cities: Skylines
Is there a way to create a console command out of run file? Or create a console command for specific provinces? I know how to make a basic run file, however i wish i could insert script parameters to the console, and not have to tab out of the game every time to overwrite the run file. You know, like in bash scripts?
I don't think that this is possible. If you want to uncolonize a lot of provinces, you can either construct a trigger/effect which matches most or all of them (e.g. with every_province) or you could use the own console command to give all the provinces to a specific country and afterwards use the remove_country console command
 
  • 1
Reactions:

Gawquon3

Apprentice of the Converters
142 Badges
Aug 11, 2019
141
219
  • Europa Universalis IV: Pre-order
  • Ship Simulator Extremes
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Teleglitch: Die More Edition
  • Age of Wonders
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • Warlock 2: Wrath of the Nagas
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Sengoku
  • Magicka 2
  • Cities: Skylines - After Dark
  • Knights of Pen and Paper 2
  • Magicka 2: Ice, Death and Fury
  • Cities: Skylines - Snowfall
  • Age of Wonders II
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: No Step Back
  • Tyranny: Archon Edition
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Knights of Honor
  • Surviving Mars
  • Ancient Space
  • Arsenal of Democracy
  • Cities in Motion
  • Cities in Motion 2
  • Europa Universalis IV: Third Rome
  • Tyranny - Tales from the Tiers
  • Crusader Kings Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • A Game of Dwarves
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Impire
  • King Arthur II
  • The Kings Crusade
  • Majesty 2
  • Majesty 2 Collection
  • BATTLETECH
  • Victoria: Revolutions
  • Rome Gold
Does anyone have any advice on how to write a script that decolonizes every province in the game except capitals?
Code:
every_province = {
    limit = {
        # is_capital = yes Edit: had a brainfart, is_capital no, obviously
         is_capital = no
    }
    decolonize = this
}
 
Last edited:

zaint

Corporal
54 Badges
Jul 4, 2004
30
129
  • Stellaris: Humanoids Species Pack
  • Stellaris Sign-up
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Galaxy Edition
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Cities: Skylines - Campus
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Nemesis
  • Victoria 2: Heart of Darkness
  • Europa Universalis III: Chronicles
  • 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
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Europa Universalis III
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
I run a modded game and strangely thou, that code decolonizes most of the map but it also removes entire nations ( even their capitals ) and for some reason leave other larger nations on the map.
 

grotaclas

Field Marshal
54 Badges
Aug 7, 2019
5.001
4.558
  • Victoria 3 Sign Up
  • Battle for Bosporus
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Europa Universalis 4: Emperor
  • Cities: Skylines
I run a modded game and strangely thou, that code decolonizes most of the map but it also removes entire nations ( even their capitals ) and for some reason leave other larger nations on the map.
Try "is_capital = no" instead
 
  • 2Like
Reactions:

Gawquon3

Apprentice of the Converters
142 Badges
Aug 11, 2019
141
219
  • Europa Universalis IV: Pre-order
  • Ship Simulator Extremes
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Teleglitch: Die More Edition
  • Age of Wonders
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • Warlock 2: Wrath of the Nagas
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Sengoku
  • Magicka 2
  • Cities: Skylines - After Dark
  • Knights of Pen and Paper 2
  • Magicka 2: Ice, Death and Fury
  • Cities: Skylines - Snowfall
  • Age of Wonders II
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: No Step Back
  • Tyranny: Archon Edition
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Knights of Honor
  • Surviving Mars
  • Ancient Space
  • Arsenal of Democracy
  • Cities in Motion
  • Cities in Motion 2
  • Europa Universalis IV: Third Rome
  • Tyranny - Tales from the Tiers
  • Crusader Kings Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • A Game of Dwarves
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Impire
  • King Arthur II
  • The Kings Crusade
  • Majesty 2
  • Majesty 2 Collection
  • BATTLETECH
  • Victoria: Revolutions
  • Rome Gold
Yes Grotaclas is right, that's what it should have been. What is weird though is my wrong script should have decolonized only capitals. Try is_capital = no first, then I'm curious if there is any difference in behavior between the new decolonize = this and the still-working-last-time-I-checked own = ---
 
  • 1Like
Reactions:

grotaclas

Field Marshal
54 Badges
Aug 7, 2019
5.001
4.558
  • Victoria 3 Sign Up
  • Battle for Bosporus
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Europa Universalis 4: Emperor
  • Cities: Skylines
What is weird though is my wrong script should have decolonized only capitals
I think what happens is that every_province goes through the list of provinces in order of their province id. When you decolonize the capital of a non-OPM, they first get a new capital before the game continues with the loop. If that new capital has a higher province ID, it will get decolonized as well, once the loop reaches that province. This could happen multiple times
 
  • 2Like
Reactions: