Paul Chote
9d624579fc
Fix inconsistent FrozenActor state on capture/destruction.
2019-02-03 20:28:49 +01:00
Paul Chote
46f0978789
Remove obsolete LegacyEnter and ResolveFrozenActorOrder.
2019-02-03 20:28:25 +01:00
Paul Chote
3bfb43a305
Remove ResolveFrozenActorOrder from EntersTunnels.
2019-02-03 20:23:59 +01:00
Paul Chote
4ca4aebf50
Remove ResolveFrozenActorOrder from Carryall.
2019-02-03 20:23:59 +01:00
Paul Chote
8df18da419
Port EnterTransport to the new Enter activity.
...
This dramatically simplifies the reservation logic,
which seemed to be needlessly complicated. This may
regress unexpected edge-cases.
2019-02-03 20:23:59 +01:00
Paul Chote
98b4d6e828
Port DonateExperience to the new Enter activity.
2019-02-03 20:23:59 +01:00
Paul Chote
5f1d4a4ff1
Port DonateCash to the new Enter activity.
2019-02-03 20:23:59 +01:00
Paul Chote
dc722b0a0c
Port RepairBridge to the new Enter activity.
2019-02-03 20:23:59 +01:00
Paul Chote
142e6776af
Port RepairBuilding to the new Enter activity.
2019-02-03 20:23:59 +01:00
Paul Chote
baa786a4fd
Port Demolish to the new Enter activity.
2019-02-03 20:23:59 +01:00
Paul Chote
1672041dd4
Port CaptureActor to the new Enter activity.
2019-02-03 20:23:59 +01:00
Paul Chote
f63bd278e1
Rewrite Enter activity, accounting for frozen and hidden actors.
2019-02-03 20:23:59 +01:00
Paul Chote
0a2731fc72
Rewrite Mobile.MoveIntoTarget to support moving targets.
2019-02-03 20:23:59 +01:00
Paul Chote
c304a0682e
Rename Enter to LegacyEnter.
2019-02-03 20:23:59 +01:00
Paul Chote
1372b5dd85
Pause actor movement between cells when Mobile is disabled.
2019-02-03 20:23:59 +01:00
Paul Chote
1f861ce35c
Fix turn disabling mobile.IsMoving when setIsMoving is false.
2019-02-03 20:23:59 +01:00
reaperrr
210de9440c
Fix D2k bots wasting cash on building repairs
...
D2k bots not repairing buildings when damaged due to placement
without concrete was intentional, and this was bleed's default behavior
before BuildingRepairBotModule got introduced, too.
2019-02-03 18:25:03 +01:00
Paul Chote
789676919c
Allow turreted actors to acquire targets while doing other activities.
2019-02-03 18:11:54 +01:00
Paul Chote
9cafc1d7b4
Implement a secondary target-of-opportunity for AttackFollow.
2019-02-03 18:11:47 +01:00
Paul Chote
93cef0241d
Fix double-revoke crash in Demolishable.
2019-02-03 16:48:26 +01:00
Paul Chote
a641ac08f8
Prefer target to lastVisible target if it is visible.
2019-02-03 16:34:37 +01:00
matjaeck
2d0ee684b8
Reset unit stance on owner change.
2019-02-03 16:26:25 +01:00
reaperrr
f83d680197
Fix that bots don't re-use capturers
...
They were never removed from activeCapturers when their target becomes invalid,
preventing the bot from reusing them.
2019-02-03 12:13:09 +00:00
reaperrr
b54e45f4a4
Fix CaptureManagerBotModule crashing on multiple Capturable
...
By removing the now-redundant CaptureTarget class.
2019-02-03 12:13:04 +00:00
Oliver Brakmann
55b8f42ac5
Consider dead aircraft to no longer be in range
2019-02-03 11:31:55 +00:00
tovl
8f16a792cc
add check for NextActivity to FlyCircle
...
prevent infinite loop
fix for ReturnToBase
cleanup
2019-02-03 11:24:42 +00:00
Paul Chote
96ce888d97
Remove AttackSuicides trait.
2019-02-01 23:19:49 +00:00
Paul Chote
45fa0dc41e
Remove unused negativeDamage variable from AttackBase.
2019-02-01 23:19:13 +00:00
Paul Chote
b568023489
Add ForceFireIgnoresActors to AttackBase.
2019-01-28 00:21:59 +01:00
Paul Chote
f6bc07894b
Fix gate animations.
2019-01-27 21:38:42 +01:00
Paul Chote
da451896e8
Fix FrozenUnderFog / FrozenActor visibility consistency.
...
This fixes cases where both objects return visible / not
when queried at the wrong time during a tick.
2019-01-27 15:27:12 +01:00
Paul Chote
7d26e78cb3
Allow attack orders to preempt move completion for turreted units.
2019-01-27 15:26:48 +01:00
Paul Chote
6ddbab929c
Add AttackMove workaround for Aircraft.
2019-01-27 00:20:06 +00:00
Paul Chote
42779c72cf
Fix target invalidation and reacquisition in fly activities.
2019-01-26 22:56:22 +00:00
Paul Chote
35acae244c
Fix target invalidation and reacquisition in (Fly|Heli)Attack.
2019-01-26 22:56:22 +00:00
Paul Chote
965de05b0a
Fix target invalidation and reacquisition in AttackFollow.
2019-01-26 22:56:22 +00:00
Paul Chote
70cddb72f2
Fix target invalidation and reacquisition in Attack.
2019-01-26 22:56:22 +00:00
Paul Chote
19da3bc4c2
Fix target invalidation and reacquisition in Follow.
2019-01-26 22:56:22 +00:00
Paul Chote
f950a61886
Fix target invalidation and reacquisition in MoveAdjacentTo.
2019-01-26 22:56:22 +00:00
Paul Chote
d3fbb83877
Split Target.Recalculate into methods with and without invalidation.
...
TargetExtensions is moved into its own file.
2019-01-26 22:56:22 +00:00
Paul Chote
8e85431266
Define plumbing to pass initial target positions to inner move activities.
2019-01-26 22:56:22 +00:00
Paul Chote
ecd4d996c7
Pass target line color to inner move activities.
2019-01-26 22:56:22 +00:00
Paul Chote
eee71368a8
Fix self parameter name in DrawLineToTarget.
2019-01-26 22:56:21 +00:00
Paul Chote
527b4da3f2
Remove FrameEndTask from DrawLineToTarget.
...
This is no longer needed and causes ordering
issues when the unit becomes idle in the same
tick that SetTargetLine is called.
2019-01-26 22:56:21 +00:00
Paul Chote
8fdddd238b
Map Ctrl to Cmd for editor copy hotkey.
2019-01-26 21:48:53 +00:00
Paul Chote
987f2a26fa
Cache world INotifySelection traits in Selection.
2019-01-26 21:40:43 +00:00
Paul Chote
cc2912b993
Only play queued notification if queue is empty.
...
This matches the behaviour of the RA2 sidebar.
2019-01-26 21:37:03 +00:00
Paul Chote
76b15d7e37
Replace broken (Disabled)TabClick and with (Disabled)ClickSound.
2019-01-26 21:36:58 +00:00
Paul Chote
1a0b975d31
Disable bot logic during replays.
2019-01-26 21:34:56 +00:00
abcdefg30
b8c90ef506
Fix OnAllRemovedFromWorld only triggering once
2019-01-22 23:09:36 +00:00