Paul Chote
c8f05e90dc
Fix turn disabling mobile.IsMoving when setIsMoving is false.
2019-02-03 20:21:51 +01:00
reaperrr
31f4b0a5c4
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:24:15 +01:00
Paul Chote
c26e77552e
Allow turreted actors to acquire targets while doing other activities.
2019-02-03 18:07:02 +01:00
Paul Chote
012b17b974
Implement a secondary target-of-opportunity for AttackFollow.
2019-02-03 18:07:02 +01:00
Paul Chote
2194f17dc2
Fix double-revoke crash in Demolishable.
2019-02-03 16:38:04 +01:00
Paul Chote
0a57fbda3c
Prefer target to lastVisible target if it is visible.
2019-02-03 16:32:25 +01:00
matjaeck
b466b5d660
Reset unit stance on owner change.
2019-02-03 16:20:24 +01:00
Paul Chote
fd013ad9d0
Remove unnecessary trait queries from HarvesterBotModule
2019-02-03 15:54:07 +01:00
reaperrr
4da2d32bc5
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:12:34 +00:00
reaperrr
32a3caf423
Fix CaptureManagerBotModule crashing on multiple Capturable
...
By removing the now-redundant CaptureTarget class.
2019-02-03 12:12:34 +00:00
Oliver Brakmann
3093f67427
Consider dead aircraft to no longer be in range
2019-02-03 11:31:44 +00:00
tovl
ee19cb61b4
add check for NextActivity to FlyCircle
...
prevent infinite loop
fix for ReturnToBase
cleanup
2019-02-03 11:24:19 +00:00
Paul Chote
810aa744bf
Remove AttackSuicides trait.
2019-02-01 23:18:18 +00:00
Paul Chote
0464a0db58
Remove unused negativeDamage variable from AttackBase.
2019-02-01 23:18:18 +00:00
Paul Chote
ab6dd3dcf2
Add ForceFireIgnoresActors to AttackBase.
2019-01-28 00:14:27 +01:00
Paul Chote
a2e35144a7
Fix gate animations.
2019-01-27 21:37:55 +01:00
Paul Chote
d6d1f3a06d
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:21:13 +01:00
Paul Chote
dc40a973e3
Allow attack orders to preempt move completion for turreted units.
2019-01-27 15:21:13 +01:00
Paul Chote
70f4c51a17
Add AttackMove workaround for Aircraft.
2019-01-27 00:19:50 +00:00
Paul Chote
60fcf5951c
Fix target invalidation and reacquisition in fly activities.
2019-01-26 22:53:46 +00:00
Paul Chote
8efa0da54d
Fix target invalidation and reacquisition in (Fly|Heli)Attack.
2019-01-26 22:53:46 +00:00
Paul Chote
0bfc487999
Fix target invalidation and reacquisition in AttackFollow.
2019-01-26 22:53:46 +00:00
Paul Chote
7c52a6f498
Fix target invalidation and reacquisition in Attack.
2019-01-26 22:53:46 +00:00
Paul Chote
616b6c8499
Fix target invalidation and reacquisition in Follow.
2019-01-26 22:53:46 +00:00
Paul Chote
975821023d
Fix target invalidation and reacquisition in MoveAdjacentTo.
2019-01-26 22:53:46 +00:00
Paul Chote
d03c5b1c48
Split Target.Recalculate into methods with and without invalidation.
...
TargetExtensions is moved into its own file.
2019-01-26 22:53:46 +00:00
Paul Chote
2080c72ab9
Define plumbing to pass initial target positions to inner move activities.
2019-01-26 22:53:46 +00:00
Paul Chote
b2d960ec19
Pass target line color to inner move activities.
2019-01-26 22:53:46 +00:00
Paul Chote
c627a59b54
Fix self parameter name in DrawLineToTarget.
2019-01-26 22:53:46 +00:00
Paul Chote
7d85c1e81f
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:53:46 +00:00
abcdefg30
6151443618
Update CreateManPage.cs to print the new header
2019-01-26 23:15:21 +01:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Paul Chote
9025d11c54
Map Ctrl to Cmd for editor copy hotkey.
2019-01-26 21:46:46 +00:00
Paul Chote
0df159e73b
Cache world INotifySelection traits in Selection.
2019-01-26 21:40:31 +00:00
Paul Chote
64c853a4e0
Only play queued notification if queue is empty.
...
This matches the behaviour of the RA2 sidebar.
2019-01-26 21:36:45 +00:00
Paul Chote
8d276ff9de
Replace broken (Disabled)TabClick and with (Disabled)ClickSound.
2019-01-26 21:36:45 +00:00
Paul Chote
635038aa0b
Disable bot logic during replays.
2019-01-26 21:33:47 +00:00
abcdefg30
3e93242929
Fix OnAllRemovedFromWorld only triggering once
2019-01-22 23:09:21 +00:00
Paul Chote
d379555784
Remove Game.Debug messages from ValidateOrder.
2019-01-22 22:59:37 +00:00
rob-v
a2c6b19205
No player name in replay for chat commands
2019-01-22 22:57:11 +00:00
abcdefg30
3039b1d710
Reset the client state when being moved to spectator
2019-01-22 22:47:39 +00:00
abcdefg30
e08b75c2ad
Only consider system maps in the mission browser
2019-01-19 18:47:29 +00:00
abcdefg30
717b483ce7
Use map folder names instead of paths in the mission browser
2019-01-19 18:47:29 +00:00
rob-v
9ed2ffea91
Fix Warhead.IsValidAgainst (FrozenActor.Owner null)
2019-01-19 12:03:15 +00:00
Paul Chote
b1e87e4f60
Remove System.Bitmap from ITexture.
2019-01-08 21:20:06 +00:00
Paul Chote
49b04221b2
Add palette checks for png sprites.
2019-01-08 21:20:06 +00:00
Paul Chote
d2ee9bcad9
Move Png loader back to OpenRA.Game.
2019-01-08 21:20:06 +00:00
Oliver Brakmann
c2cf8ba599
Add an interface to prevent actors from being spawned by SpawnMapActors
2019-01-07 10:13:50 +00:00
reaperrr
b05d246c48
Add BotDebug message for external unit build requests
...
For easier bot debugging of things like MCV- and harvester replacement.
2019-01-06 08:39:45 +01:00
reaperrr
3a1656c3dd
Remove unused BuildUnit overload from UnitBuilderBotModule
...
Unused and didn't check things like Buildable, so better just remove it.
2019-01-06 08:39:45 +01:00