reaperrr
996029ee38
Fix undock anim playing even if docking was cancelled
...
...before dock anim could run.
The undock animation would play even if the dock anim
hadn't run (meaning the sequence cancelled before the docking
completed, for example due to refinery death).
2020-11-15 16:56:28 +01:00
reaperrr
87929b3d91
Fix dock animation continuing after refinery died
...
OnStateDock would always be triggered, even if the
refinery was killed before the harvester would finish
docking.
2020-11-15 16:56:28 +01:00
abcdefg30
559b143265
Use FlyForward for strafing
2020-11-14 12:50:02 +00:00
abcdefg30
a66305e282
Fix the constructor order of FlyForward
2020-11-14 12:50:02 +00:00
abcdefg30
b3aa61ee8e
Make fields readonly where possible
2020-11-14 12:50:02 +00:00
abcdefg30
80436a3195
Add a distance based constructor to FlyForward
2020-11-14 12:50:02 +00:00
abcdefg30
5127a6813d
Rename FlyTimed to FlyForward
2020-11-14 12:50:02 +00:00
tovl
84eb3c54ef
Expose targetline colors to yaml.
...
All targetlines can now be set to a custom color in yaml or set to be invisible.
All automated behaviours including scripted activities now have no visible target lines.
2020-11-14 12:04:19 +00:00
abcdefg30
10f645bf77
Replace usage of the Stances dict by a method call
2020-11-14 11:04:41 +00:00
teinarss
13581c030d
Use in parameter for Target
2020-11-06 22:02:24 +01:00
abcdefg30
7b75a78e38
Fix free-of-charge repairing still costing credits
2020-10-30 15:12:47 +01:00
abcdefg30
f5a963ac47
Production now uses nearest exit to rally point.
2020-10-29 21:42:03 +00:00
Mustafa Alperen Seki
8aeec24c9b
Add DamageTypes to Demolition
2020-10-21 18:41:16 +02:00
Paul Chote
5a7dc385a3
Remove obsolete LocomotorInfo caching.
2020-10-18 18:19:56 +02:00
Paul Chote
da53d5b776
Fix a divide by zero crash in Move.
2020-10-17 22:31:35 +02:00
abcdefg30
75fe0e524f
Fix units not attack moving to waypoints after resupply/takeoff
2020-10-17 19:48:54 +01:00
tovl
92189e4b50
Let docking angle be determined by the host building.
2020-10-02 11:28:14 +02:00
abcdefg30
ce4d263b52
Fix AttackMove getting unarmed units stuck
2020-09-20 12:02:20 +02:00
abcdefg30
53c02eb2b9
Fix a crash in the Move activity
2020-09-18 20:12:42 +02:00
abcdefg30
57a3ad8ae2
Replace 'inner' with 'move' inside AttackMoveActivity
2020-09-12 00:30:33 +02:00
abcdefg30
ad3722e19f
Add support for circumventing the target scan limit in AttackMove
2020-09-12 00:30:33 +02:00
abcdefg30
a12d127fd6
Rework the internals of AttackMoveActivity
...
Avoids creating and throwing away inner activities unnecessarily
2020-09-12 00:30:33 +02:00
abcdefg30
e80ebfae35
Use readonly where possible in AttackMoveActivity
2020-09-12 00:30:33 +02:00
tovl
5e8121bd0b
Properly cancel EnterActor when target capturable trait is disabled.
2020-09-10 18:18:09 +02:00
tovl
5e62fe86fc
Add IdleSpeed to aircraft trait.
2020-08-27 21:15:38 +02:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
abcdefg30
dd99fc93e4
Uncloak during resupply when "UncloakOn: Dock" is defined
2020-08-16 21:01:16 +02:00
teinarss
19b02875c7
Use Tuple syntax
2020-08-15 10:37:10 +01:00
Paul Chote
75cb5c2166
Convert turret facings to WAngle relative to the body.
2020-08-09 19:43:53 +02:00
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
Paul Chote
ac975f4139
Convert yaml-exposed facings to WAngle.
2020-07-19 10:41:05 +02:00
Paul Chote
8c3793e7ea
Rename WRot.Zero to WRot.None.
2020-07-17 15:02:32 +02:00
Paul Chote
a2269e7ee7
Convert (Dynamic)FacingInit, (Dynamic)TurretFacingInit to WAngle.
2020-07-08 20:38:30 +02:00
KorGgenT
b57c68e392
Fix units walk over tunnels and under bridges.
2020-06-28 17:21:54 +02:00
tovl
b79aa7eb6a
Add AlwaysTurnInPlace option to Mobile.
2020-06-28 00:11:26 +02:00
Paul Chote
6dcde3af72
Allow voxel-based aircraft to pitch and roll.
2020-06-21 18:05:40 +02:00
matjaeck
5280637adf
Fix PickupUnit not validating cargo on first run.
2020-06-19 15:59:14 +02:00
Matthias Mailänder
3bce55ac44
Cancel the attack when no traits are active.
2020-06-19 13:43:03 +02:00
Paul Chote
803b930405
Change IFacing.TurnSpeed to WAngle.
2020-06-12 18:35:41 +02:00
Paul Chote
6adf45bcb4
Convert IFacing.Facing and TurnSpeed to WAngle.
2020-06-12 18:35:41 +02:00
reaperrr
4bf614c5cd
Use OccupiesSpace to avoid Mobile look-up in Move
...
While individual trait look-ups may be cheap,
if a large army that is currently standing still gets
its first move-including order, the look-ups of dozens
or even hundreds of actors may happen on the same tick.
Therefore this may help reducing that first-order lag spike,
at least a little bit.
2020-06-02 20:08:34 +02:00
abcdefg30
96b06c75d1
Make Resupply display target lines for all queued move activities
2020-06-02 18:23:54 +02:00
Paul Chote
6d6b21a0eb
Convert Aircraft.Facing to WAngle.
2020-06-01 20:25:38 +02:00
Paul Chote
c999b2d778
Convert QuantizeFacing to WAngle facings.
2020-05-28 21:23:51 +02:00
Paul Chote
626b40f31b
Account for ramps in terrain height calculations.
2020-05-28 09:41:55 -05:00
abcdefg30
8b13d3e4c7
Fix resupply not displaying target lines correctly
2020-05-19 22:11:20 +02:00
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