Topic: Militarysites on mine building places will brake the AI

MarkMcWire
Avatar
Topic Opener
Joined: 2017-02-08, 21:06 UTC+1.0
Posts: 399
Ranking
Tribe Member
Location: Eisenach, Germany
Posted at: 2025-01-26, 14:03 UTC+1.0

I have added a special building for the Europeans, a guardhouse that can be built on mine building places. This makes it easier to conquer mountains and impassable terrain. The reason for this is that there are some fields on the Europe map that you cannot otherwise reach.

But this breaks the AI. If you add the building, the AI ​​no longer builds military sites or only very rarely and no longer expands at all.


Top Quote
JanO
Avatar
Joined: 2015-08-02, 11:56 UTC+2.0
Posts: 179
Ranking
At home in WL-forums
Posted at: 2025-01-27, 11:39 UTC+1.0

Is your mountain-guard-building "mountain-only"? Maybe the AI now tries to build it on non-mountain-terrain, too.


Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 23:16 UTC+1.0
Posts: 2883
Version: always the latest
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2025-01-27, 12:37 UTC+1.0

I think we have to accept, that the AI System will never be able to handle all possible buildings, that can be defined in our lua files.
It is hard enough to make it handle all the features in our officila releases.


Top Quote
MarkMcWire
Avatar
Topic Opener
Joined: 2017-02-08, 21:06 UTC+1.0
Posts: 399
Ranking
Tribe Member
Location: Eisenach, Germany
Posted at: 2025-01-27, 17:28 UTC+1.0

hessenfarmer wrote:

I think we have to accept, that the AI System will never be able to handle all possible buildings, that can be defined in our lua files.
It is hard enough to make it handle all the features in our officila releases.

Its not that important. Its only observation. I have a workarround.

The change to buildings.cc that I proposed on Git would be more urgent and important.


Top Quote
usingUser
Avatar
Joined: 2024-01-19, 19:54 UTC+1.0
Posts: 58
Version: 1.2.1
Ranking
Likes to be here
Posted at: 2025-09-26, 17:31 UTC+2.0

Your addon crashes in my game.


Attachment: image/png
2025-09-26-172445_1280x720_scrot.png

Gerade arbeite ich eher sporadisch an einer Idee für einen neuen Satz Stämme: die Allianz in unterschiedlichen Varianten.

Top Quote
usingUser
Avatar
Joined: 2024-01-19, 19:54 UTC+1.0
Posts: 58
Version: 1.2.1
Ranking
Likes to be here
Posted at: 2025-09-26, 17:32 UTC+2.0

I think you're interested.


Attachment: image/png
2025-09-26-172505_1280x720_scrot.png

Gerade arbeite ich eher sporadisch an einer Idee für einen neuen Satz Stämme: die Allianz in unterschiedlichen Varianten.

Top Quote