Jump to content
Age of History 3
Łukasz Jakowski

AI Peace Treaty - Order of Actions

Recommended Posts

Wow, it seems that we could make it so that governments could only do AI_PEACE_ORDER: [5], so they'd only get gold whenever they win lol. Can we also make one but unique to leaders or civilizations, with order of priority (basically whose order we will follow first, maybe gov, civs or leaders) that also depends on the year.

Share this post


Link to post
Share on other sites

On 9/2/2024 at 2:51 PM, Łukasz Jakowski said:
0 == TAKE LAND
1 == DEMAND VASSALIZATION
2 == DEMAND SUBJECT TRANSFER
3 == DEMAND RELIGION CONVERSION
4 == DEMAND GOVERNMENT CHANGE
5 == DEMAND GOLD
6 == LIBERATE CIVS
7 == DEMAND WAR REPARATIONS
8 == DEMAND HUMULIATE

Where is "Demand militry access" option? The video shows this option, but I don't see it here @Łukasz Jakowski

Share this post


Link to post
Share on other sites

On 9/2/2024 at 2:51 PM, Łukasz Jakowski said:

AI Peace Treaty Order of Actions

Each type of government has two special orders of actions for handling a peace treaty.

 

## PEACE TREATY -> AI -> ORDER

0 == TAKE LAND
1 == DEMAND VASSALIZATION
2 == DEMAND SUBJECT TRANSFER
3 == DEMAND RELIGION CONVERSION
4 == DEMAND GOVERNMENT CHANGE
5 == DEMAND GOLD
6 == LIBERATE CIVS
7 == DEMAND WAR REPARATIONS
8 == DEMAND HUMULIATE


## EXAMPLE USE:

AI_PEACE_ORDER: [0, 4, 3, 5, 1, 2],
AI_PEACE_ORDER2: [2, 5, 7, 6, 8, 0, 1, 3],


## 75% chance for 'AI_PEACE_ORDER,' 25% chance for 'AI_PEACE_ORDER2.

AI_PEACE_ORDER_CHANCE: 75,
AI_PEACE_ORDER_CHANCE2: 25,

 

AI_PEACE_ORDER: [0, 4, 3, 5, 1, 2],

The AI's order of actions is as follows:

  1. Take land
  2. Demand government change
  3. Demand religious conversion
  4. etc.

 

Example use in Governments.json

Monarchy:

 

Communism will prioritize creating puppets/vassals in a peace treaty.

 

 

Is it possible to create a second code about take land ? This time, it would concern the rank and the government.

1. Cored Provinces (Retake lost Provinces)

2. Cities Rank  (Provinces without Cities, Villages, Minor Cities, Major Cities, Capital Cities)

3. Terrain types (Province value)

 

For example, lower rank civilizations would less likely take capitals.

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