Commit Graph

13947 Commits

Author SHA1 Message Date
Paul Chote
58b39616f6 Merge pull request #6193 from obrakmann/fix6045
Fix breakage of --upgrade-map in OpenRA.Utility
2014-08-09 12:52:15 +12:00
Paul Chote
54fa8e4d30 Merge pull request #6182 from obrakmann/fix6172
Fix observer widgets not showing up when a player loses
2014-08-09 12:45:54 +12:00
Paul Chote
d15dbb2332 Merge pull request #6059 from obrakmann/mission-objectives
Mission objectives
2014-08-09 12:39:12 +12:00
UberWaffe
30e675a306 Added YamlException to GiveUnitCrateAction if no units are defined. 2014-08-08 17:00:04 +02:00
UberWaffe
9756132006 Update mods (only d2k and RA affected) crate actions to take tech levels and prerequisites into account. 2014-08-08 17:00:04 +02:00
UberWaffe
0ff9332844 Crate actions can now define required prerequisites. 2014-08-08 17:00:03 +02:00
Oliver Brakmann
c9ee475ca9 Added upgrade rules 2014-08-08 13:35:50 +02:00
Oliver Brakmann
00fcf5f969 Convert gdi01 to new Lua 2014-08-08 13:35:50 +02:00
Oliver Brakmann
8c43ffb802 Add some Media functions to new Lua API 2014-08-08 13:35:50 +02:00
Oliver Brakmann
d673520d82 Remove inconsistencies w.r.t the Surrender order
* Surrendering is now possible even in maps that do not use
  ConquestVictoryConditions.
* The Surrender button is greyed out instead of hidden when it cannot be
  used.
2014-08-08 13:35:50 +02:00
Oliver Brakmann
dc33e0e1b0 Make necessary changes to existing maps 2014-08-08 13:35:50 +02:00
Oliver Brakmann
819eb64011 Add end game dialog 2014-08-08 13:35:49 +02:00
Oliver Brakmann
8cec848a0f Add a mission objectives GUI panel 2014-08-08 13:35:49 +02:00
Oliver Brakmann
2c22e5099f Copy checkbox markings from TD to the other mods 2014-08-08 13:35:49 +02:00
Oliver Brakmann
7546e8237e Make CheckboxWidget honour GetText() 2014-08-08 13:35:49 +02:00
Oliver Brakmann
cca6646927 Add mission objectives to Lua interface 2014-08-08 13:35:43 +02:00
Oliver Brakmann
a448ba29a8 Move trigger lists into a dictionary for easier access and enumeration 2014-08-08 13:34:47 +02:00
Oliver Brakmann
6e3000ab0e Make Conquest- and StrategicVictoryConditions use objectives backend
Note: 3rd party KotH maps will need to be modified to work correctly
with this change.  Previously, StrategicVictoryConditions was a
supplement to ConquestVictoryConditions.  After this change, each works
by itself.  So KotH maps will need to remove the ConquestVictoryConditions
trait from the player definitions, or both victory conditions will have
to be satisfied to win the game.
2014-08-07 16:56:17 +02:00
Oliver Brakmann
a3bf3e7403 Add support for mission objectives
Objectives can be either primary or secondary objectives. Primary ones
influence the outcome of the game.  If all primary objectives are
completed the game is won, and lost when any of them fails.

Objectives can be added at any stage during the game, allowing to react
dynamically to game events.

