InFamous-Celtic

Upload your latest creations here.
Please note that by posting comments to posts in this forum you forfeit your personal copyright on whatever you post. AI Scripters reserves the right to re-use objective comments in script reviews without requiring the posting author's permission. Credit, where appropriate will be given in such cases.
User avatar
LightTree
Waheguru
Posts: 1608
Joined: Wed Mar 10, 2010 12:21 am

Re: InFamous-Celtic

Post by LightTree »

A little suggestion: when you release a new version, make a new post so we can be aware more easily of the new update :).

User avatar
Esty
Guru
Posts: 929
Joined: Wed Dec 30, 2015 7:37 am

Re: InFamous-Celtic

Post by Esty »

Hi,
I just tested one game in which infamous had more than 500w in feudal age but he didn't have the number of villagers required to make farms : it stayed with one farm and 22 villagers. He could'nt train a 23th villager which is a condition required, in your code, to start making farms in feudal :

Code: Select all

(defrule
(building-type-count-total archery-range > 0)
(unit-type-count villager > 22)
(building-type-count-total farm < 8) 
(idle-farm-count <= 1)
(can-build farm)
=>
(build farm)
)
And the food gathered from that unique farm was used to make a spearman :( ...
At least, this code isn't good ; those conditions look weird to me. The number of villagers shouldn't be a condition to build farms.
Author of the TRiBaL_Warriors AI and currently PharaoN :dance

Post Reply