reaperrr
1bb988512f
Move AmmoPool RemainingTicks reset to Rearmable
...
This is a better place to do this than the Resupply activity.
2019-07-15 23:48:54 +01:00
reaperrr
f71912f337
Move movement to resupplier inside Resupply activity
...
From Repairable(Near).
2019-07-15 23:48:54 +01:00
Paul Chote
6eaf615798
Fix conditional traits that incorrectly override INotifyCreated.
2019-07-14 00:41:59 +02:00
tovl
2912bff850
Fix location checks for queued deployment.
2019-07-07 00:40:38 +01:00
reaperrr
0ebeb30880
Replace various Aircraft fields with FlightDynamics
...
Replaces various booleans with a FlightDynamics flag list.
2019-07-05 00:03:36 +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
b9c302a73a
Move ChildActivity handling into base Activity class.
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
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
Mustafa Alperen Seki
3e39ada304
Implement DetectCloakedMultiplier.
2019-06-28 12:19:08 +02:00
Mustafa Alperen Seki
d36973138c
Implement ReloadAmmoDelay multiplier.
2019-06-28 12:16:48 +02:00
teinarss
d7643602c1
Added a MouseAttachmentWidget to render the Direction arrows in SelectDirectionalTarget
2019-06-27 23:34:16 +02:00
teinarss
f07fb57e98
Rework relative mouse events.
2019-06-27 23:34:16 +02:00
teinarss
647cc2698b
CursorViewportZoomed in SelectDirectionalTarget
2019-06-27 23:34:16 +02:00
teinarss
ffd3834849
Lock mouse position
2019-06-27 23:34:16 +02:00
Paul Chote
739f437c18
Fix blocked cursor for queued undeploy orders.
2019-06-25 01:15:10 +02:00
Paul Chote
98125a3d94
Fix Mobile conditions.
...
The explicit IObservesVariables implementation was hiding
the base PausableConditionalTrait variable initialization.
2019-06-24 16:25:40 +02:00
Paul Chote
71ed22a473
Fix crate paradrop animation.
2019-06-22 15:52:19 +03:00
RoosterDragon
58dced7e05
Silence some doc errors in VS2019.
2019-06-21 21:22:12 +02:00
teinarss
9982b01642
Get the Ascender value from mod.yaml instead from the Font
2019-06-21 12:51:45 +02:00
Paul Chote
1e23c0a7b7
Fix bot PlaceBuilding orders.
2019-06-20 18:51:02 +01:00
Ivaylo Draganov
a85b634655
Add SupportPowerPaletteOrder to SupportPowerInfo
2019-06-15 09:55:22 +02: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
Paul Chote
b59ae476e4
Add PlaceBuildingVariant trait.
2019-06-10 11:46:32 +02:00
Paul Chote
44e41cc054
Add key handling to order generators.
2019-06-10 11:46:32 +02:00
reaperrr
97084effac
Improve Aircraft firstTick code
...
- Remove ReserveSpawnBuilding:
Only used in one place, and removing it
avoids a double GetActorBelow() look-up.
- Remove FallsToEarth check form Aircraft.firstTick:
Aircraft triggers UnReserve() on actor disposal,
so this work-around should no longer be necessary.
2019-06-09 11:24:07 +01:00
Paul Chote
ebf2ce32c0
Make sure braces for multi-line statements are on their own lines.
2019-06-08 19:26:53 +02:00
Paul Chote
674155a8dd
Move ctor initializers to their own line.
2019-06-08 18:44:50 +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
abcdefg30
586fa80943
Defer running the contents of TraitEnabled in WithMoveAnimation
2019-06-08 15:28:54 +02:00
Paul Chote
ebd36891dc
Switch other struct types to default(T).
2019-06-08 13:19:57 +02:00
Paul Chote
dabc7ec8dd
Remove unnecessary this. references.
2019-06-08 13:19:27 +02:00
Paul Chote
ebe37a44ad
Require force move for all undeploy-triggering orders.
2019-06-08 02:09:30 +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
Paul Chote
1b026b7e20
Disable out-of-range non-force targeting for deployed units.
2019-06-08 02:09:30 +02:00
Paul Chote
c853e8c5d6
Disable non-force move for deployed units.
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
52ef5617d3
Clarify MaximumPitch and AltitudeVelocity descriptions
...
AltitudeVelocity is strictly only for vertical-only movement,
MaximumPitch is only for altitude changes during horizontal movement.
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