View Single Post
  #5  
Old January 19th, 2004, 08:59 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: calling all (batch file, script, VB, VC) programmers

Quote:
Originally posted by DimmurWyrd:
BTW, making the AI's through the map would be fine with me. Integrating a map randomizer type setup to the launcher wouldn't be much trouble really. If you want to setup (or if you already have setup) algorithms for how to setup the randoms and all that I can incorporate it.

These are the steps basically... (correct me if I'm wrong) make the .map file, copy the .2h file from newlords to the dir then call dom2 with the commandlines for making a new game and -g correct?
Yep sounds good. I wouldnt add the crazy stuff I do quite yet. Here is the basic code I use for random AI opponents...
http://www.techno-mage.com/~dominion/opponents.yab

And here is one of the crazier game generators.
http://www.techno-mage.com/~dominion/Poke_Eye.yab

I think both of them use the original .map file renamed to something like a .txt file so I can always copy it again and again. The originals have all the #neighbor and #terrain commands. I just add my stuff to the end.
__________________
-- 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