Jump to content
Age of History 3
Łukasz Jakowski

Age of History 3 - Steam Workshop (?)

Recommended Posts

Here is how it will work:

 

#############################
##
## Steam Workshop
##
## When reading any file, the game will always prioritize the mods folder followed by subscribed items from the Steam Workshop and finally the game files.
##
##
## You will find all files from this example in the folder: "modsExample" in the game files.
##
##
##
#############################

To create a new mod that can be submitted to the Steam Workshop, create a new folder file for your mod in the "mods" folder.

Inside this folder, place the files in the same folders as they are placed in the game.

Example:

# Step 1

Create a new folder in the "mods" folder in the game files.
Let's name this folder in this example: "MyOwnMod".


# Step 2

In the newly created folder: (Example path: mods/MyOwnMod/)

Create a text file named: mod.txt

## EXAMPLE CODE OF mod.txt file

{
    Name: "Two new Governments",
    Description: "This item will add two new Governments, and two flags.",
    
    Tags: [ "Map", "Government" ],
    
    ChangeNote: "First release",
}

## END OF EXAMPLE CODE OF mod.txt file

Copy it to mod.txt and edit it.

Set a name for your mod that will be visible in the Steam Workshop.

Name: "Your Title of the Mod in the Steam Workshop",

The same with Description and ChangeNote.


## Tags
In your tags, put the categories that your mod fits into


You can use as many tags as you like:
Tags: [ "FIRST_TAG", "SECOND_TAG", "THIRD_TAG" ],
Tags: [ "FIRST_TAG" ],

Example tags:

Tags: [ "Map", "Government" ],
Tags: [ "Scenario" ],
Tags: [ "Mod", "Laws", "Units", "Buildings" ],

# Step 3 - Main mod image: "logo.png"

In the same newly created folder: (Example path: mods/MyOwnMod/)

Place the main image file of the mod, which will be published on the Steam Workshop.

The mod's main image file must be named "logo.png".


# Step 4

We are already configured, now we can place the files that will be part of this mod in this folder.
We will create new governments for the game in this example.

## Basically, you create the file structure of the main game in the mod folder.


The Governments file is located in the path:
Game/Governments.json


So copy this file to the mod folder. Imporatant! : use the same path where you found this file.

mods/MyOwnMod/game/
## The file was in the game folder, so create a game folder inside the mod folder and place the copied file there.

If the "game" folder does not exist in the mod folder, create it. And there place Governments.json

Now when you launch the game, the game will load the Governments.json file from your mod. (Path of the file: mods/MyOwnMod/game/Governments.json)


# Step 5

Let's make some changes to the game!

Open Governments.json as a text file in Notepad.


### EXAMPLE CODE

        {
            Name: "YourGovernmentType",
            Extra_Tag: "k",
            GOV_GROUP_ID: 0,
            
            RulerTitle: King,
            RulerRoman: true,
            KingsImages: true,
            
            Color: [255, 194, 36],
            
            AVAILABLE_SINCE_AGE_ID: 0,
            
            REVOLUTIONISTS: false,
            
            AdvisorCost: -0.05,
            MonthlyLegacy: 0.35,
            MaxManpower: 1000,
        },
        
### EXAMPLE CODE END

You can add new Goverment from example code after any:
"        },"
in the file.


Add new Goveremnt to the file.
Extra_Tag: "k", (The tag should be unique)


To publish your mod to Steam Workshop, open the game, go to editor -> Steam Workshop -> and find your mod folder, click on it to publish.


## Update the mod

To update the mod, follow the same steps.
You can change "ChangeNote" description in mod.txt.

Do not delete the automatically created id.txt file!

 

Share this post


Link to post
Share on other sites

4 hours ago, Łukasz Jakowski said:

它的工作原理如下:

 

#############################
##
## Steam Workshop
##
## When reading any file, the game will always prioritize the mods folder followed by subscribed items from the Steam Workshop and finally the game files.
##
##
## You will find all files from this example in the folder: "modsExample" in the game files.
##
##
##
#############################

To create a new mod that can be submitted to the Steam Workshop, create a new folder file for your mod in the "mods" folder.

Inside this folder, place the files in the same folders as they are placed in the game.

Example:

# Step 1

Create a new folder in the "mods" folder in the game files.
Let's name this folder in this example: "MyOwnMod".


# Step 2

In the newly created folder: (Example path: mods/MyOwnMod/)

Create a text file named: mod.txt

## EXAMPLE CODE OF mod.txt file

{
    Name: "Two new Governments",
    Description: "This item will add two new Governments, and two flags.",
    
    Tags: [ "Map", "Government" ],
    
    ChangeNote: "First release",
}

## END OF EXAMPLE CODE OF mod.txt file

Copy it to mod.txt and edit it.

Set a name for your mod that will be visible in the Steam Workshop.

Name: "Your Title of the Mod in the Steam Workshop",

The same with Description and ChangeNote.


## Tags
In your tags, put the categories that your mod fits into


You can use as many tags as you like:
Tags: [ "FIRST_TAG", "SECOND_TAG", "THIRD_TAG" ],
Tags: [ "FIRST_TAG" ],

Example tags:

Tags: [ "Map", "Government" ],
Tags: [ "Scenario" ],
Tags: [ "Mod", "Laws", "Units", "Buildings" ],

# Step 3 - Main mod image: "logo.png"

In the same newly created folder: (Example path: mods/MyOwnMod/)

Place the main image file of the mod, which will be published on the Steam Workshop.

The mod's main image file must be named "logo.png".


# Step 4

We are already configured, now we can place the files that will be part of this mod in this folder.
We will create new governments for the game in this example.

