teinarss
71596ae959
Added drag direction mouse interaction for set the approach direction for airstrike and parabombs
2019-04-04 20:10:34 +02:00
teinarss
1dd90a1d7b
Pushed down the MouseInput handling to the OrderGenerators and made a base class for handling the basic logic
2019-04-04 20:10:34 +02:00
Mustafa Alperen Seki
9fef2c01ec
Add AppearsOnMapPreview
...
Allows preplaced actors to be rendered on map preview when saving the
map.
Also removes requirements for ResourceLayer in OpenRA.Game and moves it
to OpenRA.Mods.Common.
2019-04-04 19:37:19 +02:00
tovl
ea4f24d0b7
Rework harvester automation.
2019-04-04 19:22:25 +02:00
tovl
1d590ac207
Sanitize harvester search behavior.
2019-04-04 19:22:25 +02:00
tovl
8d8cade266
Remove no-op on harvester creation.
2019-04-04 19:22:25 +02:00
tovl
bc7516989e
Rework harvester unblock and idle behavior.
2019-04-04 19:22:25 +02:00
tovl
3bfa32ca33
harvester Harvest order works with queues
...
fix for autocarryable harvesters
Make use of QueueActivity's own handling of order.Queued
2019-04-04 19:22:25 +02:00
tovl
307a87cd9e
harvester Deliver order works with queues
2019-04-04 19:22:25 +02:00
Mustafa Alperen Seki
e7b8a56511
Add ValidStances to AutoTargetPriority.
2019-04-04 19:08:10 +02:00
tovl
25bc3ae2d2
Fix chinook being unable to land.
2019-03-31 18:25:14 +02:00
Oliver Brakmann
320717003f
Fix crash due to conflicting access to collection in killed Cargo
2019-03-31 08:41:06 +02:00
reaperrr
404eee23f9
Adapt WithMoveAnimation to INotifyMoving
...
And add ValidMovementTypes for configurability.
2019-03-30 16:24:47 +00:00
reaperrr
4c53599736
Adapt GrantConditionOnMovement to INotifyMoving
2019-03-30 16:24:47 +00:00
reaperrr
a10af382b4
Add plumbing for notifying traits of movement
...
More precisely, about start and stop of movement.
2019-03-30 16:24:47 +00:00
reaperrr
32ab822786
Fix ResupplyAircraft being cancelable by Stop command
...
It is now immediately queued again, as long as the actor
has not finished rearming/repairing yet.
2019-03-30 16:44:04 +01:00
reaperrr
b92aef5754
Make Aircraft.GetActorBelow() LandAltitude-aware
2019-03-30 16:44:04 +01:00
reaperrr
3211119027
Simplify ResupplyAircraft
...
By moving part of the take-off prevention (when TakeOffOnResupply
is set to false) to Aircraft.
Main reason & advantage is that dropping the 'WaitFor' child
makes this activity always end when resupplies are done,
which makes it more compatible with being queued as ChildActivity
itself (for example by ReturnToBase).
2019-03-30 16:44:04 +01:00
tovl
872bf737e0
Fix transport being blocked by its own passengers.
2019-03-26 21:55:43 +01:00
Voidwalker
a46ec5d930
Cargo improvements
2019-03-26 21:34:09 +01:00
tovl
30de4df749
Replace SequenceActivities with ChildActivity in several activities.
2019-03-25 20:22:35 +00:00
tovl
5782dde1c7
Remove ISync from AttackMove.
2019-03-23 21:02:04 +01:00
Mustafa Alperen Seki
6c9d961bb5
Polishing Hovers
2019-03-22 21:12:36 +01:00
tovl
e2e4caf0ba
Make Aircraft.OnBecomingIdle accesible.
2019-03-22 19:02:05 +01:00
tovl
64cec4a0ad
Revise AttackMoveActivity.
2019-03-22 19:02:05 +01:00
Mustafa Alperen Seki
ac7d2e00e3
Use .Trait<ConditionManager>(); on GrantConditionOnDamageState
2019-03-21 14:36:33 +01:00
Mustafa Alperen Seki
d54e4395e5
Add GrantConditionOnHealth
2019-03-21 14:36:33 +01:00
abcdefg30
a3325277d9
Prevent support powers from creating two camera actors
2019-03-14 19:29:39 +00:00
abcdefg30
8578ce1346
Merge PlaceSimpleBeacon and AnimatedBeacon into PlaceBeacon and Beacon
2019-03-14 01:55:34 +01:00
Mustafa Alperen Seki
2aebb05cd0
Implement Building/UnitDelays
2019-03-14 01:36:44 +01:00
tovl
9f419fca34
make cargo unload deploy action queueable
...
fix line spacing
remove unnecessary null check
2019-03-14 00:54:54 +01:00
Mustafa Alperen Seki
556774804f
Make Capture related traits conditional.
2019-03-13 23:43:16 +01:00
Mustafa Alperen Seki
35ad33e8be
Fix filenames of capture related traits.
2019-03-13 23:43:16 +01:00
abcdefg30
0ab7e0a855
Add support for multiple (un)deploy sounds on GrantConditionOnDeploy
2019-03-11 21:31:39 +00:00
reaperrr
5ec47b47af
Rename fields on Repairable traits
...
To bring them in line with RearmActors,
Repairable.RepairBuildings and
RepairableNear.Buildings have been renamed
to RepairActors.
Additionally, their RA-specific internal
defaults were removed and the FieldLoader
now requires them to be set explicitly.
2019-03-10 19:19:49 +01:00
Oliver Brakmann
0bd00d3b7c
Add a ReturnToGroundLayerOnIdle flag to CustomMovementLayers
...
Co-authored-by: Mazar Farran <farranmazar@gmail.com >
Co-authored-by: Paul Chote <paul@chote.net >
2019-03-10 18:20:01 +01:00
Paul Chote
8fc483b30b
Work around a crash for invalid FrozenActor targets.
2019-03-10 17:29:17 +01:00
Paul Chote
71dd84b9d5
Fix invalid target crash in SupportPowerManager.Activate.
2019-03-10 13:26:49 +01:00
Mustafa Alperen Seki
1a728ee153
Add ExperienceTrickler trait.
2019-03-10 13:13:16 +01:00
Mustafa Alperen Seki
b8a85091d4
Make WithRangeCircle conditional
2019-03-10 02:39:27 +01:00
tovl
705795abde
Activity.Cancel returns void instead of bool.
2019-03-09 21:47:43 +00:00
tovl
a17cd0fa06
Replaced Canceled state with Canceling state.
2019-03-09 21:47:43 +00:00
tovl
8191a6566b
Add missing self and optional pretick parameters to Queue, QueueChild and PrintActivity methods.
...
This means sequenceActivities needs to accept self as well.
2019-03-09 21:47:43 +00:00
Mustafa Alperen Seki
0b0b82bd43
Implement Harvester>BaleUnloadAmount
2019-03-09 12:19:02 +00:00
reaperrr
2ac9d92ce7
Remove some legacy activity cruft from Aircraft
...
You only need to look at the RTB activities to tell that
Aircraft doing its own stuff here was somewhat redundant
and just made things worse regarding debugging and
code consistency.
2019-03-09 12:12:51 +00:00
reaperrr
fa3bf5cefe
Add delay support to NukeLaunch
...
And use that to remove the remaining DelayedAction from NukePower.
2019-03-09 12:02:44 +00:00
tovl
2e5e7c22f4
Make Mobile a PausableConditionalTrait
2019-03-07 02:50:43 +01:00
Paul Chote
3e404f6ac2
Remove HSLColor.
2019-03-04 18:26:42 +00:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
Paul Chote
c7dc237143
Remove Order.TargetLocation from Mobile.
2019-03-04 18:08:42 +00:00