Jump to content
Age of History
Łukasz Jakowski

How to Port a Mod to Age of History 2: Definitive Edition

Recommended Posts

To port a mod to AoH2, here is a list of things to do:

 

Go to the Age of History 2: Definitive Edition game files.

#1. From the folder modsExamples/, place the folder MyOwnMod_Empty/ in mods/ and rename MyOwnMod_Empty/ to your own mod name. For this example we will use MOD_NAME/.

Now that the mod folder is set up, you can start porting the mod.

#2. Place a map folder from map/MAP_NAME/ (in this example "EarthUSGW/") in:
mods/MOD_NAME/map/

#3. Place backgrounds/ from map/backgrounds/ in:
mods/MOD_NAME/backgrounds/

And the map part of the mod is done. The map will be loaded automatically by the game.
In some cases map/data/ might also be needed.

#4. Place Civilizations from game/civilizations/ in:
mods/MOD_NAME/game/civilizations/

#5. If the mod has civs in game/civilizations_editor/ then place them in:
mods/MOD_NAME/game/civilizations_editor/

#6. Place all flags from game/flags/ in:
mods/MOD_NAME/game/flags/

#7. Place all flags from game/flagsH/ in:
mods/MOD_NAME/game/flagsH/

#8. Place all files from game/leaders/ in:
mods/MOD_NAME/game/leaders/

#9. Place all files from game/leadersIMG/ in:
mods/MOD_NAME/game/leadersIMG/

### Governments BEGIN

#10. If the mod has new Governments then place game/Governments.json in:
mods/MOD_NAME/game/Governments.json

#11. Place all government images from UI/icons/crowns/ in:
mods/MOD_NAME/UI/icons/crowns/

#12. Place all government images from UI/H/crowns/ in:
mods/MOD_NAME/UI/interface/H/crowns/

#13. Place all government images from UI/XH/crowns/ in:
mods/MOD_NAME/UI/interface/XH/crowns/

#14. Place all government images from UI/XXH/crowns/ in:
mods/MOD_NAME/UI/interface/XXH/crowns/

#15. Place all government images from UI/XXXH/crowns/ in:
mods/MOD_NAME/UI/interface/XXXH/crowns/

And all governments are done.
### Governments END

#16. Adding translations:

#17. Place the folder languages/ from modsExamples/TranslationModExample/ in:
mods/MOD_NAME/

Then you will have a file for all new translations:
mods/MOD_NAME/languages/Bundle.properties

#18. Open the file as a text file and add all or new texts from:
game/languages/civilizations/Bundle.properties
to:
mods/MOD_NAME/languages/Bundle.properties

This will allow all new Civilizations to be translated in the mod.
You can also use other languages like Bundle_tr.properties, it works the same way.

#19. If the mod has new music then place the music/ folder in:
mods/MOD_NAME/music/

#20. The same thing for sounds/:
Place the sounds/ folder in:
mods/MOD_NAME/sounds/

## NEW MAP ProvinceNamePoints.json
At the end, you need to open the game and change the map to the new map. Load it to 100%, then close the game and open it again to automatically generate the file:
map/MAP_NAME/data/ProvinceNamePoints.json
After that, move the file from:
map/MAP_NAME/data/ProvinceNamePoints.json
To your mod folder:
mods/MOD_NAME/map/MAP_NAME/data/ProvinceNamePoints.json

This generates the province name text positions and only needs to be done once.

That’s all. Never place all files from a mod directly in mods/MOD_NAME/

#21. Now you can create mod logo.png:
mods/MOD_NAME/logo.png
The logo must be below 1 MB.

#22. Then write the mod title, description, and tags for the Steam Workshop in the file:
mods/MOD_NAME/mod.txt

Example:
{
    Name: "USGW Mod",
    Description: "The best mod for the game: USGW Mod",
    
    Tags: [ "Map", "USGW", "Events" ],
    
    ChangeNote: "First release",
}


#23. Submitting a mod to the Steam Workshop:
Open the game → Go to Editor → Steam Workshop → and click the mod name and wait.

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