## Basically, you create the file structure of the main game in the mod folder.


The Governments file is located in the path:
Game/Governments.json


So copy this file to the mod folder. Imporatant! : use the same path where you found this file.

mods/MyOwnMod/game/
## The file was in the game folder, so create a game folder inside the mod folder and place the copied file there.

If the "game" folder does not exist in the mod folder, create it. And there place Governments.json

Now when you launch the game, the game will load the Governments.json file from your mod. (Path of the file: mods/MyOwnMod/game/Governments.json)


# Step 5

Let's make some changes to the game!

Open Governments.json as a text file in Notepad.


### EXAMPLE CODE

        {
            Name: "YourGovernmentType",
            Extra_Tag: "k",
            GOV_GROUP_ID: 0,
            
            RulerTitle: King,
            RulerRoman: true,
            KingsImages: true,
            
            Color: [255, 194, 36],
            
            AVAILABLE_SINCE_AGE_ID: 0,
            
            REVOLUTIONISTS: false,
            
            AdvisorCost: -0.05,
            MonthlyLegacy: 0.35,
            MaxManpower: 1000,
        },
        
### EXAMPLE CODE END

You can add new Goverment from example code after any:
"        },"
in the file.


Add new Goveremnt to the file.
Extra_Tag: "k", (The tag should be unique)


To publish your mod to Steam Workshop, open the game, go to editor -> Steam Workshop -> and find your mod folder, click on it to publish.


## Update the mod

To update the mod, follow the same steps.
You can change "ChangeNote" description in mod.txt.

Do not delete the automatically created id.txt file!

 

What data can mod modify besides the government type? Please give us some json file formats for other data types, such as civilization, province, religion, disease, technology tree...

Share this post


Link to post
Share on other sites

12 hours ago, Łukasz Jakowski said:

Here is how it will work:

 

#############################
##
## Steam Workshop
##
## When reading any file, the game will always prioritize the mods folder followed by subscribed items from the Steam Workshop and finally the game files.
##
##
## You will find all files from this example in the folder: "modsExample" in the game files.
##
##
##
#############################

To create a new mod that can be submitted to the Steam Workshop, create a new folder file for your mod in the "mods" folder.

Inside this folder, place the files in the same folders as they are placed in the game.

Example:

# Step 1

Create a new folder in the "mods" folder in the game files.
Let's name this folder in this example: "MyOwnMod".


# Step 2

In the newly created folder: (Example path: mods/MyOwnMod/)

Create a text file named: mod.txt

## EXAMPLE CODE OF mod.txt file

{
    Name: "Two new Governments",
    Description: "This item will add two new Governments, and two flags.",
    
    Tags: [ "Map", "Government" ],
    
    ChangeNote: "First release",
}

## END OF EXAMPLE CODE OF mod.txt file

Copy it to mod.txt and edit it.

Set a name for your mod that will be visible in the Steam Workshop.

Name: "Your Title of the Mod in the Steam Workshop",

The same with Description and ChangeNote.


## Tags
In your tags, put the categories that your mod fits into


You can use as many tags as you like:
Tags: [ "FIRST_TAG", "SECOND_TAG", "THIRD_TAG" ],
Tags: [ "FIRST_TAG" ],

Example tags:

Tags: [ "Map", "Government" ],
Tags: [ "Scenario" ],
Tags: [ "Mod", "Laws", "Units", "Buildings" ],

# Step 3 - Main mod image: "logo.png"

In the same newly created folder: (Example path: mods/MyOwnMod/)

Place the main image file of the mod, which will be published on the Steam Workshop.

The mod's main image file must be named "logo.png".


# Step 4

We are already configured, now we can place the files that will be part of this mod in this folder.
We will create new governments for the game in this example.

## Basically, you create the file structure of the main game in the mod folder.


The Governments file is located in the path:
Game/Governments.json


So copy this file to the mod folder. Imporatant! : use the same path where you found this file.

mods/MyOwnMod/game/
## The file was in the game folder, so create a game folder inside the mod folder and place the copied file there.

If the "game" folder does not exist in the mod folder, create it. And there place Governments.json

Now when you launch the game, the game will load the Governments.json file from your mod. (Path of the file: mods/MyOwnMod/game/Governments.json)


# Step 5

Let's make some changes to the game!

Open Governments.json as a text file in Notepad.


### EXAMPLE CODE

        {
            Name: "YourGovernmentType",
            Extra_Tag: "k",
            GOV_GROUP_ID: 0,
            
            RulerTitle: King,
            RulerRoman: true,
            KingsImages: true,
            
            Color: [255, 194, 36],
            
            AVAILABLE_SINCE_AGE_ID: 0,
            
            REVOLUTIONISTS: false,
            
            AdvisorCost: -0.05,
            MonthlyLegacy: 0.35,
            MaxManpower: 1000,
        },
        
### EXAMPLE CODE END

You can add new Goverment from example code after any:
"        },"
in the file.


Add new Goveremnt to the file.
Extra_Tag: "k", (The tag should be unique)


To publish your mod to Steam Workshop, open the game, go to editor -> Steam Workshop -> and find your mod folder, click on it to publish.


## Update the mod

To update the mod, follow the same steps.
You can change "ChangeNote" description in mod.txt.

Do not delete the automatically created id.txt file!

 

Will there be a Mod Organiser?

Share this post


Link to post
Share on other sites

21 hours ago, aunitydevteam said:

you can easily use any a p k editor and put/files in edit on android 

easily lol

Share this post


Link to post
Share on other sites

Guest
This topic is now closed to further replies.



  • 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