Commit Graph

158 Commits

Author SHA1 Message Date
ScottNZ
c526f572e7 Set up tank drop for Russia, parabombs for Ukraine and spy plane/paradrop for Soviet 2014-12-19 18:08:47 +13:00
Oliver Brakmann
3cd4152dd2 Adjust rules 2014-12-18 20:24:37 +01:00
Matthias Mailänder
34bedeb71f split Hovers from WithShadow
fixes #4508
2014-11-30 10:54:36 +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
Matthias Mailänder
a3baee9d68 remove BelowUnits
closes #3670
2014-10-29 21:38:30 +01:00
Matthias Mailänder
444b5f92c3 add HEALCRATE and inherit from ^Crate 2014-10-24 19:37:22 +02:00
Paul Chote
5207fcc83b Remove legacy Lua API traits. 2014-10-19 12:43:17 +13:00
obrakmann
a91084c0f8 Merge pull request #6613 from pchote/remove-mp-tooltips
Remove the MP tooltip row from campaign missions.
2014-10-04 12:20:14 +02:00
Paul Chote
ece2b34f7d Add classic-style tooltips for RA campaign missions. 2014-10-03 20:25:34 +13:00
Paul Chote
968486a03e Reimplement iron curtain as a generic stat upgrade. 2014-10-01 21:29:19 +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
b4c826237e Remove duplicated IronCurtainable rules. 2014-10-01 20:58:40 +13:00
reaperrr
5e9948918e Remove C4 demolishability from RA vehicles 2014-09-28 22:02:43 +02:00
Paul Chote
2bbdd0ae06 Add self-healing for elite units. 2014-09-27 22:14:45 +12:00
Paul Chote
372d03c320 Convert SelfHealing to upgrades. 2014-09-27 22:14:45 +12:00
reaperrr
8c1ab03623 Wall -> Crushable + BlocksBullets yaml changes 2014-09-14 01:33:48 +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
257c953089 WithDeathAnimation yaml changes 2014-09-13 15:57:14 +02:00
Matthias Mailänder
8e4b5af352 Merge pull request #6414 from ScottNZ/balance
Some RA balance work
2014-09-06 14:13:43 +02:00
ScottNZ
48fe6cccc7 Remove MustBeDestroyed from ra support structures 2014-09-06 19:47:04 +12:00
atlimit8
cc9c253419 Moved SellSounds from Building to Sellable & added upgrade to rules. 2014-09-04 15:25:19 -05:00
ScottNZ
ba7a017489 Remove C4 target type from ra vehicles - Tanya was a bit too strong C4ing vehicles 2014-09-04 16:18:04 +12:00
reaperrr
3725ce4f7b InfDeath -> DeathType renaming. 2014-08-30 18:06:05 +02:00
Matthias Mailänder
db1e9b9c24 don't hard-code sounds for one mod to avoid confusion 2014-08-30 10:32:57 +02:00
Curtis Shmyr
fa8229d53b Implement IRenderInfantrySequenceModifier for ScaredyCat and TakeCover 2014-08-23 14:42:55 -06: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
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
394d635dae new trait WithMakeAnimation 2014-07-06 08:24:08 +02:00
Matthias Mailänder
4a7687d7e4 add a customizable parachute shadow
closes #3335
2014-07-05 09:13:52 +02:00
Matthias Mailänder
ef01fb289b make the parachute animation optional
instead of hard-coding default sprite sequences
2014-07-05 09:13:52 +02:00
Matthias Mailänder
ff1be8daea merge ParachuteAttachment and Parachutable 2014-07-05 09:13:52 +02:00
Matthias Mailänder
e04ff18060 @pchote's quest against legacy truth value definitions 2014-07-05 09:13:51 +02:00
Matthias Mailänder
a38d43019a new setting to allow unlucky paratroopers 2014-07-05 09:13:51 +02:00
Matthias Mailänder
2907273ef2 new trait Parachtuable that decides on the fate upon landing 2014-07-05 09:13:51 +02:00
Matthias Mailänder
a35d84bf5a don't remove and add a trait at the same time 2014-06-08 11:17:10 +02:00
Matthias Mailänder
09fb435d45 automatic rule upgrade 2014-05-18 08:12:22 +02:00
reaperrr
98e48ae991 Converts InfDeath from integer to string.
Wire up updated DeathSounds for all mods.
2014-05-14 15:24:06 +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
ScottNZ
2e3293dba8 Increase ra husk hp from 140 to 280 and increase burn damage 2014-04-11 19:35:04 +12:00
Matthias Mailänder
6a879cda8c Merge pull request #5029 from ScottNZ/mechanic
Fix some AttackMedic/mech bugs/regressions
2014-04-05 09:25:26 +02:00
ScottNZ
f6dd2c2c68 Fix mechanics being able to repair husks and defensive buildings 2014-04-05 19:50:59 +13:00
ScottNZ
5eb91d2811 Add hijacker 2014-04-05 13:58:40 +13: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
Taryn
61749e145d Added LineBuildNode trait to filter which structure(s) a LineBuild actor can be attached to. 2014-03-27 20:47:46 -05:00
ScottNZ
5df88cb186 Remove cloak detection from ca and lst. Increase pt's cloak detection range to 4 and render a cloak detection range circle for it 2014-03-14 22:33:35 +13:00
ScottNZ
9287fd1a76 Make Allied and Soviet factions build general-purpose mines instead of AT and AP mines. 2014-03-12 14:58:06 +13:00