Commit Graph

53 Commits

Author SHA1 Message Date
abcdefg30
cadbd0d9ab Change the year number in all cs headers from 2018 to 2019 2019-01-26 23:15:21 +01:00
Paul Chote
59f2f5669f Change UpdateRules to account for 20181215 hotfix 2018-12-31 14:22:49 +01:00
reaperrr
be310ab6a6 Streamline resource anim traits
- Replaces WithSiloAnimation with
  WithResourceLevelSpriteBody.

PlayFetchIndex on a With*Animation trait conflicts
with the animation concept, as it's bound to conflict
with pretty much all 'normal' animation traits and
blocks progress on the animation priority system.

We also already have multiple similar SpriteBody traits,
like WithGateSpriteBody and WithWallSpriteBody.

- Rename WithResources to WithResourceLevelOverlay

Make name more accurate and consistent with sprite body
equivalent.
Also fix TS silo yaml setup (bleed setup stems from times
before WithResources was introduced).
2018-12-24 21:29:42 +13:00
reaperrr
305d82f887 Replace WithChargeAnimation with -SpriteBody
PlayFetchIndex on a With*Animation trait conflicts with the animation
concept, as it's bound to conflict with pretty much all 'normal'
animation traits and blocks progress on the animation priority system.

We also already have multiple precedent SpriteBody traits of similar kind,
like WithGateSpriteBody and WithWallSpriteBody.
2018-12-24 21:29:42 +13:00
Paul Chote
2ac7e451b4 Remove AttackBase.IgnoresVisibility.
This was a workaround for D2K sandworms, which is
now implemented using a custom attack activity.
2018-12-17 22:19:26 +01:00
reaperrr
d8220b390a Add IdleTurnSpeed to Aircraft
Instead of hardcoding 1/3 of normal TurnSpeed on HeliFlyCircle.
2018-12-05 09:20:58 +13:00
reaperrr
eb86160021 Remove CrateEffect in favor of using updated SpriteEffect 2018-12-05 09:04:29 +13:00
reaperrr
67cba65800 Fix bot module plumbing
Fixes the issues pointed out after the original harvester module was merged.
Also merges the update rules as discussed on IRC.
2018-11-24 11:05:37 +00:00
Paul Chote
807a40c209 Remove IExplodeModifier interface. 2018-11-22 22:16:56 +01:00
Mustafa Alperen Seki
6a599e57f6 Remove check for full health for negative damage warheads 2018-11-21 19:25:45 +01:00
reaperrr
927b6cd561 Convert AIHarvesterManager into *Module 2018-11-04 01:11:00 +01:00
reaperrr
04c69efc30 Prepare HackyAI for module support
- Split order handling to BotOrderManager
- Make HackyAI provide a condition
- Move BotDebug to AIUtils
2018-11-04 01:11:00 +01:00
Mustafa Alperen Seki
dd39ab5b12 Add Update Rule to change Cloak>RequiresCondition to PauseOnCondition 2018-11-03 22:40:28 +00:00
abcdefg30
5e5183549c Overhaul ProductionBar:
- Is now a conditional trait
- Now respects multiple Production trait instances
- ProductionType is now required
2018-11-03 17:30:05 +01:00
Paul Chote
18b84750aa Reimplement demolition lock using conditions. 2018-11-03 15:09:14 +01:00
reaperrr
e42094625d Merge AttackPlane and AttackHeli into AttackAircraft 2018-11-03 11:37:23 +00:00
reaperrr
8f1d8a67cc Remove RearmBuildings from Aircraft and Minelayer
In favor of using Rearmable trait.
2018-11-02 22:28:08 +00:00
reaperrr
139d5efba8 Remove RepairBuildings from Aircraft
Require them to use Repairable trait instead.
2018-11-02 22:28:08 +00:00
abcdefg30
ed7d12506d Add an update rule for CarryableHarvester 2018-11-02 22:24:56 +00:00
reaperrr
a12bb54ded Add overlooked entries to bleed update path
Those were forgotten to be added in their respective PR.
Not adding them at the bottom because
  a) RenameCrateActionNotification was merged later than them
  b) this might allow some open PRs to rebase without merge conflicts
