Commit Graph

103 Commits

Author SHA1 Message Date
penev92
606f69ed7c Add "Enemy units detected" notifications to D2k 2015-05-08 20:06:56 +03:00
penev92
8e730c264f Revert removal of EnemyWatcher and AnnounceOnSeen traits from RA and D2k 2015-05-08 20:06:52 +03:00
penev92
36abf2ac41 Add an upgrade rule for TakeCover 2015-04-26 14:29:12 +03:00
Matthias Mailänder
016e8cd6fe remove automatic EnemyUnitsApproaching notification for D2k 2015-04-03 16:18:41 +02:00
Paul Chote
4ea55809ca Decompose RenderInfantry into WithInfantryBody and RenderSprites. 2015-03-21 13:04:17 +00:00
Taryn Hill
7bf058896d Apply SoundOnDamageTransition upgrade rule. 2015-03-12 16:09:15 -05:00
Paul Chote
b670673f9f Reorganize D2K actor rules.
This removes the redundancy between faction variants and adjusts the layout
to be more consistent with the other mods.
2015-03-03 18:45:45 +00:00
Taryn Hill
86f6d634c0 Add TerrainModifiesDamage trait.
^Infantry take 80% damage on Rough terrain in D2k.
2015-01-26 18:08:44 -06:00
Oliver Brakmann
2c71e954bf Merge pull request #7170 from penev92/bleed_enemySightedNotification
Implement "Enemy unit sighted" notification
2015-01-22 21:58:58 +01:00
Matthias Mailänder
94a3fc0186 Merge pull request #7336 from obrakmann/d2k-no-healing-barracks
Remove healing ability from d2k barracks
2015-01-17 15:13:50 +01:00
penev92
a4a8a793df Add EnemyWatcher trait to D2k and AnnounceOnSeen to D2k units and sandworms; remove sandworm announcement on worm spawn 2015-01-17 14:41:23 +02:00
Oliver Brakmann
13d819f0ac Remove healing ability from d2k barracks 2015-01-15 20:14:42 +01:00
Matthias Mailänder
a95abd7b38 setup the Guarding voice 2015-01-10 22:34:57 +01:00
Oliver Brakmann
3cd4152dd2 Adjust rules 2014-12-18 20:24:37 +01:00
Matthias Mailänder
9e650adef8 implement Ordos nerve gas missiles as warheads
closes #2838
2014-12-14 16:03:16 +01:00
atlimit8
bbd54cb32f Added IDisabledTrait & rewrote upgrade code using a level-based approach.
Upgradeable traits are notified whenever an upgrade of their declared types are granted or revoked.  The traits maintain their own internal level counter, which is then used to enable or disable the trait functionality.  A trait can register for multiple upgrade types which then all affect the internal level counter.

	IDisabledTrait for identifying (and filtering) disabled traits
	UpgradableTrait provides an abstract base for traits to support upgrade levels
	Added IDisabledTrait support to GlobalButtonOrderGenerator

	Includes rework by pchote with alterations.
2014-11-26 05:45:26 -06:00
Paul Chote
5207fcc83b Remove legacy Lua API traits. 2014-10-19 12:43:17 +13:00
Paul Chote
c697a1e7b4 Add a UnitUpgradeManager trait.
This introduces support for timed upgrades, starting with crate buffs.
2014-10-01 21:28:45 +13:00
Paul Chote
2bbdd0ae06 Add self-healing for elite units. 2014-09-27 22:14:45 +12: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
257c953089 WithDeathAnimation yaml changes 2014-09-13 15:57:14 +02:00
Paul Chote
ede046cc0c Merge pull request #6331 from Mailaender/infantry-noidle-fix
Fixed Dune 2000 infantry not showing the waiting animation when ordered to stop firing
2014-09-06 09:30:55 +12:00
atlimit8
cc9c253419 Moved SellSounds from Building to Sellable & added upgrade to rules. 2014-09-04 15:25:19 -05:00
Matthias Mailänder
981fff95e1 add missing TakeCover trait 2014-08-31 09:23:10 +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
de775e2f56 Reimplement unit levels using IUpgradable. 2014-08-07 20:44:28 +12:00
Matthias Mailänder
394d635dae new trait WithMakeAnimation 2014-07-06 08:24:08 +02:00
Matthias Mailänder
8cdd7dce6c make the fallrate customizable 2014-07-05 09:13:52 +02:00
Matthias Mailänder
2907273ef2 new trait Parachtuable that decides on the fate upon landing 2014-07-05 09:13:51 +02:00
reaperrr
18e37e4216 Drags death sounds out of RenderInfantry into a separate DeathSounds trait.
Play death sounds with a new PlayVoiceLocal so they don't use full volume regardless of position relative to camera.
Adds option for alternative burn and zap death sounds.
Renames RenderInfantry's UseInfantryDeath trait to SpawnsCorpse.

Removes hack from ra desert shellmap.
2014-05-02 15:14:29 +02:00
Paul Chote
06f162ad57 Add initial standard library, and port shellmaps. 2014-05-02 22:18:34 +12:00
Chicken man
e6c0a00604 Closes #4463. Added Shrapnel, as well as variable velocity and arc for bullets 2014-04-07 17:09:52 -04:00
Paul Chote
94b2debaa4 Merge pull request #4941 from Mailaender/kill-husks
Made husks targetable with force fire only
2014-04-04 03:56:33 +13:00
Matthias Mailänder
c76ebbdc46 exclusive force fire on husks and bridges 2014-04-03 15:57:41 +02:00
Oliver Brakmann
031461e188 Make husks not appear on radar. Fixes #4991. 2014-03-30 12:56:02 +02:00
Paul Chote
52e27f036a Add buildable concrete and weathering to D2k. Fixes #2249. 2014-03-18 15:46:07 +13:00
Chicken man
718ddf9afd Updated mods to work with changes. 2014-03-05 17:30:34 -05:00
Matthias Mailänder
56470b918b use the disabled palette to render husks
closes #4631
2014-03-05 23:18:14 +01:00
Matthias Mailänder
b014af11b0 allow vehicle demolition with C4 in ra and d2k 2014-02-15 23:46:18 +01:00
Matthias Mailänder
e4effd0125 Merge pull request #4478 from pchote/aircraft-follow
Add Guard and AttackMove to RA and C&C aircraft.
2014-02-01 00:38:21 -08:00
Paul Chote
61f5ab7167 Remove redundant AttackMove definitions. 2014-02-01 10:55:04 +13:00
Matthias Mailänder
0de1e20651 capturable husks for Dune 2000 2014-01-31 13:17:27 +01:00
Paul Chote
99cb698424 Generalise AttackMove to support anything with IMove and AutoTarget.
Also removes the unnecessary JustMove parameter.
2014-01-16 18:47:29 +13:00
Matthias Mailänder
4c05d98e9b removed the build radius restrictions 2014-01-04 10:51:56 +01:00
Matthias Mailänder
c78a856894 C4 demolishable bridges 2013-12-26 21:22:47 +01:00
Paul Chote
996877d9e5 Upgrade mod rules to match engine changes. 2013-12-26 20:42:13 +13:00
ScottNZ
e4d477b0e0 Add Lua standard library and supporting C#/yaml 2013-11-29 23:48:44 +13:00
Curtis Shmyr
c1e5be380e Rename Capture related traits to ExternalCapture 2013-10-27 17:25:44 -06:00
Paul Chote
5da2c319c1 Fix inconsistent naming in DebugMuzzlePositions. 2013-10-14 20:57:20 +13:00
Matthias Mailänder
009f6a3f70 bring back turrets and vehicle repairing 2013-08-17 23:47:14 +02:00