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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old December 2nd, 2003, 10:07 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

Furthermore, I think it is not difficult to make the code check if there is this "old sysem view" information on the computer when you open new turn. If it not found, it is simply not included (and your galaxy view is like it is today). This way you can play when you are travelling and not beside your own computer (so when playing your turn any other that your own computer, you just will not get the "old system" information). Granted, this puts travelling players little different position than those who do not travel, but it is still manageable to play. At the end, Travellers do not get any LESS information than today, others just get little more.
__________________
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
  #2  
Old December 2nd, 2003, 01:33 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:
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...
Not exactly from a hat. I thought what information I see about enemy planets and ships and calculated how much space I need to store that information. Ship names would need a lot of space, at least in some circumstances. 2000 ships with 20 characters names would take 40 kb or less depending what letters are allowed to ship names (how many bits you need per character). I think it's not necessarily to have ship names, class names are enough. And why the damage ships had should be saved? You never see it if you don't have a ships/units with long range scanner in the system.

Quote:

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.
Information you need for a planet:
resource values 3 bytes
population 2 bytes
coordinates 1 byte
owner 1 byte
total 7 bytes

Information you need for a ship (name not included):
class 1 byte (I assume classes are stored somewhere so you need only the ID of the class)
coordinates 1 byte
total 2 bytes

For units the class are replaced by number of the units and the type of the unit (fighter, satellite...)

Then it's saved for every empire every system they have visited but not see at the moment. To go over 5000 ships and 1000 planets you have to see a very large area. And if you see more than 5000 ships and 1000 planets the savegame file are probably some megabytes, so it's not a big deal if it goes over 17 kb / 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
  #3  
Old December 2nd, 2003, 05:10 PM
DavidG's Avatar

DavidG DavidG is offline
Lieutenant Colonel
 
Join Date: Jan 2002
Location: Dundas, Ontario, Canada
Posts: 1,498
Thanks: 0
Thanked 0 Times in 0 Posts
DavidG is on a distinguished road
Default Re: Status of systems not presently seen

Fyron I don't understand why you keep dumping on this idea. It is an excellent idea. Let MM decide if and how it's to be impelmented. It clearly is possible without affecting the transfered file sizes.
__________________
SE4Modder ver 1.76
or for just the EXESE4Modder EXE Ver 1.76
SE4 Mod List
Reply With Quote
  #4  
Old December 2nd, 2003, 10:10 PM
Parasite's Avatar

Parasite Parasite is offline
Second Lieutenant
 
Join Date: Jul 2003
Location: Texas
Posts: 464
Thanks: 0
Thanked 0 Times in 0 Posts
Parasite is on a distinguished road
Default Re: Status of systems not presently seen

Please don't forget the ability to modify that data. You infect a planet with plauge and know it is losing population. You see a fleet of 100 ships then 100 ships appear at the warp point and (hopefully) get destroyed. I would want to remove that old fleet from the information.
__________________
I thought of the sun as a big bright ball of something that produced an intense absence of darkness. Alan Dean Foster No More Crystal Tears
A++SeGdy$+-++Fr?C++++Cst+SfAi--Mm-MpTS---SsROPw++Fq++Nd++++RpG++Mm++Bb
Reply With Quote
  #5  
Old December 2nd, 2003, 11:02 PM
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

Not displaying ship names removes some of the RP aspects of the game, so removing them would be a bad idea. They need to be kept.

Not displaying the damage of ships for these overviews is also a bad idea because that is criticial information. If you saw that ships were damaged, why should you have to forget it? That makes no sense. It is extremely useful information when you have it. Unfortunately in stock SE4, the long range scanners are not very useful. But, there are mods that change that.

The data for ships would be much, much larger than 2 bytes. Quite a few for the name, and then 1 for every single component on the ships, to tell if it is damaged or not.

Also, do not forget the fact that it is entirely possible to see the same ship in a whole bunch of systems as your Last visit, especially if you are being followed by them. Do not forget about the worst case scenarios... they make a huge difference.

Quote:
Originally posted by DavidG:
Fyron I don't understand why you keep dumping on this idea. It is an excellent idea. Let MM decide if and how it's to be impelmented. It clearly is possible without affecting the transfered file sizes.
Please show me where I ever said it was a bad idea or that I did not like the idea. All I have said is that it would increase the size of savegame files by quite a bit. Not in the beginning of the game, but once you start seeing more and more of the map, the extra data to store builds up.

[ December 02, 2003, 21:03: 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
  #6  
Old December 3rd, 2003, 12:26 AM
DavidG's Avatar

DavidG DavidG is offline
Lieutenant Colonel
 
Join Date: Jan 2002
Location: Dundas, Ontario, Canada
Posts: 1,498
Thanks: 0
Thanked 0 Times in 0 Posts
DavidG is on a distinguished road
Default Re: Status of systems not presently seen

Quote:
Originally posted by Imperator Fyron:
Not displaying ship names removes some of the RP aspects of the game, so removing them would be a bad idea. They need to be kept.

Not displaying the damage of ships for these overviews is also a bad idea because that is criticial information. If you saw that ships were damaged, why should you have to forget it? That makes no sense. It is extremely useful information when you have it.
Huh?? So now when that info is totally lacking it is better?? I think Asmala was talking about systems you don't have a current view off wich now show nothing. If you could currently see the system then the all info would be displayed as normal. Systems with an old view could easily just display some basic info.
__________________
SE4Modder ver 1.76
or for just the EXESE4Modder EXE Ver 1.76
SE4 Mod List
Reply With Quote
  #7  
Old December 3rd, 2003, 12:29 AM
DavidG's Avatar

DavidG DavidG is offline
Lieutenant Colonel
 
Join Date: Jan 2002
Location: Dundas, Ontario, Canada
Posts: 1,498
Thanks: 0
Thanked 0 Times in 0 Posts
DavidG is on a distinguished road
Default Re: Status of systems not presently seen

Quote:
Originally posted by Asmala:
nformation you need for a planet:
resource values 3 bytes
population 2 bytes
coordinates 1 byte
owner 1 byte
total 7 bytes
I think you need to shrink your estimate a bit. Surely the resource values are already stored in the game file and are visible if you have explored a system. (coordinates too).
__________________
SE4Modder ver 1.76
or for just the EXESE4Modder EXE Ver 1.76
SE4 Mod List
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 04:20 AM.


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