Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » FreeStars » Race Wizard almost done (but not quite)
Re: Race Wizard almost done (but not quite) Fri, 17 August 2007 11:07 Go to previous messageGo to previous message
mazda is currently offline mazda

 
Lieutenant

Messages: 655
Registered: April 2003
Location: Reading, UK
ConstB wrote on Tue, 15 March 2005 15:04

race algo in c++ can be downloaded from http://constb.5u.com


Has anybody else looked at this yet ?

In essence the habpoints are calculated as follows :-
For each of three terraforming scenarios (0,5,15) the code looks at a selection of habitable planets at that terra level and pretends you have terra'ed up to that value.

It splits each band into 10 chunks (so 11 values) and gets the planetvalue at all 11x11x11 planets.
For each planetvalue it reduces the value for planets further from the centre and then squares the value - so it is biased towards the values of the good, central greens for that terra scheme.

In general the algorithm is biased towards what happens with terra of +/-15 as this will create more, bigger greens that are closer to the centre points.

Note that bands 20 wide or 40 wide still get divided into 10 chunks, so there are no extra planets looked at for wider habs.
In fact narrower habs will do better as they improve faster through terra.
Wider habs use more points because there is a simple multiplication by habwidth/100 for each hab variable.

Also, for some reason, it multiples the total values for each terra scenario by some random constants (7, 5 and 6) before giving a grand total.
This number is divided by 10, and then again by 2000 before multiplying by a growth_rate factor to get RW points.

For races with TT it uses (0,8 and 17) instead of (0,5 and 15) as the available terra.

Now, I can see nothing that takes account of the tapering in Grav and Temp. But we already know the RW ignores that.

Nor can I see anything that would makes a difference from moving a narrow centered band to the left or right a click or two, not until the edges are hit with +/-15.

Not sure I've seen anything that explains the difference between shifting left and right yet either.
You could put it down to rounding, but as the bands are split into 10 chunks there ought not to be any rounding with widths that are multiples of 10 :-s

Am I missing something ?

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Detailed mineral mining table
Next Topic: Just a Clone?
Goto Forum:
  


Current Time: Mon Apr 29 07:26:45 EDT 2024