Author Topic: [partially fixed] r4458: CPU unnecessary builds buildings for food and wastes resources...  (Read 739 times)

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Bug separated from another topic.
CPU unnecessary builds buildings for food and wastes resources and place.

3. "CPU unnecessary builds buildings for food" .
(e.g. more than one farm, more than one main building, more than one other building {for example romans' temple})
There is many different buildings producing food in different factions and will be probably more in the future.
Here I suggested some additional variable being placed directly in the "units.xml" for example:

into farm.xml
<CPU-produce-resource enabled="false"/>

and into cow.xml
<CPU-produce-resource enabled="true"/>

...and cpu of course produces only units with "true".

All the examples described observations about food but the case is similar to other resources (eg energy, housing [e.g. small tent in Indian faction]) so improvements should be universal.

When this will be somehow fixed, then at first glance, you can no longer distinguish whether play cpu or human  :).

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Should be fixed in svn rev#: 4476

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
r.4482, five farms, where one is sufficient


 

anything