abcdefg30
bfc3e1354b
Rename SearchFromOrderRadius to SearchFromHarvesterRadius
2019-08-11 16:40:55 +02:00
teinarss
ff1d4ec9ae
Fix Out of sync caused by Locomotor cache
2019-08-11 09:53:02 +02:00
tovl
a8b9562d74
Adjust waypoint linewidths.
2019-08-10 21:17:38 +01:00
tovl
8690a4a6ce
CLean up type check in harvesterbotmodule.
2019-08-10 19:12:50 +01:00
tovl
1b4ab564fe
Fix AI harvester not resuming after chronoshift.
2019-08-10 19:12:50 +01:00
tovl
5393b689d4
Disable preemptive targeting for queued orders.
2019-08-10 19:10:45 +01:00
teinarss
4193247169
Reset Locomotor cache on world loaded
2019-08-10 17:34:11 +02:00
teinarss
ab9834fdcd
Update locomotor cache when Crushable is enabled/disabled
2019-08-10 17:34:11 +02:00
teinarss
277906c657
Fixes on blocking logic
2019-08-10 17:34:11 +02:00
Tomase
98602cb1cb
Change impassable terrain to short.max
2019-08-10 17:34:11 +02:00
Paul Chote
d0faaf29ff
Restore selection lines for TargetLinesType.Automatic spectators.
2019-08-10 16:03:59 +02:00
Paul Chote
95ca14d4a3
Replace DrawTargetLine checkbox with an Automatic/Manual/Disabled dropdown.
2019-08-10 16:03:59 +02:00
Paul Chote
2909445452
Display target lines when the Waypoint command bar mode is active.
2019-08-10 16:03:59 +02:00
Paul Chote
292196e2d6
Allow left click to cancel AttackMove without clearing selected units.
2019-08-10 13:08:32 +02:00
tovl
c0d5cd750d
Add missing target lines.
2019-08-10 12:17:36 +02:00
reaperrr
7cfc65010f
Fix that aircraft with TakeOffOnResupply can't force-land
2019-08-09 09:45:40 +02:00
abcdefg30
ddf824b494
Fix AutoCarryall crashing when the cargo dies
2019-08-08 17:46:34 +02:00
Paul Chote
1543ccb749
Reverse target line draw order.
2019-08-07 14:03:40 +02:00
Paul Chote
96263d47c5
Restore target line display for allied players and spectators.
...
Change behaviour to require the force-display modifier to reduce
visual noise.
2019-08-06 17:52:43 +02:00
tovl
58bb7fcbc0
Rework minefield visualisation.
2019-08-05 02:53:09 +01:00
tovl
b7a7b7aa7e
Revise target line colours to distinguish different attack types.
2019-08-05 02:53:09 +01:00
Turupawn
3240b1e9eb
Overhaul target line rendering:
...
- Targets are now defined by the activities
- Queued activities are shown
- Support custom attack colors
2019-08-05 02:53:09 +01:00
tovl
8c7ff3b5b0
Make VisualMove uninterruptible by making Turn a Child of Drag.
2019-08-04 11:48:59 +02:00
tovl
9e6f8aef60
Do not cancel parent activity when refinery is destroyed.
2019-07-29 19:56:23 +02:00
Paul Chote
2f99512bd4
Clear dirty blocking cells after updating.
2019-07-27 17:21:43 +02:00
Paul Chote
6345655bb1
Add a PerfSample to UpdateCellBlocking.
2019-07-27 17:21:43 +02:00
teinarss
cc84daacea
Added cache for cell cost and blocking
2019-07-26 15:54:22 +02:00
teinarss
fb1af81280
Updated TerrainInfo cost to use short
2019-07-26 15:54:22 +02:00
teinarss
27077d6427
Added CellUpdated event to ActorMap
2019-07-26 15:54:22 +02:00
teinarss
2ddf9fa826
Using Locomotor instead of Info for pathfinding
2019-07-26 15:54:22 +02:00
reaperrr
4c3f2f3afa
Fix aircraft allowing enter when it should not
...
Show "enter-blocked" cursor when resupply is not possible,
except when
- the actor CanForceLand,
- does not TakeOffOnResupply,
- and has active ForceEnter modifier.
2019-07-23 17:01:41 +02:00
reaperrr
5b3e6175ea
Fix Repairable returning order targeter for aircraft
...
Aircraft (currently) does its own order targeting for resupplies,
so this could lead to conflicts.
2019-07-23 17:01:41 +02:00
reaperrr
e7769357a8
Improve AircraftCanEnter readability
2019-07-23 17:01:41 +02:00
tovl
d9e1a68453
Cancel carryall transport request when cancelling order.
2019-07-22 22:54:01 +02:00
reaperrr
30c2e6b4d2
Remove Resupply re-queueing hack from Aircraft
...
By preventing that other traits can remotely cancel Resupply
or ReturnToBase.
2019-07-21 16:29:38 +02:00
reaperrr
bfcdb3a8a2
Add IdleBehavior enum to Aircraft
2019-07-21 16:29:38 +02:00
reaperrr
d185f6e9f1
Remove AbortOnResupply from Aircraft again
...
This was accidentally re-added during a rebase in
a previous PR.
2019-07-21 16:29:38 +02:00
teinarss
f46cad5347
Fix game minute in PlayerStatistics
2019-07-21 14:23:25 +02:00
tovl
c5558e2145
Remove SequenceActivities.
2019-07-20 23:41:31 +02:00
tovl
ed18ecfcaf
Allow explicit landing orders to be disabled in yaml.
2019-07-19 12:14:39 +02:00
tovl
0e62490d57
Let autocarryall switch destination when carryable switches destination.
2019-07-19 10:49:24 +02:00
tovl
231825d0d0
Remove WaitForTransport activity.
2019-07-19 10:49:24 +02:00
tovl
922c6e9c40
Fix harvesters losing their last harvesting position when carried by carryall.
2019-07-19 10:49:24 +02:00
tovl
d59b01597a
Always clear requested targets when exiting AttackActivity/Flyattack.
2019-07-18 23:14:56 +01:00
reaperrr
83a607e089
Fix resupply anim continuing if docked actor dies during resupply
2019-07-18 22:59:27 +01:00
reaperrr
cf4d73ab91
Revert FlightDynamics
...
This needs more thought and most parts might get superseded
by other approaches.
Kept CanSlide separation from CanHover.
2019-07-18 10:26:43 +02:00
Mustafa Alperen Seki
30e2b69dba
Fix several traits missing OrderString checks for VoicePhraseForOrder
2019-07-16 10:04:55 +01:00
reaperrr
a010c72780
Fixed comment typo in Aircraft
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