.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

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old June 19th, 2002, 07:55 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: How the game selects planets

I would guess that discrepancy is simply due to the small size of your sample. If you did several maps of each, the average would porbably be closer to what you were expecting to see, assuming you calculated the one sixth numnber correctly. I didn't try to check that one.
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #3  
Old June 19th, 2002, 07:58 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: How the game selects planets

Did you take into account the calls that are specifically for a gas giant, instead of Any?
Reply With Quote
  #4  
Old June 19th, 2002, 10:45 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 Re: How the game selects planets

There are no calls for gas giants specifically in systemtypes.txt
Reply With Quote
  #5  
Old June 19th, 2002, 10:56 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: How the game selects planets

No, I think what SJ was thinking about was the specific calls for Huge planets.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #6  
Old June 20th, 2002, 01:10 AM

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 Re: How the game selects planets

hmm... that is true, I haven't noticed that before... *sighs* well then that experiment was tainted too, but it might atleast explain why it wasn't closer to the expected number... so I'm pretty convinced by the theory...

The big question is if anybody cares? and if anyone actually want a planet/system mod...

I might try to get some time in the next few days to atleast summary what planned changes I would come with, and maybe get some input then...

EDIT: wohoo, finally someone rated me

[ June 20, 2002, 00:11: Message edited by: AeoN2 ]
Reply With Quote
Reply

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 07:09 PM.


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