Commit Graph

90 Commits

Author SHA1 Message Date
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
Matthias Mailänder
8c6074a081 WithCrumbleOverlay for Dune 2000 buildings 2013-08-17 23:47:09 +02:00
Matthias Mailänder
376a6c7a5d read the production icons from sequences
this allows d2k to read them from DATA.R8 without trouble
2013-08-17 23:31:22 +02:00
Paul Chote
04e5edc811 Rewrite bib to match new FrozenUnderFog capabilities. 2013-08-04 19:42:16 +12:00
Paul Chote
e23c1ad33e Rewrite husks using world coords. 2013-07-21 17:35:46 +12:00
Matthias Mailänder
526c6331ab Update Combat stats in Dune 2000
fixes #3506
2013-06-30 20:21:22 +02:00
Matthias Mailänder
fcf987a4dd also revert AutoTargetIgnore: for all buildings in d2k 2013-06-23 13:15:52 +02:00
Matthias Mailänder
cdeea80037 replaced Dune 2000 AUD with original WAV
removed *.aud hard-coding everywhere
2013-06-15 19:41:07 +02:00
ScottNZ
5184cee3ca Rework aircraft destruction to use husks instead of the original actor 2013-06-07 05:04:47 +12:00
Paul Chote
c149898592 Separate IBodyOrientation from render traits. 2013-05-28 22:37:06 +12:00
Chris Forbes
8b4814e399 Merge pull request #3233 from ScottNZ/follow
Add unit following/guarding
2013-05-16 14:02:32 -07:00
Scott_NZ
6e5d58379f Add unit guarding 2013-05-16 21:23:58 +12:00
Matthias Mailänder
e38aea276c removed now redundant debug aircraft traits 2013-05-10 22:32:05 +02:00
Matthias Mailänder
99d4d07cd5 removed now redundant debug auto-target traits 2013-05-10 22:31:54 +02:00