View Single Post
  #1  
Old June 19th, 2002, 07:36 PM

AeoN2 AeoN2 is offline
Corporal
 
Join Date: May 2002
Location: Norway
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
AeoN2 is on a distinguished road
Default How the game selects planets

I have just finished a small experiment (which is similar to one i did earlier in one of my Posts)

To find out how the game selects planets I first created a large-grid game, omniscient, all systems seen, with no other opponents (which had the interesting by-effect of being my quickest game ever, winning before the game started )

Then I counted the number of systems which had planets (78 systems) and counted the number of huge gas giants in the game (90 total).

Then I went into secttype.txt and removed all but one huge gas giant of each atmosphere (each has 6 different in the secttype file) and started an identically made game.

When I counted the results were 70 systems with planets, and only 20 huge gas giants total.

What this implies is that when the game is asked to produce a Any/Any/Any planet in systemtypes.txt, it apparantly selects a random planet from secttype.txt that matches its criteria.

However, there is another statistical anomaly here, because the drop of the huge gas giants were only about one-fourth (when calculating for the number of systems), and not one-sixth as would be expected... That might just be coincidence though...

This means we can make mods that increase number of ice worlds (to make ice more usable)...

The best would ofcourse being able to read the source or let the author tell us how the routine works so we could know it in detail...

--
AeoN2
--
Shirley's Law:
Most people deserve each other.
Reply With Quote