AoE4 Fundamentals

Master the core mechanics that govern every battle in Age of Empires IV

Intro to AoE4: Commander of History

This guide is designed for those who have never played a strategy game before or are new to the world of Age of Empires. We'll put aside complex terminology and focus on the fundamental logic of the game.

1 What is the Goal?

Age of Empires 4 is essentially a high-speed game of chess. Our goal is to manage a small town given to us, grow its economy, and defeat our opponent (or the computer) with the army we build. While doing this, we journey through different eras of history (from the Dark Age to the Imperial Age).

2 The Four Pillars (Resources)

Everything in the game relies on 4 main resources. Managing them is the key to success:

Food Food
Essential for population growth. Used to produce Villagers (workers) and soldiers.
Wood Wood
Used to construct buildings and train soldiers like archers.
Gold Gold
Required for developing technology (advancing ages) and producing powerful specialized units.
Stone Stone
Used for defenses (walls, keeps, towers).

3 The Golden Rule: Rock-Paper-Scissors

In AoE4, there is no "strongest soldier," only the "right soldier." The logic is simple:

Spearmen (Infantry)

Very strong against Cavalry (stops horses).

Spearman
Archers

Picks off Spearmen from a distance.

Archer
Horsemen (Cavalry)

Quickly closes distance to cut down Archers.

Horseman
Tip: Whatever your opponent produces, you must produce its "cure".

4 First Steps: What Should I Do?

Produce Villagers

Your Town Center should never stop working. Continuously produce villagers.
Villagers = Resources.

Produce Villagers
Build Houses

As your population grows, the population indicator will turn yellow or red.
Build Houses immediately to accommodate more units.

Build Houses
Age Up

When resources accumulate (usually 400 Food, 200 Gold), select a Villager to construct a "Landmark".
This advances you to the next Age, unlocking new tech.

Age Up

5 Recommendations for Beginners

  • Start with English: It is the most straightforward and understandable civilization. Easy to defend.
  • Play "Art of War" Tutorials: Found in the main menu, these modes teach you the game in short, focused lessons.
  • Don't Rush: Start by playing against the computer on "Easy" mode to learn the map and buildings.

Cockpit Training: Reading the Screen

Age of Empires 4 User Interface Guide
Swipe to explore the interface

You'll see many buttons and numbers on the game screen. Don't worry, you really only need to keep an eye on 4 main areas.

1. Your Wallet (Bottom Left)

Shows the amount of Food, Wood, Gold, and Stone you can spend.

If a button is "grayed out", you lack resources.

2. Population Counter (Near Resources)

Shows your current unit count and max capacity (e.g., 15/200).

If amber/red, build a House immediately!

3. Command Center (Bottom Right)

Actions available for the selected unit:

  • Villager: Build structures
  • Soldier: Attack/Formation
  • Town Center: Produce Villagers

4. Minimap (Bottom Right)

A bird's-eye view of the world.

  • Black Area: Unexplored territory.
  • Red Dots: Enemies (Danger!)

5. Idle Villager Alarm (Top Left)

If you see a yellow icon of a person holding a stick in the top left, you have a jobless worker.

Click the icon and give them a job immediately!

1. Mouse & Keyboard

"Where do I put my hands?" Simple controls:

  • Left Click
    Select a unit or building.
  • Drag Click
    Box Select multiple units at once.
  • Right Click
    Go / Attack / Work (Move there, attack that, chop that tree).
  • "A" Key
    Attack Move (Vital!)

    "Select soldiers, press 'A', then Left Click on the ground near enemy. They will automatically attack everyone on the way." (Lifesaver!)

2. Panic Button (Garrison)

"Screen flashing red? Villagers dying? Don't panic!"

G Key Seek Shelter

Villagers run to the nearest building & aim arrows!

Seek Shelter
D Key Return to Work

Danger gone? Send everyone back to their jobs.

Return to Work

Victory Conditions: 3 Ways to Win

Defeating the enemy army is not the only path. In Age of Empires 4, there are 3 different doors to victory. Choose whichever suits your style.

1 Landmark Victory (Classic Destruction)

The most common method. If you destroy the enemy's starting Town Center and all the major "Landmarks" they built to age up, the enemy surrenders and you win.

For whom: Those who love to attack.

2 Sacred Victory (Map Control)