The objectives backend only contains the information about the
objectives themselves. It does not check if objectives are completed or
failed.  Instead, the state of objectives must be manually marked. The
backend, however, does check whether the game is won or lost.
2014-08-07 16:56:17 +02:00
Curtis Shmyr
09652dad23 Merge pull request #6110 from pchote/unit-upgrades
Add an actor upgrade system (+ overhauls veterancy and crates)
2014-08-07 07:59:57 -06:00
Paul Chote
1a4f476ffa Replace CloakCrateAction with upgrades. 2014-08-07 20:44:30 +12:00
Paul Chote
2d062b790b Add FriendlyFire property to GivesExperience. 2014-08-07 20:44:29 +12:00
Paul Chote
de775e2f56 Reimplement unit levels using IUpgradable. 2014-08-07 20:44:28 +12:00
Paul Chote
0ca5336072 Reimplement UnitUpgradeCrate using IUpgradable. 2014-08-07 20:43:27 +12:00
Paul Chote
bf5da145b0 Introduce IUpgradable and purchasable unit upgrades. 2014-08-07 20:40:47 +12:00
Paul Chote
4cf822cd00 Support production of actors without IFacing. 2014-08-07 20:40:47 +12:00
obrakmann
2512bc52f8 Merge pull request #6134 from Mailaender/lobby-notify-followup
Made the lobby notifications less spammy and added some more cases
2014-08-06 19:58:15 +02:00
obrakmann
8efc8ccd4d Merge pull request #6151 from Mailaender/disable-idle-overlay-during-transform
Fixed idle overlays being displayed during actor transformations
2014-08-06 19:31:12 +02:00
obrakmann
42d8a9fe29 Merge pull request #6150 from Mailaender/disable-music-install-during-games
Disabled music installation during matches
2014-08-06 16:47:11 +02:00
Taryn Hill
5627fad797 Merge pull request #6194 from obrakmann/fix6192
Fix Apache's guns being blocked by walls in TD.
2014-08-06 09:23:42 -05:00
Oliver Brakmann
53b02b05ca Fix Apache's guns being blocked by walls in TD.
Closes #6192.
2014-08-06 14:00:05 +02:00
Oliver Brakmann
229f17ab85 Fix breakage of --upgrade-map in OpenRA.Utility
Closes #6045
2014-08-06 13:39:28 +02:00
Igor Popov
55729891de Merge pull request #6188 from cjshmyr/luaparse
Log reason why a Lua script fails to parse
2014-08-06 11:39:27 +04:00
Curtis Shmyr
b572c9b5eb Add an ingame message if a Lua FatalError call occurs 2014-08-05 22:37:00 -06:00
Curtis Shmyr
2d93918469 Log reason why a Lua script fails to parse 2014-08-05 22:36:42 -06:00
reaperrr
09b887abf2 Streamline isValid check. 2014-08-05 13:19:26 +02:00
reaperrr
8be7f127d9 Fix descriptions. 2014-08-05 13:11:30 +02:00
Oliver Brakmann
b85d5a9193 Fix observer widgets not showing up when a player loses
Fixes #6172.
2014-08-05 12:52:04 +02:00
Matthias Mailänder
cacb9fee64 Merge pull request #6100 from atlimit8/Implement6086
Closes #6086
2014-08-05 06:36:11 +02:00
atlimit8
b669029194 reverted mod.yaml in cnc, d2k, & ra 2014-08-04 18:12:14 -05:00
atlimit8
898bf4959a Remove sub-cell offset bounds checking 2014-08-04 18:09:26 -05:00
atlimit8
9b30c21f93 Load subcells and default subcell index from mod.yaml 2014-08-04 18:09:26 -05:00
atlimit8
4b7537bb13 Moved MobileInfo.SubCellOffsets to Map (dropping static) & added Map.SubCellsDefaultIndex 2014-08-04 18:09:26 -05:00
atlimit8
43478dd500 enum SubCell => int & Dictionary<SubCell, WVec> => WVec[] 2014-08-04 18:09:26 -05:00
reaperrr
7513380e08 New explosion system yaml changes. 2014-08-04 23:24:52 +02:00
reaperrr
8798658b35 New Explosion system code changes. 2014-08-04 23:24:51 +02:00
reaperrr
e3d85f29c9 Merge pull request #6169 from UberWaffe/CWRegressFix
#6030 Regression fix: CreateEffectWarhead
2014-08-04 20:59:13 +02:00
Matthias Mailänder
050d55397d Merge pull request #6156 from UberWaffe/MinorFixes
Closes #6128
2014-08-04 20:01:40 +02:00
Matthias Mailänder
b2b1b38044 Merge pull request #6158 from Phrohdoh/DocPrintRequires
Write trait requirements in documentation.
2014-08-04 19:54:53 +02:00
UberWaffe
0f8023217d #6030 Regression fix. CreateEffectWarhead effect location and water impact sound. 2014-08-04 18:09:52 +02:00