.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

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
Old April 22nd, 2004, 09:29 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: how can I set up humans vs. AI?

I hadnt realized how tedious that was. I tend to programmine. I do have a program which randomly generates AIs. Maybe if I rewrite it to allow some selection it would be a good idea.

Or some other nice programer. (hint, hint)
__________________
-- 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
  #3  
Old April 23rd, 2004, 05:43 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: how can I set up humans vs. AI?

Maybe another "sum-up" command? #allies_sum or something?

Other option is yet another third-party helper.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 06:32 PM.


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