66b1 AI Bugs - placeholder? interface?

66b1 AI Bugs - placeholder? interface?

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
daraknor
Posts: 40
Joined: 09 Nov 2005, 09:22

66b1 AI Bugs - placeholder? interface?

Post by daraknor »

Congratulations on a new version, and an AI interface.

Currently the AI seems to build 1 mine and either crash or stand there. It will not even pursue enemies. I assume that this is a placeholder for the actual AI but I did not see this posted in the Changelog.

I would also like any information on the interface itself. I don't do Java programming, but have OO, Functional and Procedural programming language in several languages. I don't want to become a Java developer, but I would like to contribute... perhaps with AI contributions and recommendations.

I am very new to Spring, and was reading through the AI Interface requests after work. Glad to see development!

Is the same AI interface used for definable Unit AI as well as Bot AI?

Daraknor
daraknor
Posts: 40
Joined: 09 Nov 2005, 09:22

Post by daraknor »

Here is where I look silly for not opening up SF.net and CVS first. Only the Net GUI in Java... Did some minor LUA bindings before (which I saw mentioned around) but the topic of Javascript distracted me. yay for C++ and vectorized code. I will try to catch up more tomorrow, sleep tonight.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I dont want to venture into java anymore than you do.

I think the included AI is JCAI 0.22 maybe 0.23 I'll have to check, since zcain is under development, and zaphod hasnt approached me about NTAI.

And definable unti AI behaviour? That would be a ncie addition, but otherwise it's a matter of dealing with Global and Group AI itnerfaces if you want to define that.
daraknor
Posts: 40
Joined: 09 Nov 2005, 09:22

Post by daraknor »

Ideal AI definitions would be:
Per Unit
Per Group
Per Group by Formation (For combat. I could define ancient rome/greek/indian military strategies this way - right now we have the persian strategy for war which is more unit = more better. Alexander the Great defeated a force 15 times his size by simple use of terrain and unit formations. Then he married the opposing Persian king's wife, daughter and mother with consent - they wanted to go. History validates effectiveness. :shock: )
Per Task type
Per Task type by task list - like continously building fusion plants while other units do something else)
Task list by Assessment - We need more energy, lets create a task list and include some units in a group
Assessment comes from either a Global directive AI (the king decides), a reporting method (advisors tell the king), or weighted reporting method (advisors tell the king how important relative to other tasks their needs are)

Right now, there is no king. There is just a recipe and the peasants clamor but they don't know why.
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

I think the included AI is JCAI 0.22 maybe 0.23 I'll have to check, since zcain is under development, and zaphod hasnt approached me about NTAI.
I didn't really use version numbers once it got into the spring download. Maybe we can put in NTAI and AAI as well as these dll's are not really big anyway. However I would suggest you turn down the html logging, because it creates such an enormous amount of data. I had it enabled for one game and it was already 500 mb :shock:
daraknor
Posts: 40
Joined: 09 Nov 2005, 09:22

Post by daraknor »

With the current network code, the only way I know of for both my gf and I to play together in our LAN and her not get mad at me for (yet again) blowing up the metal extractors is to team up vs the computer.

I keep getting general exceptions in the AI, with the AI playing 2v1, 2v2, Core, Arm, etc. I had a skirmish with the computer playing Core in XTA, tried it again with AA, and now all games with an AI crash. Played on 4 different maps for testing: Sparewood, smalldivide, painted desert, mars.

Is there any confirmed working settings I should try to duplicate? I am also going to make a fresh install of Spring for testing.
Post Reply

Return to “AI”