.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 October 24th, 2004, 11:19 AM
puffyn's Avatar

puffyn puffyn is offline
Sergeant
 
Join Date: May 2004
Location: Massachusetts, USA
Posts: 232
Thanks: 0
Thanked 0 Times in 0 Posts
puffyn is on a distinguished road
Default Re: Armageddon was held in Zemike

I second that. Very neat battle, but my computer simply didn't have the power to run it at an acceptable speed.

I think the problem is with the spell-casters. I imagine that the spell-casting AI evaluates _all_ its choices every turn. With essentially everything researched this took about 10-15 seconds for each mage on my machine (1.5 GHz with only 512 MB of RAM); an acceptable delay for battles involving a sensible number of mages, but it's simply painful with hundreds of them involved. Fast-forward helps the graphic animations go more quickly, but doesn't help this spell-casting-decision bottleneck.
__________________
The Council of Wyrms – it's not just the law, it's a good idea.
Reply With Quote
  #2  
Old October 24th, 2004, 12:15 PM
Cainehill's Avatar

Cainehill Cainehill is offline
Lieutenant General
 
Join Date: Mar 2004
Location: Albuquerque New Mexico
Posts: 2,997
Thanks: 0
Thanked 0 Times in 0 Posts
Cainehill is on a distinguished road
Default Re: Armageddon was held in Zemike

Quote:
puffyn said:
I second that. Very neat battle, but my computer simply didn't have the power to run it at an acceptable speed.

I think the problem is with the spell-casters. I imagine that the spell-casting AI evaluates _all_ its choices every turn. With essentially everything researched this took about 10-15 seconds for each mage on my machine (1.5 GHz with only 512 MB of RAM); an acceptable delay for battles involving a sensible number of mages, but it's simply painful with hundreds of them involved. Fast-forward helps the graphic animations go more quickly, but doesn't help this spell-casting-decision bottleneck.
Those decisions are made on the host computer when the turn is run - it shouldn't be anything to do with AI that's making it slow to watch in the battle replay.
__________________
Wormwood and wine, and the bitter taste of ashes.
Reply With Quote
  #3  
Old October 24th, 2004, 12:24 PM
Truper's Avatar

Truper Truper is offline
Second Lieutenant
 
Join Date: Sep 2003
Posts: 566
Thanks: 0
Thanked 0 Times in 0 Posts
Truper is on a distinguished road
Default Re: Armageddon was held in Zemike

I think those decisions are made on the client machine when a battle is watched. As I understand it, the host passes the starting state of a battle and a random seed to the client (as well as the battle's result). If you want to watch it, the client has to duplicate the decision-making process so it can display the results. Otherwise the host would have to pass all the events of a battle to the client, down to the Last sword thrust, resulting in really huge turn files.
Reply With Quote
  #4  
Old October 24th, 2004, 01:22 PM
PhilD's Avatar

PhilD PhilD is offline
First Lieutenant
 
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
PhilD is on a distinguished road
Default Re: Armageddon was held in Zemike

Quote:
Truper said:
I think those decisions are made on the client machine when a battle is watched. As I understand it, the host passes the starting state of a battle and a random seed to the client (as well as the battle's result). If you want to watch it, the client has to duplicate the decision-making process so it can display the results. Otherwise the host would have to pass all the events of a battle to the client, down to the Last sword thrust, resulting in really huge turn files.
I suppose you're right about the facts, though it would certainly be possible to have the turn file contain the result of all choices in a battle that were the result of a long decision-making process (it might require integrating several different "threads" in the random number generator, and other adjustments, but it would make it possible to include a real tough AI decision process in the turn generation, without either making the turn files huger or slowing down the battle replays).
Reply With Quote
  #5  
Old October 24th, 2004, 03:25 PM
Cainehill's Avatar

Cainehill Cainehill is offline
Lieutenant General
 
Join Date: Mar 2004
Location: Albuquerque New Mexico
Posts: 2,997
Thanks: 0
Thanked 0 Times in 0 Posts
Cainehill is on a distinguished road
Default Re: Armageddon was held in Zemike


Well, I looked at the battle and while there was some small amount of slowdown at times, it never got over 1 second a spell. I've no hotrod machine either, albeit 768 megs of ram and an NForce2 motherboard meaning fast memory access.

Also, given the way the computer casts spells once past the script, I hardly think it's dedicating any CPU cycles to something you could consider "AI". I mean - casting spells at the militia that won't get there for 3 turns, as opposed to the heavy cavalry that arrives in 1, for instance, or casting spells that not only kill bodyguards and other friendly forces, but the spell caster himself when there were better (less costly in fatigue, doing more damage to the foe) spells to be cast.
__________________
Wormwood and wine, and the bitter taste of ashes.
Reply With Quote
  #6  
Old October 24th, 2004, 05:52 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: Armageddon was held in Zemike

Very impressive battle.
I didn't watch the full of it though because it ran very slowly on my old machine

Truth is it might be a good idea to save a batch of turn files from some "famous" games.
This way new players can learn from the best.
Reply With Quote
Reply

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 09:55 AM.


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