Latest Posts

Topic: Mid and late game barbarian advantage?

PkK
Joined: 2012-01-06, 12:19
Posts: 186
Ranking
Widelands-Forum-Junkie
Posted at: 2017-06-04, 08:49

When testing the new AI with trading outpost starting conditions on the Lesser Ring 1.1 map, it seems that Barbarians tend to perform better than Empires. Then I noticed that the trading outpost starting condition gives barbarians three times as much gold over time; this matters especially on maps where there is little gold (or the gold only becomes available late):

Atlanteans:

if wh:get_wares("gold") < 10 then
            wh:set_wares("gold", wh:get_wares("gold") + 1)

Barbarians:

if player:get_wares("gold") < 20 + #warehouses * 5 then
            wh:set_wares("gold", wh:get_wares("gold") + 3)

Empire:

if wh:get_wares("gold") < 50 then
            wh:set_wares("gold", wh:get_wares("gold") + 1)

This seems quite unbalanced to me.

Philipp


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 2715
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2017-06-04, 09:16

Look like the Barbarian wares given generally depend on the number of warehouses, while they don't for the other tribes. Would you like to play with these settings while testing the AIs, to see if anything else needs tweaking (not just the gold)?


Busy indexing nil values

Top Quote
Tibor
Joined: 2009-03-23, 23:24
Posts: 1187
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2017-06-04, 10:54

cross-tribe balancing is difficult, but if you come up with some tweaks here, I believe they will be accepted.

Also the "+ #warehouses * 5" part can be omitted, this is probably some residual from previous experiments when introducing trading outpost.


Top Quote
king_of_nowhere
Avatar
Joined: 2014-09-15, 18:35
Posts: 1147
Ranking
One Elder of Players
Posted at: 2017-06-05, 02:19

from your description it looks like an issue with the AI and/or the trading outpost condition, not with barbarians in general - in fact, barbarians are weaker in the late game. I suggest ediiting the thread title to avoid confusion


Top Quote
WorldSavior
Avatar
Joined: 2016-10-15, 04:10
Posts: 919
Ranking
One Elder of Players
Location: GER
Posted at: 2017-06-05, 02:53

That depends highly on the map and the win condition face-wink.png


“It's a threat to our planet to believe that someone else will save it.” - Robert Swan

Top Quote
PkK
Joined: 2012-01-06, 12:19
Posts: 186
Ranking
Widelands-Forum-Junkie
Posted at: 2017-06-05, 07:59

king_of_nowhere wrote:

from your description it looks like an issue with the AI and/or the trading outpost condition, not with barbarians in general - in fact, barbarians are weaker in the late game. I suggest ediiting the thread title to avoid confusion

I wouldn't consider this just an AI issue. Getting triple the gold is an advantage for a human player, too.

Philipp

P.S.: I'll try to look into getting this more balanced sometime next month.


Top Quote