2018-11-01 09:33:09 +00:00
Mustafa Alperen Seki
1a16ef3537 Add RenameCrateActionNotification to bleed update path 2018-10-28 11:21:49 +00:00
Mustafa Alperen Seki
9bcb222a2d Add Update rule for LPSlowdown to LPModifier 2018-10-08 21:38:30 +01:00
Paul Chote
e038b86742 Hook up make animation conditions for the default mods. 2018-10-07 19:29:34 +02:00
Paul Chote
ccad3bd185 Add MergeCaptureTraits update rule. 2018-10-07 18:46:21 +02:00
reaperrr
8144fca5be Merge repair and rearm anim traits into WithResupplyAnimation
This is the safest approach to avoid conflicts/visual glitches when the host is responsible for both resupply types.
The new trait will simply play a looping animation as long as the actor is resupplying in any form.
2018-09-27 16:38:08 +02:00
reaperrr
288dfdbf03 Update UpdatePaths and move bleed rules to subfolder 2018-09-26 23:43:30 +01:00
Andre Mohren
f342ecf18a Added UpdateRule. 2018-09-24 22:43:14 +02:00
Ectras
d9946f63e4 Renamed EditorTilesetFilter to MapEditorData and added an update rule 2018-09-22 15:12:15 +02:00
Zimmermann Gyula
6027a123d4 Split off the upgrade rules of the previous release cycle. 2018-08-02 17:00:02 +02:00
Zimmermann Gyula
a456c234ca Provide appropriate upgrade rule. 2018-07-28 16:32:37 +01:00
Paul Chote
e64a966b4f Group update rule display by update path. 2018-07-28 15:12:55 +01:00
reaperrr
d07bd029db Change Parachutable.GroundCorpseSequence default to null
Missions and 3rd-party mods may paradrop vehicles which normally don't need a corpse sequence (because they already have Explodes), so the old infantry-centric internal default can cause more harm than good.
2018-07-26 13:01:09 +01:00
reaperrr
4c55e820d6 Add beta warning to legacy update path 2018-07-22 13:54:21 +01:00
abcdefg30
27765f6448 Add all remaining update rules 2018-07-22 13:54:21 +01:00
abcdefg30
24f9ff0ac2 Add a 'ReplaceRequiresPower' update rule 2018-07-22 13:54:21 +01:00
abcdefg30
6c8a943dc9 Add four more update rules 2018-07-22 13:54:21 +01:00
reaperrr
94ad93a301 Add ScaleSupportPowerSecondsToTicks 2018-07-22 13:54:21 +01:00
abcdefg30
ab2fe92dfb Add ScaleDefaultHealth and subclass update rules 2018-07-22 13:54:21 +01:00
abcdefg30
af1a2429b1 Add five more update rules 2018-07-22 13:54:21 +01:00
Paul Chote
01684bc329 Add two more update rules 2018-07-22 13:54:21 +01:00
Paul Chote
cce9b06a40 Move SupportPowerDecisions to a single parent node.
This is required before we can force all trait
properties to match a TraitInfo-defined field.
2018-06-15 17:24:00 +02:00
Paul Chote
382f4c3af5 Remove the AddEditorPlayer update rule. 2018-06-04 23:15:56 +02:00
reaperrr
e4738ce722 Update rule for AimAnimation splits and ReloadPrefix removal 2018-06-03 12:23:54 +01:00
Paul Chote
2ef6f7c0cc Replace repair indicator effect with a Decoration subclass. 2018-06-02 18:12:08 +02:00
lawando
7dd64445fc Rename EmitInfantryOnSell and remove default actor type. 2018-06-02 15:37:35 +02:00
Mustafa Alperen Seki
367a7f617c Added OwnerLostAction
Allows customisation of what will happen to an actor when its owner
loses.
2018-05-28 10:42:45 +01:00
abcdefg30
c6fee041b1 Add an update rule adding ShakeOnDeath to bridges 2018-05-06 04:51:03 +02:00
abcdefg30
b89e6211b2 Add an update rules for the ShakeOnDeath fix 2018-05-06 04:51:03 +02:00
reaperrr
2a4299906d Add missing update rules to bleed update path
I forgot to add these in their respective PR.
2018-05-04 19:20:39 +02:00
Paul Chote
4f0aa89c01 Remove TileSet.Palette and PaletteFromCurrentTileset. 2018-04-08 21:14:29 +02:00