Łukasz Jakowski 13,389 Posted September 20, 2024 Age of History 3 - How to add Real Leaders/Rulers/Kings ####################################### ## Read: mods_steam_workshop.txt ! ## ## To create a new mod for submission to the Steam Workshop, first create a new folder for your mod within the 'mods' directory. ## Then, copy or recreate all the modified files into that folder! ## ## For example, if a file was originally located in game/ExampleFile.json, ## it should be placed in mods/YourModName/game/ExampleFile.json in your mod's folder. ## ##### ## This guide explains how to add a ruler to the game Go to: game/rulers/ Inside this folder, you will find multiple .json files, each representing rulers for a specific civilization. For example: game/rulers/afg.json contains rulers for Afghanistan. game/rulers/atr.json contains rulers for Austria. game/rulers/rus.json contains rulers for Russia. ## Locate Civilization tags for your scenario: To find the list of civilization tags in a specific scenario, go to: map/THE_MAP/scenarios/THE_SCENARIO/Data.json ## Find all Civilization tags and their names: Look in the file: game/languages/civilizations/Bundle.properties Find the entry for Belgium. Its tag will be: bel ####################################################### Example, Adding a Ruler for Belgium in World War II From Bundle.properties, we know the Civilization tag for Belgium is: bel If the file bel.json does not exist, create it, or copy any existing file from the game/rulers/ directory and rename it. If the file does exist, open it for editing. ####################################################### Example Structure of Ruler File For a Single Ruler: { Rulers: [ { Name: "Philippe of Belgium", ImageID: 45, BornDay: 15, BornMonth: 4, BornYear: 1960, ReignYear: 2013, }, ], Age_of_History: Rulers } ####################################################### Example, For Multiple Rulers: { Rulers: [ { Name: "Hubert Pierlot", ImageID: Pierlot, BornDay: 22, BornMonth: 2, BornYear: 1883, ReignYear: 1934, }, { Name: "Philippe of Belgium", ImageID: 45, BornDay: 15, BornMonth: 4, BornYear: 1960, ReignYear: 2013, }, ], Age_of_History: Rulers } ####################################################### Important Guidelines Order by ReignYear: Rulers must be listed in ascending order of ReignYear, starting from the earliest year to the latest. ## Key Attributes: BornYear: 1883, ReignYear: 2013, ImageID: Pierlot, #################### ## The year of birth must be set accurately, or the ruler will not appear in the game (they cannot be too old or rule before their birth). ## The ReignYear represents the year at which the ruler takes control of the Civilization. ## Unique ImageID: If the ImageID is Pierlot, the corresponding image file should be named Pierlot.png Each ruler must have a unique ImageID. ## Ruler Image Specifications: The ruler's image should be 150x150 pixels. Save the image in: game/rulers/rulersImages/H/ Optionally, larger images can be stored in: game/rulers/rulersImages/XH/ game/rulers/rulersImages/XXH/ This process will ensure that Belgium has a ruler in the game for the World War II scenario, and the rulers are correctly formatted and sorted. Unity, OwnM3Z0, Wayne23lololh and 12 others 15 Quote Share this post Link to post Share on other sites More sharing options...
OwnM3Z0 1,102 Posted September 20, 2024 (edited) that's great and all, but i need the method for that IRL ASAP, my country is cooked man Edited September 20, 2024 by OwnM3Z0 YouravaragebrazilianAoCfan 1 Quote Share this post Link to post Share on other sites More sharing options...
cartographer-guy 5 Posted September 21, 2024 (edited) Czy można ustawić dokładną datę kiedy władca wstępuje na tron? Czy jeśli, na przykład, ReignYear to 2013, to czy władca zaczyna rządzić od 1 stycznia 2013? @Łukasz Jakowski Edited September 21, 2024 by cartographer-guy OwnM3Z0 and Dule22 2 Quote Share this post Link to post Share on other sites More sharing options...
Łukasz Jakowski 13,389 Posted October 20, 2024 On 9/21/2024 at 1:02 PM, cartographer-guy said: Czy można ustawić dokładną datę kiedy władca wstępuje na tron? Czy jeśli, na przykład, ReignYear to 2013, to czy władca zaczyna rządzić od 1 stycznia 2013? @Łukasz Jakowski You can only set the year. Evis7, Dule22, Fire Quickly and 3 others 4 2 Quote Share this post Link to post Share on other sites More sharing options...
cartographer-guy 5 Posted October 21, 2024 (edited) On 10/20/2024 at 11:10 AM, Łukasz Jakowski said: You can only set the year. Czy można ustawić, żeby nowy władca zaczynał rządzić od momentu kiedy stary umarł? np.: zostawić pole ReignYear puste? @Łukasz Jakowski Edited October 21, 2024 by cartographer-guy Quote Share this post Link to post Share on other sites More sharing options...
sanitar4ick 23 Posted October 22, 2024 On 9/21/2024 at 1:25 AM, Łukasz Jakowski said: Age of History 3 - How to add Real Leaders/Rulers/Kings ####################################### ## Read: mods_steam_workshop.txt ! ## ## To create a new mod for submission to the Steam Workshop, first create a new folder for your mod within the 'mods' directory. ## Then, copy or recreate all the modified files into that folder! ## ## For example, if a file was originally located in game/ExampleFile.json, ## it should be placed in mods/YourModName/game/ExampleFile.json in your mod's folder. ## ##### ## This guide explains how to add a ruler to the game Go to: game/rulers/ Inside this folder, you will find multiple .json files, each representing rulers for a specific civilization. For example: game/rulers/afg.json contains rulers for Afghanistan. game/rulers/atr.json contains rulers for Austria. game/rulers/rus.json contains rulers for Russia. ## Locate Civilization tags for your scenario: To find the list of civilization tags in a specific scenario, go to: map/THE_MAP/scenarios/THE_SCENARIO/Data.json ## Find all Civilization tags and their names: Look in the file: game/languages/civilizations/Bundle.properties Find the entry for Belgium. Its tag will be: bel ####################################################### Example, Adding a Ruler for Belgium in World War II From Bundle.properties, we know the Civilization tag for Belgium is: bel If the file bel.json does not exist, create it, or copy any existing file from the game/rulers/ directory and rename it. If the file does exist, open it for editing. ####################################################### Example Structure of Ruler File For a Single Ruler: { Rulers: [ { Name: "Philippe of Belgium", ImageID: 45, BornDay: 15, BornMonth: 4, BornYear: 1960, ReignYear: 2013, }, ], Age_of_History: Rulers } ####################################################### Example, For Multiple Rulers: { Rulers: [ { Name: "Hubert Pierlot", ImageID: Pierlot, BornDay: 22, BornMonth: 2, BornYear: 1883, ReignYear: 1934, }, { Name: "Philippe of Belgium", ImageID: 45, BornDay: 15, BornMonth: 4, BornYear: 1960, ReignYear: 2013, }, ], Age_of_History: Rulers } ####################################################### Important Guidelines Order by ReignYear: Rulers must be listed in ascending order of ReignYear, starting from the earliest year to the latest. ## Key Attributes: BornYear: 1883, ReignYear: 2013, ImageID: Pierlot, #################### ## The year of birth must be set accurately, or the ruler will not appear in the game (they cannot be too old or rule before their birth). ## The ReignYear represents the year at which the ruler takes control of the Civilization. ## Unique ImageID: If the ImageID is Pierlot, the corresponding image file should be named Pierlot.png Each ruler must have a unique ImageID. ## Ruler Image Specifications: The ruler's image should be 150x150 pixels. Save the image in: game/rulers/rulersImages/H/ Optionally, larger images can be stored in: game/rulers/rulersImages/XH/ game/rulers/rulersImages/XXH/ This process will ensure that Belgium has a ruler in the game for the World War II scenario, and the rulers are correctly formatted and sorted. Can someone send me mods_steam_workshop.txt? I can't find it. Quote Share this post Link to post Share on other sites More sharing options...
Łukasz Jakowski 13,389 Posted October 22, 2024 Evis7, Dule22, Fire Quickly and 2 others 4 1 Quote Share this post Link to post Share on other sites More sharing options...
Kavunovskiy 38 Posted October 22, 2024 less than 24 hours to AoH3 release... Quote Share this post Link to post Share on other sites More sharing options...
Zahav 0 Posted October 24, 2024 Hello, I created a custom civilization, and created ruler for it, created rulers json file. Created 150x150 png file, placed in the stated directory. When in game, the leader's name is displayed, with his birth data. But, the portrait is all white space. Why? Before that, I could add new ruler with working portrait for existing civilization, all was fine. Quote Share this post Link to post Share on other sites More sharing options...
justiamtgm 23 Posted November 7, 2024 Is there any way to create immortal leader for a country? Quote Share this post Link to post Share on other sites More sharing options...
EdgeLord 89 Posted November 15, 2024 Ruler image not working, my rulers birthday and name are being displayed but the image isn't even though I gave it unquie imageid etc etc... Quote Share this post Link to post Share on other sites More sharing options...
Iceman 295 Posted November 15, 2024 (edited) 12 hours ago, EdgeLord said: Ruler image not working, my rulers birthday and name are being displayed but the image isn't even though I gave it unquie imageid etc etc... Put the image in the "H" folder, with dimensions 150x150. The other folders don't seem to be used by the game. Edited November 15, 2024 by Iceman Quote Share this post Link to post Share on other sites More sharing options...
YouravaragebrazilianAoCfan 293 Posted November 24, 2024 On 11/7/2024 at 9:18 AM, justiamtgm said: Is there any way to create immortal leader for a country? Would Be useful to add religious figures Quote Share this post Link to post Share on other sites More sharing options...
SuperGion915 113 Posted December 26, 2024 On 9/20/2024 at 6:25 PM, Łukasz Jakowski said: Age of History 3 - How to add Real Leaders/Rulers/Kings ####################################### ## Read: mods_steam_workshop.txt ! ## ## To create a new mod for submission to the Steam Workshop, first create a new folder for your mod within the 'mods' directory. ## Then, copy or recreate all the modified files into that folder! ## ## For example, if a file was originally located in game/ExampleFile.json, ## it should be placed in mods/YourModName/game/ExampleFile.json in your mod's folder. ## ##### ## This guide explains how to add a ruler to the game Go to: game/rulers/ Inside this folder, you will find multiple .json files, each representing rulers for a specific civilization. For example: game/rulers/afg.json contains rulers for Afghanistan. game/rulers/atr.json contains rulers for Austria. game/rulers/rus.json contains rulers for Russia. ## Locate Civilization tags for your scenario: To find the list of civilization tags in a specific scenario, go to: map/THE_MAP/scenarios/THE_SCENARIO/Data.json ## Find all Civilization tags and their names: Look in the file: game/languages/civilizations/Bundle.properties Find the entry for Belgium. Its tag will be: bel ####################################################### Example, Adding a Ruler for Belgium in World War II From Bundle.properties, we know the Civilization tag for Belgium is: bel If the file bel.json does not exist, create it, or copy any existing file from the game/rulers/ directory and rename it. If the file does exist, open it for editing. ####################################################### Example Structure of Ruler File For a Single Ruler: { Rulers: [ { Name: "Philippe of Belgium", ImageID: 45, BornDay: 15, BornMonth: 4, BornYear: 1960, ReignYear: 2013, }, ], Age_of_History: Rulers } ####################################################### Example, For Multiple Rulers: { Rulers: [ { Name: "Hubert Pierlot", ImageID: Pierlot, BornDay: 22, BornMonth: 2, BornYear: 1883, ReignYear: 1934, }, { Name: "Philippe of Belgium", ImageID: 45, BornDay: 15, BornMonth: 4, BornYear: 1960, ReignYear: 2013, }, ], Age_of_History: Rulers } ####################################################### Important Guidelines Order by ReignYear: Rulers must be listed in ascending order of ReignYear, starting from the earliest year to the latest. ## Key Attributes: BornYear: 1883, ReignYear: 2013, ImageID: Pierlot, #################### ## The year of birth must be set accurately, or the ruler will not appear in the game (they cannot be too old or rule before their birth). ## The ReignYear represents the year at which the ruler takes control of the Civilization. ## Unique ImageID: If the ImageID is Pierlot, the corresponding image file should be named Pierlot.png Each ruler must have a unique ImageID. ## Ruler Image Specifications: The ruler's image should be 150x150 pixels. Save the image in: game/rulers/rulersImages/H/ Optionally, larger images can be stored in: game/rulers/rulersImages/XH/ game/rulers/rulersImages/XXH/ This process will ensure that Belgium has a ruler in the game for the World War II scenario, and the rulers are correctly formatted and sorted. OMG!!! This is just what I wanted, Thanks a lot, now I will add a bunch of leaders for each scenario, tysm!!! Quote Share this post Link to post Share on other sites More sharing options...
Synyos2032 24 Posted January 5, 2025 On 9/21/2024 at 2:25 AM, Łukasz Jakowski said: Age of History 3 - How to add Real Leaders/Rulers/Kings ####################################### ## Read: mods_steam_workshop.txt ! ## ## To create a new mod for submission to the Steam Workshop, first create a new folder for your mod within the 'mods' directory. ## Then, copy or recreate all the modified files into that folder! ## ## For example, if a file was originally located in game/ExampleFile.json, ## it should be placed in mods/YourModName/game/ExampleFile.json in your mod's folder. ## ##### ## This guide explains how to add a ruler to the game Go to: game/rulers/ Inside this folder, you will find multiple .json files, each representing rulers for a specific civilization. For example: game/rulers/afg.json contains rulers for Afghanistan. game/rulers/atr.json contains rulers for Austria. game/rulers/rus.json contains rulers for Russia. ## Locate Civilization tags for your scenario: To find the list of civilization tags in a specific scenario, go to: map/THE_MAP/scenarios/THE_SCENARIO/Data.json ## Find all Civilization tags and their names: Look in the file: game/languages/civilizations/Bundle.properties Find the entry for Belgium. Its tag will be: bel ####################################################### Example, Adding a Ruler for Belgium in World War II From Bundle.properties, we know the Civilization tag for Belgium is: bel If the file bel.json does not exist, create it, or copy any existing file from the game/rulers/ directory and rename it. If the file does exist, open it for editing. ####################################################### Example Structure of Ruler File For a Single Ruler: { Rulers: [ { Name: "Philippe of Belgium", ImageID: 45, BornDay: 15, BornMonth: 4, BornYear: 1960, ReignYear: 2013, }, ], Age_of_History: Rulers } ####################################################### Example, For Multiple Rulers: { Rulers: [ { Name: "Hubert Pierlot", ImageID: Pierlot, BornDay: 22, BornMonth: 2, BornYear: 1883, ReignYear: 1934, }, { Name: "Philippe of Belgium", ImageID: 45, BornDay: 15, BornMonth: 4, BornYear: 1960, ReignYear: 2013, }, ], Age_of_History: Rulers } ####################################################### Important Guidelines Order by ReignYear: Rulers must be listed in ascending order of ReignYear, starting from the earliest year to the latest. ## Key Attributes: BornYear: 1883, ReignYear: 2013, ImageID: Pierlot, #################### ## The year of birth must be set accurately, or the ruler will not appear in the game (they cannot be too old or rule before their birth). ## The ReignYear represents the year at which the ruler takes control of the Civilization. ## Unique ImageID: If the ImageID is Pierlot, the corresponding image file should be named Pierlot.png Each ruler must have a unique ImageID. ## Ruler Image Specifications: The ruler's image should be 150x150 pixels. Save the image in: game/rulers/rulersImages/H/ Optionally, larger images can be stored in: game/rulers/rulersImages/XH/ game/rulers/rulersImages/XXH/ This process will ensure that Belgium has a ruler in the game for the World War II scenario, and the rulers are correctly formatted and sorted. Hi Lukasz, tell me how to solve it with Rulers when they reach 99 years old, only the number increases and we stay the same, and tell him which file to modify in the game so that they no longer stagnate at 99 years old. Tell him how to change a ruler, for example, so that in 2040 a leader appears in the list of rulers without changing random names for certain civilizations, for example. Quote Share this post Link to post Share on other sites More sharing options...