Hi everybody,
I want to add a AI system on the AI in me map.. The only thing I want my AI to order is purchasing (if its possible randomly) upgrades.. And the next thing I want them to order is building refinery's on geysers all over the map.. Those are the only 2 things I need to know for programming my AI.. I made some triggers for this..
I looked at the AI Module, but its seems very default and limited to me.. So I checked out the triggers...
I made this:
Event: Map initialiing
Action: start repeating timer
Event: When timer expires
Action:
AI - advanced- Research upgrade x in players 1's town -1 priority 1
AI - advanced- Research upgrade q in players 1's town -1 priority 1
AI - advanced- Research upgrade w in players 1's town -1 priority 1
AI - advanced- Research upgrade y in players 1's town -1 priority 1
etc
etc
many upgrades..
So i think every time the timer expires.. it purchase the first upgrades in the list which it can purchase..
But it doesnt work.. I dont know where that 'Town' parameter stands for..
But do someone know how I can realize programming the AI to research upgrades and making refineries on geyser all over the map??
Still didnt find anything to order my AI to build refineries on geysers which all are all over the map..
Thanks in advance..!!!!
I want to add a AI system on the AI in me map.. The only thing I want my AI to order is purchasing (if its possible randomly) upgrades.. And the next thing I want them to order is building refinery's on geysers all over the map.. Those are the only 2 things I need to know for programming my AI.. I made some triggers for this..
I looked at the AI Module, but its seems very default and limited to me.. So I checked out the triggers...
I made this:
Event: Map initialiing
Action: start repeating timer
Event: When timer expires
Action:
AI - advanced- Research upgrade x in players 1's town -1 priority 1
AI - advanced- Research upgrade q in players 1's town -1 priority 1
AI - advanced- Research upgrade w in players 1's town -1 priority 1
AI - advanced- Research upgrade y in players 1's town -1 priority 1
etc
etc
many upgrades..
So i think every time the timer expires.. it purchase the first upgrades in the list which it can purchase..
But it doesnt work.. I dont know where that 'Town' parameter stands for..
But do someone know how I can realize programming the AI to research upgrades and making refineries on geyser all over the map??
Still didnt find anything to order my AI to build refineries on geysers which all are all over the map..
Thanks in advance..!!!!