There are glowing "Sacred Sites" in specific parts of the map.
How: Reach Age 3 (Castle Age) and send your religious units (Monk/Scholar) to capture these points to start a timer.
Rule: If you hold all sacred sites simultaneously and don't lose them for 10 minutes, you win automatically.

For whom: Those who love map control.
Sacred Site

3 Wonder Victory (Defense & Patience)

The final but most glorious path.
How: When you reach Age 4 (Imperial Age), accumulate massive resources and build a giant monument called a "Wonder".
Rule: The moment you build this, all enemies are notified. If you defend it for 15 minutes without it being destroyed, you win.

For whom: "I can't be bothered attacking, I'll just defend!" (Perfect for turtle players!)

Combat Mechanics

The Damage Formula

Every attack in Age of Empires IV follows a simple but powerful formula that determines how much damage is dealt:

Damage Dealt = Max(1, Base Damage + Bonus Damage - Armor)

Base Damage: The weapon's default attack value (e.g., Archer deals 5 base damage)

Bonus Damage: Extra damage against specific unit types (e.g., Spearman deals +20 vs. Cavalry)

Armor: Reduces incoming damage (Melee or Ranged armor depending on attack type)

Minimum Damage Rule: The max(1,...) expression represents the game's "Mercy Damage" rule. If armor reduces total incoming damage to 0 or below, the game engine forces the attack to deal 1 damage.

Tactical Implication: Against high-armor targets (e.g., fully upgraded Imperial Knights or Elephants), low-damage but high-fire-rate units (e.g., Zhuge Nu) can be unexpectedly effective. While 1 damage seems negligible, 40 Zhuge Nu firing 3 arrows per second (120 DPS) can melt armored units that theoretically "should take no damage". This mathematically explains why units without armor penetration become lethal at critical mass.

Critical Distinction & Strategic Insight

Many players assume that bonus damage penetrates armor (AoE2 mechanic). However, in AoE4, armor is deducted from the total damage.

For example, a Crossbowman has bonus damage against a Heavy Armored unit. If the opponent unit has upgraded its armor, this armor value attempts to absorb both the crossbowman's base damage and the bonus damage. This proves why armor upgrades (Blacksmith upgrades) are vital even for units that "take bonus damage".

The Counter System

Age of Empires IV uses a rock-paper-scissors system where each unit type has natural strengths and weaknesses:

Spearman

Anti-Cavalry Infantry

Strong vs Cavalry

Weak vs Archers

Cavalry

Fast Melee Units

Strong vs Archers

Weak vs Spearmen

Archer

Ranged Attackers

Strong vs Spearmen

Weak vs Cavalry

The Triangle:

Spearmen counter Cavalry (bonus damage) › Cavalry counters Archers (mobility) › Archers counter Spearmen (range advantage)

Unit Type Strong Against Weak Against Note
Spearman Cavalry (Bonus Dmg) Archer, MAA "Bracing" ability nullifies charge damage.
Horseman Archer, Siege Spearman, MAA Torch bonus vs Siege is critical.
Archer Spearman, Light Infantry Horseman, Armored Cost/Efficiency king vs light armor.
MAA (Man-at-Arms) Light Units Crossbow, Knight, Handcannoneer Acts as a "tank" with high armor.
Crossbow Heavy Armor (MAA/Knight) Horseman, Archer Absolute necessity vs armored targets.

Unit Profile Analysis

Updated: Now comparing 5 unit archetypes. Notice the Horseman's extreme mobility vs Archer's range spike.
Click legend items to toggle comparison

Data reflects Castle Age Fully Upgraded (No Uniques)

Armor Classes

Units have two separate armor values that protect against different attack types:

Melee Armor

Reduces damage from close-range attacks

  • • Swords, Spears, Maces
  • • Cavalry charges
  • • Most infantry weapons

Ranged Armor

Reduces damage from projectile attacks

  • • Arrows, Crossbow bolts
  • • Gunpowder weapons

Pro Tip: Heavy units (MaA, Knights) have high ranged armor, making them resistant to standard arrows but vulnerable to Crossbows and Handcannoneers!

The Hidden Mechanic: Armor vs. Resistance

Age of Empires IV uses two distinct defensive systems, and confusing them can cost you the game.

🛡️ Flat Armor

Used by most units (e.g., Knights, Men-at-Arms). It subtracts damage directly.

Damage - Armor = Final Damage (Min 1)

Example: A Knight with 4 Armor takes 6 damage from a 10-damage arrow.

🧪 Ranged Resistance

