QAI Advanced AI Thread
Moderators: hoijui, Moderators
QAI Advanced AI Thread
Welcome to the new QAI Spring AI thread.
QAI will be a comprehensive AI suite, inlcuding unit learning based on a variety of factors, a robust economy management system, and advanced planning and attack routines.
So far, things are in a very prototype stage, and functionality is limited. Current source is V0.03, and DLLs.
Current status:
Overall:
-[Complete-NotTested]Mod independent
-Dynamic unit selection based on current world state
Economy:
-Reliably maintains metal and energy levels.
-Dynamic unit picker up and running for most units.
-Need to add defense buildings to dynamic unit picker.
Building Placement:
-Sector based building placement.
-Base growing as room is needed.
-[Not Started] Defense building selection and placement
-[Not Started] Wall selection and placement (dragon teeth)
Scouting:
-[Complete] Basic scouting, with sector assessment.
-[Not Started] Advanced scouting by any unit in the region.
Attacking:
-[In Progress] Sector based enemy information.
-[In Progress] Skirmish mode (outlying buildings are attacked)
-[In Progress] Selective invasion mode (certain building types attacked, such as factories, mexes, energy plants, constructor units, etc)
QAI will be a comprehensive AI suite, inlcuding unit learning based on a variety of factors, a robust economy management system, and advanced planning and attack routines.
So far, things are in a very prototype stage, and functionality is limited. Current source is V0.03, and DLLs.
Current status:
Overall:
-[Complete-NotTested]Mod independent
-Dynamic unit selection based on current world state
Economy:
-Reliably maintains metal and energy levels.
-Dynamic unit picker up and running for most units.
-Need to add defense buildings to dynamic unit picker.
Building Placement:
-Sector based building placement.
-Base growing as room is needed.
-[Not Started] Defense building selection and placement
-[Not Started] Wall selection and placement (dragon teeth)
Scouting:
-[Complete] Basic scouting, with sector assessment.
-[Not Started] Advanced scouting by any unit in the region.
Attacking:
-[In Progress] Sector based enemy information.
-[In Progress] Skirmish mode (outlying buildings are attacked)
-[In Progress] Selective invasion mode (certain building types attacked, such as factories, mexes, energy plants, constructor units, etc)
Last edited by QMan on 31 Mar 2006, 20:04, edited 7 times in total.
Another question:
How can I get the UnitDef from a UnitDef ID, rather than the standard unit ID assigned from a unit.
I know currently getUnitDef(int id) gets it from the unit id assigned to each new unit, and getUnitDef(string unitName) gets it from a string with the unit name.
Example: I want the UnitDef associated with ID 4, which in XTAPEV4 would be ARMACK.
-QMan
How can I get the UnitDef from a UnitDef ID, rather than the standard unit ID assigned from a unit.
I know currently getUnitDef(int id) gets it from the unit id assigned to each new unit, and getUnitDef(string unitName) gets it from a string with the unit name.
Example: I want the UnitDef associated with ID 4, which in XTAPEV4 would be ARMACK.
-QMan
My goal is to first work out the AI economy (which is nearly done), then focus on defensive building placement (which is just starting), and lastly on scouting/attacking (which I haven't thought about at all yet).
On a side note, is there some special trick to posting a file on FileUniverse? All my attempts to use the "File Upload" buttons brought up a 404 error after submitting the file and no file appearing.
-QMan
On a side note, is there some special trick to posting a file on FileUniverse? All my attempts to use the "File Upload" buttons brought up a 404 error after submitting the file and no file appearing.
-QMan
when the files been uploaded it should be at the top fo the latest files list and in the public section.
Also why you would want to get a untidef based on the unitdef id and not any other means I dunno but soemthing like getting the unitdeflist and then the unitdef would be array[unitdef id]
Anyways Making claims like that sint gonna get you anywhere, and remember what you first plan isnt necessarily the best way fo doing it. Look at TAI to see that, or listen to krogothe as he constantly rewrites his systems in KAI.
That and finally I am happy that Epic will be the first AI that isnt a set fo initials infront of the word AI
KAI
AAI
JCAI
OTAI
ZcAIn
SAI
NTAI
TAI
MyAI
etc.......
Also why you would want to get a untidef based on the unitdef id and not any other means I dunno but soemthing like getting the unitdeflist and then the unitdef would be array[unitdef id]
Anyways Making claims like that sint gonna get you anywhere, and remember what you first plan isnt necessarily the best way fo doing it. Look at TAI to see that, or listen to krogothe as he constantly rewrites his systems in KAI.
That and finally I am happy that Epic will be the first AI that isnt a set fo initials infront of the word AI
KAI
AAI
JCAI
OTAI
ZcAIn
SAI
NTAI
TAI
MyAI
etc.......
I do have a job, in fact. I work as the lead simulations engineer on large project for my company. I've been spending about 4 hours a night working on the code. So far, the code is about 2000 lines long.
Oh, I also finished a bunch of the attacker code last night, but it's still buggy as heck, so I'll probably release that tonight or tomorrow.
As for the Visio thing, check out Microsoft Office Viewers.
Oh, I also finished a bunch of the attacker code last night, but it's still buggy as heck, so I'll probably release that tonight or tomorrow.
As for the Visio thing, check out Microsoft Office Viewers.
Really you should be posting stuff to the world in a worldly format, somethign more than 1% of people can view.
That office viewer stuf only views visio documents made with visio 2002 or older, it wotn open the files in your source downlaods, adn th format is all in binary so i cant flick through in notepad++ and get the jist of it like I can with other xml based formats
That office viewer stuf only views visio documents made with visio 2002 or older, it wotn open the files in your source downlaods, adn th format is all in binary so i cant flick through in notepad++ and get the jist of it like I can with other xml based formats
They were originally for my own reference, but I decided to release them anyway.
Which of these file types would you like (or can you open?):
XML Drawing (.vdx)
GIF Image (.gif)
Visio 2002 File (.vsd)
Scalable Vector Graphics (.svg)
Webpage (.html)
On a side note, does UnitDamaged() get called:
A) MyUnit hits EnemyUnit & EnemyUnit hits MyUnit
or just
B) EnemyUnit hits MyUnit
?
-QMan
Which of these file types would you like (or can you open?):
XML Drawing (.vdx)
GIF Image (.gif)
Visio 2002 File (.vsd)
Scalable Vector Graphics (.svg)
Webpage (.html)
On a side note, does UnitDamaged() get called:
A) MyUnit hits EnemyUnit & EnemyUnit hits MyUnit
or just
B) EnemyUnit hits MyUnit
?
-QMan
Why is it that almost every AI coder starts here with the idea "This is going to be my AI, and it is more advanced and more comprehensive than all your other guys are doing, even though I wrote little code for it already"?
I would say the users and other AI coders who review the algorithms and performance determine whether it is advanced or not: saying it in advance is quite pointless.
We have seen it with AF, krogothe (both have good AIs by now but also changed their attitude towards this), and now QMan...
ofcourse I'm not saying it will not be advanced, but making the claims in advance?
But good luck anyway, another AI is always nice as it can raise competition even further.
I would say the users and other AI coders who review the algorithms and performance determine whether it is advanced or not: saying it in advance is quite pointless.
We have seen it with AF, krogothe (both have good AIs by now but also changed their attitude towards this), and now QMan...
ofcourse I'm not saying it will not be advanced, but making the claims in advance?
But good luck anyway, another AI is always nice as it can raise competition even further.
I never made any claims to the "advancedness" of the other AIs. They are also very advanced by my book. There is no such thing as a simple AI. Hell, each of the three major AIs (NTAI,OTAI,AAI) has surpassed even the original TA AI by leaps and bounds, each with their own unique perspective and algorithms, and they should be commended.
I'm not making any claims that mine is, or will be, any better than anyone else's AI algorithms. Everyone should be proud of what has been accomplished here, as the field of RTS AI is pushing the envelope as we speak (err type ;] ).
I'm in this for fun and to teach myself C++, not for any competitive reaons. If people enjoy what I have written, so much the better. :)
-QMan
PS. Much code has been written :)
I'm not making any claims that mine is, or will be, any better than anyone else's AI algorithms. Everyone should be proud of what has been accomplished here, as the field of RTS AI is pushing the envelope as we speak (err type ;] ).
I'm in this for fun and to teach myself C++, not for any competitive reaons. If people enjoy what I have written, so much the better. :)
-QMan
PS. Much code has been written :)
So, should we call every AI an advanced AI? That would make using "advanced" a bit redundantThere is no such thing as a simple AI.

But I see I incorrectly judged your attitude, so I hereby correct my earlier post :)
However we did in fact had a number of people claiming their AI would be better than anyone elses in advance :)
Ofcourse AF's Epic will actually be better than anything else, everyone knows that *kuch*

