Paul Chote
2080c72ab9
Define plumbing to pass initial target positions to inner move activities.
2019-01-26 22:53:46 +00:00
Paul Chote
b2d960ec19
Pass target line color to inner move activities.
2019-01-26 22:53:46 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Mustafa Alperen Seki
00faccdecc
Fix LandOnCondition causing stopping after changing altitude.
2018-12-26 17:44:45 +01:00
Paul Chote
4723e5ddb9
Expose common actor Inits in the map editor.
2018-12-08 22:53:13 +01:00
Paul Chote
f6768fe624
Remove legacy editor actor properties plumbing.
2018-12-08 22:53:13 +01:00
reaperrr
ac3e601edf
Use INotifyIdle on Aircraft
...
For now only to trigger landing or circling.
2018-12-05 09:20:58 +13:00
reaperrr
d8220b390a
Add IdleTurnSpeed to Aircraft
...
Instead of hardcoding 1/3 of normal TurnSpeed on HeliFlyCircle.
2018-12-05 09:20:58 +13:00
reaperrr
b8d3c9f73a
Fix aircraft being repaired mid-air
...
Repairable was originally written for ground actors,
so it's both safer and much easier to just handle this in Aircraft directly.
2018-11-19 21:40:10 +00:00
reaperrr
92912c6c94
Add TurnToDock to Aircraft
...
Instead of hard-coding a turn before VTOLs
land/dock on resupplier.
2018-11-04 00:25:55 +01:00
reaperrr
8f1d8a67cc
Remove RearmBuildings from Aircraft and Minelayer
...
In favor of using Rearmable trait.
2018-11-02 22:28:08 +00:00
reaperrr
139d5efba8
Remove RepairBuildings from Aircraft
...
Require them to use Repairable trait instead.
2018-11-02 22:28:08 +00:00
Inq8
fec9fe1ad4
Aircraft Takeoff & Landing Sounds (Fixed-Wing)
...
Added Takeoff & Landing sounds to planes.
Changed Aircraft Trait, TakeoffSounds & LandingSounds are now arrays & accept a list of sound files & it will randomly select one to play.
Changed/fixed take off & landing sounds to originate from the aircraft location, rather than play a global sound.
2018-10-12 14:29:53 +02:00
Mustafa Alperen Seki
faa35946b8
Make Exit Conditional
2018-10-08 22:00:39 +01:00
Paul Chote
588a5d784f
Add IMove.EstimatedMoveDuration.
2018-10-07 18:46:21 +02:00
reaperrr
8144fca5be
Merge repair and rearm anim traits into WithResupplyAnimation
...
This is the safest approach to avoid conflicts/visual glitches when the host is responsible for both resupply types.
The new trait will simply play a looping animation as long as the actor is resupplying in any form.
2018-09-27 16:38:08 +02:00
Paul Chote
0a507f3d33
Allow deploy orders to be queued from the command bar.
2018-09-10 19:42:24 +02:00
Paul Chote
883834f1c3
Remove order.TargetActor from Aircraft.
2018-05-30 18:06:59 +02:00
Chris Forbes
dddd057e3d
Add IPositionable.CanExistInCell
...
This is like CanEnterCell, but doesn't take into account conflicting
actors, etc.
2018-04-10 01:01:53 +02:00
Paul Chote
2fccfdf1ee
Add support for disabling IIssueDeployOrders.
2018-01-28 18:06:30 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
7dea5e28af
Remove ReturnToBase order feedback if no RearmBuildings are defined.
...
ReturnToBase requires RearmBuildings to function.
2018-01-14 23:25:47 +01:00
GSonderling
488cec64b8
Added support for filtering exits by production type.
2017-12-13 04:08:52 +01:00
RoosterDragon
62ab6ae6f1
OccupiedCells and TargetableCells must return arrays, not just enumerables.
...
This allows callers to efficiently enumerate these returned collections without the allocation and overhead imposed by the IEnumerable interface. All implementations were already returning arrays, so this only required a signature change.
2017-12-07 20:39:30 +02:00
Matthias Mailänder
b27289106d
Don't give an okay voice when not allowed to move into shroud.
2017-10-16 14:38:26 +02:00
Paul Chote
d967c564a2
Remove TargetActor and TargetLocation from order issuing.
2017-10-15 19:07:46 +02:00
reaperrr
9aaf800bca
Require explicit INotifyActorDisposing
2017-09-28 13:14:08 +02:00
reaperrr
2f66f83051
Remove IsPlane hack
...
The new VTOL boolean together with CanHover is enough to replace this.
2017-08-31 18:03:59 +02:00
reaperrr
3b01da737c
Introduce Aircraft VTOL boolean
...
Rather than hard-linking vertical take-off/land to the CanHover = Helicopter assumption.
2017-08-31 18:03:59 +02:00
reaperrr
c9ff362ea2
Add TakeOffOnCreation and TakeOffOnResupply to Aircraft
...
Before this, it was impossible to replicate the behavior of the original games (staying on pad/airfield after reload) without hacking around in Mods.Common.
This allows modders to disable these without meddling with code.
2017-08-31 18:03:59 +02:00
reaperrr
e9a420a9e5
Remove redundant TakeOff from Aircraft
...
ResupplyAircraft queues a TakeOff anyway, if the aircraft is a helicopter.
2017-08-17 22:19:05 +01:00
reaperrr
95d3d61ffa
Make some Aircraft interface implementations explicit with subclassing
2017-08-17 22:19:05 +01:00
reaperrr
6c3ff0dc02
Make AircraftInfo more readable
...
Added some descriptions where I considered it necessary, added newlines between entries, reordered entries where it made sense.
2017-08-17 22:19:05 +01:00
Jean-Rémy Buchs
49f42401e6
Improve the description of LandOnCondition of Aircraft
2017-08-11 10:56:27 -05:00
Jean-Rémy Buchs
1d1802a163
Add LandOnCondition to the trait Aircraft which triggers a landing and prevents takeoffs while the condition is met
2017-08-08 15:13:50 -05:00
Paul Chote
fdafbd9f15
Remove hardcoded references to FacingInit and TurretFacingInit.
2017-07-01 10:35:22 +01:00
Paul Chote
e8d6d63707
Add IIssueDeployOrder.
2017-06-06 08:53:54 -06:00
abcdefg30
40e8c5136d
Fix the close enough check in Repair.cs
2017-06-04 15:35:40 +02:00
abcdefg30
1f93029e51
Always make sure to be on the host actor when repairing
2017-05-26 22:53:03 +02:00
rob-v
fb1d8d780f
Fix Service Depot Rally point path finding (+rename ignoredActor)
2017-05-06 19:49:40 +02:00
abcdefg30
ce97b3a3a2
Fix IPositionableInfo not inheriting IOccupySpaceInfo
2017-02-09 22:04:33 +01:00
abcdefg30
a385835939
Fix GiveUnitCrateAction being limited to MobileInfo
2017-02-09 22:04:32 +01:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
d0270ab866
Rename comments and documentation.
2016-12-23 15:17:02 +00:00
Paul Chote
f360c10569
Rename ConditionManager variables.
2016-12-23 15:02:52 +00:00
Paul Chote
dcad5c3f7c
Rename UpgradeManager to ConditionManager.
2016-12-23 14:57:56 +00:00
Paul Chote
024cc3db7e
Prepare condition attributes for new lint rule.
2016-12-23 11:29:24 +00:00
Oliver Brakmann
05c2081143
Merge pull request #12458 from pchote/map-top-targetability
...
Reduce aircraft not being targetable at the north edge of the map.
2016-12-21 21:14:19 +01:00
Paul Chote
83564ecc60
Nudge aircraft back inside the map.
2016-12-16 11:24:17 +00:00
Paul Chote
60cd12874e
Convert Aircraft to conditions.
2016-12-13 19:30:37 +00:00