Topic: Production buildings statistics
GunChleoc![]() |
Posted at:
2014-05-30, 19:43 UTC+2.0
Yes, the color is a good idea. If people don't like the blue, how about adding some brightness to the green and desaturating it a bit? Busy indexing nil values ![]() ![]() |
Tibor Topic Opener |
Posted at:
2014-05-30, 20:07 UTC+2.0
If you or anybody wants to experiment with various colors, get my branch, find file src/constants.h and line
![]() ![]() |
SirVer |
Posted at:
2014-05-31, 12:30 UTC+2.0
I like the UI with the color - though color alone is not enough. Every 10th person has trouble with recognizing color, so we should also add a small icon in the statistics string (easy now with the font renderer). ![]() ![]() |
Tibor Topic Opener |
Posted at:
2014-05-31, 21:53 UTC+2.0
icon? Perhaps you meant a character?
![]() ![]() |
SirVer |
Posted at:
2014-06-01, 11:35 UTC+2.0
No, I meant icon. The renderer understands the ![]() ![]() |
hulagutten |
Posted at:
2014-06-15, 21:47 UTC+2.0
I have created a new post here: https://wl.widelands.org/forum/topic/1520/?page=1#post-11028 I hope you find it relevant when creating an AI. The way I would program the AI is to make rules saying something like for every Lumberjack's hut, build 2 ranger's huts, and that these buildings should be in immediate proximity. This way you could ensure that the economy is always balanced so the feeder buildings produce enough to keep the productivity of the consumers high. It also gets you away form looking at the productivity statistics, because these could be affected by things that transportation problems, events, etc. ![]() ![]() |
Tibor Topic Opener |
Posted at:
2014-06-15, 22:41 UTC+2.0
hulagutten, couple of points:
So strict proportion is not the best way to go. In fact I am considering new feature to AI - counting trees around cutter huts and adjust number of rangers accordingly. This would take (indirectly) into account also fertility of ground and amount of initial trees. ![]() ![]() |
hulagutten |
Posted at:
2014-06-15, 23:26 UTC+2.0
I agree that if soil matters a lot, then my approach cannot be used. Sure, your other points can optimize any algorithm a lot. ![]() ![]() |
SirVer |
Posted at:
2014-06-16, 07:09 UTC+2.0
right now, soil only matters for trees - crop, wine and everything else does not care about soil at all and grows the same everywhere. Also, the soil differences for trees will go away with the one_world merge that is happening soon. I want to bring that back, but I need help designing an easier (i.e. less numbers involved) model for terrain affinity. If somebody can help out here, please do so: https://bugs.launchpad.net/widelands/+bug/1328635 ![]() ![]() |