Curtis Shmyr
2229bbf985
Rename LegacyCapture related traits to Capture
2013-10-27 17:25:44 -06:00
Curtis Shmyr
c1e5be380e
Rename Capture related traits to ExternalCapture
2013-10-27 17:25:44 -06:00
Paul Chote
9ee9de01b1
Use cell positioning to look up resupply actors. Fixes #3901 .
...
FindActorsInBox only checks against the centre of
actors, so testing two points is rarely going to
work.
2013-10-05 23:28:46 +13:00
Matthias Mailänder
a5b954a563
never heal enemies
...
fixes #3597
2013-09-21 07:37:20 +02:00
Matthias Mailänder
b5fcb297af
Merge pull request #3726 from pchote/cloak-fix
...
Cloak fixes
2013-08-23 09:27:56 -07:00
Paul Chote
bc5c11e44f
Check ITargetable when deciding target validity. Fixes #3659 .
2013-08-22 19:29:05 +12:00
Paul Chote
8fd4243861
Avoid unnecessary Mobile lookups in Follow.
2013-08-22 19:29:05 +12:00
ScottNZ
3e0dd12db6
Make buildings being captured flash the colour of the captor's owner
2013-08-22 14:35:02 +12:00
Matthias Mailänder
8c6074a081
WithCrumbleOverlay for Dune 2000 buildings
2013-08-17 23:47:09 +02:00
Paul Chote
f2ecea4731
Enable frozen order: LegacyCaptureActor.
2013-08-12 21:34:19 +12:00
Paul Chote
40a9caddc7
Add FrozenActor target type.
2013-08-12 21:34:18 +12:00
Paul Chote
4f3c9aa0af
Introduce Target.Type property.
2013-08-11 22:23:52 +12:00
Matthias Mailänder
5dcf1c755c
use the player statistics everywhere
2013-08-11 12:21:33 +02:00
Paul Chote
755fa6eaf4
Include Armament and Barrel in INotifyAttack.
2013-08-03 16:21:57 +12:00
Paul Chote
c3f04cc32e
Convert non-aircraft positioning to world coords.
...
This removes the incomplete and unused hover code
on Mobile, which would be more trouble that it is
currently worth to carry over.
2013-07-21 17:35:47 +12:00
Paul Chote
6a435752fd
Remove *PxPosition from IOccupySpace/IPositionable.
2013-07-21 17:35:46 +12:00
Paul Chote
0676116d77
Convert Move and related plumbing to world coordinates.
2013-07-21 17:35:45 +12:00
Paul Chote
048bed0a5e
Rename ITeleportable -> IPositionable.
2013-07-21 17:35:41 +12:00
Paul Chote
27f04c1b78
Rename FindUnits -> FindActorsInBox.
2013-07-20 15:34:28 +12:00
Paul Chote
37c02fea79
Remove PPos overload of FindUnits.
2013-07-20 15:34:27 +12:00
Paul Chote
800acdbdf2
Rename FindUnitsInCircle -> FindActorsInCircle.
2013-07-20 15:34:27 +12:00
Paul Chote
e6865c5996
Remove PPos overload of FindUnitsInCircle.
2013-07-20 15:34:27 +12:00
Paul Chote
39d2095e54
Remove PPos overload of ClosestTo.
2013-07-20 15:34:27 +12:00
Curtis Shmyr
a1f05fd017
Remove unused interface INotifyOtherCaptured
2013-07-14 11:53:15 -06:00
ScottNZ
7ead562349
Use correct sound for teleporting chronotanks
2013-07-14 00:24:11 +12:00
Paul Chote
11cebddaa9
Convert Sound.Play* to WPos.
2013-07-11 17:37:27 +12:00
Paul Chote
0326d2bbd0
Use WRange for Follow.
2013-07-10 20:03:53 +12:00
Paul Chote
ee188ededd
Fix Follow formatting.
2013-07-10 20:01:04 +12:00
Paul Chote
91698678a2
Use WRange for Mobile.MoveWithinRange.
2013-07-10 19:59:03 +12:00
Chris Forbes
10e0f367a8
fix a timing bug in LegacyCaptureActor
2013-07-09 08:15:03 +12:00
Paul Chote
2cff2d8bbe
Improve Leap behavior:
...
* Configurable jump speed.
* Configurable jump angle.
* Configurable attack sound (uses weapon report).
* Don't accidentally eat tanks.
2013-07-08 23:40:22 +12:00
Paul Chote
d0bed06765
Use WVec overload of Util.GetFacing where possible.
2013-07-08 21:52:27 +12:00
Paul Chote
0fdffd7b6a
Convert Drag to world coords.
2013-07-08 21:52:27 +12:00
Paul Chote
9eaeeffae9
CenterLocation.ToCPos() -> CenterPosition.ToCPos().
2013-07-08 21:52:26 +12:00
Paul Chote
561cb6cfe0
Rewrite Leap activity to be more robust.
...
The dog will now always leap to the target
subcell (even if the target dies or moves),
and will kill whatever happens to be in the
target cell when it lands.
2013-07-08 21:52:25 +12:00
Paul Chote
6f67602d57
Use Target range checks in attack activities.
2013-07-06 19:12:26 +12:00
Paul Chote
791cdeba4d
Cancel make animation if the building dies. Fixes #3464 .
2013-06-27 18:07:51 +12:00
Matthias Mailänder
e6bdacce9c
various fixes towards LegacyCapture
...
- sniper using Captures, but churches using LegacyCapturable
- unable to parse CaptureThreshold/SabotageHPRemoval from yaml
- not firing up INotifyCapture and breaking:
* sniper transforming the church on capture in ra
* proc not giving away it's contents in cnc
2013-06-23 12:43:24 +02:00
Paul Chote
0029cb8aec
Allow Harvester to define the number of harvestable facings.
2013-06-22 19:25:10 +12:00
Paul Chote
80c3cf479d
Remove harvester dependency on RenderUnit.
2013-06-22 16:58:40 +12:00
Paul Chote
1eb04a70a5
Add TextRenderable for CashTick. Make ticks consistent.
2013-06-16 19:10:38 +12:00
Matthias Mailänder
01a625691a
Merge pull request #3389 from ScottNZ/infil
...
Infiltration code cleanup
2013-06-14 00:08:24 -07:00
ScottNZ
5334589922
Infiltration code cleanup
2013-06-14 18:58:39 +12:00
Chris Forbes
59d10cfc5d
Invalidate targets when chronoshifted
...
This replaces OpenRA/OpenRA#2807 , without the massive cost.
2013-06-13 09:47:42 +12:00
Curtis Shmyr
6a1b37b5b7
Capture changes - Engis now capture from outside. Added classic (legacy) capturable traits.
2013-06-11 20:44:06 -06:00
Matthias Mailänder
f4a4afbb69
make cash ticks consistent with per-player shroud and observers
2013-05-13 23:42:49 +02:00
Paul Chote
656476991f
Replace ColorRamp with HSLColor everywhere.
...
Fixes:
* Nuclear-purple color exploit.
* #3247 .
* Removes a bunch of unnecessary color conversions every frame.
Caveats:
* The ramp range is now defined on the palette, so ramps can no longer be set per-player (may impact maps which define custom colors).
* It's no longer possible to perfectly recreate the original WW color ramps (I doubt we care).
* The old ColorRamp setting isn't migrated, so players will lose their color settings.
2013-05-10 19:23:30 +12:00
Matthias Mailänder
e09a7f57f3
Undock harvesters when refinery is destroyed or not in world
...
fixes #2029
2013-04-24 13:42:02 +02:00
Paul Chote
08cf941fef
Add BridgeHut and repair activities.
2013-04-15 23:11:21 +12:00
Paul Chote
e76c746b61
Rewrite Enter and related activities.
...
The unit will now path to the nearest adjacent cell, drag inside, do the inner activity, then (if still alive) drag back to its original
location.
This fixes:
- Mismatch in logic between Enter and MoveAdjacentTo,
which causes an infinite loop.
- Building capturing failing from certain directions.
- Being unable to enter buildings on unpathable tiles.
- Units being stranded inside a building if the requirements
for the inner order aren't met.
2013-04-15 08:05:37 +12:00