Commit Graph

4086 Commits

Author SHA1 Message Date
Paul Chote
e2ede4ec24 Merge pull request #6201 from cjshmyr/morelua
Add more Lua functions
2014-08-17 12:54:30 +12:00
Paul Chote
d9dc514d37 Merge pull request #6262 from Mailaender/silo-placement-loop-glitch-fix
Fixed silo fullness animations loop during building placement
2014-08-17 12:36:17 +12:00
Matthias Mailänder
da7caa6105 Merge pull request #6183 from UberWaffe/6030Fix_UpgradeRules
Closes #6177
Closes #6222
Closes #6240
Closes #6245
2014-08-16 18:07:56 +02:00
Matthias Mailänder
df09d16a1c Merge pull request #6218 from pchote/percentmods
Change attribute modifiers to use integers.
2014-08-16 17:28:37 +02:00
Matthias Mailänder
29dc1b574c fix silo animations playing during building placement
closes #6258
2014-08-16 17:17:25 +02:00
UberWaffe
0ebe1c2c6a Made Effect, Resource and Smudge warheads return 0% effective against actors. 2014-08-16 10:58:04 +02:00
Curtis Shmyr
cb4bd52fc0 Added more Lua functions 2014-08-15 19:51:02 -06:00
Paul Chote
c80a12f99c Merge pull request #5937 from reaperrr/explosions2
Implements more sophisticated explosion animation/sound system
2014-08-16 01:58:11 +12:00
UberWaffe
1375e56a32 Fixes D2K AI constantly repairing weather damage. 2014-08-13 16:13:34 +02:00
reaperrr
ef54f011bb Change ImpactTypes from array to bitfield approach. 2014-08-13 11:45:58 +02:00
Matthias Mailänder
50ab941d1f avoid NullReferenceException in updatedRegion
fixes #6166
2014-08-12 06:19:34 +02:00
Paul Chote
7e92ba9fdd Rename ProneSpeed to SpeedModifier in TakeCover. 2014-08-12 11:43:24 +12:00
Paul Chote
01cd6efbd0 Convert firepower modifiers to integer percentages. 2014-08-12 11:41:09 +12:00
Paul Chote
84d3497e96 Convert speed modifiers to integer percentages. 2014-08-12 11:41:09 +12:00
Paul Chote
0425416ce2 Convert damage modifiers to integer percentages. 2014-08-12 11:41:09 +12:00
Matthias Mailänder
24a3fd3196 show a user friendly description of the starting unit template
closes #6209
2014-08-09 13:34:03 +02:00
Curtis Shmyr
381505cd19 Merge pull request #6189 from UberWaffe/6066_CratePrerequisites
6066 Crate Prerequisites
2014-08-08 23:14:58 -06: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
UberWaffe
30e675a306 Added YamlException to GiveUnitCrateAction if no units are defined. 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
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
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
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
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
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
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
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
UberWaffe
0f8023217d #6030 Regression fix. CreateEffectWarhead effect location and water impact sound. 2014-08-04 18:09:52 +02:00
UberWaffe
4055d8178d Bridge can now define DemolishWeapon. Defaults to previous "Demolish". 2014-08-04 16:13:21 +02:00
Chris Forbes
c482e97060 Merge pull request #6152 from Mailaender/money-crate
Added money crates to be spawned by destroyed supply trucks
2014-08-04 10:39:29 +12:00