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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #38  
Old December 21st, 2003, 03:02 AM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Emissive Armor?

Ok 20 megs in my example (not 2 megs - my goof), but my example was also rather too big. 10,000 ships is off of what really happens in SE4 by a factor of 10 or 20, and 1000 components per ship is also off by another factor of 10 or 20. So, realistically, the most you would generally need would be say ~1000 ships x ~100 components/ship x 2 bytes = 200,000 bytes. A drop in the bucket even of a 32MB RAM computer (about the minimum needed to reasonably run Win95). And, as I mentioned before, damage might be more efficiently stored as a list of partly-damaged components, rather than the partial-damage state of all components.

Also, it would not have to search all of the components to find the right component, because they would be part of the ship data - if a ship is hit, you know which ship it is, and will never have to search the components on other ships to find the right one to damage.

PvK
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 10:12 AM.


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