Commit Graph

1496 Commits

Author SHA1 Message Date
reaperrr
0fcc07cb7b Add UpgradeOnMovement trait
This provides upgrades when an actor is moving. To avoid 'hiccups' for ground units, air units are considered moving as soon as they are airborne.
2016-10-23 13:23:04 +02:00
Paul Chote
eabd881ca3 Merge pull request #12129 from reaperrr/aircraft-ismoving
Change Aircraft.IsMoving to be true only when moving horizontally
2016-10-15 15:07:41 +01:00
abcdefg30
da591a9030 Merge pull request #11974 from abc013/SecondWeaponAnimation
Add support for multiple fire animations in WithInfantryBody
2016-10-15 12:49:41 +02:00
abc013
268dcd7d41 changed AttackSequence to DefaultAttackSequence 2016-10-14 14:53:02 +02:00
reaperrr
22a90c546f Merge pull request #12161 from abcdefg30/uncloakDamage
Fix UncloakOn: Damage only working when the damage state changes
2016-10-09 16:21:21 +02:00
Paul Chote
4ed78e1ff6 Work around an initialisation order conflict. 2016-10-04 01:13:32 +01:00
abcdefg30
d57c476eaa Fix UncloakOn: Damage only working when the damage state changes 2016-10-03 14:35:38 +02:00
reaperrr
16d4ee0034 Move IsMovingVertically to IMove
- avoids an Aircraft trait look-up in #11886
- potentially useful for future additional locomotors (jumpjet), custom locomotors in external mods, possibly future updates to default ground locomotor (Mobile) with regard to behavior on slopes
2016-10-02 20:27:03 +02:00
Oliver Brakmann
0d54f2994f Merge pull request #12086 from pchote/fake-spy-infiltration
Fix spy infiltration cursor giving away fake buildings.
2016-10-01 20:20:44 +02:00
abc013
ebb1c45786 Added an AttackSequences property to WithInfantryBody 2016-09-30 22:18:16 +02:00
Oliver Brakmann
65b919a7ae Merge pull request #12062 from abc013/VoxelShadows
Added a flag ShowShadow in WithVoxelBarrel, WithVoxelBody, …
2016-09-30 16:04:30 +02:00
Paul Chote
abf837a934 Add InfiltrateForDecoration trait. 2016-09-29 22:58:00 +01:00
reaperrr
4b8700bb97 Remove work-around for aircraft from WithMoveAnimation 2016-09-29 22:55:52 +02:00
reaperrr
9cf916e8b6 Change Aircraft.IsMoving to only return true when moving horizontally
Additionally added IsMovingVertically for potential edge cases where vertical movement needs to be considered.
2016-09-29 22:16:24 +02:00
reaperrr
6571f926fb Aircraft.ReserveSpawnBuilding style fixes 2016-09-29 21:21:34 +02:00
reaperrr
888d7c638f Move Aircraft.firstTick above constructor 2016-09-29 21:16:30 +02:00
reaperrr
678f9563f6 Merge pull request #12103 from pchote/resource-tooltip
Add tooltips to map resources.
2016-09-29 18:36:00 +02:00
Paul Chote
34b10dcb77 Hack around the Lua API. 2016-09-26 17:48:25 +01:00
Paul Chote
365bd5b9bd Rename ResourceType trait fields for consistency. 2016-09-25 17:04:18 +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
0ffde88aad Merge pull request #12094 from pchote/work-around-smudge-desync
Use CosmeticRandom for picking smudge type.
2016-09-24 20:47:55 +02: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
cd99e78501 Use CosmeticRandom for picking smudge type. 2016-09-24 14:00:36 +01:00
reaperrr
d762e54e2a Merge pull request #12070 from abcdefg30/chevrons
Render WithDecoration above shroud
2016-09-23 21:32:50 +02:00
RoosterDragon
1993ee25b8 Merge pull request #12085 from pchote/repair-range-check
Add a range check to Repair.
2016-09-23 18:56:24 +01:00
abcdefg30
b21cf1fdb2 Render WithDecoration above shroud 2016-09-22 14:33:35 +02:00
Paul Chote
323ed98a15 Add a range check to Repair. 2016-09-21 18:25:23 +01:00
Paul Chote
5e974b4959 Fix control group decoration position. 2016-09-21 14:39:44 +01:00
Oliver Brakmann
57ceda3025 Merge pull request #11926 from abc013/JamsRadarStances
Added diplomatic stances to JamsRadar
2016-09-20 19:24:57 +02:00
abc013
b9d1f373fe Added a flag ShowShadow in WithVoxelBarrel, WithVoxelBody, WithVoxelTurret, WithVoxelUnloadBody and WithVoxelWalkerBody 2016-09-20 13:34:05 +02:00
abc013
353e61378a Added diplomatic stances to JamsRadar 2016-09-20 13:08:42 +02:00
Paul Chote
095b093f39 Merge pull request #12046 from obrakmann/fix11996_spy-exodus-crash
Fix crashing when a spy's "real" owner gets changed
2016-09-20 09:15:20 +01:00
reaperrr
b10cf35972 Merge pull request #12051 from obrakmann/fix12035-selling-airfield-during-rearm-lockage
Fix locking an airfield that is rearming aircraft while being sold
2016-09-18 16:15:46 +02:00
Oliver Brakmann
d099aa0d46 Fix crashing when a spy's "real" owner gets changed 2016-09-18 14:27:18 +02: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
ab8c1403a8 Fix locking an airfield that is rearming aircraft while being sold 2016-09-18 13:48:17 +02:00
Matthias Mailänder
fd068c3f9f Require the Terrain to be set for RadarColorFromTerrain. 2016-09-18 10:07:51 +02:00
Oliver Brakmann
852d947764 Fix setting MayYieldReservation when there is no reservation 2016-09-15 21:10:47 +02:00
Paul Chote
af0249f2ae Merge pull request #12015 from RoosterDragon/better-exceptions
Improve some exception types
2016-09-15 19:31:48 +01:00
abcdefg30
620e005cfd Create a PlayLaunchSounds method in SupportPower.cs 2016-09-12 14:47:54 +02:00
abcdefg30
08d84c5b90 Fix the support power SpeechNotifications not being played to the correct player 2016-09-12 14:42:45 +02:00
RoosterDragon
9f1c872340 Improve some exception types. 2016-09-11 15:14:44 +01:00
Matthias Mailänder
c9474a857a Merge pull request #11956 from obrakmann/fix11953_fix-aircraft-reservation-madness
Fix aircraft reservation madness
2016-09-04 21:54:28 +02:00
Oliver Brakmann
6d15406ffe Fix aircraft reservation madness 2016-09-04 21:31:05 +02:00
Paul Chote
53f47f8ee1 Use explicit interfaces in WithBuildingPlaced(Overlay|Animation). 2016-09-04 15:25:50 +01:00
Paul Chote
21f9a0ec6c Remove tech disabling when building is locked. 2016-09-04 15:25:50 +01:00
Paul Chote
013b717a84 Disable unit production when building is locked. 2016-09-04 15:25:50 +01:00