Used primarily by Siege units (e.g., Mangonels, Rams). It reduces incoming damage by a percentage.

Damage × (1 - Resistance%) = Final Damage

Works regardless of how high the incoming damage is.

The Mangonel Case

A Mangonel has 0 Ranged Armor but 85% Ranged Resistance. An arrow dealing 10 damage doesn't hit for 10; it hits for just 1.5 damage.

This is why siege units are incredibly tanky against archers but melt against melee attacks (where they have 0 resistance).

Siege Tactics: Mobility vs Range

1. Y-Axis (Range): Who shoots first?
Trebuchet (Top) forces the enemy to come to you.
2. X-Axis (Mobility): Can you escape?
Springalds (Right) can kite. Trebs (Left) must be defended.
3. Bubble Size (Cost): Risk Factor
Buying a Bombard (Huge Bubble) is a massive investment/risk compared to a Ram (Tiny Bubble).
Ram Frontline Sponge (Cheap & Fast)
Trebuchet Backline Sniper (Safe & Static)
Springald Mobile Flanker (Anti-Infantry)

Advanced Siege Kinetics & Vulnerability Logic

1. The "Kiting Window" Formula & Wind-down Trap

Looking only at Attack Speed when using siege units is misleading. A siege unit's survival depends on the "Hit-and-Run Window". The following formula calculates the safe duration you can move between shots:

Twindow = Treload - (Twindup + Tturn + Twinddown)
Twindup (Wind-up): Time between the fire command and projectile launch.
Twinddown (Wind-down): Mandatory animation lock where the unit cannot move after firing.

Case Study: Mangonel vs. Springald

Unit Wind-up Wind-down (Risk) Kiting Window Analysis
Mangonel 0.25s 2.50s ~3.50s Critical Risk. The 2.5s "self-stun" after firing makes it impossible to escape charging knights instantly.
Springald 0.25s 0.00s ~2.37s High Mobility. Zero wind-down means it can move immediately after firing. Perfect for kiting infantry.
Tactical Warning: Never dive a Mangonel before it shoots. Wait for the projectile to launch. The moment it fires, it is rooted for 2.5 seconds due to Wind-down mechanics. This is your window to strike.

2. The "Jamming" Phenomena

Siege units are complex state machines. Two specific mechanics can cause them to freeze or lose massive DPS in battle.

A. Kinematic Jamming (Collision)

Siege units have large collision radii (Bombard: ~1.0 tile). In tight formations (Siege Balls):

  • Unit tries to turn to aim at a target.
  • During the turn, its hitbox collides with a friendly unit.
  • The physics engine cancels the turn and forces a "re-pathing" move.
  • Movement resets the Wind-up animation.

Result: 50-60% DPS loss in choke points.

B. Deadzone Jamming (The AI Retreat Loop)

Units with a Minimum Range (e.g., Bombard: 3.75 tiles) are susceptible to an AI logic loop.

  • Enemy Knight enters Minimum Range.
  • Bombard cannot fire. AI issues a generic "Retreat" command.
  • Bombard moves back -> Knight follows -> Bombard moves back.

Result: The unit is "jammed" in a permanent movement loop and never fires.

3. Siege Vulnerability Matrix

Not all siege units are equally survivable. This matrix scores units based on their mechanical exposure to threats.

Unit Setup/Pack Risk Deadzone Risk (Min Range) Kinetic Risk (Turn Speed) Vulnerability Score Role Definition
Trebuchet Extreme (5s Lock) Low (2.0 tile) Low 9/10 Static Structure Destroyer. Must be defended.
Bombard Low (Instant) Extreme (3.75 tile) High (Slow Turn) 8/10 High Value Target. Requires infantry buffer zone.
Mangonel High (2.5s Wind-down) Medium (1.25 tile) Medium 7/10 Area Denial. Vulnerable to "baiting".
Nest of Bees Medium (Channeling) High (3.75 tile) Medium 6/10 Sustained DPS. Vulnerable if salvo is interrupted.
Springald None (Instant) None (No Min Range) Low (Fast Turn) 3/10 Anti-Infantry Penetrator. Highly mobile shotgun.
Setup/Pack Risk Time spent immobilized during animation locks.
Deadzone Risk Likelihood of being trapped in a "Retreat Loop" by melee units.
Kinetic Risk Inability to turn and fire quickly in tight spaces.
Vulnerability Matrix Quantifies mechanical exposure. Score > 7/10 requires dedicated infantry buffer to survive.

