Jump to content
Age of History 3
Xjento

Coding guide(pc)

Recommended Posts

warning! aoh2 is coded very badly and a slight change can permanently crash your game

 

Welcome to my coding guide

 

 

tools you need : Intelij, jdk, java expirience

 

Let's start setting up. MAKE SURE YOU HAVE THE TOOLS

GpK - Hyde by Coding for the little ones. Here.. | Bloody Europe II | VK

 

 

Now let's start coding

 

edit ai agression

Menu_CreateNewGame_Options_v2

go to line 452 or find a line including this code
Game_Calendar.AI_AGGRESSIVNESS * 100.0f

in that line thee will be a 50 and a 400. The 50 is the minimun agression while 400 is the maximum. Change 50 to 0 and 400 to any number you like but it should be 100 or above

Edited by Xjento

Share this post


Link to post
Share on other sites

7 hours ago, Holy Roman Empire said:

hey how do you decompile the classes of the jar game?

i have shared a guide from bloody europe but you also can use recaf 3.x

Share this post


Link to post
Share on other sites

On 5/28/2024 at 2:21 AM, sanitar4ick said:

Здравствуйте, я видел вашу инструкцию. Подскажите, как справиться с проблемой в теме ниже?

http://www.ageofcivilizationsgame.com/topic/241817-where-is-the-about-file-located/

i'm not sure but chech CFG or any classes related to the main menu/sound 

Share this post


Link to post
Share on other sites

On 7/20/2023 at 12:17 PM, Xjento said:

warning! aoh2 is coded very badly and a slight change can permanently crash your game

 

Welcome to my coding guide

 

 

tools you need : Intelij, jdk, java expirience

 

Let's start setting up. MAKE SURE YOU HAVE THE TOOLS

GpK - Hyde by Coding for the little ones. Here.. | Bloody Europe II | VK

 

 

Now let's start coding

 

edit ai agression

Menu_CreateNewGame_Options_v2

go to line 452 or find a line including this code
Game_Calendar.AI_AGGRESSIVNESS * 100.0f

in that line thee will be a 50 and a 400. The 50 is the minimun agression while 400 is the maximum. Change 50 to 0 and 400 to any number you like but it should be 100 or above

Do you know how to do this on mobile? 

Share this post


Link to post
Share on other sites

15 hours ago, Andry202 said:

hello. i'm the developer and owner of the mod Gilded Era and i was trying to add a new GUI would you help me?

i suppose i could, tough i'm not a profensional coder in aoh2 by any means

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