Jump to content
Age of History 3
Łukasz Jakowski

Age of History 3 - How to add Real Leaders/Rulers/Kings

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

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 by Iceman

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Our picks

    • Age of History 3 - October 23rd, 2024 - Official release date
      Age of History 3 - Official release date

       

      Steam: October 23rd, 2024

      Android: When it's ready

      iOS: When it's ready

      Epic: When it's ready

       
    • Campaign: Small Scenarios
      In this topic, share your ideas for Campaign scenarios.

      These scenarios focus on a small part of the map, with the rest designated as wasteland.

       

      For example, a scenario of the Reconquista in 1054, where gameplay takes place only on the Iberian Peninsula.

      What are your ideas for small historical scenarios?

       


       
    • Events - Common events for every civilization in the game
      Hi,
      in this topic, I am interested in your ideas for events that can happen for every Civilization in the game.
      I'm also interested in Missions for every Civilization.

      Here is some example, have more than 10k army, have more than 5000 gold, build 10 buildings, recruit an Advisor, increase tax efficiency 20 times, be largest  producer of some resource in the world, unlock 5 Civilization legacies etc.
      • 196 replies
    • First preview of the Alpha version of Age of History 3
      First preview of the Alpha version of Age of History 3, YouTube.
      Release date: When it's ready 😛 Subscribe for more!



       





       
    • Land units - Ideas AoH3
      AoH3 will have different types of land units.

      In this topic we will write ideas for new land units. 

       

      So the AoH 3 will have new battle system.


      Representation of the battlefield in the game.


      Land units will be grouped into 3 types. Each unit will have a different recruitment cost, attack, defense, movement speed and upkeep.

      Groups determine the placement of units on the battlefield.


       

      Each unit can be unlocked by researching technology and then upgraded.

       

      Here is the current list of units with upgrades:

      First line:

      Warrior -> Light Footmen -> Heavy Infantry -> Infantry -> Line Infantry -> Modern Infantry

      Hoplites -> Spearmen -> Pikeman -> Elite Pikeman -> Musketeer -> Riflemen -> Mechanized Infantry -> Modern Mechanized Infantry

      First line side:

      Horseman -> Elite Horseman -> Cavalry -> Tank -> Modern Tank

      Second line:

      Archer -> Bowmen -> Crossbowman -> Elite Crossbowman

      Canon -> Field Cannon -> Artillery -> Modern Artillery

      Early Airplane -> Airplane -> Modern Airplane

       

      This is a very early version, so maybe something should be changed?

      Or maybe an idea for a new type of unit with upgrades? I'm waiting for your suggestions.

       
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games