4. The Springald Pivot: Anti-Siege No More

Contrary to outdated guides, the Springald is NO LONGER a dedicated Anti-Siege sniper.

Old Role Bonus vs. Siege. Used to snipe Mangonels from afar.
New Role Bonus vs. Melee Infantry (Piercing Projectile).

The Springald now functions like a mobile "Scorpion" (AoE2 reference). It fires a piercing bolt that passes through multiple units.

Target: Line formations of Man-at-Arms, Landsknechts, and Archers.
Avoid: Do not use Springalds to counter Bombards or Trebuchets. Their raw damage is insufficient without the siege bonus. Use Culverins or Horsemen instead.

Torch Mechanics & Siege Damage

The damage type used against buildings and siege weapons is "Torch" damage. This mechanic shows sharp distinctions based on unit type and age.

Villagers

Deal a fixed 10 Torch Damage regardless of the age.

This makes villagers the most effective defense against Early Game (Dark/Feudal) Ram pushes, but their building destruction capacity proportionally decreases in the Imperial Age.

Military Units

Torch damage automatically increases as they age up:

  • Dark Age 10 Dmg
  • Feudal Age 13 Dmg
  • Castle Age 16-17 Dmg
  • Imperial Age 20-21 Dmg

Strategic Tip: The Hard Counter

To destroy enemy siege engines (Mangonels, Bombards), always prefer Cavalry (Horsemen) over infantry. Their high movement speed and bonus torch damage make Light Cavalry the "hard counter" to siege weapons. Infantry struggle to close the gap before being eliminated.

Attack Speed & Movement

Understanding timing and positioning is crucial for winning battles:

Attack Speed (Reload Time)

Every weapon has a reload time (e.g., Archer: 2.0 seconds). Faster weapons deal more DPS but may have lower base damage. Upgrades like "Siege Engineering" can reduce reload times.

Kiting

Ranged units can "kite" by attacking, then moving away before the enemy reaches them. This is especially effective against slow melee units. Micromanagement is key!

Cumulative Damage: Standing vs Kiting

Charge Attacks

Cavalry units deal bonus damage on their first hit after moving. This "charge" mechanic rewards aggressive positioning and hit-and-run tactics.

Wind-up & Animation Canceling

Damage isn't instant. Every unit has a "Wind-up" animation frame. If you issue a move command too early (before the projectile launches), you cancel the attack and deal 0 damage.

Mechanic: Crossbows have a faster wind-up animation than Hand Cannoneers. This makes them much easier to "micro" in hit-and-run (kiting) battles.

Physics Engine: Hitbox, Collision & Pathfinding

Age of Empires IV uses a strict physics engine where units cannot pass through each other (with specific exceptions). This makes "Hitbox" management critical.

Hitbox & Body Blocking

Every unit has a cylindrical hitbox. Friendly units can push each other, while enemy units block each other.

The "Siege Box" & Jamming

Siege units (Mangonels, Rams) have rectangular hitboxes wider than their visual models. Smart players use the "Jamming" technique: A fast Scout or Horseman moving into the minimum range of an enemy Mangonel and using the "Stop" command can physically prevent it from turning and firing.

The Snaring Myth

Units do NOT slow down when hit (No Snare mechanism). However, melee attacks require physical contact. A hidden stat called "Weapon Range" (approx 0.29 tiles) allows units like Spearmen to land hits without perfectly overlapping, but kiting remains highly effective.

Formations & Movement Logic

Movement Rules

Units move at the speed of the slowest unit in the group. Be careful when mixing Siege engines with Cavalry!

Tip: Units will catch up to their formation slot with a temporary speed boost if they fall behind.

Line Formation

Spreads units wide (1-2 deep).

  • Prevents ranged "Overkill" waste.
  • Counters Springald pass-through.
  • Good for flanking/surrounding.
Staggered Formation

Increases spacing between units.

  • Mangonel Counter.
  • Mitigates all AoE damage.
Wedge Formation

Pyramid shape. Niche use. No gameplay bonus for cavalry despite historical accuracy.

Column Formation

Ships Only. 2-wide column. Best for maximizing broadside cannon fire while sailing past targets.

Formation Priority (Front to Back)

1. Scouts & Heavy Cav › 2. Light Cav › 3. Spears › 4. Heavy Inf (MaA) › 5. Handcannoneers › 6. Zhuge Nu › 7. Archers › 8. Siege & Monks

