-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMaking Split States.txt
26 lines (18 loc) · 1.15 KB
/
Making Split States.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
How to create split states quickly
IMPORTANT: This is a rather complicated process, but when you get used to it, it's far easier and quicker than any other method I've yet heard of. I've been using this method
Cynic came up with most of this.
1. Open the provinces file in GIMP (maybe PS works too, I've never used it)
2. Select all the provinces in the state you want to move
3. Copy them to a new file with a transparent background
4. Convert the image mode from RGB to Indexed
5. Export the indexed palette as a .txt document (this now gives you a list of hex values)
6. Edit them all (using macros ideally to speed it up) to be in the correct format and with a | between each entry so we can do regex magic (x111111 |x222222 |x333333 etc)
7. Copy the full list and use your favourite text editor with the regex search mode to replace all of the list with nothing
8. Go back to your list and remove all the |
9. Copy that new list to the new split part of the state (whose entry you need to make)
In-game with events, this effect:
create_country = {
tag = LOM
origin = c:SWI
state = s:STATE_LOMBARDY.region_state:SWI
}