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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old May 13th, 2001, 11:59 AM

jc173 jc173 is offline
Sergeant
 
Join Date: Mar 2001
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
jc173 is on a distinguished road
Default Re: Could someone explain:

Even if all the galaxy data is stored in a database, isn't it still going to be slow? The game engine will have to load up relevant data from disk\database to main memory for the AI's so they can run whatever their various strategy algorithms are.
Reply With Quote
  #2  
Old May 13th, 2001, 02:23 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Could someone explain:

The database will only speed up searching for data and retrieving it.

If your AI is scanning through the list of known planets, deciding where to attack, you still have to look at every one.
That's what is gonna take a long time. When the AI gets star maps from an ancient race, trouble brews.
Reply With Quote
  #3  
Old May 13th, 2001, 06:42 PM
Taqwus's Avatar

Taqwus Taqwus is offline
Major General
 
Join Date: Aug 2000
Location: Mountain View, CA
Posts: 2,162
Thanks: 2
Thanked 4 Times in 4 Posts
Taqwus is on a distinguished road
Default Re: Could someone explain:

It wouldn't necessarily take a full sequential scan for determining attack locations, since the plausible attack range is usually small.

Supplies are a concern, at least until solar collectors or the QR. A fleet *could* be launched beyond resupply range, but it would need to either rendezvous with a supply source along the way (which might be beyond the AI); bring a colonizer to create a resupply colony (which would be a nifty tactic to see it use -- but it would have to defend it well, or risk stranding the fleet); or capture a resupply colony (which takes intel, to figure out where one is, *plus* the WPs and so forth may be a problem).

So if it's limited to resupply range, that's basically a series of range Queries, which won't need to touch many disk pages that only deal with far-away systems -- at least with a decent spatial indexing method.

------------------
-- The thing that goes bump in the night
__________________
Are we insane yet? Are we insane yet? Aiiieeeeee...
Reply With Quote
  #4  
Old May 13th, 2001, 11:22 PM

jc173 jc173 is offline
Sergeant
 
Join Date: Mar 2001
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
jc173 is on a distinguished road
Default Re: Could someone explain:

Wouldn't you have to create a new set of indices or pointers for each race with that method? Unless I'm misunderstanding what you mean by spatial index
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 12:38 AM.


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