Commit Graph

517 Commits

Author SHA1 Message Date
Matthias Mailänder
bf02d60e30 Merge pull request #6283 from reaperrr/sprite-barrel
Adds WithBarrel trait
2014-09-14 12:54:09 +02:00
reaperrr
60eae9f229 Replace Wall trait with BlocksBullets 2014-09-14 01:33:47 +02:00
reaperrr
4b94d964ca Adds WithBarrel trait. 2014-09-14 01:24:42 +02:00
reaperrr
409d6a046d Rename CrushableInfantry to Crushable, adapt to WithDeathAnimation.
Make Crushable compatible with non-mobile actors.

Change RA, TD and TS infantry die-crushed sequence ZOffsets in preparation
for future engine changes.

Add descriptions and CrushedByFriendlies to Crushable.

Adapt code to factor in whether the palette is a player palette.
2014-09-13 17:21:30 +02:00
reaperrr
3dd5fe988d Move SpawnsCorpse functionality from RenderInfantry into its own WithDeathAnimation trait.
Add descriptions and player palette booleans to WithDeathAnimation.
2014-09-13 15:57:06 +02:00
Matthias Mailänder
c204e185bc Merge pull request #6388 from DeadlySurprise/bleed
Closes #6198
2014-09-08 06:03:50 +02:00
obrakmann
d56c1fa450 Merge pull request #6378 from Mailaender/desert-shellmap-lua-cleaning
Desert shellmap Lua maintenance
2014-09-06 23:14:09 +02:00
DeadlySurprise
7183c52a2e Adds damage debug overlay 2014-09-06 16:16:36 +02:00
Matthias Mailänder
52aba46b10 Merge pull request #6392 from ingemaradahl/debug-symbols
Copy mod .mdb symbol file together with .dll
2014-09-06 13:40:59 +02:00
Alexander Fast
16965d5797 Improves tab completion in chat.
Pressing tab after completion now cycles to the next candidate.
2014-09-03 11:43:26 +02:00
Ingemar Ådahl
03815a1c8d Copy mod .mdb symbol file together with .dll
Allows for MonoDevelop to debug execution in mod library properly.
2014-09-02 21:15:47 +02:00
Matthias Mailänder
a7389a0e45 make this a seasonal easter egg 2014-08-31 20:38:16 +02:00
Tiago Sousa
ce68d67f0b Disallow same/similar colors (fixes #2820) 2014-08-30 01:53:38 +01:00
ScottNZ
b70395e27c Refactor more power and infiltration stuff. Create new power sabotage ability for spies in ra and ts. 2014-08-27 18:45:09 +12:00
Curtis Shmyr
fa8229d53b Implement IRenderInfantrySequenceModifier for ScaredyCat and TakeCover 2014-08-23 14:42:55 -06:00
Oliver Brakmann
74c45d5d21 Add reinforcements functions to Lua API 2014-08-23 16:21:40 +02:00
UberWaffe
a1e51b71d6 AI Support Power Meta Data implemented.
Changes included:
Decision can be defined for the AI support powers, governing their targeting.
Each decision can be made up of multiple considerations.
2014-08-23 12:01:30 +02:00
Paul Chote
50fea12a80 Remove now-redundant AbsoluteSpreadDamageWarhead. 2014-08-23 17:14:11 +12:00
Paul Chote
8e8e02dae8 Move warheads into mod code. 2014-08-23 17:14:10 +12:00
WolfGaming
d619fbfbbe Added a trait that removes an actor when prereqs are met, with delay. 2014-08-21 18:42:37 +00:00
Paul Chote
520df8242d Merge pull request #6217 from Mailaender/starting-units-classname
Fixed lobby start unit notifications not showing class names
2014-08-19 10:15:12 +12:00
Matthias Mailänder
fa2b2bea0b beautify starting unit notification when joining server
move LobbySettingsNotification into it's own ServerTrait
2014-08-17 07:39:34 +02:00
Curtis Shmyr
cb4bd52fc0 Added more Lua functions 2014-08-15 19:51:02 -06: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
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
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
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
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
Paul Chote
b5e4e0e074 Add support for voxels in actor previews. 2014-08-03 22:23:49 +12:00
Paul Chote
7fb106e54a Introduce actor previews for PBOG and the editor. 2014-08-03 22:23:47 +12: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
Matthias Mailänder
405d21d797 add Game.AddChatLine to the new Lua API 2014-07-27 07:34:24 +02:00
Paul Chote
0c607ffff2 Move legacy widgets into D2K project. 2014-07-26 18:20:10 +12:00
Paul Chote
a0e5554aaa Overhaul the RA sidebar UI. 2014-07-26 18:20:09 +12:00
Paul Chote
6d96d46081 Move ProductionQueueFromSelection into RA and generalize. 2014-07-26 18:20:09 +12:00
Paul Chote
17d601113e Move SupportPowersWidget into RA and generalize. 2014-07-26 18:20:08 +12:00
Paul Chote
ae9a3075a9 Add a logic class for faction-specific backgrounds. 2014-07-26 18:20:08 +12:00
Paul Chote
9e2b3ce0b8 Unify cheats -> debug and adjust plumbing for new RA UI. 2014-07-26 18:20:08 +12:00
Paul Chote
e7ae615ac9 Split the last TD UI logic into reuseable chunks. 2014-07-26 18:20:07 +12:00
Paul Chote
1e76baf070 Move TD production widgets into the RA project. 2014-07-26 18:20:07 +12:00
Paul Chote
c4bcf0af46 Introduce RangeCircleRenderable. 2014-07-25 21:14:39 +12:00
Taryn Hill
b4cecff74e ClonesProductionUnits:
string[] CloneableTypes	checks Cloneable.Types

Cloneable:
	string[] Types checked by ClonesProductionUnits.CloneableTypes

Added INotifyOtherProduction
	for notifying self when another actor
	produces a unit.
2014-07-24 19:08:08 -05:00
Matthias Mailänder
249be6d9a7 separate and document FlyAwayOnIdle 2014-07-23 07:09:07 +02:00