Commit Graph

13779 Commits

Author SHA1 Message Date
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
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
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
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
UberWaffe
4055d8178d Bridge can now define DemolishWeapon. Defaults to previous "Demolish". 2014-08-04 16:13:21 +02:00
UberWaffe
4f18cb5fc0 IonCannonPower can now define how many ticks into animation the weapon impact happens (as opposed to at the end of the animation). 2014-08-04 16:12:18 +02:00
Taryn Hill
c3c5cd04cc Write trait requirements in documentation. 2014-08-03 21:37:37 -05: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
Taryn Hill
31a7678473 Merge pull request #6163 from Mailaender/shrapnel-lowercase-weapon
Fixed ThrowsShrapnel not using lower case weapon names.
2014-08-03 15:20:30 -05:00
Matthias Mailänder
54e36ecf30 use ToLowerInvariant for all weapon rules 2014-08-03 22:14:00 +02:00
Matthias Mailänder
dd2981a3b4 Merge pull request #6155 from Phoib/sonicbeam
Sonic Tank offset
2014-08-03 21:41:37 +02:00
Matthias Mailänder
aa74046403 Merge pull request #6160 from cjshmyr/returntobase
Remove TakeOff activity from ReturnToBase
2014-08-03 21:11:16 +02:00
Curtis Shmyr
ed08bafd54 Remove TakeOff activity from ReturnToBase 2014-08-03 12:50:01 -06:00
Matthias Mailänder
33655afe21 Merge pull request #6127 from cjshmyr/attackcharge
Fixes #5568
2014-08-03 17:51:28 +02:00
Phoib
59936ab834 Sonic Tank offset 2014-08-03 17:42:47 +02:00
Taryn Hill
b6fd757672 Merge pull request #6030 from UberWaffe/CustomWarheads
Custom Warheads refactor
2014-08-03 10:35:36 -05:00
UberWaffe
c972b39687 Custom Warheads refactor
Changes included:

Warhead code split out of weapon code and refactored.
Warhead functionality now split into several classes, each handling one effect/impact.

Additional custom warheads can now be defined and called via yaml.
Custom warheads inherit the abstract class Warhead,
which provides target check functions.

Custom warheads have to define their own impact functions,
and can also define their own replacement for check
functions.
2014-08-03 17:10:44 +02:00
Matthias Mailänder
98106e2ff7 ContainsCrate is redundant to LeavesHusk 2014-08-03 16:30:45 +02:00
Matthias Mailänder
57463f249c let supply trucks spawn money crates upon destruction 2014-08-03 16:30:41 +02:00
Matthias Mailänder
aa8ce199c2 self-document CrushClass of crates 2014-08-03 16:26:19 +02:00
Matthias Mailänder
91b612fa47 ITeleportable does not exist anymore 2014-08-03 16:26:18 +02:00
Matthias Mailänder
611c803a3a don't display idle overlays during actor transformations
fixes #6018
2014-08-03 15:02:30 +02:00