*Note: Longbows stand behind most units. Camel Archers stand at the very back despite short range.

Vision, Stealth & Elevation

High Ground Myth vs Reality

Myth: High ground grants bonus damage/armor (AoE2 style).
Fact: It provides NO stat bonuses. It is purely about Vision & Fog of War.

Uphill › Downhill

Normal vision range. You see them.

Downhill › Uphill

Fog of War. You CANNOT see them unless you have a scout on top.

Tactical Implication: "First Strike"

Archers on a hill can shoot down at enemies who cannot return fire because they lack vision. The enemy must "face-check" (walk up) or use a Scout/Tower to illuminate the hill.

Stealth Forests

Units inside are invisible to the outside.

Counter: Place Scouts on "Stand Ground" inside forests or use the "Scouting Falcon" ability to break stealth.

Construction & Logistics Math

Construction Speed Math & Diminishing Returns

Although the construction mechanic in Age of Empires IV is intuitively based on the logic of "more workers, faster work", this speed increase does not follow a linear graph. The game engine limits the contribution of each added worker with a specific coefficient. In this section, the basic formula determining the construction time and its derivatives will be examined.

Standard Construction Formula and Derivation

The construction time formula, valid for all standard civilizations (English, French, Abbasid, etc.), is as follows:

t(N) = (3 × T_base) / (2 + N)
t(N) Actual time required to complete the building with N villagers (seconds).
T_base Base construction time shown in the tooltip for a single villager (e.g., 15s for House, 60s for TC).
N Number of villagers assigned to construction.

Examining the mathematical structure of this formula, the denominator (2 + N) draws attention. This expression determines the marginal contribution of each villager added to the system to the total labor force. If the construction speed were linear, the formula would be t = T_base / N. However, the Essence Engine harmonizes the process by using a constant "2" value in the denominator and a "3" multiplier in the numerator.

Formula Verification

For a single villager (N=1): t(1) = (3 × T) / (2 + 1) = T. Result matches exactly with in-game tooltip.
For two villagers (N=2): t(2) = (3 × T) / (2 + 2) = 0.75 × T. Critical Finding: Two villagers complete the building in 75% of the base time, not half (50%). Adding the second villager shortened the time by 25%. This is a serious efficiency drop compared to the 100% contribution provided by the first villager.

Construction Speed (S) and Efficiency Analysis

Focusing on the concept of "Speed" (S) rather than time allows us to understand the law of diminishing returns more clearly. Speed is the inverse of time (S = 1/t).

S(N) ? N/3 + 2/3

This signifies: Each added villager contributes to the construction process not with the power of "one full villager", but with the power of "one third of a villager" (0.33).

• 1st Villager: Contributes 1.00 unit speed (thanks to constants in the formula).
• 2nd Villager: Contributes 0.33 unit speed.
• 3rd Villager: Contributes 0.33 unit speed.
• 100th Villager: Contributes 0.33 unit speed.

Common Misconception: Diminishing returns applies to the effect on total time, not the added speed (marginal speed). Although speed increases linearly (each worker adds +0.33 speed), the decrease in time slows down hyperbolically because the total amount of work is constant.

Efficiency Table and Golden Ratio

Table below showing performance change depending on villager number for a building with 60s base construction time (e.g., Town Center or Keep).

Villagers (N) Formula Multiplier Actual Time (s) Time Saved Total Efficiency Loss
1 1.000 60.00 - 0%
2 0.750 45.00 15.00s 25.0%
3 0.600 36.00 9.00s 40.0%
4 0.500 30.00 6.00s 50.0%
5 0.428 25.71 4.29s 57.2%
8 0.300 18.00 2.25s 70.0%
10 0.250 15.00 1.50s 75.0%
20 0.136 8.18 ~0.30s 86.4%
Strategic Takeaway

The sharpest breaking point in the efficiency curve is at N=4. With 4 villagers, construction time is exactly halved (50%). Each villager added after 4 shortens the time by less than 5 seconds.

Most pro players use:
• 1 Villager: Economic buildings (Mill, Mining Camp)
• 2-3 Villagers: Production buildings (Barracks, Archery Range)
• 8-10 Villagers: Keeps or Town Centers

Going beyond 8 villagers is mathematically inefficient except for extreme "panic" scenarios. Going from 8 to 20 only saves 10 seconds but costs massive idle time for 12 villagers.

