.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   SEIV (http://forum.shrapnelgames.com/forumdisplay.php?f=149)
-   -   SectType.txt (http://forum.shrapnelgames.com/showthread.php?t=35396)

GeorgiaBoy July 13th, 2007 12:44 PM

SectType.txt
 
Does anybody know why this file is limited to 1000 entries??? That may seem like a lot, but the the huge amount of .bmp files for planets, as well as Fyron's Quad Mod, it shrinks quickly...Of course, there does not seem to be a workaround...

GB

Fyron July 13th, 2007 01:49 PM

Re: SectType.txt
 
I don't think its actually limited to 1000 entries. Its more likely to be limited by a power of 2 (eg: you can only have 255 mounts in compenhancement.txt).

GeorgiaBoy July 13th, 2007 03:40 PM

Re: SectType.txt
 
Hi Fyron,

OK, so the theoretical limit may be 255^2??? I tried merging 30925 objects into the file...se4.exe choked.

GB

P.S. I just was in So Cal...wonderful food. The produce quality at all of the restaurants is top notch (yeah, I am a foodie).

Fyron July 13th, 2007 04:38 PM

Re: SectType.txt
 
Maybe try 1001 and test the limit? http://forum.shrapnelgames.com/images/smilies/wink.gif

GeorgiaBoy July 13th, 2007 04:48 PM

Re: SectType.txt
 
Quote:

Imperator Fyron said:
Maybe try 1001 and test the limit? http://forum.shrapnelgames.com/images/smilies/wink.gif

Sounds like great fun http://forum.shrapnelgames.com/images/smilies/yawn.gif. I am busy headbangin' on a different project right now. I was hoping for a quick and easy answer...I guess the world may never know...

GB

Suicide Junkie July 13th, 2007 05:51 PM

Re: SectType.txt
 
Aw, Fy, I expected a better algorithm from you!

Binary search is much better http://forum.shrapnelgames.com/images/smilies/happy.gif
But try 1025 first.

Fyron July 13th, 2007 06:21 PM

Re: SectType.txt
 
Erm... you just need to be above the supposed 1000 limit to test if the limit is valid or not. http://forum.shrapnelgames.com/images/smilies/wink.gif

GeorgiaBoy July 13th, 2007 07:29 PM

Re: SectType.txt
 
Fyron,

True enough, but if 1001 does not work, then I do not have the time to 'hunt and peck' (nor does anyone else, I suspect). If 1001 does work, it will not do me any good...

Thanks yet again for your help Fyron and SJ.

GB

Fyron July 13th, 2007 07:44 PM

Re: SectType.txt
 
Really though, one just needs to check 1001, 16000, 32000, and 65000. These will each be under the next power of 2. Definitely want to generate them with a script. http://forum.shrapnelgames.com/images/smilies/wink.gif Not really sure how you would go about checking that the last items worked... maybe 1000 planet objects, then 1 single star at the end? Then 16000 planets and 1 star.

marhawkman July 14th, 2007 11:46 AM

Re: SectType.txt
 
One thing I did was to create a solar system but give it the Nebula system type. that makes it very easy to pick out of the rest. (well I did that in SEV, not sure about IV) another fun idea is a system that has a juxtaposition of features not found elsewhere. such as having something other than a star as the center of a planetary system.


All times are GMT -4. The time now is 02:16 PM.

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