Mustafa Alperen Seki
dd92ec4d02
Make Cloak PausableConditional
...
If disabled now it CloakDelay resets to InitialCloakDelay when
reenabled, if paused it continues with CloakDelay when resumed.
2018-11-03 22:40:28 +00:00
Ivaylo Draganov
a7279415dc
Allow player to add a "priority unit" to production queue
...
* If production is ordered by `Ctrl + Left Click` the item is added to the top of the stack after the currently produced item
* Works with `Shift` for priority queueing of 5 items
* This modifier is not taken into account for `ParallelProductionQueue` as it doesn't make sense in that context
2018-11-03 17:54:50 +01:00
abcdefg30
f968b169ad
Fix PrimaryBuilding changing the status of and from disabled queues
2018-11-03 17:30:05 +01:00
abcdefg30
272d9b99fd
Fix ProductionFromMapEdge blocking the base Created call.
2018-11-03 17:30:05 +01:00
abcdefg30
c0ee199ad1
Support multiple Production traits in WithProductionOverlay.
2018-11-03 17:30:05 +01:00
abcdefg30
a03abe78af
Ignore disabled production traits.
2018-11-03 17:30:05 +01:00
Paul Chote
ea3731a7cc
Pass the original init dict to UnitProducedByOther.
2018-11-03 17:30:05 +01: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
fc6ada38f4
Revoke WithMakeAnimation condition at the end of the tick.
...
This fixes traits becoming enabled for a tick
between the animation completing and the actor
being removed from the world.
2018-11-03 15:28:05 +01:00
Paul Chote
47a470e945
Remove legacy Building plumbing.
2018-11-03 15:09:14 +01:00
Paul Chote
e77aaa1a47
Remove (INotify)BuildComplete from Attack*
2018-11-03 15:09:14 +01:00
Paul Chote
e57087cb5b
Remove building lock from Production.
2018-11-03 15:09:14 +01:00
Paul Chote
94088d37a6
Remove building lock from Sellable.
2018-11-03 15:09:14 +01:00
Paul Chote
492bcdd9a7
Remove building lock from Transforms.
2018-11-03 15:09:14 +01:00
Paul Chote
18b84750aa
Reimplement demolition lock using conditions.
2018-11-03 15:09:14 +01:00
Paul Chote
0901a7d9de
Simplify FlashTarget.
...
Now defined in terms of a flash count, interval, and delay.
Broken FlashDuration parameter removed from Demolition.
2018-11-03 15:09:14 +01:00
Paul Chote
1b9f23eca0
Replace AnnounceOnBuild with VoiceAnnouncement.
2018-11-03 15:09:14 +01:00
Paul Chote
3d6b170ec3
Support multiple capture traits in order targeter and script plumbing.
2018-11-03 14:47:22 +01:00
Paul Chote
346e670563
Simplify type filtering in GivesCashOnCapture/TransformOnCapture.
2018-11-03 14:47:22 +01:00
Paul Chote
7e67ce0139
Pass CaptureTypes through the INotifyCapture interface.
...
Also make it require explicit implementation.
2018-11-03 14:47:22 +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
2485029452
Add 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
db58b35856
Further untangle (and - hopefully - fix) the afterLandActivity mess
2018-11-02 22:24:56 +00:00
abcdefg30
7e20bdd7ea
Introduce a new CarryableHarvester trait
2018-11-02 22:24:56 +00:00
Mustafa Alperen Seki
5a0c1459b2
Add MPSpawnUnits>BaseActorOffset
2018-11-01 02:16:59 +01:00
abcdefg30
d46e47d16d
Fix target lines still being visible after an owner change
2018-11-01 02:09:36 +01:00
Paul Chote
eb61c45e14
Add EmbeddedSpritePalette sprite metadata.
2018-10-28 20:55:40 +00:00
abcdefg30
9cbe7bc62d
Fix infantry getting stuck in the last attack frame
2018-10-28 02:13:18 +01:00
Andre Mohren
cc036cfd62
Implement AnnounceOnBuildInfo.OnlyToOwner
2018-10-27 15:21:33 +02:00
Mustafa Alperen Seki
98006d3870
Make CrateAction>Sound to play for everyone
2018-10-26 22:37:00 +01:00
Mustafa Alperen Seki
5f17f0b5b0
Add actual notification support for *CrateAction traits
2018-10-26 22:37:00 +01:00
Mustafa Alperen Seki
f066655bb7
Rename CrateAction>Notification to Sound
2018-10-26 22:37:00 +01:00
reaperrr
f18ce8cfda
Make HitShape mandatory for damaging actors and refactor warheads.
...
* Adds support for linking Armor traits to HitShapes.
* Adds spread support to TargetDamageWarhead
* Removes ring-damage support from HealthPercentageDamage
* Removes IsValidAgainst check from DoImpact(Actor victim...) overload
and instead lets warheads perform the check beforehand
(to avoid HitShape look-ups on invalid targets).
* Reduces duplication and improves readability of Warhead implementations
2018-10-26 22:03:34 +02:00
Mustafa Alperen Seki
f3cbc5f72b
Make CrateAction conditional.
2018-10-24 15:13:04 +01:00
Ectras
93977782a7
Updated Description for TerrainSpeeds
...
Added check for speed > 0
2018-10-18 18:45:51 +02:00
reaperrr
3e73357619
Remove IsIdle check from DrawLineToTarget.OnBecomingIdle
...
OnBecomingIdle is triggered when IsIdle becomes true, so this check is bogus.
2018-10-15 22:53:57 +02:00
Paul Chote
a06cfb4004
Move TerrainRenderer to a mod-defined trait.
2018-10-13 18:16:56 +02:00
Inq8
fec9fe1ad4
Aircraft Takeoff & Landing Sounds (Fixed-Wing)
...
Added Takeoff & Landing sounds to planes.
Changed Aircraft Trait, TakeoffSounds & LandingSounds are now arrays & accept a list of sound files & it will randomly select one to play.
Changed/fixed take off & landing sounds to originate from the aircraft location, rather than play a global sound.
2018-10-12 14:29:53 +02:00
Mustafa Alperen Seki
faa35946b8
Make Exit Conditional
2018-10-08 22:00:39 +01:00
Mustafa Alperen Seki
5b00c12ca3
Change default value of LowPowerModifier to 100
2018-10-08 21:38:30 +01:00
Mustafa Alperen Seki
53304a0353
Change LowPowerSlowdown to LowPowerModifier
2018-10-08 21:38:30 +01:00
Paul Chote
14607f55c5
Replace INotifyBuildComplete in render traits with conditions.
2018-10-07 19:29:34 +02:00
Andre Mohren
450dc70375
Refactored cursors.yaml to use palettes from rules.
2018-10-07 19:28:11 +02:00
Noam
c71f97e2c6
Update editor sidebar when a player is removed.
2018-10-07 19:01:55 +02:00
Paul Chote
de8fa56461
Remove obsolete building lock check from BaseProvider.
2018-10-07 18:46:21 +02:00
Paul Chote
22bd7fd90b
Remove obsolete code.
2018-10-07 18:46:21 +02:00
Paul Chote
a4405009c8
Add PreventsAutoTarget.
2018-10-07 18:46:21 +02:00
Paul Chote
132268bc49
Remove default building capture type.
2018-10-07 18:46:21 +02:00