Map Database  •  FAQ  •  RSS  •  Login

Table of Production

<<

Bo_

User avatar

Knight

Posts: 538

Joined: 26 Apr 2012, 17:18

KaM Skill Level: Beginner

Location: Belgium

Post 17 Oct 2012, 15:10

Table of Production

Hi all,

I did some tests about all buildings to see how to make a perfectly balanced town, for this I made a table that shows the production speed of each building. :)
How did I calculate it?
I made each building running for 3 hours. (Except coal mine, gets depleted after 1 hour.)
Then I simply divided the the amount of wares they produced/ consumed by the time they were prudcing/consuming. (So mostly 180.)
It's pretty accurate, the only problem is the time they've spended at the inn, since you don't have an inn next to each building.
For woodcutters it may also not be too accurate since for them it depends mostly on how much you have of them, and on how much space, but I'll look for the optimus later.
For wine I used 9 tiles and for farms 15.

So here you have it:
Image

This can help you calculate how much farms you need for leather, horses and to have the same production for the amount of wooden weapons.
Or how heavy you can have your iron production with x amount of iron mines, how much food you need etc.

So that's pretty much it, good luck with it. :)
Last edited by Bo_ on 13 Sep 2021, 14:12, edited 2 times in total.
Reason: Fixed image
Kick fast, think Bo.
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 17 Oct 2012, 17:36

Re: Table of Production

Here's the table I have measured in KaM Remake for AI balancing:
  Code:
TResourceType = ( rt_Trunk, rt_Stone, rt_Wood, rt_IronOre, rt_GoldOre, rt_Coal, rt_Steel, rt_Gold, rt_Wine, rt_Corn, rt_Bread, rt_Flour, rt_Leather, rt_Sausages, rt_Pig, rt_Skin, rt_Shield, rt_MetalShield, rt_Armor, rt_MetalArmor, rt_Axe, rt_Sword, rt_Pike, rt_Hallebard, rt_Bow, rt_Arbalet, rt_Horse, rt_Fish); //How many of resource gets produced per minute on AVERAGE //Measured on a test map RES_COUNT / TIME ProductionRate: array [WARE_MIN..WARE_MAX] of Single = ( 88/120, 414/120, 390/120, 160/120, 160/120, 155/120, 218/120, 330/120, 120/120, 138/120, 336/120, 162/120, 324/120, 510/120, 84/180, 84/180, 190/120, 155/120, 170/120, 155/120, 200/120, 195/120, 195/120, 195/120, 200/120, 190/120, 69/120, 122/120);
Apart from few small deviations it looks like our test results are very alike :)

P.S. Sorry I didn't had time to present the values better, just copy=pasted the sections from code.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

Bo_

User avatar

Knight

Posts: 538

Joined: 26 Apr 2012, 17:18

KaM Skill Level: Beginner

Location: Belgium

Post 17 Oct 2012, 17:45

Re: Table of Production

Good, they should be. ;)
Still your table is quite complicated IMO. :D
Kick fast, think Bo.
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 17 Oct 2012, 17:49

Re: Table of Production

Interesting. Useful to know that you need 2 armory workshops per tannery for optimal weapon production (and one or two more if you want shields as well). Iron values are a bit of a surprise as well, I thought iron mine and iron smelter would be equally fast or perhaps the iron mine would be faster, but it seems the smelter is spending his time quite efficiently. :)
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 17 Oct 2012, 17:50

Re: Table of Production

Most of the runs were 2 hours, but Swine required 3hours for better precision.

P.S. AI uses these values to compute how many of something he has producing, then it computes demand and resulting balance, according to which selects what to build :)
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

Bo_

User avatar

Knight

Posts: 538

Joined: 26 Apr 2012, 17:18

KaM Skill Level: Beginner

Location: Belgium

Post 17 Oct 2012, 17:59

Re: Table of Production

I was most surprised by wine, look at how poor the production, butcher is 5 times faster.
I think it's most useful when you want to manage you amount of farms.
So for 2 mills, 5 pigfarms and 1 stable you need:
(2. 1,38 + 5.1,80 + 2,39)1,12 = 12,5 so 13 farms.
Kick fast, think Bo.
<<

Bo_

User avatar

Knight

Posts: 538

Joined: 26 Apr 2012, 17:18

KaM Skill Level: Beginner

Location: Belgium

Post 17 Oct 2012, 18:01

Re: Table of Production

Most of the runs were 2 hours, but Swine required 3hours for better precision.

P.S. AI uses these values to compute how many of something he has producing, then it computes demand and resulting balance, according to which selects what to build :)
Yes after 1 hour swine farm and stables had an average consumption of 5/unit.
The question now is, do they need 4 or 5 corn?
You rarely get a game where your swine farms will be running for 3 hours.
Kick fast, think Bo.
<<

sado1

User avatar

Council Member

Posts: 1430

Joined: 21 May 2012, 19:13

KaM Skill Level: Skilled

Post 17 Oct 2012, 20:59

Re: Table of Production

Interesting. Useful to know that you need 2 armory workshops per tannery for optimal weapon production (and one or two more if you want shields as well). Iron values are a bit of a surprise as well, I thought iron mine and iron smelter would be equally fast or perhaps the iron mine would be faster, but it seems the smelter is spending his time quite efficiently. :)
That's something I (and I think everyone else? or not?) have realised or at least felt subconsciously. I always make 2 armory workshops per tannery (unless too few swines) and have 3 iron mines per 2 iron smelters, or 4 per 3 if enough mines available.
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 17 Oct 2012, 21:17

Re: Table of Production

Well same here, but I didn't know it would be exactly x2. And I often build 3 armory workshops because I want shields too. Later I build more swine farms and another tannery, then I have 4-5 armory workshops but by the looks of this I might need 6.
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 18 Oct 2012, 05:08

Re: Table of Production

These tests were made without taking road network into account. Delivery delays and uneven wares flow will slightly reduce overall output.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

tekK

Serf

Posts: 8

Joined: 15 Jan 2012, 11:03

Post 18 Oct 2012, 10:16

Re: Table of Production

It's bad that you need so many farms in the Remake. In most Missions you do not have enough space to build 10 farms. I've played TSK Mission 8 with my brother (he was playing KAM first time) and he has thame oppinion that corns runs out too fast. And because of the space required for more farms we couldnt do anything
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 18 Oct 2012, 10:30

Re: Table of Production

Usually there's enough space for Farms, you just need to plan ahead where to build what, and maybe sometimes wait a little longer before being able to hire "leather" army.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

Bo_

User avatar

Knight

Posts: 538

Joined: 26 Apr 2012, 17:18

KaM Skill Level: Beginner

Location: Belgium

Post 18 Oct 2012, 15:16

Re: Table of Production

When we're talking about optimal production distance won't make a difference, you just have to be sure you have enough serfs. Unless the distance is so big that it takes longer to transport 1 ware to the building than to produce 5/6 wares.
A factor that slightly matters is distance to the inn and kind of food:
When only surviving on bread they will have to travel to the inn twice as much as when having bread and saussiges. A mill that goes to an inn 75 tiles away with saussiges and bread will produce 10% faster than a mill going to a 75 tiles away inn having only wine. I'll try to find the exact formule since I see it makes a little difference. :D
When only having bread, fish and wine they will also spend 50% longer at the inn because they will eat 3 kinds of food, while they would have as much health when not drinking the wine.
Kick fast, think Bo.

Return to “Feedback / Discussion”

Who is online

Users browsing this forum: No registered users and 13 guests