JCAI source on spring CVS - Page 2

JCAI source on spring CVS

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

Moderators: hoijui, Moderators

User avatar
Min3mat
Posts: 3455
Joined: 17 Nov 2004, 20:19

Post by Min3mat »

lol as alantais underling i've made a cryptic thread :>
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

Unless alantai uncrypts it by reporting about his AI... :wink:
So AF, what can yours do already, one screenshot isn't enough...
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

I've done another bunch of improvements, if anyone is testing it, try brazillian battleground map, it's working quite well on that one (quite well as in the AI functioning quite well, not as in human player playing quite well ;) ).

Here is JCAI 0.20 with a modified spring (0.64 with cvs changes and some other minor things), for all you testing-eager people :wink:
http://www.fileuniverse.com/?p=showitem&ID=1599

Another thing, because it doesn't use the pathfinding to find distances, it plays very bad on water maps or just maps with a few lakes in it. That and it doesn't build water units ;)

You can also just wait for 0.65 or whatever it will be called, I don't think it will be long until that is released.
Last edited by jcnossen on 11 Oct 2005, 12:29, edited 2 times in total.
User avatar
GrOuNd_ZeRo
Posts: 1370
Joined: 30 Apr 2005, 01:10

Post by GrOuNd_ZeRo »

OOooooo..Thank you Zaphod!

-goes off to have some fun with an AI!-
User avatar
Min3mat
Posts: 3455
Joined: 17 Nov 2004, 20:19

Post by Min3mat »

uncrypt? must be alantais crazy way of decrypting something :-)
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

Hehe, you get my point :roll:
IMSabbel
Posts: 747
Joined: 30 Jul 2005, 13:29

Post by IMSabbel »

Looks cool, although not using builders or building defenses seriously limits the ai.
I dont know how spring can be scripted, but would it be possible to save the threatmap automatically every 30ticks or something?
User avatar
Min3mat
Posts: 3455
Joined: 17 Nov 2004, 20:19

Post by Min3mat »

um dude...u see those defenses? u see those cons?
User avatar
GrOuNd_ZeRo
Posts: 1370
Joined: 30 Apr 2005, 01:10

Post by GrOuNd_ZeRo »

I had no luck making an AI for WD, it always complains about the file missing even though it's an exact match to the mod's file name...well, it's rather having problems reading it...

I also had a crash when I blew up a factory I think, I'm not sure, but it was probably due to the fact I shared a con unit with the AI to see what happens lol, I didn't expect the AI to use it and it didn't, but the game might have crashed when I killed it...lol oh well...
IMSabbel
Posts: 747
Joined: 30 Jul 2005, 13:29

Post by IMSabbel »

Min3mat wrote:um dude...u see those defenses? u see those cons?
h3y d000d!!111 U sp34k englisch as l33t as u spell?
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

um dude...u see those defenses? u see those cons?
He was saying he doesn't see them (because they are not supported/working yet). :roll:
I had no luck making an AI for WD, it always complains about the file missing even though it's an exact match to the mod's file name...well, it's rather having problems reading it...
What does it say in the log file?
I also had a crash when I blew up a factory I think, I'm not sure, but it was probably due to the fact I shared a con unit with the AI to see what happens lol, I didn't expect the AI to use it and it didn't, but the game might have crashed when I killed it...lol oh well...
The AI interface doesn't report units being switched to other teams, so indeed it will crash or just not work.
User avatar
GrOuNd_ZeRo
Posts: 1370
Joined: 30 Apr 2005, 01:10

Post by GrOuNd_ZeRo »

I also have to say I had a hard-crash (reboot) when I was trying to play on Sparewood...

I'll post the log file soon.

To my surpise, the AI build a con aircraft! this was on the Pass V2, the com attacked me and it died from stepping on mines and suddenly con planes were roaming all over the place building all sorts of stuff including adv air plants :shock: I was like WTF!
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

To my surpise, the AI build a con aircraft! this was on the Pass V2, the com attacked me and it died from stepping on mines and suddenly con planes were roaming all over the place building all sorts of stuff including adv air plants I was like WTF!
8) well the functionality is implemented, it's just not balanced properly...
It should also take build speed of construction units into account when finding a way to build stuff, right now it just picks the cheapest builder which is an aircraft.
User avatar
Min3mat
Posts: 3455
Joined: 17 Nov 2004, 20:19

Post by Min3mat »

well all i've got to say is cons/defenses work in SOMEBODIES AI
and i'm sorry that i don't say you instead of u
omfg11!!!111 1 I\/I1553D 0UT 2 L3TT3R5 0I\/IFG *K1ll5 53LF*
fuckhead
IMSabbel
Posts: 747
Joined: 30 Jul 2005, 13:29

Post by IMSabbel »

snip
(removed some stuff that inquired about the genetic disposition of min3mat)
/snip

min3mat, you _are_ an idiot, but what exactly did you mean with your very eloquent :
"um dude...u see those defenses? u see those cons?" posting?
If it is a literal question, then my anser is "no". I dont see them.
How does this question and my answer help to push forward this discussion about zaphods ai?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I think min3mat was referring to the screenshot of NTAI showing an AI abse with con units and base defences, the one he posted on fileuniverse yesterday. Really this all should have been kept quiet but min3mat blundered and posted it and I made him censor it, though I expect zaphod saw it.

I'll post the dll and shots and a good description in a new thread in the next 10 minutes ^_^ and suffice to say from my test run of JCAI, they ahve numerous similairites and differences, for example JCAI rushed me at the 10 minute mark then sent thuds etc afterwards immediatly, NTAI sent 10 or so units at once at the same timeframe
User avatar
Min3mat
Posts: 3455
Joined: 17 Nov 2004, 20:19

Post by Min3mat »

As AF said look @ the Keep Quiet topic
fuckhead (still)
i thought ppl interested in the AI would read around, sorry. my post after that is a bit clearer (SOMEONES AI does build cons/defenses)
User avatar
Michilus_nimbus
Posts: 634
Joined: 19 Nov 2004, 20:38

Post by Michilus_nimbus »

So... we've got 2 working AI's now.
Let the AI wars begin!
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

very much so, you'll have to wait till SJ releases if you want to do a JCAI vs NTAI battle, but I must say my AI defences are formidable to any other AI or n00b, wether it can defeat JCAI is one question but wether JCAI cna do anymore than destroy the perimeter then see it be rebuilt and then some everytime....

Although I must admit JCAI is more advanced in how it does what it does.
User avatar
NOiZE
Balanced Annihilation Developer
Posts: 3984
Joined: 28 Apr 2005, 19:29

Post by NOiZE »

It crashes on OTA style maps, and why on earth does it start with a aircraft plant.
Post Reply

Return to “AI”