widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #12578
Re: [Merge] lp:~widelands-dev/widelands/frisians into lp:widelands
Hi,
in order of questions:
what can be easily done is to prevent supporters if there is no supported buildings around. Should be the relation that strict?
No, productivity of nearby supported buildings is not considered, just pure count
This is controlled by genetic algorithm, but there is no direct relation
Yes, but some values are hardcoded and these can be easily changed I believe... (see next answer)
Every buildable field contains vector supporters_nearby, that contains number of producers on position of the ware index. So go to defaultai.cc and lookup how are these numbers converted to score
--
https://code.launchpad.net/~widelands-dev/widelands/frisians/+merge/336910
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/frisians.
References