reaperrr
a010c72780
Fixed comment typo in Aircraft
2019-07-15 23:48:54 +01:00
reaperrr
5211eb25aa
Improve handling of finished/cancelled Resupply
2019-07-15 23:48:54 +01:00
reaperrr
5b65e618ee
Remove Resupply Cancel override
...
This became detrimental to actor responsiveness
while resupplying.
2019-07-15 23:48:54 +01:00
reaperrr
e4011b86ac
Move AbortOnResupply to AttackAircraft
...
Additionally, if AbortOnResupply is set to 'true',
abort FlyAttack right away when queueing ReturnToBase.
2019-07-15 23:48:54 +01:00
reaperrr
1f16cb6864
Make Repairable(Near) implement interfaces explicitly
2019-07-15 23:48:54 +01:00
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
reaperrr
a7fa372045
Fix Resupply regression
...
The work-around was originally written with ground units in mind
and caused issues with aircraft.
2019-07-15 23:48:54 +01:00
Paul Chote
579d2c19e2
Add --check-conditional-trait-interface-overrides utility command.
...
This command is used by `make check` to detect traits that incorrectly
override interface methods that are required for conditions to work
correctly.
2019-07-14 00:41:59 +02:00
Paul Chote
6eaf615798
Fix conditional traits that incorrectly override INotifyCreated.
2019-07-14 00:41:59 +02:00
reaperrr
701b1524e5
Fix InstantHit crashing if blockable and target is dead
...
If the weapon has TargetActorCenter, the projectile is Blockable
and the target dies the same tick the projectile is fired but before
the 'blocked' check is performed, the target.CenterPosition lookup
would crash since the target has become invalid.
Work around this by ignoring TargetActorCenter and using
args.PassiveTarget position instead if the target is already dead.
2019-07-12 22:09:14 +02:00
tovl
71a1060ecb
Prevent carryalls picking up non-existent units.
2019-07-11 13:19:19 +02:00
tovl
0562814efa
Prevent carryalls delivering non-existent units.
2019-07-11 13:19:19 +02:00
reaperrr
1c03fb9e51
Revert Simplify CreateEffectWarhead
...
Reverts #16312 .
2019-07-07 19:15:08 +02:00
tovl
2912bff850
Fix location checks for queued deployment.
2019-07-07 00:40:38 +01:00
reaperrr
bbf4495668
Update rule for FlightDynamics
2019-07-05 00:03:36 +02: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
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
09c1611239
Always check if activity state is Done.
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
Ivaylo Draganov
3fb60740be
Add support for opening DropDownButtonWidget upwards if clipped by the viewport
2019-06-29 23:10:25 +02:00
Ivaylo Draganov
c1fc0c1b74
Allow selection priority to be modified using a hotkey
2019-06-29 20:46:12 +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
Ivaylo Draganov
c9ff54bfd5
Add hotkey settings panel with a hotkey remap dialog
...
* Add HotkeyDialogLogic.cs
* Add dialog-hotkey.yaml to all mods
* Add `GetFirstDuplicate` method to HotkeyManager to aid in validation
* Add "Player" and/or "Spectator" type to all hotkeys to allow for
validation based on overlapping types
* Change settings.yaml and SettingsLogic.cs to work with the new dialog
2019-06-28 12:10:48 +02:00
Ivaylo Draganov
76a6e7ec92
Scissor the text of a ButtonWidget if it overflows and display a tooltip
...
Also:
* add a variable to a comomn pattern used for truncating text in HotkeyEntryWidget and TextFieldWidget
2019-06-28 12:10: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
Paul Chote
a2d51753ba
Fix final parachuted actor position.
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
4e84545b55
Updated ChatDisplayWidget to use the new vertical alignment
2019-06-21 12:51:45 +02:00