PDA

View Full Version : SectType.txt


GeorgiaBoy
July 13th, 2007, 12:44 PM
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
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
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
Maybe try 1001 and test the limit? http://forum.shrapnelgames.com/images/smilies/wink.gif

GeorgiaBoy
July 13th, 2007, 04:48 PM
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
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
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
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
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
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.

GeorgiaBoy
July 16th, 2007, 12:12 AM
If anybody is interested, 1001 is fine (more like 1800). 8500 crashes se4.exe...

GB

Fyron
July 16th, 2007, 05:33 AM
Hmm... only 11-13 bits of a variable used (storing up to 2048-8192)? Weird... sure there isn't an error anywhere in the 8500 test?

GeorgiaBoy
July 20th, 2007, 06:02 PM
Fyron,

Thanks for the assist, but I have found a workaround in the file StellarAbilityTypes.txt...

GB