View Single Post
  #7  
Old April 22nd, 2004, 08:48 PM

Gateway103 Gateway103 is offline
Corporal
 
Join Date: Jan 2004
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Gateway103 is on a distinguished road
Default Re: how can I set up humans vs. AI?

3 v.s. 14 needs only 3 + 105 = 108 lines, not 196. But still very tedious ^_^

One problem with changing that is the game parser will need to be modified to read more than 2 numbers for #allied. Depending on how it's implemented right now, it may or may not be easy. If it's "end of line" style, then it'd be easier, but if it expects fix number of entries, that'd be trickier.

Perhaps it can be done this way, "#allied Number {country IDs}" where Number is the number of country ID entries, which tells the parser how many more number to read, as well as how many internal loops to generate for all the possible non-overlapping pairs to be allied.

Of course, I am a poor example of a programming-know-how person, so perhaps there are lot easier ways. Just ignore me then ^_^

Delirious talks...

-Gateway103
Reply With Quote