Commit Graph

1452 Commits

Author SHA1 Message Date
Zimmermann Gyula
58a0e381a5 Expose ParachutableInfo. 2016-06-18 11:37:57 +02: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
Paul Chote
eb5b50185c Add IActorPreviewInitModifier interface. 2016-06-15 20:36:25 +01:00
Paul Chote
970caf38c6 Support dynamic initial turret facings. 2016-06-15 20:36:24 +01:00
teees
4fa3ecfafb Add DynamicFacingInit. 2016-06-15 20:36:23 +01:00
teees
8724ed29bc Support dynamic offsets in ActorPreviews. 2016-06-15 20:36:08 +01:00
Paul Chote
4c5429200e Don’t double-notify passenger addition. 2016-06-15 20:35:22 +01:00
Paul Chote
3585d8afd4 Remove legacy installation logic. 2016-06-14 20:18:57 +01:00
teees
86eabeea3f Add AttackOrderPower as Supportpower 2016-06-14 20:18:44 +02:00
Curtis Shmyr
f05c537491 Merge pull request #11447 from obrakmann/fix11446_fix-disabled-aa-tracking-targets
Fix disabled AA gun continuing to track targets
2016-06-13 18:08:51 -06:00
Oliver Brakmann
79fa3f731e Merge pull request #11435 from reaperrr/remove-rotoroverlay
Remove WithSpriteRotorOverlay
2016-06-13 21:59:32 +02:00
Oliver Brakmann
3edc4da15c Fix disabled AA gun continuing to track targets 2016-06-12 18:01:04 +02:00
abcdefg30
d97d02b97f Merge pull request #11407 from reaperrr/ts-infantry-tweaks
Various TS infantry fixes
2016-06-12 14:42:12 +02:00
reaperrr
ce73faaa1f Change WithDeathAnimation to look up string rather than integers
For DeathType sequence mapping.
2016-06-12 14:25:31 +02:00
reaperrr
0947e7bdd6 Introduce ExplosionOnDamageTransition
And use it for TS cyborgs.
2016-06-12 14:25:26 +02:00
reaperrr
e59a491c1b Allow UpgradeOnDamage to grant permanent upgrades
Needed to properly implement things like permanently crippled weapons or limbs.
2016-06-12 14:25:23 +02:00
reaperrr
9def6b0f70 Merge pull request #11211 from Mailaender/debugcustomterrain
Added a CustomTerrainDebugOverlay
2016-06-12 11:53:47 +02:00
reaperrr
1adf887c75 Remove WithSpriteRotorOverlay
This is now redundant as WithIdleOverlay + upgrades can be used to completely replicate its functionality.
2016-06-11 17:43:10 +02:00
reaperrr
b1e331e7ec Merge pull request #11364 from pchote/lobby-trait-options
Unhardcode the lobby options backend.
2016-06-11 13:40:09 +02:00
Matthias Mailänder
9b6e15ea78 Add a CustomTerrain debug overlay. 2016-06-06 19:25:37 +02:00
teees
524bc3d45f Added INotifyBurstComplete trait interface to notify when a full salvo has been fired 2016-06-04 22:33:28 +02:00
reaperrr
f35338e88b Fix some style issues in Mobile 2016-06-04 21:44:48 +02:00
Oliver Brakmann
8de91be069 Merge pull request #11380 from Mailaender/upgrade-on-terrain
Added UpgradeOnTerrain
2016-06-04 18:16:55 +02:00
Matthias Mailänder
3dc472bb06 Add UpgradeOnTerrain. 2016-06-04 17:42:58 +02:00
reaperrr
099c44f6f9 Remove ActorExtensionsForMove
And use IMove.IsMoving instead.
2016-06-04 16:34:47 +02:00
reaperrr
3f19e7c9de Merge pull request #11374 from obrakmann/fix-koth-capture-notification
Fix calling OnOwnerChange with wrong player in ProximityCapturable
2016-06-04 13:47:51 +02:00
Paul Chote
24f166595f Convert lobby dropdowns to new options backend. 2016-06-04 10:06:18 +01:00
Paul Chote
eb884ca76f Convert lobby checkboxes to new options backend. 2016-06-04 10:03:06 +01:00
Paul Chote
d27d265bdd Add Id field to ProvidesTechPrerequisite. 2016-06-04 10:03:05 +01:00
Matthias Mailänder
1a2851bdaf Merge pull request #11316 from obrakmann/mp-allies02
Add Scott's Allies02 multiplayer mission as "Evacuation"
2016-05-30 19:49:07 +02:00
Oliver Brakmann
e6dcf3dee6 Fix calling OnOwnerChange with wrong player in ProximityCapturable
The actor's owner only gets changed in an end frame task queued by `Actor.ChangeOwner`. So during this frame end task, `self.Owner` still points to the old owner, whereas we want the new one, represented by `captor.Owner`.

