tovl
824db72a4c
Prevent VisualMoveIntoTarget from overshooting when turning.
2019-07-03 20:42:19 +02:00
tovl
985020b4ad
Simplify special exits of several acitivities.
2019-07-03 20:42:19 +02:00
tovl
3790169db9
Make Tick return bool
2019-07-03 20:42:19 +02:00
tovl
714b09ac4f
Add default for Activity-Tick
2019-07-03 20:42:19 +02:00
tovl
b9c302a73a
Move ChildActivity handling into base Activity class.
2019-07-03 20:42:19 +02:00
tovl
37379daf3c
Refactor MoveAdjacentTo.
2019-07-03 20:42:19 +02:00
tovl
3ac5ac25f6
Queue WaitForTransport childactivity in OnFirstRun.
2019-07-03 20:42:19 +02:00
Paul Chote
5d8b6d6057
Fix force-landed transports taking off after (un)loading passengers.
2019-07-01 16:00:03 +02:00
tovl
71a035315c
Prevent infinite loop between FlyAttack and ReturnToBase.
2019-06-30 18:04:43 +02:00
tovl
5920de1384
Airborne transports only land to (un)load.
2019-06-30 18:04:43 +02:00
tovl
76422933f6
Allow forced landing on helipads and enforce takeoff otherwise.
2019-06-30 18:04:43 +02:00
tovl
79a48765d9
Allow VTOLs to land with force-move
2019-06-30 18:04:43 +02:00
tovl
8e5875453a
Improve Carryall behaviour and integration with Aircraft.
2019-06-30 18:04:43 +02:00
tovl
adecd4ca87
Overhaul Land activity:
...
- Landing on an actor is no longer blocked by the underlying terrain
- Land in a nearby cell if the requested location is blocked
- Internally manages the fixed-wing landing sequence
- ProductionAirdrop transport waits until the exit is free before landing
2019-06-30 18:04:43 +02:00
Paul Chote
ff9db0bf7a
Reset RequestedTargets that are cancelled before the first attack tick.
2019-06-29 23:28:23 +02:00
Paul Chote
8f7426f579
Reduce duplication around AttackFollow's targets.
2019-06-29 23:28:23 +02:00
Paul Chote
a2d51753ba
Fix final parachuted actor position.
2019-06-22 15:52:19 +03:00
reaperrr
db0c6d88bf
Fix AbortOnResupply not working
...
Going by yaml rules, all(!) aircraft in the shipping
mods should be aborting any previous activities
on resupply. None actually did, due to this bug.
2019-06-20 15:01:30 +01:00
Paul Chote
a8b7fcaf87
Fix undeploy orders always being queued.
2019-06-15 09:49:23 +02:00
reaperrr
c8a42cbce2
Introduce AirAttackType
...
Aircraft attack behavior (currently FlyBy or Hover)
is now controlled via this instead of the CanHover boolean.
2019-06-10 12:43:34 +02:00
reaperrr
979ed1b140
Merge HeliAttack into FlyAttack
...
And polish CanHover FlyAttack behavior:
- Get rid of direct TickFacing usage
- Fix that the CanHover facing/altitude update would override
TakeOff child of Fly
- Streamline the queueing of child activities
- Get rid of a direct FlyTick in favor of relying on Fly activity
- Pull queueing of TakeOff out of the if-else
2019-06-08 17:07:18 +01:00
Paul Chote
dabc7ec8dd
Remove unnecessary this. references.
2019-06-08 13:19:27 +02:00
Paul Chote
5d886b79f1
Remove AlternateTransportsMode.
...
This conflicts with undeploy orders and has been largely
superseded by queued enter orders.
2019-06-08 02:09:30 +02:00
Paul Chote
ecd8dee575
Add TransformsInto* traits to trigger construction yard undeploy.
2019-06-08 02:09:30 +02:00
tovl
ea036d4cc0
Allow move orders to cancel DeployForGrantedCondition.
2019-06-08 02:09:30 +02:00
reaperrr
8589e26dc2
Resolve rally point target on first run.
2019-06-07 22:18:33 +01:00
reaperrr
ac08f24828
Make aircraft move to CruiseAltitude on new order
2019-06-07 22:18:33 +01:00
reaperrr
ce3d7c98ad
Refactor TakeOff
...
- Make it self-contained by moving actual take-off
from 'Fly' to this
- Make 'moveToRallyPoint' a simple boolean
- Make AttackMove to rally point a child activity
- Make TakeOff uninterruptible
2019-06-07 22:18:33 +01:00
reaperrr
4f8f8cfb9d
Merge HeliFly into Fly
2019-06-07 22:18:33 +01:00
reaperrr
5698ea0910
Remove HeliFlyAndLandWhenIdle
...
Already obsolete, as aircraft with CanHover do properly become idle
and land when LandOnIdle is set to 'true'.
They currently need VTOL too, but all CanHover-aircraft
in the shipping mods have that and it will be fixed soon as well.
2019-06-07 22:18:33 +01:00
Paul Chote
e2b27328bd
Rework paradrop logic to be more robust.
2019-05-31 15:31:47 +02:00
Paul Chote
3ca9d4b773
Drop targets when switching to a more restrictive stance.
2019-05-21 15:52:55 +02:00
Paul Chote
44c5d38a0e
Disable AutoTarget if targeting a persistent fallback.
2019-05-19 13:23:01 +02:00
reaperrr
0c2666b97e
Streamline Land activity
...
Removed some redundant parameters, some redundant overloads
and made Land always consider LandAltitude relative to target.
2019-05-17 18:51:21 +01:00
reaperrr
14bd5ada1a
Merge HeliLand into Land activity
2019-05-17 18:51:21 +01:00
Paul Chote
6f1aaab3e3
Remove CallFunc.
2019-05-12 19:06:52 +02:00
Paul Chote
e57e881662
Use Target in DeliverUnit
2019-05-12 19:06:52 +02:00
tovl
0b747ba927
Rework Carryall drop-off queueing and ordering.
2019-05-12 19:06:52 +02:00
Paul Chote
6248326b29
Rename AttackMove *ScanConditions.
2019-05-12 10:59:36 +02:00
tovl
0e1374f0eb
Replace pseudo-childactivities in AttackMoveActivity.
2019-05-12 10:59:36 +02:00
tovl
9abf715fd7
Allow opportunity fire for aircraft.
2019-05-04 23:40:16 +02:00
tovl
f16ff9eaa0
Base AttackAircraft on AttackFollow and get rid of SequenceActivities.
2019-05-04 23:40:16 +02:00
reaperrr
ad4c0e6dee
Remove HeliFlyCircle activity
...
FlyCircle actually works fine for D2k Carryalls,
and no other place used this.
2019-05-01 20:50:10 +01:00
reaperrr
543d46f47c
Make ground actors leave resupplier if resupply is aborted
2019-04-29 01:40:52 +01:00
reaperrr
bc0d8ca015
Remove ResupplyAircraft and AllowYieldingReservation
...
The few extra things those two activities did can be done
in Resupply, making them redundant.
2019-04-29 01:40:52 +01:00
reaperrr
4a06c66dbd
Fix resupply anim not always finishing properly
2019-04-29 01:40:52 +01:00
reaperrr
83934074a4
Merge INotifyRearm/Repair into INotifyResupply
...
And streamline its notify methods.
Also cache INotifyResupply traits at beginning
of Resupply activity.
2019-04-29 01:40:52 +01:00
reaperrr
ba4b5738d7
Merge Rearm and Repair into Resupply activity
...
Allows parallel rearming and repairing.
2019-04-29 01:40:52 +01:00
Mustafa Alperen Seki
e63f52c43f
Add RepairSound to EngineerRepair.
2019-04-22 20:25:52 +02:00
Mustafa Alperen Seki
2194584b25
Fix EngineerRepairable stance checks.
2019-04-22 20:25:52 +02:00