Commit Graph

95 Commits

Author SHA1 Message Date
Paul Chote
34b10dcb77 Hack around the Lua API. 2016-09-26 17:48:25 +01:00
Paul Chote
3487d6bad5 Change aircraft default to move to rally point after resupplying. 2016-09-25 15:57:18 +01:00
Paul Chote
ea65ac542e Add AbortOnResupply property to cancel aircraft activities on resupply. 2016-09-25 15:57:17 +01:00
Paul Chote
6eafaeecf6 Remove unnecessarily queued ResupplyAircraft activity. 2016-09-25 15:57:17 +01:00
Paul Chote
eeaa461311 Avoid landing-dances when issuing mixed full/empty aircraft RTB orders. 2016-09-25 15:57:16 +01:00
reaperrr
8f2657ec75 Merge pull request #11982 from obrakmann/fix11979-helicopter-reservations
Fix helicopter reservations
2016-09-24 20:24:35 +02:00
Paul Chote
323ed98a15 Add a range check to Repair. 2016-09-21 18:25:23 +01:00
reaperrr
d3de132dbb Merge pull request #11916 from pchote/fix-heightmap-aistrike
Account for terrain height in AttackBomber.
2016-09-18 13:52:40 +02:00
Oliver Brakmann
852d947764 Fix setting MayYieldReservation when there is no reservation 2016-09-15 21:10:47 +02:00
Oliver Brakmann
6d15406ffe Fix aircraft reservation madness 2016-09-04 21:31:05 +02:00
Paul Chote
4a1f66569b Account for terrain height in AttackBomber. 2016-08-29 10:37:27 +01:00
PedroFerreiraRamos
958e35d61f Fix air unit resupply #5966 2016-07-12 20:17:45 -03:00
Paul Chote
b87020f93f Order landed aircraft to take off if their reservation is cancelled. 2016-07-09 12:08:48 +01:00
Paul Chote
eb5b50185c Add IActorPreviewInitModifier interface. 2016-06-15 20:36:25 +01:00
reaperrr
cddf182996 Renamed ROT to TurnSpeed on Mobile, Aircraft, Turreted and ThrowsParticle 2016-03-04 15:13:55 +01:00
Oliver Brakmann
59d9eeaa08 Merge pull request #10795 from Mailaender/screenmap-bounds-crash
Fixed screen map updates for invisible mobile actors
2016-02-27 17:52:49 +01:00
Matthias Mailänder
9734054582 Reduce duplication. 2016-02-27 14:10:17 +01:00
Paul Chote
e71225496b Clarify GPL version. 2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9 Update licence header year. 2016-02-21 16:27:31 +00:00
Matthias Mailänder
3885f0b559 Fix screen map updates for boundless actors. 2016-02-21 11:34:33 +01:00
Matthias Mailänder
00ecea03cb Require AircraftInfo for activity FallToEarth. 2016-02-13 14:24:19 +01:00
Paul Chote
0039a2bdbf Split out an ActivityUtils class. 2016-01-19 23:34:13 +00:00
RoosterDragon
8e89a6a696 Simplify names, remove unused usings, remove redundant casts. 2016-01-17 21:35:36 +00:00
Paul Chote
3b18c7815d Remove Util.GetFacing. 2016-01-16 22:38:17 +00:00
RoosterDragon
53ede338de Speed up Aircraft.Repulse.
Avoid LINQ in the repulsion force calculation, and cache a trait lookup used when determining movement speed.
2016-01-02 06:48:12 +00:00
Pavel Penev
1d69669b05 Merge pull request #10168 from teees/heightmap-fixes
Use heightmap to get correct groundlevel, use AircraftInfo for correct ground level
2015-12-29 21:45:55 +02:00
abcdefg30
3c171569a7 Merge pull request #10193 from atlimit8/ITraitInfoInterface
TraitInfoInterface base for interfaces implemented by trait infos
2015-12-29 15:04:57 +01:00
teees
00c15eaf3a Add cruising upgrade to Aircraft trait 2015-12-16 13:18:18 +01:00
teees
c1c386a994 Removed default definitions for repair and rearmbuildings in Aircraft.cs 2015-12-15 18:44:05 +01:00
teees
9dba85def5 Use heightmap to get correct groundlevel, fix additional behavior 2015-12-11 17:10:38 +01:00
atlimit8
3d2aa751a3 TraitInfoInterface base for interfaces implemented by trait infos 2015-12-07 18:22:43 -06:00
Matthias Mailänder
a9d2ec5750 Merge pull request #9619 from abcdefg30/repulsionbug
Fix aircraft repulsing other aircraft when not being repulsable themselves
2015-12-05 19:20:40 +01:00
abcdefg30
07bfd5f59e Merge pull request #9786 from RoosterDragon/reserve-fixes
Reserve fixes
2015-12-01 21:13:41 +01:00
RoosterDragon
bfe1804bf6 Fix some spellings. 2015-11-27 16:19:59 +00:00
atlimit8
7352290c94 Move SpawnActorOnDeath to OpenRA.Mods.Common & fix spawned death actor teleportation 2015-11-05 00:55:29 -06:00
atlimit8
b6f17df260 Add ActorsHavingTrait<TTrait>([Func<TTrait, bool]) 2015-10-28 16:36:45 -05:00
Oliver Brakmann
bdf71eabf3 Merge pull request #9777 from teees/repulsion-fix
calculate correct altitude with terrain elevation offset (aircraft repulsion)
2015-10-28 20:56:53 +01:00
RoosterDragon
b4180615a8 Add Aircraft.MakeReservation.
This provides a simpler method for making reservations and also ensures the previous reservation is definitely unreserved before being discarded.
2015-10-27 22:15:56 +00:00
RoosterDragon
e2dd967757 Fix some reservation issues.
- TakeOff.Tick was nulling a local variable, rather than the Reservation field - this is changed to call UnReserve which does the right thing.
- Aircraft.ResolveOrder was missing an UnReserve call before setting a new reservation.
2015-10-27 22:00:26 +00:00
atlimit8
2772ddbab4 Fix Aircaft.IsMoving Check 2015-10-27 10:45:45 -05:00
teees
3f718ae7d5 calculate correct altitude with terrain elevation offset 2015-10-27 11:19:56 +01:00
reaperrr
2f69711341 Rename ActorMap *UnitsAt* occurences to *ActorsAt*
These enumerate actors in general, not just mobile actors (which the term 'unit' usually refers to).
2015-10-16 00:07:06 +02:00
abcdefg30
4432c071cc Fix aircraft repulsing other aircraft when not being repulsable themselves 2015-10-13 21:48:38 +02:00
Matija Hustić
d94c645046 First step in the attack mechanism's refactor.
Enabled firing multiple armaments at a target simultaneously.
Each armament defines own cursor for targeting.
The force attack modifier influences armament choice for target.
Autotargeting modified to handle firing multiple armaments simultaneously.
As a consequence, healers (medics) no longer require separate Heal
activity and AttackMedic and AutoHeal traits.
2015-10-06 01:46:55 +02:00
atlimit8
49d7604bd9 Cache WeaponInfo look-ups 2015-10-03 22:29:40 -05:00
Pavel Penev
0ee38de4bb Rename HeliReturn
Rename HeliReturn to HeliReturnToBase to keep somewhat with the convention established for Plane- against Heli- oriented traits.
2015-10-01 20:15:50 +03:00
Pavel Penev
15a5bde7e7 Don't stop rearming if ordered to "Stop" while rearming
This one actually fixes a bug.
2015-10-01 20:15:47 +03:00
Pavel Penev
8a44366667 Merge Plane and Helicopter into Aircraft 2015-10-01 20:15:41 +03:00
Pavel Penev
4e3d6bde4f Split AircraftMoveOrderTargeter to its own file 2015-10-01 20:09:12 +03:00
atlimit8
74a9dc6793 Added IRangeMultiplier 2015-09-24 16:37:43 -05:00