BattleMaster Community

BattleMaster => BM General Discussion => Topic started by: Eldargard on January 08, 2015, 05:03:28 PM

Title: How the number of knights affects gold earned in a region
Post by: Eldargard on January 08, 2015, 05:03:28 PM
I was reading an argument in another thread about whether a region made more or less money as it gained knights. So I decided to play around a bit using the region one of my characters has as a baseline and the formula's on the wiki page.

Of course, there are better and worse size/efficiency/lords_tax combos available with some being noticeably more profitable than others. I created a script to calculate every combination (16524 combos) of estate size (23%-40%) for one lord with an estate and one knight with an estate for every tax rate from (0%-50%) and found that total gold production for the region could range from 228 to 240 depending on estate sizes and tax rates. For this example I just picked fairly even values that I might imagine a player using.

I have also rounded down in every case so these values will tend to be lower than higher. None of this takes food production into account either.

To start, here is the basic region stats that will stay the same for all examples:

456 Region Gold
14% Tax Rate
70% Region Production


This is how the region looked when I took it over. The Lord earned 160g, the knight 77g for a total of 237 gold for the entire region.

Tax on Knight Earnings: 25%
Lord: Size - 40% Efficiency - 83%
Knight 1: Size - 40% Efficiency - 83%
Wild: Size - 20%


If the region has no knights the Lord will earn 196 gold for a total of 196 gold for the entire region.

Tax on Knight Earnings: 25%
Lord: Size - 40% Efficiency - 83% 196
Wild: Size - 60%


The text three samples have the goal of ensuring all knights earn 77 gold if at all possible

With two knights earning 77g each the lord would earn 124g for a total of 278 gold for the entire region.

Tax on Knight Earnings: 16%
Lord: Size - 34% Efficiency - 89%
Knight 1: Size - 33% Efficiency - 90%
Knight 2: Size - 33% Efficiency - 90%


With three knights earning 77g each the lord would earn 71g for a total of 302 gold for the entire region.

Tax on Knight Earnings: 1%
Lord: Size - 22% Efficiency - 100%
Knight 1: Size - 26% Efficiency - 97%
Knight 2: Size - 26% Efficiency - 97%
Knight 3: Size - 26% Efficiency - 97%


With four knights earning 77g each the lord would earn 4g for a total of 312 gold for the entire region.

Tax on Knight Earnings: 1%
Lord: Size - 0%
Knight 1: Size - 25% Efficiency - 100%
Knight 2: Size - 25% Efficiency - 100%
Knight 3: Size - 25% Efficiency - 100%
Knight 4: Size - 25% Efficiency - 100%


The next three samples have the goal of ensuring the lord continues to earn 160g if at all possible.

Two knights could each earn 59g if the lord maintained 160g for a total of 278 gold for the entire region.

Tax on Knight Earnings: 36%
Lord: Size - 34% Efficiency - 89%
Knight 1: Size - 33% Efficiency - 90%
Knight 2: Size - 33% Efficiency - 90%


Three knights could each earn 47g if the lord maintained 161g for a total of 302 gold for the entire region.

Tax on Knight Earnings: 40%
Lord: Size - 22% Efficiency - 100% 161
Knight 1: Size - 26% Efficiency - 97% 47
Knight 2: Size - 26% Efficiency - 97% 47
Knight 3: Size - 26% Efficiency - 97% 47


Four knights could each earn 37g if the lord maintained 161g for a total of 309 gold for the entire region.

Tax on Knight Earnings: 48%
Lord: Size - 8% Efficiency - 100% 161
Knight 1: Size - 23% Efficiency - 100% 37
Knight 2: Size - 23% Efficiency - 100% 37
Knight 3: Size - 23% Efficiency - 100% 37
Knight 4: Size - 23% Efficiency - 100% 37

Title: Re: How the number of knights affects gold earned in a region
Post by: Anaris on January 08, 2015, 05:16:15 PM
I've never been happy about the way estate efficiency handling ended up. It would make me much happier if it were absolutely, 100% clear that every knight you add to the region increases every estate's productivity, at least a little.

