village support?

Discussion of all aspects of multiplayer development: unit balancing, map development, server development, and so forth.

Moderator: Forum Moderators

Post Reply
User avatar
Temuchin Khan
Posts: 1800
Joined: September 3rd, 2004, 6:35 pm
Location: Player 6 on the original Agaia map

village support?

Post by Temuchin Khan »

I noticed that in 1.11, there is an additional option when you are setting up multiplayer games: village support.

What exactly does this do? How is it different from village income? What significance would it have if you set it to a different value that village income? For example, if you set the per village income to 1 and the support to 4, what would that mean in-game?
User avatar
Alarantalara
Art Contributor
Posts: 786
Joined: April 23rd, 2010, 8:17 pm
Location: Canada

Re: village support?

Post by Alarantalara »

Village support keeps you from having to pay upkeep for a unit instead of providing you with gold that may pay upkeep. So it's equally effective at keeping your income from going negative but provides less money if you have few units.

Here are two scenarios with various numbers of units:
A) With 1 village, village support = 2, village gold = 1
You get 3 gold for 0-2 units, 2 gold for 3 units, 1 for 4 units, etc.
B) With 1 village, village support = 1, village gold = 2
You get 4 gold for 0-1 units, 3 gold for 2 units, 2 gold for 3 units, etc.
User avatar
Pentarctagon
Project Manager
Posts: 5564
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: village support?

Post by Pentarctagon »

It also makes this pop up:
warning unit: Unknown attribute 'village_support' discarded.

in my stderr. Not really sure if its actually affecting anything though.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
MetalKing
Posts: 197
Joined: July 8th, 2011, 11:34 am

Re: village support?

Post by MetalKing »

I think Village-support is a Step into right Direction -- even it could still not work. Gold can't get eaten and doesn't work. If I got the Point then is Village-Support something like a Gold you can't accumulate but use to pay something like OperationCosts for Units.
"Sir! We are surrounded by our enemies!" - "Excellent ! We can attack in every direction!"
"Make everything as simple as possible, but not simpler." -- Albert Einstein
No Source - No Binary - No Trust!
Map Wesnoth Springs - The great War [200x120],Player=9
User avatar
Temuchin Khan
Posts: 1800
Joined: September 3rd, 2004, 6:35 pm
Location: Player 6 on the original Agaia map

Re: village support?

Post by Temuchin Khan »

Thanks for the prompt replies!
Alarantalara wrote:Village support keeps you from having to pay upkeep for a unit instead of providing you with gold that may pay upkeep. So it's equally effective at keeping your income from going negative but provides less money if you have few units.
Interesting. Kind of like quartering your troops in people's homes, then?
Here are two scenarios with various numbers of units:
A) With 1 village, village support = 2, village gold = 1
You get 3 gold for 0-2 units, 2 gold for 3 units, 1 for 4 units, etc.
B) With 1 village, village support = 1, village gold = 2
You get 4 gold for 0-1 units, 3 gold for 2 units, 2 gold for 3 units, etc.
So if we assume 1 village, village support=1, and village gold=1, would we have 3 gold for 0-1 units, 2 gold for 2 units, 1 gold for 3 units? Or would the amounts be slightly different?

EDIT: I deleted the previous post so when I posted this edited version, I'd be sure it would be seen.
User avatar
Ravana
Forum Moderator
Posts: 3002
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: village support?

Post by Ravana »

What happens when there are units with different levels?
tuggyne
Posts: 76
Joined: May 22nd, 2011, 5:52 am

Re: village support?

Post by tuggyne »

Ravana wrote:What happens when there are units with different levels?
Essentially the same thing that has always happened. Unit levels are added together, and total village support is subtracted from that. Suppose you have village_support set to 2, village_gold set to 1, income at the default of 2, 3 villages, 5 level 1 units, and 2 level 2 units. The villages would provide up to 6 support and 3 gold, and your units would require 5*1+2*2 = 9 upkeep, so you'd have a net income of precisely your base: 2. If you had two more villages, your units would be fully supported (10>9), so you'd gain 7 gold per turn.
Post Reply