atlimit8
1ef27d18c1
check name for Actor.GrantCondition()
2020-05-17 12:33:29 +02:00
thisisjacob
3119f831b3
Added notice for entering vehicles in docs
2020-05-13 17:25:49 -05:00
thisisjacob
8a07b762a2
Changed documentation for OnEnterComplete
2020-05-13 17:25:49 -05:00
atlimit8
259c8d2c98
Merge ConditionManager trait directly into Actor
2020-05-09 15:46:11 +02:00
Adam Mitchell
0a9eb1ff83
Fix units stuck on transit-only when resupplying
2020-04-17 11:13:46 +02:00
abcdefg30
1e64048956
Cache PlayerResources and unit cost in Resupply
2020-04-07 21:27:16 +02:00
Mustafa Alperen Seki
101843fbb7
Make EngineerRepairable conditional.
2020-04-03 04:09:43 -05:00
Zimmermann Gyula
9e534f3804
Add damagetypes to repairing.
2020-03-31 01:10:51 -05:00
Paul Chote
4d4f94208e
Cache CandidateMovementCells within the same tick.
2020-03-12 17:07:14 +01:00
Paul Chote
416713de0c
Fix infantry switching subcells and blocking eachother while moving.
2020-03-11 15:40:12 +01:00
abcdefg30
a5bc841355
Ignore the types of an exit when the production type is null or empty
2020-02-28 18:48:05 +01:00
Paul Chote
7e72cd262c
Fix FlyAttack invalid target crash.
2020-02-19 23:35:16 -06:00
Paul Chote
9a6602656b
Ignore nearEnough if we think the actor can get closer.
2020-02-18 19:37:17 +01:00
Paul Chote
3a688e03f0
Add multiple levels of fallback.
2020-02-12 21:17:39 +00:00
Paul Chote
a43335c7b0
Restore transient blocker check in pathfinding queries.
2020-02-12 21:17:39 +00:00
Paul Chote
b2f0ac15e8
Generalize RallyPointInfo.Offset to support arbitrary length paths.
2020-02-09 16:52:22 +01:00
reaperrr
6220d7e62e
Introduce WarheadArgs
...
- Passes additional arguments to warheads on impact
- Uses that to reduce parameter count of DoImpact by 1
2020-01-21 19:31:34 +01:00
Paul Chote
d0f44143c2
Fix activity cancellation on FlyAttack RTB.
...
* AbortOnResupply will now cancel queued activities
in addition to the current attack.
* Resupply if no ammo is available during a standard attack.
* Don't resupply (move directly to target) if no ammo is available
during an attack move (C&C3 style).
2020-01-18 16:38:53 +01:00
Paul Chote
51870a471a
Add AttackSource enum.
2020-01-18 16:38:53 +01:00
Paul Chote
adb3c8e39c
Split fixed-wing attack and strafe attack types.
2020-01-12 21:06:35 +01:00
tovl
85bc843554
Fix aircraft failing to engage targets within range.
2020-01-12 21:06:35 +01:00
Paul Chote
0106ed3669
Restore red lines for harvester targets.
2020-01-12 04:08:59 +01:00
reaperrr
ac44367440
Refactor Spin to MaximumSpinSpeed
...
Additionally, add descriptions to
other FallsToEarth properties.
2020-01-06 21:47:53 +00:00
reaperrr
4499343ed2
Make Aircraft actually pausable/disableable
...
This commit makes aircraft
- ignore any aircraft-specific orders while disabled
- show blocked move cursor while paused
- set speeds to zero while paused or disabled
2020-01-06 21:47:53 +00:00
reaperrr
4b006bc484
Make Aircraft PausableConditional
...
Note: This commit only does the minimum changes
to implement PausableConditional, there are no
logic changes yet (like disabling movement on PauseOnCondition).
2020-01-06 21:47:53 +00:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
tovl
2094142b7d
Include tunnel check in CanStayInCell.
2020-01-04 16:04:27 +00:00
tovl
434c46058f
Disallow units idling on service depot.
2020-01-04 16:04:27 +00:00
tovl
c360d8bcef
Make service depot passable.
2020-01-04 16:04:27 +00:00
reaperrr
804d61a6a1
Fix DeliverUnit-related crash
2020-01-01 20:42:36 +01:00
abcdefg30
1e138a9774
Drop invisible invalid targets immediately when changing stance
2019-12-14 17:17:36 +01:00
tovl
203fff0ab7
Allow queued structure rallypoints.
2019-12-13 23:51:03 +01:00
tovl
3236499fb7
Increase IMove.MoveTo call flexibility.
2019-12-13 23:51:03 +01:00
reaperrr
ee00954f2e
Replace AmmoPool lookup methods with properties
...
And gave the more suitable names while at it.
This is more in line with how we do things in
other places.
2019-11-20 15:45:41 +01:00
reaperrr
2de51ae73c
Cache IPathFinder in Mobile at creation
...
Avoiding look-ups on every move order,
as well as reducing line lengths.
2019-11-03 20:53:29 +01:00
tovl
38caadfdf0
Clean up nudging code.
2019-10-28 19:35:32 +01:00
tovl
c4d1468f62
Make locomotor cache and nudging logic aware of mobile trait status.
2019-10-28 19:35:32 +01:00
Paul Chote
69970d42f3
Prevent movement pausing at invalid position.
2019-10-19 13:11:00 +02:00
Paul Chote
ae34410c80
Replace MoveIntoWorld with ReturnToCell/AssociateWithAirfield.
2019-10-17 23:31:15 +02:00
Abdurrahmaan Iqbal
763e6d8109
Fix #17229 : Refactor ReturnToBase.cs
2019-10-17 10:28:43 +02:00
tovl
33d089a9d6
Fix lastVisibleTarget not being set in FlyAttack and AttackActivity.
2019-10-14 01:22:04 +02:00
tovl
eed00ded0d
pause MovePart when Mobile is paused.
2019-10-06 20:28:20 +01:00
abcdefg30
39f8d34494
Fix setting the position of the wrong actor
2019-10-06 14:42:50 +01:00
tovl
48059e8249
Skip rally point if order is queued after resupply.
2019-09-26 18:39:44 +02:00
tovl
09cd56b367
Add missing target line to aircraft taking off from resupplying.
2019-09-26 18:39:44 +02:00
tovl
145b6a05a3
Refactor unreserve actions.
2019-09-26 18:39:44 +02:00
tovl
5787f74af9
Prevent bogus attackmove on take-off.
2019-09-26 18:39:44 +02:00
tovl
4a609bbee8
Allow units to give way when path is blocked by oncoming unit.
2019-09-15 17:51:34 +01:00
tovl
46c0b4cf31
Fix crash with dead cargo.
2019-09-13 10:34:15 +02:00
abcdefg30
ca8ca2df5c
Fix a division by zero error in FindAndDeliverResources
...
by preventing an overflow through dividing directly
2019-09-07 10:48:20 +01:00