(I'd also like to add the ability for Dukes to own land in multiple regions in their duchies, and Rulers to do so throughout the realm...but that's only peripherally related. ;D )

So, at some point (in my copious spare time...) I will be revisiting estate calculations, and while I'm not sure precisely what math I'll use, my intention is to adjust it so that:

1) Having lands designated as "wild" is generally worse than having them made into a vacant estate
2) Having more knights is generally strictly better than having fewer, on a gold-per-peasant basis

All that said, beware of creating scripts to calculate things in BattleMaster unless you are absolutely 100% sure of the algorithm used. There are lots of places where it's more complicated than it looks on the outside. I don't remember offhand if this is a case where the math used is more complicated than what can be relatively simply observed with a few data points; it's possible that your numbers here are all correct. Just be careful of it in general.
Title: Re: How the number of knights affects gold earned in a region
Post by: Eldargard on January 08, 2015, 05:53:43 PM
The numbers in this post we're all calculated by hand using the formulas on the wiki. Since I was unsure how bm code did rounding (at what steps at with what method) I just rounded down between steps. My little script also uses the formulas on the wiki and seems to match the predictions on the estate management page but I just accept that he figures are ballpark and look more for trends than not.
Title: Re: How the number of knights affects gold earned in a region
Post by: Chenier on January 08, 2015, 06:10:40 PM
I thought it was pretty straightforward that more knights meant more total gold? Who challenged this and how?

The more complex question was rather if more regions meant more total gold, assuming the same number of knights. I've argued a few times that, in many cases, taking up a new region can actually make a realm poorer. This is usually the result of a realm that is at its optimal density, or below it, gaining regions of below-average wealth value, leading to the transition of knights from high-wealth high-efficiency high-tax city estates to low-wealth low-efficiency low tax border lordship.

Quote from: Anaris on January 08, 2015, 05:16:15 PM
1) Having lands designated as "wild" is generally worse than having them made into a vacant estate
2) Having more knights is generally strictly better than having fewer, on a gold-per-peasant basis

I'm not sure if this was brought up before, but I think that worse than wild lands would be empty estates where the lord kicks out any noble that picks them up, because they are just meant to increase his revenues and aren't really meant for others, due to them being more profitable to him than wildlands would be.
Title: Re: How the number of knights affects gold earned in a region
Post by: Anaris on January 08, 2015, 06:16:21 PM
Quote from: Chénier on January 08, 2015, 06:10:40 PM
I thought it was pretty straightforward that more knights meant more total gold? Who challenged this and how?

Right—more total gold.

I want more knights to mean more gold per percent of estate—so that if the Lord has a 20% estate, and 1 knight has a 10% estate, and the Lord's weekly tax just from his estate averages 150, then another knight takes a 10% estate, the Lord's weekly tax goes up to 155. And the other knight's weekly tax goes up. Thus, not only would Lords who want to benefit the realm try to take on more knights, Lords who want to make a load of money on their own will, too..

Quote
The more complex question was rather if more regions meant more total gold, assuming the same number of knights. I've argued a few times that, in many cases, taking up a new region can actually make a realm poorer. This is usually the result of a realm that is at its optimal density, or below it, gaining regions of below-average wealth value, leading to the transition of knights from high-wealth high-efficiency high-tax city estates to low-wealth low-efficiency low tax border lordship.

Urgh. That's getting into questions of min-maxing I'm not sure we really need to deal with, as long as our player density is as low as it is. Just because it's possible that adding a region to the realm could reduce total realm gold doesn't mean that a) people will work out the math of it to know, or b) that they will think it's enough of a reduction to care even if they do do the math.

Quote
I'm not sure if this was brought up before, but I think that worse than wild lands would be empty estates where the lord kicks out any noble that picks them up, because they are just meant to increase his revenues and aren't really meant for others, due to them being more profitable to him than wildlands would be.

If there's even a hint of that happening, then I will do two things:

1) I will implement a change whereby any time a Lord kicks a Knight out of their estate, that portion of the region is locked as wild lands for at least 2 weeks. (Or whatever I calculate it will take to offset the extra gold he could get from it.)
2) I will kick that particular Lord into next century for being a bloody !@#$%^&.
Title: Re: How the number of knights affects gold earned in a region
Post by: Chenier on January 08, 2015, 06:29:13 PM
Quote from: Anaris on January 08, 2015, 06:16:21 PM
Right—more total gold.

I want more knights to mean more gold per percent of estate—so that if the Lord has a 20% estate, and 1 knight has a 10% estate, and the Lord's weekly tax just from his estate averages 150, then another knight takes a 10% estate, the Lord's weekly tax goes up to 155. And the other knight's weekly tax goes up. Thus, not only would Lords who want to benefit the realm try to take on more knights, Lords who want to make a load of money on their own will, too..

I don't understand the nuance, isn't this pretty self-evident too? Up to the cap, the smaller the estate, the more efficient it is, thus them more gold per % of size it generates.

Quote from: Anaris on January 08, 2015, 06:16:21 PM
If there's even a hint of that happening, then I will do two things:

1) I will implement a change whereby any time a Lord kicks a Knight out of their estate, that portion of the region is locked as wild lands for at least 2 weeks. (Or whatever I calculate it will take to offset the extra gold he could get from it.)
2) I will kick that particular Lord into next century for being a bloody !@#$%^&.

Gamey min-maxing response #2: creating a ton of tiny estates that no knight would like to take, in order to increase gold output for the lord. ;)

Quote from: Anaris on January 08, 2015, 06:16:21 PM
Urgh. That's getting into questions of min-maxing I'm not sure we really need to deal with, as long as our player density is as low as it is. Just because it's possible that adding a region to the realm could reduce total realm gold doesn't mean that a) people will work out the math of it to know, or b) that they will think it's enough of a reduction to care even if they do do the math.

It has secondary side-effects, though. As realms grow, they average income decreases, but their expenses increase. They grow more difficult to defend, and so militia is used more, which in turn reduces wealth even more. I think it's part of the reason why Dwi has such a stalemate, despite the aggregate data suggesting the League greatly overpowers Luria. The increase in average realm size has made all realms less potent, allowing them to field much less mobile CS/gold output. All while facing much higher defender forces then were previously seen.

Just because the players don't realize it, or don't consider it, doesn't mean it's not detrimental to gameplay.
Title: Re: How the number of knights affects gold earned in a region
Post by: Indirik on January 08, 2015, 06:37:57 PM
There was talk of changing estates so that they are based on number of peasants, rather than percentage of region. If this was done, you could code estates to have a minimum number of asked peasants. Therefore you couldn't create an estate that gave someone 3% of a !@#$ty bad lands region. The lord then couldn't create lots of little, worthless estates. You could code in an efficiency penalty for too many tiny estates, due to administrative overhead.
Title: Re: How the number of knights affects gold earned in a region
Post by: OFaolain on January 08, 2015, 06:39:35 PM
At present, estate tax settings can be set such that every knight can only ever add wealth without taking any from the lord; wild lands and empty estates are taxed at 50% and the maximum tax setting for estates is 50%. If your tax rate is at 50% then any knight who takes an empty estate is creating his entire income simply by being in the estate. This is generally not feasible in rural regions with low income but in lower-density realms (for example on Dwilight) where you might only have knights in your cities then it can work quite well.

And this is assuming the lord wants to maximize his own income, for a building project for example. But if he's trying to fund the army he can lower the tax he levies from his knights to increase their income; it's a very flexible system, though I've asserted that simply having several knights is its own reward.
Title: Re: How the number of knights affects gold earned in a region
Post by: Anaris on January 08, 2015, 06:51:19 PM
Quote from: Chénier on January 08, 2015, 06:29:13 PM
I don't understand the nuance, isn't this pretty self-evident too? Up to the cap, the smaller the estate, the more efficient it is, thus them more gold per % of size it generates.

You're still missing it.

I'm saying I would change the code so that the same estate you have today would start making more money, without the Lord making any changes to that estate, just because another knight took an estate in the region.

Quote
Gamey min-maxing response #2: creating a ton of tiny estates that no knight would like to take, in order to increase gold output for the lord.

