.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:46 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.