reaperrr
2473b8763b
Rename methods/activities with Visual in them
...
While they may be only 'visual' in terms of influence/cell grid,
they all do update CenterPosition, which is essentially the
actual world position of the actor.
'Visual' would imply that it only affects the position where the
actor is drawn, which is inaccurate.
Furthermore, using the term 'Visual' here would make
naming future methods/properties related to visual interpolation
unnecessarily complicated, because that's where we might
need a real 'Visual(Only)Position'.
2021-03-08 11:19:11 +01:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
abcdefg30
9c29264be7
Drop FlyAttackRun targets when we don't have valid armaments against them
2021-02-12 02:17:26 +01:00
Paul Chote
fb0031d34a
Rename remaining Stance references to PlayerRelationship.
2021-02-04 23:14:09 +01:00
Paul Chote
84ced8704d
Fix bot-controlled aircraft stalling above cloaked targets.
2021-01-29 14:30:27 +01:00
Matthias Mailänder
8f06b0a836
Add a "structure sold" notification.
2021-01-27 22:51:58 +01:00
tovl
560c3230cd
Let harvesters only search for refineries when needing to unload.
2021-01-10 23:43:48 +01:00
abcdefg30
aac3174efc
Rename Stances to Relationships in the yaml api
2020-12-11 17:13:02 +01:00
abcdefg30
4953ce314b
Make Attack turn during its own tick
2020-12-05 16:41:30 +00:00
Paul Chote
77ffc20a5f
Convert Attack*.FacingTolerance to WAngle.
2020-11-30 16:39:48 +01:00
reaperrr
05cb9b1fbf
Fix dock sequence dock/undock notifications
...
- move Refinery dock/undock notifications to OnStateDock/-Undock
and only call Undock if Dock was also called.
- Add INotifyHarvesterAction support to VoxelHarvesterDockSequence.
2020-11-15 16:56:28 +01:00
reaperrr
90d9ee1f5c
Fix harv dock sequence issuing drag despite cancellation
2020-11-15 16:56:28 +01:00
reaperrr
385f01247b
Fix harvs dragging to refinery even if it died while turning
2020-11-15 16:56:28 +01:00
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