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

This Month's Specials

Air Assault Task Force- Save $8.00
winSPWW2- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old December 1st, 2003, 04:24 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Status of systems not presently seen

Quote:
Originally posted by Asmala:
quote:
Originally posted by Imperator Fyron:
The reason this was not done is because it would increase the size of some parts of savegame files (some large parts) by 20 fold...
It cannot increase savegame files significantly. Required information is only a few bytes per object. Imagine how many objects you can squeeze, say, to 20 kb?
Yes it can... it would have to store the same data that is present for each system in the galaxy, but for every single turn. Or, it would just store the latest Version of what each empire has seen for each system, which would require up to 20 times as much space for all of that information. It takes more than a few bytes to store all of the information for a system, especially when those systems start getting lots of ships and units and such in them.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #2  
Old December 1st, 2003, 07:24 AM
Karibu's Avatar

Karibu Karibu is offline
Sergeant
 
Join Date: Feb 2003
Location: Finland
Posts: 392
Thanks: 0
Thanked 0 Times in 0 Posts
Karibu is on a distinguished road
Default Re: Status of systems not presently seen

I see the problem now. However, it could be an option to choose when game starts. Like random events.
__________________
If you give a man a fish, he will eat a day;
But if you teach a man to fish, he will buy an ugly hat;
And if you talk about a fish to a starving man, then you're a consultant
Reply With Quote
  #3  
Old December 1st, 2003, 09:39 PM
Asmala's Avatar

Asmala Asmala is offline
Captain
 
Join Date: Nov 2002
Location: Finland
Posts: 864
Thanks: 0
Thanked 0 Times in 0 Posts
Asmala is on a distinguished road
Default Re: Status of systems not presently seen

Quote:
Originally posted by Imperator Fyron:
quote:
Originally posted by Asmala:
quote:
Originally posted by Imperator Fyron:
The reason this was not done is because it would increase the size of some parts of savegame files (some large parts) by 20 fold...
It cannot increase savegame files significantly. Required information is only a few bytes per object. Imagine how many objects you can squeeze, say, to 20 kb?
Yes it can... it would have to store the same data that is present for each system in the galaxy, but for every single turn. Or, it would just store the latest Version of what each empire has seen for each system, which would require up to 20 times as much space for all of that information. It takes more than a few bytes to store all of the information for a system, especially when those systems start getting lots of ships and units and such in them.

It depends what you consider a few bytes. In a big game a few bytes per player is 10-20 kb, I think. And it's quite a lot of information you can put to that.

Perhaps some numbers would help you. Each planet requires 7 bytes and each ship/unit 2 bytes (ship's name not included, it would require too much space). 1000 planets and 5000 ships are quite a lot, isn't it. And it's only 17 kb per player.
__________________
'The surest sign that there is intelligent life elsewhere in the universe is that none of it has tried to contact us.' Calvin and Hobbes
Are you tough enough to be the King of the Hill?
Reply With Quote
  #4  
Old December 2nd, 2003, 12:14 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Status of systems not presently seen

And just were did you get those numbers? A hat, I presume. You have no idea how MM implemented those objects (and neither do I) Ship names must certainly be included, as they can be seen. And all of the data you can see for ships, including damage they have if appropriate. It is a bit more than you would imagine...

17 KB per player... you also have to factor in the fact that every empire has to have data stored for whether all those ships/planets can be seen. And then you have to store 21 different Versions of what is in every single system (and then more if neutral races get created mid-game through intel or events). 1 for the actual data, and one for the Last thing every race saw for that system. It gets much larger than just that 17 KB. Sure, you can have optimizations and have an empty byte storing a bool for unexplored systems. But as soon as they become explored, you have to start adding data whenever stuff is seen.

[ December 01, 2003, 22:14: Message edited by: Imperator Fyron ]
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #5  
Old December 2nd, 2003, 07:55 AM
Kamog's Avatar

Kamog Kamog is offline
Lieutenant General
 
Join Date: Nov 2002
Posts: 2,903
Thanks: 1
Thanked 0 Times in 0 Posts
Kamog is on a distinguished road
Default Re: Status of systems not presently seen

17 kilobytes per player doesn't sound so bad. I wouldn't mind having save game files bigger by 17 x (# of players) kB to get this feature.
Reply With Quote
  #6  
Old December 2nd, 2003, 08:57 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Status of systems not presently seen

17 KB is likely a very small estimate, much smaller than the data necessary would take up...
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #7  
Old December 2nd, 2003, 09:35 AM
minipol's Avatar

minipol minipol is offline
Second Lieutenant
 
Join Date: Jul 2002
Location: Belgium
Posts: 558
Thanks: 0
Thanked 0 Times in 0 Posts
minipol is on a distinguished road
Default Re: Status of systems not presently seen

I would also like that feature. Like it's implemented now, scouts are not very usefull for
reconnaisance if you don't take notes.
And like Karibu said, you can make it an option at the start of a game to include this or not. That way, everybody gets what he wants. This is one of those things that i would really like in SE5.
__________________
A Se++ GdY $++ Fr+ C++++ Csc Sf++ Ai** AuO M MpT MpSk MpFd S--- Ss- RV Pw Fq Nd- Rp- G Mm++ Bb++ Tcp+ L++
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:45 AM.


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