Commit Graph

12 Commits

Author SHA1 Message Date
Oliver Brakmann
dc33e0e1b0 Make necessary changes to existing maps 2014-08-08 13:35:50 +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
ScottNZ
692e3a9c88 Move Power out of Building and into its own trait
Conflicts:
	mods/ts/rules/structures.yaml
2014-08-03 18:53:51 +12:00
ScottNZ
b21f0eaf20 Fix dog breakage in Intervention 2014-07-26 20:19:29 +12:00
Oliver Brakmann
3a67b3dec3 Fix breakage of the old Lua API due to recent changes
Specifically, the CPos::CenterPosition -> Map::CenterOfCell rename (#5758),
as well as the additional argument to Paradrop::SetLZ (#5695).
2014-07-06 01:21:22 +02:00
Matthias Mailänder
6436088cdb Use Prerequisites: ~disabled for unbuildable actors. 2014-07-01 09:02:41 +02:00
Oliver Brakmann
cf2fad673d Fix issue with capturing enemy buildings in 'Intervention' mission
The onDamaged event handler would still fire after an enemy building had
been captured. Fixed by checking the owner before starting repairs.

Thanks to Microbit for showing me that people actually did that.
2014-06-22 14:03:57 +02:00
Oliver Brakmann
c12527e866 Remove workaround for #4482 from 'Intervention' mission 2014-06-22 14:03:57 +02:00
Oliver Brakmann
89b25c10d6 Remove now redundant Actor.IsDead checks from mission scripts 2014-06-03 20:20:48 +02:00
Oliver Brakmann
3586f9ad70 Fix issues in 'intervention' mission
* Fix an InvalidOperationException due to querying traits on a dead
  actor (fixes #5530)
* remove a gap in the SAM belt that shouldn't be there
2014-06-02 15:30:10 +02:00
Oliver Brakmann
e9e32b703e Add single-player mission 'Intervention' 2014-05-29 11:51:48 +02:00