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 |
|
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
|
|
|
|
|
Race Wizard almost done (but not quite)
By: icebird on Thu, 04 November 2004 08:56
|
|
|
Re: Race Wizard almost done (but not quite)
By: LEit on Thu, 04 November 2004 09:16
|
|
|
Re: Race Wizard almost done (but not quite)
|
|
|
Re: Race Wizard almost done (but not quite)
By: TomT64 on Tue, 09 November 2004 20:24
|
|
|
Re: Race Wizard almost done (but not quite)
|
|
|
Re: Race Wizard almost done (but not quite)
By: ConstB on Tue, 15 March 2005 10:04
|
|
|
Re: Race Wizard almost done (but not quite)
By: LEit on Thu, 16 February 2006 17:18
|
|
|
Re: Race Wizard almost done (but not quite)
By: LEit on Thu, 16 February 2006 17:22
|
|
|
Re: Race Wizard almost done (but not quite)
|
|
|
Re: Race Wizard almost done (but not quite)
By: LEit on Thu, 16 February 2006 21:22
|
|
|
Re: Race Wizard almost done (but not quite)
|
|
|
Re: Race Wizard almost done (but not quite)
By: LEit on Fri, 17 February 2006 10:06
|
|
|
Re: Race Wizard almost done (but not quite)
|
|
|
Re: Race Wizard almost done (but not quite)
By: LEit on Fri, 17 February 2006 16:02
|
|
|
Re: Race Wizard almost done (but not quite)
|
|
|
Re: Race Wizard almost done (but not quite)
By: mazda on Fri, 17 August 2007 11:07
|
|
|
Re: Race Wizard almost done (but not quite)
|
|
|
Re: Race Wizard almost done (but not quite)
By: mazda on Thu, 06 September 2007 07:40
|
|
|
Race Wizard disection
By: mazda on Thu, 06 September 2007 10:02
|
|
|
Race Wizard disection
By: mazda on Fri, 07 September 2007 05:51
|
|
|
Re: Race Wizard disection
By: m.a@stars on Sat, 08 September 2007 14:00
|
|
|
Re: Race Wizard disection
By: mazda on Mon, 10 September 2007 03:25
|
|
|
Re: Race Wizard almost done (but not quite)
By: yartrebo on Wed, 03 October 2007 15:16
|
|
|
Re: Race Wizard almost done (but not quite)
|
|
|
Re: Race Wizard almost done (but not quite)
By: yartrebo on Wed, 03 October 2007 21:26
|
|
|
Re: Race Wizard almost done (but not quite)
|
|
|
Re: Race Wizard almost done (but not quite)
By: ConstB on Sat, 06 October 2007 12:56
|
|
|
Re: Race Wizard almost done (but not quite)
By: yartrebo on Sat, 06 October 2007 14:39
|
|
|
Re: Race Wizard almost done (but not quite)
By: Hilton on Tue, 15 March 2005 12:46
|
|
|
Re: Race Wizard almost done (but not quite)
|
|
|
Re: Race Wizard almost done (but not quite)
By: icebird on Wed, 16 March 2005 11:44
|
|
|
Re: Race Wizard almost done (but not quite)
|
Goto Forum:
Current Time: Mon Apr 29 07:26:45 EDT 2024
|