Pure Spectator Mode 观战模式

If you liked this item, please rate it up on Steam Workshop page.

Author: Qladstone 權鴛石

Last revision: 9 May, 2025 at 14:25 UTC

File size: 162.51 KB

On Steam Workshop

Description:

This mod passes all player units to AI control in battles. So you just sit back and watch the show. With this mod, the recommended battle difficulty is Normal.

Works in sieges as well. Try to have at least one missile and one cavalry unit in the army, otherwise sometimes the AI might have some difficulty figuring out what to do.

Heavily adapting the script from Paperpancake’s AI General: https://steamcommunity.com/sharedfiles/filedetails/?id=2593044076

Known issues:
– Crash to desktop when speeding up game speed while reinforcements are still entering the map (solution: do not fast forward when reinforcements are still pending)
– Crash to desktop when player has no missile units (solution: ensure you always have at least one missile unit in any army)
– During siege assault, units occasionally stuck below the walls not climbing up; this is just a game pathfinding problem. The AI issues order to climb up the wall, but the unit didn’t fully finish climbing up and the AI just keeps waiting. (solution: always take two turns to sap the walls to make a hole during offensive siege or use trebuchets)

Changelog:
– v1.0.0 – 2 May 2025: Initial release
– v1.1.0 – 9 May 2025: Support player reinforcing ally army

安装后战斗中玩家的军队皆归 AI 管理。普通战斗、攻城皆可用。为了 AI 正常运行,玩家务尽确保每个军队中至少有一队弓兵以及一队骑兵。推荐战斗难度为普通。

代码参考特洛伊 Paperpancake’s AI General https://steamcommunity.com/sharedfiles/filedetails/?id=2593044076

存在问题以及解决方式:
– 援军进入战场的同时加快游戏速度,游戏闪退(解:仍有未进入战场的援军时候不加快游戏速度)
– 玩家军队无弓兵时,游戏闪退(解:确保每个军队有至少一队弓兵)
– 攻城时候,军队在城墙底下迟钝,此关于游戏AI,不论玩家或敌方(解:攻城时,挖掘地道或者拥有抛石机)

更新日志:
– v1.0.0 – 2025年5月2日: 初始发布
– v1.1.0 – 2025年5月9日: 支持玩家当援军助盟友