a) So I'll make sure that the boost to the Lord's estate doesn't come until the estates are filled.
b) What Indirik said.

QuoteIt has secondary side-effects, though. As realms grow, they average income decreases, but their expenses increase.

I am not convinced that this is a strong enough effect to cause any practical problems.

And if it does, then...fine, you've expanded as far as your existing noble base will allow.

I don't have a problem with the idea that, given a certain number of noble characters in a realm, there is some fixed maximum number of regions they can hope to control, and/or a maximum above which new regions are no longer adding any meaningful benefit to the realm. I don't think it's at all unreasonable to say that a realm of 10 people should fall apart if it tries to control 30 regions.
Title: Re: How the number of knights affects gold earned in a region
Post by: Chenier on January 08, 2015, 06:53:50 PM
Time for a new pie-shaped continent to come replace all of the old ones!
Title: Re: How the number of knights affects gold earned in a region
Post by: Sacha on January 08, 2015, 07:39:17 PM
Threads like these give a good example of why we're bleeding players, IMO. We're only propagating the notion that you should play BattleMaster with a calculator and a stack of spreadsheets.
Title: Re: How the number of knights affects gold earned in a region
Post by: Anaris on January 08, 2015, 07:42:25 PM
Quote from: Sacha on January 08, 2015, 07:39:17 PM
Threads like these give a good example of why we're bleeding players, IMO. We're only propagating the notion that you should play BattleMaster with a calculator and a stack of spreadsheets.

Ugh. I know. That's part of what I'm trying to fight.

Unfortunately, I don't believe it's possible to avoid situations where someone with a calculator and a stack of spreadsheets can squeeze out an extra 5-15% efficiency from the game. Which means that people willing to put in that kind of effort will have a real edge.

All I can do is try to make the kinds of things they do to achieve those sorts of optimizations the same kinds of things that people would want to do otherwise. At least where it doesn't require twisting the code (and the conceptual framework) into lots of little pretzel-shapes to do it.
Title: Re: How the number of knights affects gold earned in a region
Post by: Sacha on January 08, 2015, 07:47:51 PM
This is idle hope most likely, but... Is there any conceivable way we could ever go back to the way things were before estates and complex tax calculations and all that jazz? I adored the old commie tax distribution.
Title: Re: How the number of knights affects gold earned in a region
Post by: Lorgan on January 08, 2015, 08:01:48 PM
You don't need to "hack" into the code with a calculator to squeeze every last possible coin out of your region. Trial, error and dedication is all it takes. And everyone can do that.

I also should note that there are already a lot of benefits to having plenty of knights and it shouldn't be overdone or realms with few nobles are doomed to fall in boring, lopsided wars.
Title: Re: How the number of knights affects gold earned in a region
Post by: Anaris on January 08, 2015, 08:06:14 PM
Quote from: Lorgan on January 08, 2015, 08:01:48 PM
You don't need to "hack" into the code with a calculator to squeeze every last possible coin out of your region. Trial, error and dedication is all it takes. And everyone can do that.

Of course anyone can do that. That's not the point. The point is people shouldn't have to do that to be able to have a chance in the game, because not everyone has hours and hours to waste with that trial and error.

Quote
I also should note that there are already a lot of benefits to having plenty of knights and it shouldn't be overdone or realms with few nobles are doomed to fall in boring, lopsided wars.

All else being equal, a realm with fewer nobles should lose to a realm with more.

A realm with 5 nobles should not, ever, have a shot in hell at beating a realm with 40.

I have absolutely no problem increasing the marginal utility of additional nobles—especially increasing it for the Lords who will be taking them as knights.
Title: Re: How the number of knights affects gold earned in a region
Post by: Lorgan on January 08, 2015, 08:13:14 PM
Quote from: Anaris on January 08, 2015, 08:06:14 PM
Of course anyone can do that. That's not the point. The point is people shouldn't have to do that to be able to have a chance in the game, because not everyone has hours and hours to waste with that trial and error.

It's maybe 15 minutes of tinkering with stuff a day...

