Search found 3 matches
- 08 Dec 2014, 04:54
- Forum: AI
- Topic: Determine if unit will make metal from UnitDef
- Replies: 21
- Views: 5286
Re: Determine if unit will make metal from UnitDef
One more item related to this question. I went ahead and added in the code I need for the AI to build metal makers. The question is: how does the metal maker code work for a game that is AI only? I am curious because it looks like my AIs are building metal makers but not getting any of the resultant...
- 12 Nov 2014, 18:31
- Forum: AI
- Topic: Determine if unit will make metal from UnitDef
- Replies: 21
- Views: 5286
Re: Determine if unit will make metal from UnitDef
Thanks for all the responses. I will dig into the BA files to see what I can find. I was hoping to be able to assess the unit capabilities as much from the API as possible. It was working fine for all the other units I was trying on the resource front. @knorke: I believe I was using the correct reso...
- 12 Nov 2014, 04:23
- Forum: AI
- Topic: Determine if unit will make metal from UnitDef
- Replies: 21
- Views: 5286
Determine if unit will make metal from UnitDef
I am working on an AI side project using the Java interface. Nothing too serious yet. I am trying to do as much work as possible using the UnitDefs instead of hard coding. I know I will meet a limit on this, but I wanted to check about units that make metal. For the life of me, I cannot find a metho...