.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Please help with calculation (http://forum.shrapnelgames.com/showthread.php?t=7471)

Dragon of the void September 26th, 2002 03:51 PM

Please help with calculation
 
I have a problem with the calculation of spaceyard-output and the various factors that influence it:

Let's asume I have several boni on my homeworld:
(rc) racial characteristic
(rb) racial bonus
(pb) population bonus
(hb) happiness bonus
(em) emergency build bonus

So they do not calculate:
2000 * rc * rb * pb * hb * em

And they do not calculate
2000 *(rc+rb+pb+hb+em)

The closest to what is displayed in the game is
2000 *(hb+rb) *(rc+pb+em)

Well, but I am a little bit lost as to why this is so ??

Or is this a problem with my Version only ? (gold with some mods, none affecting production as far as I can tell)

oleg September 26th, 2002 05:36 PM

Re: Please help with calculation
 
What do you mean by racial characteristic and racial bonus ? There are 3 racial factors that influence construction : culture modifier, points you spend in racial characteristic screen and "hardy industrialists" How do you group them ?

dogscoff September 26th, 2002 06:04 PM

Re: Please help with calculation
 
Not sure I fully understand your question, but I can tell you this: The percentage multipliers in SE4 aren't multiplied together as you would mathematically expect percentages to be, but are added. Let's look at combat bonuses (they all work the same)

Suppose you have
50% basic to-hit chance
+20% experience
+20% sensors.
-10% enemy ECM

In this case your chance of hitting would be 50+20+20-10=80% chance of hitting, rather than 50 *120%=60%*120%=72&*90%=65% or anything like that.

Like I say, all percentages in SEIV stack in this manner, including construction rate bonuses.

Hope this helps.

Gryphin September 26th, 2002 06:16 PM

Re: Please help with calculation
 
dogscoff,
Is Range a factor in combat?

oleg September 26th, 2002 06:18 PM

Re: Please help with calculation
 
But, according to Dragon this is not the case for construction rate ! It is like : "The closest to what is displayed in the game is 2000 *(hb+rb) *(rc+pb+em)".

Gandalph September 26th, 2002 06:28 PM

Re: Please help with calculation
 
Dogscoff's calculations are correct, but let's apply this to SY rate.

When you setup your empire you take Hardy Industrialist (+25%) and Engineers (+5%). On your Homeworld, you have 4 billion people (+40%)and they are Happy(+10%). The normal SY rate is 2000.

The formula is 2000 + [(25+5+40+10)* 2000]=3600

I forgot to factor in emergency build which is calculated after other bonuses. In the above scenario, with emergency build on, it would be 3600 * 150% = 5400.

Now the formula stands as;

{2000 + [(rc+rb+pb+hb)*2000]} * eb

[ September 26, 2002, 17:53: Message edited by: Gandalph ]

Gryphin September 26th, 2002 06:53 PM

Re: Please help with calculation
 
Do any of the production bonuses affect Base Space Yards / Ships?

Suicide Junkie September 26th, 2002 07:10 PM

Re: Please help with calculation
 
Happiness, Population, and Hardy Industrialist do not affect space yards, but the rest do.

Slick September 26th, 2002 07:29 PM

Re: Please help with calculation
 
I am pretty sure that population does affect spaceyards construction rate. Proof: check out the "abilities" tab on various planets with different population and settings.txt.

population also affects resource production.

happiness affects resource production.

Slick.

Hotfoot September 26th, 2002 07:34 PM

Re: Please help with calculation
 
Quote:

Originally posted by Slick:
I am pretty sure that population does affect spaceyards construction rate. Proof: check out the "abilities" tab on various planets with different population and settings.txt.
<font size="2" face="Verdana, Helvetica, sans-serif">I'm pretty sure that they meant shipyard components, not planetary shipyards. http://forum.shrapnelgames.com/images/icons/icon12.gif


All times are GMT -4. The time now is 12:09 PM.

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