Paul Chote
eb09870a10
Fix landing altitude checks.
...
Both GetPosition and LandPosition were trying to solve the problem
of dynamic altitude offsets for carryalls with different-sized cargo.
However, because they both apply the offsets, when the two are used
together the two sets of offsets cancel to 0, producing incorrect behaviour.
GetPosition is removed in favor of using CenterPosition with the dynamic
LandAltitude. Fly.Tick and Carryall ignore the z coordinate so their
behaviour is unchanged. Land and Aircraft.AtLandAltitude now return
the correct result.
2025-12-29 16:19:57 +02:00
Pavel Penev
d4fd66adf9
Renamed SyncAttribute to VerifySyncAttribute
2025-12-22 19:09:53 +02:00
RoosterDragon
649e7e8c28
Change classes that use FieldLoader to use read-only collections.
2025-12-08 17:39:28 +00:00
RoosterDragon
79454d8fd2
Fix IDE0028, IDE0300, IDE0301, IDE0302, IDE0303, IDE0304.
...
Silence IDE0305.
2025-03-31 12:02:41 +03:00
dnqbob
deacc7ad65
Fix InitialActor in Carryall not initialized correctly
2023-12-02 13:56:36 +02:00
RoosterDragon
2ac855488b
Validate order targets when resolving orders.
2023-09-07 17:46:35 +03:00
dnqbob
1692f32ffc
Make aircraftInfo in carryall private
2023-08-19 11:55:27 +03:00
dnqbob
c9dfb215ae
Auto carry action can be controlled by condition
2023-08-18 20:47:48 +03:00
Matthias Mailänder
98896f9a75
Make Cargo and Carryall conditional.
2023-08-13 18:38:17 +03:00
Gustas
c7e0bc4c08
Add missing carryall checks
2023-07-25 10:02:46 +03:00
Gustas
c36609cc9f
Don't call DetachCarryable every tick
2023-07-25 10:02:46 +03:00
RoosterDragon
f4af5c1764
Fix CA1852
2023-06-06 11:51:47 +03:00
RoosterDragon
8a285f9b19
Fix IDE0090
2023-04-08 16:51:51 +03:00
RoosterDragon
bcfa0c9ae9
Review StyleCop rules.
...
- Enforce SA1604 ElementDocumentationShouldHaveSummary.
- Enforce SA1629 DocumentationTextShouldEndWithAPeriod.
- Turn off some rules covered by IDExxxx rules.
- Remaining rules are treated as part of OpenRA style.
2023-03-18 12:46:10 +02:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
Matthias Mailänder
6bd631618c
Remove unnecessary value assignment (IDE0059)
2022-10-01 14:15:33 +03:00
abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Matthias Mailänder
0e7ad43425
Remove unused parameters.
2022-04-01 23:30:26 +02:00
Mustafa Alperen Seki
d149624b84
Add Lua Scripting for Carryall.
2022-01-12 14:24:13 +01:00
Mustafa Alperen Seki
fe05382b24
Change "actor id" to "actor name" in some descs.
2022-01-09 19:02:05 +01:00
Mustafa Alperen Seki
3c60a515f7
Add CarryableConditions to Carryall.
2022-01-09 19:02:05 +01:00
Paul Chote
d509d3f5f9
Fix carryall InitialActor creation.
2021-08-20 21:04:18 +02:00
Matthias Mailänder
6876fe45e1
Use nameof for additional robustness in trait documentation.
2021-05-22 23:22:31 +01:00
Paul Chote
8d2ec78713
Replace TerrainType.CustomCursor with Mobile.TerrainCursors.
2021-05-04 11:56:23 +02:00
Matthias Mailänder
bbbed49f82
Add a lint check for cursor definitions.
2021-03-20 17:37:16 +01:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
Mustafa Alperen Seki
df94f0ec8b
Add InitialActor to Carryall.
2021-02-14 12:47:08 +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
teinarss
13581c030d
Use in parameter for Target
2020-11-06 22:02:24 +01:00
RoosterDragon
71e3ca4493
Sort renderables in-place in WorldRenderer.GenerateRenderables
2020-10-17 23:48:48 +02:00
Oliver Brakmann
8b3db6f3d6
Allow granting a condition to Carryalls currently carrying units
2020-07-12 14:36:01 +02:00
Paul Chote
a2269e7ee7
Convert (Dynamic)FacingInit, (Dynamic)TurretFacingInit to WAngle.
2020-07-08 20:38:30 +02:00
Paul Chote
6adf45bcb4
Convert IFacing.Facing and TurnSpeed to WAngle.
2020-06-12 18:35:41 +02:00
Ivaylo Draganov
393f6eca3a
Add configurable target cursors to various traits
2020-05-31 00:12:04 +02:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
Paul Chote
84419e4259
Add queued argument to CanIssueDeployOrder.
2020-02-24 12:56:49 +01:00
reaperrr
b524dc9b72
Carryall ResolveOrder optimization
...
There can be only one OrderString at a time,
so we make 'PickupUnit' an "else if", too.
2020-02-22 17:56:47 +00:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Paul Chote
0e4cb53ada
Pass contextual information to TargetOverridesSelection.
2019-10-30 14:53:23 +01:00
tovl
ac6431acf8
Clean up usage of CancelActivity.
2019-10-05 19:07:54 +02: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
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
reaperrr
0ebeb30880
Replace various Aircraft fields with FlightDynamics
...
Replaces various booleans with a FlightDynamics flag list.
2019-07-05 00:03:36 +02:00
tovl
5920de1384
Airborne transports only land to (un)load.
2019-06-30 18:04:43 +02:00
tovl
8e5875453a
Improve Carryall behaviour and integration with Aircraft.
2019-06-30 18:04:43 +02:00
Paul Chote
ebe37a44ad
Require force move for all undeploy-triggering orders.
2019-06-08 02:09:30 +02:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
tovl
0b747ba927
Rework Carryall drop-off queueing and ordering.
2019-05-12 19:06:52 +02:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
Paul Chote
4c6f4f97d5
Remove Order.TargetLocation from Carryall.
2019-03-04 18:08:42 +00:00