reaperrr 6ff394991d Fixed AI BaseBuilder low power check.
This was extremely borked:
The priority overrides for refinery, production and silo ignored power completely and never checked whether the structure might drive the AI into low power state; whereas the check for regular building checked whether the structure's power -exceeded- MinimumExcessPower (previously just 0). The catch is that power draw is represented by negative numbers, so the only buildings that would trigger this were - power plants.
Now it checks whether the sum of building power draw (negative) and AI's current power level are lower than MinimumExcessPower, if not, build the structure, if yes, build a power plant instead.
Additionally, this check is now performed for the early-game priority overrides as well.

Last but not least the AI would not(!) give power plants priority if it was already low on power. This has been fixed as well.
2015-07-27 13:06:18 +02:00
2014-12-07 20:46:46 +00:00
2015-06-09 18:06:31 +01:00
2015-07-09 10:03:39 +02:00
2015-06-09 18:06:31 +01:00
2015-07-05 02:38:09 +03:00
2015-07-09 10:03:39 +02:00
2013-07-07 11:16:59 +02:00
2015-06-14 11:18:51 +02:00
2015-07-05 19:07:42 +02:00
2015-07-05 21:32:27 +02:00
2015-06-08 19:09:32 +02:00
2015-07-05 19:07:42 +02:00
2014-12-26 21:45:08 +01:00
2014-11-15 10:43:51 +01:00
2015-07-04 00:09:37 +02:00
2015-06-27 18:43:53 +02:00
2015-07-19 19:40:44 +02:00
2015-06-14 07:25:41 +02:00
2015-03-19 17:20:34 +00:00

OpenRA

A Libre/Free Real Time Strategy game engine supporting early Westwood classics.

Please read the FAQ in our Wiki and report problems at http://bugs.openra.net.

Join the Forums for discussion.

Play

Distributed mods include a reimagining of

  • Command & Conquer: Red Alert
  • Command & Conquer: Tiberian Dawn
  • Dune 2000

Check our Playing the Game Guide to win multiplayer matches.

Contribute

Bountysource

  • Please read INSTALL.md and Compiling on how to set up an OpenRA development environment.
  • See Hacking for an overview of the engine.
  • To get your patches merged, please adhere to the Contributing guidelines.

Issue Stats Issue Stats

Mapping

  • We offer a Mapping Tutorial as you can change gameplay drastically with custom rules.
  • For scripted mission have a look at the Lua API.
  • If you want to share your maps with the community, upload them at the OpenRA Resource Center.

Modding

Support

  • Sponsor a mirror server if you have some bandwidth to spare.
  • You can immediately set up a Dedicated Game Server.
  • Fund development by creating Bounties on specific tasks.

License

Copyright 2007-2015 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation. For more information, see COPYING.

Description
No description provided
Readme 234 MiB
Languages
C# 79.3%
Lua 16%
Fluent 3.1%
Shell 0.6%
Objective-C 0.2%
Other 0.5%