Quantcast
Channel: The Battle for Wesnoth Forums
Viewing all articles
Browse latest Browse all 1980

Multiplayer Development • Re: Kingdom Builder Mod

$
0
0
Hello, tried the mod with a friend and we liked it, but we found that every time the AI "promotes" (or spawns a new leader really) it takes gold from all sides, if we have more than 1 ai it can quickly send our gold into negative 100 or 200. Also I think the ai would benefit a lot from being coded to actually use the mod's options (actually promoting units and actually building with them instead of just spawning things around) but I understand that it can be difficult to do.

The negative gold bug is the only thing really bothering me and that prevents us from playing a long game against many ai :D


Edit: I checked the code and found the issue, or at least seems to be working fine after changing it
in case anyone else wants to fix it for their games: _main.cfg line 1851 gold tag is missing side

Code:

[gold]amount=-$kbm.var.ai.newsettlement.cost[/gold]
should be

Code:

[gold]side=$side_numberamount=-$kbm.var.ai.newsettlement.cost[/gold]

Statistics: Posted by Skayland — Yesterday, 9:31 pm



Viewing all articles
Browse latest Browse all 1980

Trending Articles