View Full Version : [BUG] resource production calculation
BBegemott
August 25th, 2007, 04:47 PM
See attachment please.
I think resource production is calculated incorrectly.
I would like somebody to confirm this before sending to Malfador.
BBegemott
August 25th, 2007, 04:52 PM
Post deleted by BBegemott
Raapys
August 25th, 2007, 05:02 PM
None of your attachments seem to work, though.
BBegemott
August 25th, 2007, 05:07 PM
Reuploaded, should work now
Fyron
August 25th, 2007, 05:39 PM
Even in SE4, the bonuses didn't all add linearly. Bonuses of one type add linearly (like a culture bonus and a racial trait bonus (and a characteristic in SE4)), but the different types stack multiplicatively.
Its more like:
21000 * (value) * (happiness) * (population) * (racial trait)
21000 * 1.24 * 1.1 * 1.5 * 0.95 = 40817.7
I can't explain why the number is ~500 less though. Weird intermediate rounding? Improperly calculated -5% from the trait?
Q
August 25th, 2007, 05:57 PM
The planet value is directly multiplicated with the production: 21000 x 1.24 = 26040.
Then all modifiers are added together +10%, +50%, -5% which gives +55%.
26040 x 1.55 = 40362
BBegemott
August 25th, 2007, 06:03 PM
I see it now. It is not a bug then http://forum.shrapnelgames.com/images/smilies/happy.gif
Fyron
August 25th, 2007, 06:30 PM
Then things like Robotoids and Mineral Scanners multiply their effects as well.
narf poit chez BOOM
August 25th, 2007, 06:49 PM
Fyron was wrong!
...And no 'Imperator'?
Fyron
August 25th, 2007, 08:56 PM
I did mention that there are some groups of bonuses that add together, then the sum is put in the multiplicative formula... I just wasn't sure which ones off the top of my head. This is the SE4 version (http://wiki.spaceempires.net/index.php/Resource_Production_%28SEIV%29), but its probably the same for SE5...
Total Facility Output = (total facility production)*(planet value)*(population modifier + happiness modifier + racial characteristics)*(planet bonus facility)*(system bonus facility)
vBulletin® v3.8.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.