Mathematical Foundations of Repair: Diminishing Returns

One of the most fundamental and strategic mechanics in Age of Empires IV is the "Law of Diminishing Returns," based on the principle that each new worker added to a construction or repair task provides less marginal contribution than the previous one. This mechanism balances the game's "time" resource; otherwise, with enough villagers, construction or repairs could be completed instantly, rendering siege strategies ineffective.

Basic Formulation and Derivation

A hyperbolic function is used to calculate construction and repair times, which is identical to the Standard Construction Formula mentioned above. Based on the base operation time (T) of a single villager, the time (t) for the action with (N) villagers is expressed by the formula:

t = (3 × T) / (2 + N)

This formula forms the mathematical skeleton of the system called "Multi-Worker Penalty". Analyzing the formula yields these key deductions:

  • Weight of the First Villager: When N=1, the denominator becomes 3, cancelling out the numerator. This confirms t=T for a single villager.
  • Asymptotic Behavior: As N approaches infinity, time approaches 0, but the rate of decrease diminishes at each step.
  • The Fallacy of Constant Efficiency: Adding villager increases total speed but decreases "yield per villager".

Efficiency Table (Base Time T = 100s)

Villagers (N) Formula Actual Time (s) Speedup Marginal Gain (s) Efficiency/Vil (%)
1 300/3 100.00 1.00x - 100%
2 300/4 75.00 1.33x 25.00 66.7%
3 300/5 60.00 1.67x 15.00 55.6%
4 300/6 50.00 2.00x 10.00 50.0%
5 300/7 42.86 2.33x 7.14 46.7%
10 300/12 25.00 4.00x 2.27 40.0%
20 300/22 13.64 7.33x Low 36.7%

Critical Breaking Point (N=2)

Adding the second villager reduces the operation time by only 25%, not 50% (from 100s to 75s). Half of the second villager's potential labor is lost as "inefficiency".

4th Villager Threshold

With the 4th villager, speed multiplier becomes 2.00x. Meaning 4 villagers can theoretically only do the work of 2. Efficiency drops to 50%.

"Panic Repair" Inefficiency

Assigning 20-30 villagers to save a Landmark is a massive resource waste. Going from 10 to 20 villagers shortens time by only 11.3s, but idling 10 extra villagers costs far more in lost resources.

Economic Cost Analysis: Wood, Stone, and Opportunity Cost

Repairing creates two distinct cost items for the player:

  • Direct Resource Cost: Raw materials spent on the repair itself.
  • Opportunity Cost: Resources not gathered by the villager during the repair time.

Direct Resource Cost Formulas

Buildings (Wood/Stone)

General Rule: Repairing a building from 1% to 100% HP costs 50% of its initial construction cost.

  • Wood Cost Rate: ~1 Wood / 1.125s per villager.
  • HP/Resource Ratio: ~22.5 HP repaired per 1 Wood. This makes repair "cheaper" than rebuilding, but time complicates the equation.
Stone Structures (Towers & Walls)

Repairing stone structures consumes Stone, the map's most limited resource. Spending 400 Stone to repair a Keep (800 Stone total) is 400 Stone taken away from a potential second Keep or Town Center (TC).

Landmark Keeps: The "Damage Sponge" Advantage

Some Landmarks functionally serve as Keeps—such as the English Berkshire Palace or the HRE Elzbach Palace. These have massive HP and attack power.

Tactical Advantage: Even though they function as stone castles, their repair cost is based on WOOD. This makes them significantly safer to place on the frontline; a player can sustain these structures using only wood, preserving precious stone reserves for other fortifications.

Opportunity Cost Case Study

Scenario: A player repairs a Keep (5000 HP) under attack with 10 Villagers for 30 seconds.

Direct Cost (Stone)
~400 Stone (For ~2000 HP repaired)
Opportunity Cost (Lost Income)
10 vils × 0.5 min × 45 res/min
= 225 Resources
Total Economic Burden: 625 Resource Equivalent

Conclusion: Repair isn't just spending stone. Those 10 villagers could have gathered 225 food/gold. Adding the 10th villager adds minimal repair speed (diminishing returns) but full linear opportunity cost, significantly increasing the "Cost per Repair Rate".

Trebuchet vs. Keep Math

Calculating the repair power needed to defend a Keep (5000 HP):

Trebuchet Damage

~450-500 Damage / 12.5s fire rate = ~40 DPS (Damage Per Second).

