Gen. Monkey-Bear wrote:Hello all. I'm looking for a script to change the status of a region or area. What I mean by that is I want a region currently listed as a non-colonial region to become colonial. I can't find a similar script in the game, so I wonder if some of the more experienced modders can help me with this? Unfortunately the PON database is not updated for the current version, so I'll have to write it in directly.
This will do you, its from the German events file and to create their colonies in E and SW Africa in the 1880s:
SelectFaction = $CMN
Actions
SelectFaction = $GER
SetColStatusArea = $Colony_SudWest_Afrika;$colProtectorate
if you don't want to make it a protectorate then make it influenced. You'll need to look in the GameData directory and the colonialareas file for the relevant geographical names. I think there are similar scripts in the Italian event files too (connected to the creation of the Italian colonies in the 1880s)
I don't think you can make an area colonial but if you wanted to do that I'd add the commands to the ColonialAreas file.