This bug lead to the capture notification being played when *losing* a building, but not when actually capturing it.
2016-05-29 20:33:34 +02:00
Oliver Brakmann
363d47f08b Merge pull request #11194 from abcdefg30/providesTech
Fix ProvidesPrerequisite not refreshing the tech tree (on owner change)
2016-05-29 20:30:23 +02:00
Matthias Mailänder
d1022671c0 Define the reverse playback at sequence level. 2016-05-28 16:03:19 +02:00
Matthias Mailänder
99c7989ebc Rename WithSmoke into a more generic WithDamageOverlay trait.
Rename Sequence parameter to Image to avoid confusion.
2016-05-28 16:03:13 +02:00
Matthias Mailänder
e0b77a8517 Add configurable DamageState/Type filters to WithSmoke. 2016-05-28 15:41:27 +02:00
RoosterDragon
773eb25917 Merge pull request #10630 from reaperrr/UAN-custom-pos
Make UpgradeActorsNear vertical range customizable
2016-05-28 13:37:09 +01:00
reaperrr
629f17b430 Merge pull request #11294 from Mailaender/generic-demolition
Renamed C4Demolition to Demolition
2016-05-26 23:23:49 +02:00
reaperrr
2fe91cd1a2 Make vertical range of UpgradeActorsNear customizable 2016-05-26 22:47:48 +02:00
reaperrr
b0e90989a6 Add plumbing for customizable vertical ProximityTrigger range
And check DistanceAboveTerrain instead of just vertical distance to upgrade
source.
This is necessary to avoid situations where an actor is technically on the right
vertical distance above/below ground, but not upgraded because it is located on a lower/higher terrain level than the upgrade source.
2016-05-26 22:47:45 +02:00
Matthias Mailänder
d787f40388 Merge pull request #11142 from abcdefg30/captureOld
Add support for playing a "LoseNotification" to the old owner through CaptureNotification
2016-05-26 19:57:58 +02:00
Matthias Mailänder
2a27c329c5 Merge pull request #11276 from reaperrr/fix-ticktank-autotarget
Fix AutoTarget handling of multiple/upgradable Attack* traits
2016-05-26 19:44:13 +02:00
Matthias Mailänder
6803de9539 Make the cursor configurable and expose it to Trait docs. 2016-05-26 19:28:38 +02:00
Matthias Mailänder
3e011a74af Rename C4Demolition to Demolition. 2016-05-26 19:27:40 +02:00
reaperrr
95795c5198 Move EditorTilesetFilter to Mods.Common 2016-05-26 11:54:48 +02:00
reaperrr
e7517e7bfa Moved DrawLineToTarget from Game to Mods.Common 2016-05-26 11:38:39 +02:00
reaperrr
54891ed4bd Moved RejectsOrders and ValidateOrder from Game to Mods.Common 2016-05-26 11:37:39 +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
b254d5fa88 Merge pull request #11348 from reaperrr/clean-effects
Remove redundant Effects
2016-05-26 07:52:12 +02:00
Zimmermann Gyula
785f883d41 Do not try to tick undefined parachute shadows. 2016-05-25 12:50:24 +02:00
reaperrr
122035c36c Remove Smoke effect and use SpriteEffect instead 2016-05-23 23:57:18 +02:00