View Single Post
  #24  
Old May 10th, 2004, 08:07 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: SUGGESTION: AI troop building algorithm

GalCiv is automatically the one to mention in any conversation about AI. But even Brad said it was years to get it converted to Windows. Id hate to think what it would take for windows, linux, mac-X, solaris. Some of Brads talking-papers on the subject might help.

Plugin AIs are great but any plugin has to have something to plug into with the right connections. It could be swappable modules, or importing player game saves (Brads method), or player scriptable (my personal favorite).

But if I want to say
code:
IF ArmyA<100 and ArmyA(LI)>50 then buy HI

then there needs to be labels for storing army and troop info. It needs to have been written or re-written to have lots and lots of grabbable labels.

But if its linear. Going thru each nation one at a time and just spending their resources.. then I can suggest that "Buy LI, LI, LI, LI" might be better as "Buy LI, LI, HI, Calvary".

Of course I should test it first. Anyone should be able to play a game as an AI. Only buying or building by the formula with no extra.. well OK, I couldnt do that. Not for more than a dozen turns or so. But SOMEONE might be able to.

[ May 10, 2004, 19:08: Message edited by: Gandalf Parker ]
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote