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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Bookmarks


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 03:16 PM.


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