Paul Chote
69e3c538d9
Implement ground-level bridge destruction and repair.
2016-12-10 11:52:04 +00:00
Paul Chote
a5549d3944
Rename BridgeHut to LegacyBridgeHut.
2016-12-10 11:35:29 +00:00
Paul Chote
2dc70146c8
Replace Upgrades with Conditions in Carryable.
2016-11-30 19:24:43 +00:00
Oliver Brakmann
fd22b19183
Use consistent spelling of 'interrupt[a|i]ble'
2016-11-13 15:50:22 +01:00
Oliver Brakmann
2c66ee8c13
Add native support for uninterruptible activities
...
This pattern occurs a few times throughout the code, so it makes sense to bake it into the Activity class itself.
2016-10-31 18:46:27 +01:00
reaperrr
1ffb151a38
Merge pull request #12162 from abcdefg30/heliHost
...
Fix HeliReturnToBase not exposing an host actor parameter
2016-10-22 15:58:06 +02:00
abcdefg30
cb49583d82
Fix the search for alternative transports not caring about passenger types
2016-10-21 13:25:12 +02:00
abcdefg30
55143ced87
Fix HeliReturnToBase not exposing an host actor parameter
2016-10-03 14:56:52 +02:00
Paul Chote
34b10dcb77
Hack around the Lua API.
2016-09-26 17:48:25 +01:00
Paul Chote
ea65ac542e
Add AbortOnResupply property to cancel aircraft activities on resupply.
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
Oliver Brakmann
ab8c1403a8
Fix locking an airfield that is rearming aircraft while being sold
2016-09-18 13:48:17 +02:00
Oliver Brakmann
852d947764
Fix setting MayYieldReservation when there is no reservation
2016-09-15 21:10:47 +02:00
Oliver Brakmann
9fbda6b598
Fix helicopters not taking off when their target got covered by shroud
2016-09-12 23:01:16 +02:00
Oliver Brakmann
daa1f16e98
Prevent an infinite loop when planes go out of ammo and all airfields are gone
2016-09-05 19:59:01 +02:00
Oliver Brakmann
351c231693
Use the yield reservation logic for helicopters as well. Oops.
2016-09-05 19:24:26 +02:00
Oliver Brakmann
fb1f8c4e01
Remove brain-dead logic from TakeOff
...
1. TakeOff's Tick() method never checks itself whether it is canceled
2. If NextActivity is null, TakeOff is the only activity on the queue
3. Takeoff canceling the queue then just cancels itself, with no effect at all
4. If Takeoff however is running as an inner activity, it will cancel the complete main queue, wrecking all sorts of havoc
2016-09-05 19:20:51 +02:00
Oliver Brakmann
7f64495d6f
Make aircraft continue attack on same target after re-arming
2016-09-04 21:31:05 +02:00
Oliver Brakmann
e7d07e5a01
Fix FlyAttack not calling TakeOff for landed aircraft
2016-09-04 21:31:05 +02:00
Oliver Brakmann
6d15406ffe
Fix aircraft reservation madness
2016-09-04 21:31:05 +02:00
Matthias Mailänder
020b0e628e
Merge pull request #11871 from pchote/fix-production-circle
...
Remove hardcoded constants from Fly and ProductionAirdrop.
2016-08-27 19:43:15 +02:00
Paul Chote
c3c6af018a
Set carried turret facing on delivery.
2016-08-27 17:08:33 +01:00
Paul Chote
017020f2c3
Fix stack overflow in FindResources.
2016-08-27 15:42:18 +01:00
Paul Chote
1ae86f34f8
Overhaul Carryall behaviour, adding support for manual control.
2016-08-27 15:42:18 +01:00
Paul Chote
7ffdd53abb
Disable smooth turning for 180 degree turns.
2016-08-26 20:15:55 +01:00
Paul Chote
06ca8b6cf2
Remove hardcoded constant from Fly.
2016-08-24 17:20:07 +01:00
Matthias Mailänder
f5d57e361a
Merge pull request #11788 from pchote/fix-smooth-moves
...
Make turning-while-moving actors follow curved paths.
2016-08-19 22:11:28 +02:00
Paul Chote
03e2fa5d55
Lerp turning-while-moving mobile actors along an arc.
2016-08-07 19:53:38 +01:00
Paul Chote
bb0fda41d2
Check terrain cost when testing pathable cells.
2016-08-06 19:01:04 +01:00
Oliver Brakmann
dab7276601
Make repairing buildings and units grant experience
...
Using the repair button and repair pad, not using engineers and mechanics.
2016-07-19 20:20:38 +02:00
Oliver Brakmann
1e86326cbc
Make capturing grant player experience
2016-07-19 20:20:38 +02:00
Oliver Brakmann
c1729a3b70
Make DonateSupplies grant player experience
2016-07-19 20:20:38 +02:00
Matthias Mailänder
5b61206ac6
Merge pull request #11513 from GraionDilach/idamage
...
Remove passing the warheads from DamageWarhead to AttackInfo.
2016-07-16 14:26:43 +02:00
PedroFerreiraRamos
958e35d61f
Fix air unit resupply #5966
2016-07-12 20:17:45 -03:00
Zimmermann Gyula
cf8fff2b99
Remove passing the warheads from DamageWarhead to AttackInfo.
...
Added a Damage class to pass damage value and damage(types) instead.
This removes a great amount of overhead and longterm opens possibilities to have damagetypes without warheads.
2016-07-12 10:09:49 +02:00
Matthias Mailänder
c3de3a0a90
Merge pull request #11619 from pchote/fix-depot-sell
...
Fix service depot selling.
2016-07-09 21:17:06 +02:00
Paul Chote
b0c9d49d14
Fix INotifyRepair argument order.
2016-07-09 11:12:56 +01:00
Oliver Brakmann
ffe36334a0
Fix loading wrong transport when using alternate EnterTransport method
2016-07-04 14:52:48 +02:00
abcdefg30
4732f3767f
Merge pull request #11459 from reaperrr/fix-range-check
...
Fix weapon min/max range and validity checks
2016-07-01 14:24:41 +02:00
Paul Chote
30dcbeb873
Remove legacy Move constructor.
2016-06-25 16:29:47 +01:00
reaperrr
40e5dfbedb
Fix helicopters not returning when all valid weapons are out of ammo
...
They now return if all weapons are invalid (which includes those that are otherwise valid, but out of ammo) and at least one AmmoPool needs reloading at RearmBuilding.
2016-06-23 14:47:42 +02:00
reaperrr
4f55b088eb
Check if weapon without self-reloading is out of ammo when deciding validity
...
This should prevent attacking helicopters (or other actors) staying at the range to target of a weapon that is out of ammo and needs manual reloading at a RearmBuilding or via upgrades.
2016-06-23 14:47:41 +02:00
Paul Chote
2355ad9dd1
Move carryall code to Mods.Common.
2016-06-21 21:38:19 +01:00
reaperrr
2f1a6e8807
Add maximum and minimum range vs. target checks
...
This adresses the issue that actors would ignore the validity of weapons when deciding the attack distance versus a target. This could result in actors staying out of range of a weapon valid versus target if they carried a weapon with higher range but invalid versus target.
2016-06-16 20:39:45 +02:00
reaperrr
099c44f6f9
Remove ActorExtensionsForMove
...
And use IMove.IsMoving instead.
2016-06-04 16:34:47 +02:00
reaperrr
bdb7c80f42
Moved FlashTarget to Mods.Common
...
There is nothing remaining in OpenRA.Game using this.
2016-05-26 08:16:22 +02:00
reaperrr
794db5a2f1
Play reload sounds only to owner
2016-05-15 13:53:21 +02:00
HenrytheSlav
a9bb79c0a8
Buildings get locked by Demolishable activity nefore their destruction
2016-05-14 11:23:21 +02:00