Quote from: Anaris on January 08, 2015, 08:06:14 PM
All else being equal, a realm with fewer nobles should lose to a realm with more.

That's the thing though, all else being equal. Right now, a poor realm with 40 nobles beats the rich realm with 20 nobles.
Title: Re: How the number of knights affects gold earned in a region
Post by: Anaris on January 08, 2015, 08:19:16 PM
Quote from: Lorgan on January 08, 2015, 08:13:14 PM
That's the thing though, all else being equal. Right now, a poor realm with 40 nobles beats the rich realm with 20 nobles.

I admit that I haven't been paying attention to various things lately, but that sounds like it might be a little off-kilter. Is there an actual case with numbers like this that you can point to, so I can see what the specific details are?
Title: Re: How the number of knights affects gold earned in a region
Post by: Lorgan on January 08, 2015, 08:35:57 PM
Well, those numbers I got from the first Thalmarkin versus Melhed war, which is already quite a while ago but did strike me as too easy for the Thalmarkin (40 nobles) side. It was from before the region rebalance iirc so I'm not sure how helpful that actually is. If you've still got those data, Thalmarkin had the same regions, about 30% less population, relatively weak RCs and Melhed had everything east of the mountains, south of the river, north of Marpii and uber RCs.

I have been taking that experience into account ever since and it's pretty much the reason we decided not to just attack one realm anymore but design a way to even out the odds.
There's also Luria on Dwilight, there may be other factors but I believe it's mostly the noble amount that is winning this war for us.

The thing is, everyone has enough gold nowadays, so every extra noble you have is pretty much an extra 1000 CS to add to your army. Only if you lose do you then run into gold problems.
Title: Re: How the number of knights affects gold earned in a region
Post by: Chenier on January 08, 2015, 08:45:19 PM
Quote from: Lorgan on January 08, 2015, 08:35:57 PM
Well, those numbers I got from the first Thalmarkin versus Melhed war, which is already quite a while ago but did strike me as too easy for the Thalmarkin (40 nobles) side. It was from before the region rebalance iirc so I'm not sure how helpful that actually is. If you've still got those data, Thalmarkin had the same regions, about 30% less population, relatively weak RCs and Melhed had everything east of the mountains, south of the river, north of Marpii and uber RCs.

I have been taking that experience into account ever since and it's pretty much the reason we decided not to just attack one realm anymore but design a way to even out the odds.
There's also Luria on Dwilight, there may be other factors but I believe it's mostly the noble amount that is winning this war for us.

The thing is, everyone has enough gold nowadays, so every extra noble you have is pretty much an extra 1000 CS to add to your army. Only if you lose do you then run into gold problems.

I think Melhed had  poor density, which influences the outcome significantly. For example, D'Hara's odds against a realm with 40 nobles would not drastically increase by adding nobles there, because they already have 26 nobles crammed into 9 regions. Though it isn't so, most of these estates should be pretty much optimizable. Melhed would have gained a lot more strength with more nobles, however, as the land could have held many more knights, thus giving the edge to Thalmarkin. The regions Melhed had might have had good base stats, but could not be optimized due to low density, thus providing a mean income per knight that probably wasn't all that much better than Thalmarkin's.
Title: Re: How the number of knights affects gold earned in a region
Post by: Lorgan on January 08, 2015, 09:02:04 PM
Poor density is a side-effect of having a small amount of nobles though.
Title: Re: How the number of knights affects gold earned in a region
Post by: Anaris on January 08, 2015, 09:04:02 PM
Quote from: Lorgan on January 08, 2015, 09:02:04 PM
Poor density is a side-effect of having a small amount of nobles though.

