- Joined
- Nov 30, 2007
- Messages
- 1,202
How to design a AI build order for custom maps? And how to make it "rebuild"?
I'm making a strategy map like Greece and Lords of Europe, but am clueless about how to make a computer expand.
I'm not sure, but lets say it can only have 1 base. Then at intervals of 10 seconds it goes through a list of a building order and build the one with highest priority.
Priority:
1. Granary
2. Barraacks
3. Farm
4. Farm
5. Upgrade
6. ...
How do I make such a list and check if it has such a building?
I'm making a strategy map like Greece and Lords of Europe, but am clueless about how to make a computer expand.
I'm not sure, but lets say it can only have 1 base. Then at intervals of 10 seconds it goes through a list of a building order and build the one with highest priority.
Priority:
1. Granary
2. Barraacks
3. Farm
4. Farm
5. Upgrade
6. ...
How do I make such a list and check if it has such a building?