reaperrr
08db7586d4
Fix Enter cursor for non-TakeOffOnResupply
...
If the aircraft does not take off on resupply,
we allow it to enter resuppliers without ForceMove modifier.
ResolveOrder already handled this correctly, only the cursor
shown was wrong.
2019-08-13 02:26:21 +02:00
abcdefg30
bfc3e1354b
Rename SearchFromOrderRadius to SearchFromHarvesterRadius
2019-08-11 16:40:55 +02:00
abcdefg30
698ef5e375
Don't use SearchFromProcRadius when searching from self.Location
2019-08-11 16:40:55 +02:00
reaperrr
b7d966f78f
Don't exit FlyOffMap immediately on leaving map
...
Usually they'll get removed afterwards, so they need to be
out of players' sight before ending this activity.
2019-08-11 16:28:42 +02:00
reaperrr
64780fc865
Fix ProductionAirdrop aircraft removal timing
...
...when leaving map before finishing TakeOff.
2019-08-11 16:28:42 +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
702f4d1937
Remove unused return values from Show*Dropdown methods.
2019-08-10 16:03:59 +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
Paul Chote
ad099b5c98
Allow Attack Move and Guard OGs to be activated while shift is held.
2019-08-10 13:08:32 +02:00
abcdefg30
d1c56d78e1
Fix spamming repair orders repairing faster
2019-08-10 11:39:12 +01:00
tovl
c0d5cd750d
Add missing target lines.
2019-08-10 12:17:36 +02:00
teinarss
daa82d113e
Prevent crash when unloading Cargo structures
2019-08-10 11:52:33 +02:00
Ivaylo Draganov
017eca3dc1
Add support for "select all" and "select by type" for multiple players
2019-08-09 22:40:09 +02:00
reaperrr
7cfc65010f
Fix that aircraft with TakeOffOnResupply can't force-land
2019-08-09 09:45:40 +02:00
reaperrr
969be686a3
Fix aircraft with TakeOffOnResupply not taking off
...
...after auto-resupply.
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
reaperrr
ac3b3db7ac
Made Resupply canceling more robust
...
The following improvements are made here:
- merged and streamlined the two IsCanceling checks in Tick
into one that covers both isCloseEnough cases
- isCloseEnough now only checks distance to host
if host is still valid and otherwise returns 'false'
- called transports are now also cancelled when host becomes
invalid, not only if the activity is cancelled via order
- aircraft now always take off if the host becomes invalid
- ground actors only try to leave if host is still existing
2019-08-08 17:22:53 +02:00
Paul Chote
ddc4c4ff06
Add queuing support to RepairOrderGenerator for units.
2019-08-07 21:31:20 +02:00
Paul Chote
1543ccb749
Reverse target line draw order.
2019-08-07 14:03:40 +02:00
Paul Chote
8ffd8ae822
Remove ShowTargetLines from delivery Lua API calls.
...
Lines should only be activated in response to an
explicit player action.
2019-08-06 17:56:56 +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
a4b8ffa99d
Allow PBOG to nudge blocking helicopters.
2019-07-28 11:31:24 +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
b5c387774c
Fixed selecting none in spec dropdown should set none as active panel
2019-07-27 10:17:34 +01: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
Paul Chote
c00b13a18e
Fix player color when a client is bumped to a spectator slot.
2019-07-24 23:07:12 +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
reaperrr
e662f17f06
Fix that VTOLs can ignore TurnToDock/-Land
...
When already at horizontal target position, no Turn was queued.
2019-07-23 16:17:18 +02:00