.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   [BUG] resource production calculation (http://forum.shrapnelgames.com/showthread.php?t=35874)

BBegemott August 25th, 2007 04:47 PM

[BUG] resource production calculation
 
1 Attachment(s)
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

Re: [BUG] resource production calculation *DELETED*
 
Post deleted by BBegemott

Raapys August 25th, 2007 05:02 PM

Re: [BUG] resource production calculation
 
None of your attachments seem to work, though.

BBegemott August 25th, 2007 05:07 PM

Re: [BUG] resource production calculation
 
Reuploaded, should work now

Fyron August 25th, 2007 05:39 PM

Re: [BUG] resource production calculation
 
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

Re: [BUG] resource production calculation
 
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

Re: [BUG] resource production calculation
 
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

Re: [BUG] resource production calculation
 
Then things like Robotoids and Mineral Scanners multiply their effects as well.

narf poit chez BOOM August 25th, 2007 06:49 PM

Re: [BUG] resource production calculation
 
Fyron was wrong!

...And no 'Imperator'?

Fyron August 25th, 2007 08:56 PM

Re: [BUG] resource production calculation
 
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, 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)


All times are GMT -4. The time now is 06:44 AM.

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