Required Repair

To neutralize one Trebuchet, you need 40 HP/s repair rate.

As we recall from the table, 1 villager repairs 25 HP/s.

• 1 Trebuchet (40 DPS): 2 Villagers (36 HP/s) are not enough; damage accumulates. 3 Villagers (45 HP/s) can completely neutralize it.

• 2 Trebuchets (80 DPS): The defender needs 10+ Villagers (due to diminishing returns, reaching 80 HP/s is very hard).

The Economic Collapse Threshold

At this point, a cost of 100+ Wood per minute emerges, and the defense collapses economically. This mathematical threshold is the game's main tool for encouraging active army usage instead of "turtling".

The Trebuchet Standoff

Consider a scenario where an attacker is sieging a Keep with 3 Trebuchets. The Keep takes significant damage with every volley.

The Decision: Should the defender repair?

  • If the Keep protects a critical Gold Mine or a choke point and is successfully stalling the enemy army, repair is logical.
  • However, since repair costs Stone, the defender is essentially trading a non-renewable resource for Time. The attacker only spends time (as long as Trebuchets aren't destroyed).
Pro Insight: Professional players often choose to abandon a Keep or fight in front of it rather than "feeding" it stone if they cannot provide a counter-siege. Sinking stone into a "dead investment" can delay Imperial Age techs or Wonder construction.

"Keep Drop" Analysis

Dropping a Keep right in front of the enemy base is a high-risk, high-reward strategy.

  • ? The Risk: The Keep will face intense fire during and immediately after construction.
  • ? Repair Logic: If this Keep cuts off the enemy's trade route or farm transition, every unit of stone spent on repair is amortized by the economic damage dealt to the opponent. However, if the Keep is in an irrelevant location, repairing it weakens your own home defense for no gain.

Civilization-Specific Exceptions & Special Mechanics

The asymmetric nature of Age of Empires IV sets it apart from other RTS games, and this is clearly visible in repair mechanics. Some civilizations have the ability to stretch or completely bypass the general rules mentioned above.

Holy Roman Empire (HRE) & Order of the Dragon

Emergency Repairs

These civilizations possess arguably the biggest advantage in defense economy.

  • Mechanic: If a building is within the influence of a Town Center or Elzbach Palace, the "Emergency Repairs" ability can be activated.
  • Cost: ZERO RESOURCES. Only a cooldown.
  • Effect: The building self-repairs at a massive rate (~150 HP/s) without needing villagers.

Strategy: HRE players build Keeps adjacent to TCs to absorb Trebuchet fire for free. This is the foundation of the HRE "turtling" strategy; while the enemy spends stone/time, HRE responds with free repairs.

Chinese & Zhu Xi's Legacy

Extra Materials

Chinese civilization has a technology that automates wall repair.

  • Mechanic: Researched in Castle Age, Keeps and Towers automatically repair nearby damaged walls.
  • Cost: ZERO RESOURCES.
  • Rate: 20 HP/second.

Strategic Value: Simulating the "Great Wall", this prevents spending stone/villagers on constant wall maintenance. Attackers must use high-burst damage (Bombards) to break through; attrition tactics fail against China.

English

Defensive Bonus

While not having a direct repair cost discount, English defensive bonuses provide indirect economic advantages.

  • Network of Castles: Increases attack speed of units near Keeps, allowing them to destroy siege engines faster = less damage taken = less repair cost.
  • Berkshire Palace: As mentioned, repairing this Landmark costs Wood instead of Stone, allowing for a formidable late-game defense without stone constraints.

Strategic Takeaway: "Repair or Rebuild?" Decision Matrix

In light of data, players should use the following matrix:

Building Type

  • Landmark: If critical for game survival (Town Center, Wonder), repair at all costs. Ignore diminishing returns and assign maximum villagers (10-15).
  • Production Building (Barracks/Stable): If HP is below 20% and wood stock is high, rebuilding might be more efficient than repairing (considering opportunity cost & villager walking time).
  • Siege Engine: Do NOT repair during combat (inefficient and risky). Pull back and repair with 2-3 villagers in a safe zone. Unlike buildings, the repair of siege engines is closer to the principle of linear scaling.

Optimal Villager Counts

1-2 Efficiency Focused Economy Priority
3-4 Speed/Yield Balance Speed 2x, Efficiency 50%
8+ Emergency Landmark/Wonder Defense Only