It fails the "all else being equal" qualifier, though.
Title: Re: How the number of knights affects gold earned in a region
Post by: Lorgan on January 08, 2015, 09:08:34 PM
Well, ok. I'll come back to you when it's just Thal vs Rio then.
Title: Re: How the number of knights affects gold earned in a region
Post by: Eldargard on January 08, 2015, 10:03:18 PM
While I have chosen to bust out the calculator now and then I almost arrive at the same conclusion at the end: it might have been fun and satisfied my inner germ, it's never really worth the effort in the long run. The things you really get the most value from don't need calculators. Interactions, battles, and the like. Still, give me a wiki page full of formulas and I just can't help myself!
Title: Re: How the number of knights affects gold earned in a region
Post by: De-Legro on January 08, 2015, 11:06:52 PM
Quote from: Scarborn on January 08, 2015, 10:03:18 PM
While I have chosen to bust out the calculator now and then I almost arrive at the same conclusion at the end: it might have been fun and satisfied my inner germ, it's never really worth the effort in the long run. The things you really get the most value from don't need calculators. Interactions, battles, and the like. Still, give me a wiki page full of formulas and I just can't help myself!

Which is probably why Tom used to be against revealing much of the inner workings of the game.
Title: Re: How the number of knights affects gold earned in a region
Post by: Chenier on January 09, 2015, 12:32:41 AM
Quote from: Lorgan on January 08, 2015, 09:02:04 PM
Poor density is a side-effect of having a small amount of nobles though.

Just saying that when comparing noble count of various realms and trying to translate it into might, one must consider what is the critical saturation value for each. Getting more nobles considerably increases a realm's total gold production, until it doesn't. Noble counts, like most things in BM, come with diminishing returns.
Title: Re: How the number of knights affects gold earned in a region
Post by: Chenier on January 09, 2015, 12:33:59 AM
Quote from: Scarborn on January 08, 2015, 10:03:18 PM
While I have chosen to bust out the calculator now and then I almost arrive at the same conclusion at the end: it might have been fun and satisfied my inner germ, it's never really worth the effort in the long run. The things you really get the most value from don't need calculators. Interactions, battles, and the like. Still, give me a wiki page full of formulas and I just can't help myself!

I managed D'Hara's food with spread sheets, back in the days.

I didn't mind it, found the challenge to be fun. For that specific realm at that specific time, though, it was a necessity.
Title: Re: How the number of knights affects gold earned in a region
Post by: Kai on January 09, 2015, 01:57:47 AM
Isn't it obvious that smaller estates always give more overall gold? Otherwise no lords would ever have knights.

I think having some SF abilities and combat mechanics exposed might have retained some people who are playing for battles.
Title: Re: How the number of knights affects gold earned in a region
Post by: Indirik on January 09, 2015, 02:20:04 AM
I still use spreadsheets for food management.

Back in the day Perdan used to manage its armies with spreadsheets. I learned a lot of excel by being second in command of an army in Perdan.
Title: Re: How the number of knights affects gold earned in a region
Post by: Kai on January 09, 2015, 02:25:57 AM
How do you manage armies with spreadsheets?
Title: Re: How the number of knights affects gold earned in a region
Post by: Indirik on January 09, 2015, 04:50:55 AM
Position, strength, composition, etc. When your army is 60+ nobles, and you're not using the games built in tools (that was back when armies were duchy based, and no one really used the built in ones), you built the army status report by hand from scout reports.
Title: Re: How the number of knights affects gold earned in a region
Post by: Chenier on January 09, 2015, 03:02:16 PM
Quote from: Indirik on January 09, 2015, 02:20:04 AM
I still use spreadsheets for food management.

Why? Unless your realm runs a significant deficit, food rarely needs to be considered.
Title: Re: How the number of knights affects gold earned in a region
Post by: Indirik on January 09, 2015, 05:03:26 PM
Planning. Trying to find out exactly how much we can sell. Trying to work out how long were can survive the current drought. How much if the realms food production is controlled by political enemies. 
Title: Re: How the number of knights affects gold earned in a region
Post by: Chenier on January 09, 2015, 06:03:32 PM
Quote from: Indirik on January 09, 2015, 05:03:26 PM
Planning. Trying to find out exactly how much we can sell. Trying to work out how long were can survive the current drought. How much if the realms food production is controlled by political enemies.

All of which I guess can be useful if the food supply is tight, but looking at the stats page, those realms seem to be pretty rare.
Title: Re: How the number of knights affects gold earned in a region
Post by: Indirik on January 09, 2015, 06:21:31 PM
Alright, so maybe i just like spreadsheets. :P