AI Modding in AoE4?

I read a comment saying that it’s not possible in AoE4. Is it possible to Mod the Aoe4 AI and has anyone looked at anything resembling an AI script for it?

You can, sort of. The AI model moving and fighting players is not modifiable. The whole AI system is hidden away on a lower level. But you can issue a lot of commands to the AI factions using .scar files.

So with that in mind, you can definitely create your own AI from scratch. The AI would run within the scripting engine. My game modes do this (Castle Kings and Regicide), they have new AI mechanics that are tacked-on and “fight” over control of the unit from the unmodifiable AI.


Is there any way for scar files to work in a tuning pack?

1 Like

I also want to know this