Shoot the Moon Wrote:I believe there was a detailed discussion of that in my PBEM 8 thread if that helps. I can try to find that (and post some links I have) later tonight.
The definitive link on this particular thing seems to be at CFC: "
Technology Research Explained"
I've put together the start of a C&D workbook if you guys want to use it.
RBDEMO1 C&D Spreadsheet
You have full edit permissions if you have the link.
Tabs:
Starting info
Score - tracking score increases
Tech - tracking tech advances
Demos - capturing the demo screen -
It is setup for 1 time per turn (PBEM), but we may want to try to do this 1 time after each team has played and end turned
GNP - track others tech advances via GNP (known tech bonus)
F8 screen - tracking victory stats
Start Micro - not really C&D related
I do need some help with GNP as my formula doesnt seem to work properly.
The technology cost formula is integrated into the Tech tab and works well.
Code:
Technology Cost = FLOOR (FLOOR (FLOOR (Base Cost * (Difficulty Modifier + 0.5 * # of teammates)) * Map Modifier) * Speed Modifier)
The production formula is listed as:
Code:
Beakers applied to Technology = FLOOR (FLOOR ((Total Base Beakers + 1) * KCwT modifier) * Prerequisites modifier)
with sub formula KCwT (Known Civilizations with Tech):
Code:
Tech Known by Civilizations modifier = 1 + RDDW (0.30 * # known Civs who have the tech / # of Civs who started the game
and with sub formula Prerequisite Modifier:
Code:
Requirements modifier = 1 + (0.2 * MINIMUM Req. met) + (0.2 * # of Optional Prereq. met)
So - I've converted this to the following google spreadsheet formulas
Code:
Total Research =int( int ( (D+E)* (1+round(0.30*O/P,2)) )*(1+M*0.2+N*0.2) )
Calculated GNP = Total Research (J) + F + G + H + I - K
D = Slider Research (base beakers)
E = 1 (if we have a capitol city)
O = Living Known Civilizations who have the tech!
P = # of Civilizations who started the game (5)
M = Mandatory Tech Bonus (0 or 1 - its always 1 for anything past the starting techs)
N = Optional Prerequisite Bonuses (0-2 additional prerequisites researched)
F - city culture
G - slider espionage
H - slider gold ( instead i am using surplus or debit gold that is going into treasury)
I - slider culture # (once we get this value, it will include F i think)
K - expenses
We know all the inputs except for O. Also I think a couple are superfluous (i.e. slider culture is probably going to be included in our culture number, expenses don't matter as we are already taking that into account if just use excess gold as the "slider gold" value.)
So we go in game and put research on each tech and record in game GNP. Then we just plug in different values of O until Calc GNP = Game GNP.
Ok all makes sense in theory, but i think there might be something wrong with my formula. It doesnt always work quite right. For an example, look at line 100 in the spreadsheet above.
i have 16 base beakers + 1 extra beaker, 8 culture and 4 espionage. My total GNP would be 29 without researching anything. When I research writing, my GNP shoots to 36. Unfortunately no integer value of O results in a 36 calc GNP. 1 other civ with the tech calculates to 35. 2 other civs with the tech calculates to 37. So my conversion of the formula is broken or the article quoted above is incorrect. Or I missed something simple
In the sheet there are a couple of variations of the formula - one without the extra int() function because that seemed to work in one case, but turned out broken in others.
The data set arround line 100 has the formula above. Anyone see what I am doing wrong? or does anyone know that website's formula to be incorrect?