Merry Xmas all!

Merry Xmas all!

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

Moderators: hoijui, Moderators

Post Reply
User avatar
krogothe
AI Developer
Posts: 1050
Joined: 14 Nov 2005, 17:07

Merry Xmas all!

Post by krogothe »

I will still be around but official coding on KAI stops today until the 15-20th january, ill be getting wasted every day till xmas and then ill be abroad till the 5th, where ill need to revise hard for exams for one or two weeks...
This should give you guys plenty of time to increase the distance in the AI race (damn i was getting close to you guys)...
Ill still be around in the forums but development will be paused.

It was only 1 month 1 week ago i found out about spring and decided to make an AI for it (and learn c++ from scratch to do that), and now im fairly confident with day-to-day c++ coding and have a promising AI future ahead, all thanks to you guys! <3 u all :P

(yes that means my metal class v2 wont come out for a month at least!)
User avatar
krogothe
AI Developer
Posts: 1050
Joined: 14 Nov 2005, 17:07

Post by krogothe »

Well since no ones replied, ill add a wishlist as well:
-remove .cheat check for GlobalAIs
-Make it so GetEnemyUnits actually works when using cheats (always crashes, while the IAICallback version always works fine)
-Add server-side control to GroupAIs on-off for ALL groupAIs (or just custom ones)
-Allow the AI to read things like a unit's current HP, direction and speed (can be worked out between 2 updates but thats a waste of cycles since it can be obtained from the engine), projectiles currently flying about etc...
-All developers stop making their AIs until Im back so i dont get too far behind


:) go devs!
Berion
Posts: 33
Joined: 01 Oct 2005, 15:15

Post by Berion »

Merry Xmas or how we say it in Austria 'Sch├â┬Âne Weihnachten!'.

Alexander Meisel (Berion)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

krogothe wrote:Well since no ones replied, ill add a wishlist as well:
-remove .cheat check for GlobalAIs
-Make it so GetEnemyUnits actually works when using cheats (always crashes, while the IAICallback version always works fine)
-Add server-side control to GroupAIs on-off for ALL groupAIs (or just custom ones)
-Allow the AI to read things like a unit's current HP, direction and speed (can be worked out between 2 updates but thats a waste of cycles since it can be obtained from the engine), projectiles currently flying about etc...
-All developers stop making their AIs until Im back so i dont get too far behind


:) go devs!
There is an itnerface function to get a units hp.
You can ask the itnerface for the untis current commands and use that tog et its destination, then feed that into the pathfinding engine and look at the waypoints on that path.
And from what i hear you're already quite ahead of what we would have termed a second release.
User avatar
krogothe
AI Developer
Posts: 1050
Joined: 14 Nov 2005, 17:07

Post by krogothe »

To get a units CURRENT hp? (as in for a particular unit not a unittype?)
As i said it can be worked but takes extra processing not needed since the engine already has those values...

I just think its better to let the AIs have all the information a human can have without needing to calculate it again (the stuff i mentioned is all chewed up in the engine, all it needs is a call to it)...


My AI aint ahead, because all the unit attacking, defending, construction, defence building, builder management, scouting, teamworking (eg defending allies, coordinating attacks), flanking, resource sharing, resource management, radar construction and usage, porcing etc was all coded in about 150 lines, for testing purposes, which is extremely unflexible and unoptimized!
It will be completely replaced by about 6k-12k lines of real code when im back, so technically im behind with just a skeleton while you all have working AIs...
Dont worry about KAI beating even star ranked players on 2v2s with no handicap, number of wins doesnt mean anything when it only runs 100% never crashing on metal maps and only builds vehicles, plus the humans underestimate the AI and slack, thats what happens... NTAI and AAI are still a lot better and more complete...
So yeah im still behind, wait for me instead of being sad and working over xmas (plleeeaasseee)!

merry xmas!
And devs, ill be counting on you lot :P
Post Reply

Return to “AI”