EarthRoyale 3

EarthRoyale 3

Not enough ratings
Scenario Creation
By Lizzycat03
This is a Guide on how to make different scenarios for the game
   
Award
Favorite
Favorited
Unfavorite
Files & Basics
When making your own Scenarios you need 2 things, any painting program (recommending photoshop or paint(dot)net but other similar programms works too) and any text editing program, your computer has one by default but any downloaded one should work too

When making the files for the Scenario you need to make sure to include these 14 files or it won't work
There is other guides for what each of them need to include in them

City.png (a picture of the city map)
Continent.png (a picture of the continent map)
Country.png (a picture of the country map)
Culture.png (a picture of the culture map)
Detail.png (a picture of the detail/satelite map)
Display.png (a picture that will be replaced with the visual in game map)
Height.png (a picture that will work as the games height map)
ShoreProtection.png (a picture of all shore lines that is protected from floods)
SubContinent.png (a picture of the SubContinent map)
Water.png (a picture of the water/land map)
Country_Eng.txt (a list of all english country names and RGB data colour)
infoExtra_Eng.txt (All map info that's language specific, this case english)
info.txt (all info not specific to language)
Thumbnail.png (The thumbnail image of the map)

all images except the thumbnail one needs to be the same size and the thumbnail one will be streatched out to fit a 16x9 aspect ratio space

There is also 5 (4 of them is language specific) optional text files you might want to include

for the info extra and the country text files there is versions for swedish and the uwu language and possibly more in the future and for them you need to replace the "_Eng" part to be either "_Swe" or "_UwU"

And the last one is the "Date.txt" where you can choose the start date of the map instead of the game choosing the irl date
https://steamuserimages-a.akamaihd.net/ugc/19800346915533306/E4EFB060492FC53EB86DF45B157B384AD1CEC472/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false

All of these files should be in a folder that can be named whatever you want (aslong as it isn't named the same as one of the base game maps) in the Lizzycat/ER3/Scenarios folder

that can be found by either clicking the Scenario Folder button in the settings menu in the ingame menu

or if you're on windows you can also replace the top bar in any folders windows with "%appdata% then go back one page then click on locallow, then lizzycat, then ER3 and then Scenarios
https://steamuserimages-a.akamaihd.net/ugc/19800346915535978/8CF6DE5EF3B3B7760473F01DF47D438C3942201C/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
Creating your own Country.png and Country_xxx.txt file
the Country.png file is what the game will use to figure out what areas of land each country own and the Country_xxx file is used to link the colours on the country.png file to names

The country_xxx.txt file is a text file that follows this format
"Country name:Red-Green-Blue;"
the : symbol here is used to divide the name part from the RGB code part
the - Symbol is used to divide the 3 different RGB (Red, Green, Blue) values from each other.
and lastly the ; symbol is used to divide the different countries from each other

you shouldn't need to keep each countries info on it's own row but i recommend it to make it easier for you to edit and read it
https://steamuserimages-a.akamaihd.net/ugc/19800346915542268/5A69927B23F50C2DB774F6DF5F2A5263F13EC359/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
It's also important to keep in mind that the last country mentioned isn't actually a country and should never be a country as it's the designated spot for wilderness / any unclaimed land, wilderness RGB code needs to always be 255 on each value and it also needs to always be at the end and not have the ";" symbol at the end since there's nothing after it
https://steamuserimages-a.akamaihd.net/ugc/19800346915542495/3517A6B7DA66147C2052813E9EC51045C5259751/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
now for the actual drawing part.
the country.png should just be a map of all the countries you want in your map and therefore all the water should be empty or have the wilderness colour of "255-255-255" or in other words the whitest possible colour

it also means that any area that isn't land needs to have a colour, if you want no country to have that land you need to tell the game it should be wilderness/unclaimed by painting it "255-255-255"

for countries you can choose any colour you want except the wilderness colour and transparent colours as long as no other country has that colour, if you simply want to edit a country already in the game make sure to use the colour already used for it either by using the eye drop tool on that countries colour or copying the RGB value from the country_xxx.txt file

all colours need to be exact so don't use any brush tools and keep yourself to only using select&fill or pens
https://steamuserimages-a.akamaihd.net/ugc/19800346915542778/6E79769D89340F6DB3266262C93D8EA35F00F6FC/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
Creating your own Water.png file
Now for the most important and most annoying file, the "Water.png" file
This is the file that tells the game if it should turn a pixel into ocean, lake, shoreline, or land

In this map you can only ever use 4 very specific colours

255,255,255 / White = Land
255,0,0 / Red = Shoreline
0,0,0 / Black = Ocean
0,0,255 / Blue = Lake

Land is the basic country or wilderness owned pixel with no special features and there's not really anything i can say about it

Shoreline is any pixel that wilderness or a country own that has one of it's 4 sides touching lake or ocean, DO NOT make it a shoreline pixel if it only diagonally touch lake or ocean or if it touches none as these are the pixels the game uses to start floods, draining events and naval invasions

Ocean is the basic water, it will allow any naval invasion pass through it and can be drained and expanded by floods, if a shoreline border this it will allow excalves to remain existing during peace treaties instead of being annexed by the surounding country

Lake, it's the exact same as ocean but looks a bit lighter, does not allow as big naval invasions and is less prioritized when it comes to starting naval invasions and will auto turn into ocean if any event effects a lake pixel and it borders a ocean pixel in any of the 8 directions (including diagonal this time) and also doesn't allow exclave creations during peace treaties
https://steamuserimages-a.akamaihd.net/ugc/19800346915703015/2C68B71527AEC88E66C1A5C5A2336EBBBC3830E0/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
There is no text file or anything linked to this and as all the colour values is hard coded
Creating your own Height.png and Detail.png files
The height.png file is the height map of the game and therefore both changes the map visually to look more bumpy and create shadow areas as well as slow down / speed up invasions depending on how steep elevation changes is and if the invasion is moving up or down

It should be in grayscale, meaning that each colour value has all the 3 RGB values as the same
https://steamuserimages-a.akamaihd.net/ugc/19800346915704880/4AC58BCDE955C7B57025C4F18E034237B8B111E6/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
The Detail.png file is the satellite / terrain map, it's really not important right now other than the fact that wilderness will show up as it on the map so if you want to change the wilderness colour you can do it via this
https://steamuserimages-a.akamaihd.net/ugc/19800346915706122/6A8C62273AC7B33464EE7F197CA3CD384B5557D3/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
Creating your own SubContinent.png and Display.png
Both of this doesn't matter too much of what is in them but is still important for the game
the Display.png image is just what you will see before the game loads in and is what the things you see in game will be painted over
https://steamuserimages-a.akamaihd.net/ugc/19800346915712936/94A56CC99CC17C5C20DE519002934F69BC3F1F72/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
the SubContinent.png is used to divide the map into regions for lag reasons
there is other planned stuff for SubContinent.png once it's a real subcontinent map in the base game but for now you should be able to just use the base game map for anything and crop it to the size you need it in and if you make your own make sure they are not too big and there is only one blob of each colour
https://steamuserimages-a.akamaihd.net/ugc/19800346915713398/4DE45146035EE031CE3C5F4D6F20EEC097B2A8C1/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
Creating your own Continent.png and ShoreProtection.png
These are the last 2 maps that aren't very temporary in what they do
the Continent.png map Divides the world into continents, right now the continents are hardcoded as it's purely used to toggle on and off continents when starting a game

the continents colour values are

0:0:255 = North America
255:0:0 = Europe
0:255:0 = Asia
255:0:255 = South America
255:255:0 = Africa
0:255:255 = Oceania
255:255:255 = Antarctica
https://steamuserimages-a.akamaihd.net/ugc/19800346915715946/DF3B819F8C03FF2727EF75551147D8810F6C29CE/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
The ShoreProtection.png map is a map of all protected shore from flood events, they get added automatically from draining events and you don't really need to do anything with this map if you don't want to but if there's any shoreline like for example netherlands that you want protected from the start you can add a small grayscale line where it's coast is supposed to be
https://steamuserimages-a.akamaihd.net/ugc/19800346915716155/4666FAABD502F32BF83BC6ECD248F18CF432FD07/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
Creating your own Culture.png and City.png files
these are still very in development but will gain more features soon
the Culture.png map is going to be a map of all the ethnicities in the world but the base game map has not started development yet and therefore is just a copy of the country map, in beta 1.1 it will be used for independence movements however and is already used to slow down invasions when crossing a border on it
https://steamuserimages-a.akamaihd.net/ugc/19800346915718799/0B60D8CF775F47757C4D1ED8323C24B34AEF8BA9/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
city.png is just a empty map for now and should be left so, it does technically already slow down invasions that are inside a colour on it and will be used for independence aswell as sources for civil war in beta 1.1 but the official base game city map is still in development but soon ish done and i can't say anything too specific here until i know exactly how it will work with the games code
https://steamuserimages-a.akamaihd.net/ugc/19800346915718957/C291F87CE91B6E623240E2C0CF63325DAE779146/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
Creating your own Thumbnail.png, info.txt, infoExtra_xxx and Date.txt files
The Thumbnal.png is a image that will be used when you choose what map to play and therefore should be around 16x9 aspect ratio or it will look weird, you should also try to keep it in a lower resolution if you want to upload the scenario to the steam workshop, i also recommend to keep it a picture of your scenario
https://steamuserimages-a.akamaihd.net/ugc/19800346915722025/DEA2F1063CC7BE37E54842A0D1D786121987CB1C/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
info.txt is a text file with all the not language specific info about the map in a specific order
each "info slot" is divided by the ";" symbol and the slots functionalities are in following order
1. Map width / x value size
2. Map Height / y value size
3. how much the game should multiply some values with for balancing reasons on different map sizes (figure out yourself by playtesting but for big map it's 1, medium it's 2 and small 4
4. how much the game should divide some values with for balancing reasons on different map sizes (same as the previous one but in reverse)
5+. the rests are tags, it needs to match the tags in the in game tags menu, DO NOT INCLUDE VANILLA
https://steamuserimages-a.akamaihd.net/ugc/19800346915721872/A38610DA0D1C76ABA9439E9E4FD2D09D62B5FFF8/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
infoExtra_XXX.txt is the language specific map info values / name and descriptions
First write the name then use the ";" symbol and then write the description
https://steamuserimages-a.akamaihd.net/ugc/19800346915723333/51B0064169AD36B425943E1038EF4E0564CA0D6F/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
And lastly date.txt, this is a optional file and if you don't include this file the game will just use the current date
there is 3 data slots divided by ":" symbols
1.year
2.month
3.day
do not use anyother order even if you live in a country that uses another date system
https://steamuserimages-a.akamaihd.net/ugc/19800346915724358/D467B15A5A1936930B120CCEE13E0366E9EB0DBB/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false