攻城AI修复

攻城AI修复

这是一个包含限制无限围城、改进攻城战以及让弓箭手射击后蹲下等功能的模组。此外,防守方的重生点将移至内堡前方。

Defender AI Tweaks

  • Combat Logic Overhaul: To minimize situations where defending archers are killed without fighting properly while moving to the walls, they will now switch to a charging state once a certain percentage of enemies breach the inner walls.
  • Respawn Update: From the second respawn wave onward, troops will now spawn at the retreat point in front of the keep.
  • Additional Cover Generation: Spawns destructible cover at siege tower connection points and inside destroyed wall breaches. This provides standby defenders with some protection against ranged attacks. (Note: As these are generated via code, cover objects may occasionally overlap or face awkward angles.)
  • Capture Severely Wounded: A feature that allows defenders to take severely wounded besiegers as prisoners during the battle.
  • Wounded Archer Replacement: Archers with less HP are swapped out for fresh archers with 100% HP.
  • Catapults and Fire Catapults: You can now set their targeting priorities.

Attacker AI Tweaks

  • Gate Attack Support: If the battering ram is destroyed, attackers will no longer stand idle and will instead continue to manually break down the gate.
  • Casualty-Based Retreat: A configurable option that forces the attacking force to retreat from the battlefield once their casualties reach a specific percentage.
  • Casualty-Based Disbandment: A configurable option that automatically disbands the attacking army on the world map based on the casualty rate suffered during a siege.
  • Cohesion Loss on Failure: Custom settings to adjust how much Cohesion an AI army loses after a failed siege.
  • Maximum Failure Threshold: Allows you to set a hard limit on consecutive siege failures before an army is forced to disband on the world map.
  • Ladder Generation: Ladders will now spawn if a siege tower is destroyed before reaching the wall.

Archer Tweaks

  • Archers will now briefly crouch after firing an arrow. This feature is designed to slightly improve the survivability of archers stationed on the walls.

Other Settings

  • Deployment Phase: Includes options to prevent the deployment phase from being skipped under any circumstances