Łukasz Jakowski 13,363 Posted September 28, 2024 Age of History 3 - How to add Government game/_FAQ/Governments.txt ####################################### ## 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. ## ##### File containing all Governments in the game: game/Governments.json For your mod the path will be: mods/YOUR_MOD_NAME/game/Governments.json Example code for a single Government: Use the code from Governments.json as it may be outdated. ########################################### { Name: "Monarchy", Extra_Tag: "m", GOV_GROUP_ID: 0, RulerTitle: King, RulerRoman: true, KingsImages: true, Color: [255, 194, 36], REQUIRED_TECHNOLOGY: -1, REVOLUTIONISTS: false, TRIBAL: false, STARTING_ARMY: 1.0, AdvisorCost: -0.1, MonthlyLegacy: 0.4, MaxManpower: 2000, AI_EXTRA_AGGRESSIVENESS: 0, AI_PEACE_ORDER_CHANCE: 85, AI_PEACE_ORDER_CHANCE2: 15, AI_PEACE_ORDER: [0, 1, 2, 3, 6, 5, 7, 8, 4], AI_PEACE_ORDER2: [1, 0, 3, 2, 5, 4, 6, 7, 8], AI_BUILD_SCORE: [85, 65, 30, 60, 35, 65, 45, 25, 45, 65, 84, 40, 25, 50, 40, 0], AI_BUILD_INVEST_IN_ECONOMY: 25, AI_BUILD_INCREASE_TAX_EFFICIENCY: 40, AI_BUILD_INCREASE_MANPOWER: 52, AI_BUILD_INCREASE_GROWTH_RATE: 62, AI_BUILD_DEVELOP_INFRASTRUCTURE: 68, AI_BUILD_BUILDING: 100, }, ########################################### Name represents the name of the government. Extra_Tag must be unique within this file! It can consist of one letter, but should not include digits. GOV_GROUP_ID indicates which other governments have close ties. For example, Monarchy and Constitutional Monarchy are in the same group. The group plays an important role in gameplay, as it determines whether civilizations will have positive relations with each other. RulerTitle is the title of the ruler used in the game and can be seen, for example, in the court. RulerRoman: true or false, KingsImages: If set to false, the game will load non-king images. Color: RGB 0-255 REQUIRED_TECHNOLOGY: -1, If set to -1, this type of government doesn't require any technology and will be unlocked at the start of the game. REQUIRED_TECHNOLOGY: 2, This means you need to unlock Technology ID 2 to access this type of government. REVOLUTIONISTS: false, TRIBAL: false, These values are designated for the AI. true or false. ###################### The icon of the government should be named according to the format: gov_'Extra_Tag'.png For example, if: Extra_Tag: m, Then the image for the government will be named: gov_m.png Images with the corresponding name must be placed in the following folders: gfx/government/H/ gfx/government/XH/ gfx/government/XXH/ All size scales are required! ###################### Next are the bonuses. Each government can have between 0 and multiple bonuses. List of all available bonuses: game/_FAQ/Governments_Bonuses.txt AdvisorCost: -0.1, MonthlyLegacy: 0.4, MaxManpower: 2000, ###################### Read: game/_FAQ/Governments_AI_BuildScore.txt game/_FAQ/Governments_Peace_Order.txt Fire Quickly, Wayne23lololh, Hisdoner and 9 others 11 1 Quote Share this post Link to post Share on other sites More sharing options...
YouravaragebrazilianAoCfan 292 Posted September 28, 2024 First and Lots of mods will be created and TECHNOCRACY AND SYNDICALISM CAN BE ADDED! Quote Share this post Link to post Share on other sites More sharing options...
Iceman 295 Posted September 28, 2024 8 minutes ago, Łukasz Jakowski said: Extra_Tag must be unique within this file! It can consist of one letter or more, but should not include digits. More than one letter? That's nice, so it's possible to have more than 26 ideologies (Latin alphabet has 26 letters, and in aoh2 the ideology tag is limit to one letter) Quote Share this post Link to post Share on other sites More sharing options...
Guest Posted September 28, 2024 (edited) 34 minutes ago, Łukasz Jakowski said: Age of History 3 - How to add Government game/_FAQ/Governments.txt ####################################### ## 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. ## ##### File containing all Governments in the game: game/Governments.json For your mod the path will be: mods/YOUR_MOD_NAME/game/Governments.json Example code for a single Government: Use the code from Governments.json as it may be outdated. ########################################### { Name: "Monarchy", Extra_Tag: "m", GOV_GROUP_ID: 0, RulerTitle: King, RulerRoman: true, KingsImages: true, Color: [255, 194, 36], REQUIRED_TECHNOLOGY: -1, REVOLUTIONISTS: false, TRIBAL: false, STARTING_ARMY: 1.0, AdvisorCost: -0.1, MonthlyLegacy: 0.4, MaxManpower: 2000, AI_EXTRA_AGGRESSIVENESS: 0, AI_PEACE_ORDER_CHANCE: 85, AI_PEACE_ORDER_CHANCE2: 15, AI_PEACE_ORDER: [0, 1, 2, 3, 6, 5, 7, 8, 4], AI_PEACE_ORDER2: [1, 0, 3, 2, 5, 4, 6, 7, 8], AI_BUILD_SCORE: [85, 65, 30, 60, 35, 65, 45, 25, 45, 65, 84, 40, 25, 50, 40, 0], AI_BUILD_INVEST_IN_ECONOMY: 25, AI_BUILD_INCREASE_TAX_EFFICIENCY: 40, AI_BUILD_INCREASE_MANPOWER: 52, AI_BUILD_INCREASE_GROWTH_RATE: 62, AI_BUILD_DEVELOP_INFRASTRUCTURE: 68, AI_BUILD_BUILDING: 100, }, ########################################### Name represents the name of the government. Extra_Tag must be unique within this file! It can consist of one letter, but should not include digits. GOV_GROUP_ID indicates which other governments have close ties. For example, Monarchy and Constitutional Monarchy are in the same group. The group plays an important role in gameplay, as it determines whether civilizations will have positive relations with each other. RulerTitle is the title of the ruler used in the game and can be seen, for example, in the court. RulerRoman: true or false, KingsImages: If set to false, the game will load non-king images. Color: RGB 0-255 REQUIRED_TECHNOLOGY: -1, If set to -1, this type of government doesn't require any technology and will be unlocked at the start of the game. REQUIRED_TECHNOLOGY: 2, This means you need to unlock Technology ID 2 to access this type of government. REVOLUTIONISTS: false, TRIBAL: false, These values are designated for the AI. true or false. ###################### The icon of the government should be named according to the format: gov_'Extra_Tag'.png For example, if: Extra_Tag: m, Then the image for the government will be named: gov_m.png Images with the corresponding name must be placed in the following folders: gfx/government/H/ gfx/government/XH/ gfx/government/XXH/ All size scales are required! ###################### Next are the bonuses. Each government can have between 0 and multiple bonuses. List of all available bonuses: game/_FAQ/Governments_Bonuses.txt AdvisorCost: -0.1, MonthlyLegacy: 0.4, MaxManpower: 2000, ###################### Read: game/_FAQ/Governments_AI_BuildScore.txt game/_FAQ/Governments_Peace_Order.txt finally, no more suffering with unicode characters for government tags. im still desiring a way to assign a single flag for many governments without creating too many files. Edited September 28, 2024 by bun_dha4 Quote Share this post Link to post Share on other sites More sharing options...
HaSa 118 Posted September 28, 2024 45 minutes ago, YouravaragebrazilianAoCfan said: First and Lots of mods will be created and TECHNOCRACY AND SYNDICALISM CAN BE ADDED! accelerationism and anarchism can be added also, this is so hype bulbanoof and YouravaragebrazilianAoCfan 2 Quote Share this post Link to post Share on other sites More sharing options...
OwnM3Z0 1,101 Posted September 29, 2024 I will most definitely be adding islamism for my next playthrough and make it OP as hell Das Moss Man and Thee OG Emerald EYE 1 1 Quote Share this post Link to post Share on other sites More sharing options...
YouravaragebrazilianAoCfan 292 Posted September 29, 2024 (edited) 8 hours ago, Iceman said: More than one letter? That's nice, so it's possible to have more than 26 ideologies (Latin alphabet has 26 letters, and in aoh2 the ideology tag is limit to one letter) actually there are 155,063 unique unicode characters so you can have 155,063 unique idelogies in AoH2 uhhh thats alot Edited September 29, 2024 by YouravaragebrazilianAoCfan Wayne23lololh 1 Quote Share this post Link to post Share on other sites More sharing options...
Guest Posted October 27, 2024 Bonuses are really confusing. What I mean is the numbers, if I type 0.5 on something, it appears 50% in-game, but if I do the same on another bonus, it may appear 0.5 or 5%. Can you help with some clarification how the numbers work? Quote Share this post Link to post Share on other sites More sharing options...
YouravaragebrazilianAoCfan 292 Posted November 6, 2024 (edited) Possible ideology tags for your mod абвгдеëжзийклмнопрстуфхцчшщъыьэюяәԝђԃєԑѕіјԛᴫᵸԋԅԇћүһџӕ⋯⋮…bijkvx!@$%^&*()-_=+`~/*';:.y#el that's a small list if when yo u type or paste your government tag from anywhere everything in the line goes down a bit you cant use it. same for flags if there is a space between the character and the _ like _✌️is not a good example a good example is _; as there is no space and the line doesn't shift down when typed NO DUPLICATES IN THIS LIST!!!!!! THERE ARE CYRILIC CHARACTERS IN THE LIST THAT ARE IDENTICAL TO LATIN! Edited November 6, 2024 by YouravaragebrazilianAoCfan Quote Share this post Link to post Share on other sites More sharing options...
Cyclops 1 Posted November 28, 2024 Can someone send the "_FAQ" Folders? Mobile didn't have that Quote Share this post Link to post Share on other sites More sharing options...
Das Moss Man 485 Posted June 20, 2025 ligma Quote Share this post Link to post Share on other sites More sharing options...
Das Moss Man 485 Posted November 9, 2025 how to change government flags? Quote Share this post Link to post Share on other sites More sharing options...
BurgerMan 93 Posted November 11, 2025 Burger Quote Share this post Link to post Share on other sites More sharing options...