reaperrr
9dcba8710b
Add turret-linking support to HitShape
...
Allows to link a HitShape to the
position and facing of a turret.
2020-01-25 13:38:35 +01:00
reaperrr
b839204c7f
Minor WithInfantryBody reorganisation
...
Move PlayStandAnimation to a more suitable position
inside the file.
2020-01-25 13:26:25 +01:00
reaperrr
595b6c8923
Greatly simplified WithInfantryBody TickIdle code
...
There was a lot of redundancy and unnecessary
complexity in several checks.
This now also prevents infantry from randomly
restarting and potentially switching between stand
sequences if there are no idle sequences.
Old behavior can still be replicated by listing
stand sequences as IdleSequences.
2020-01-25 13:26:25 +01:00
reaperrr
6220d7e62e
Introduce WarheadArgs
...
- Passes additional arguments to warheads on impact
- Uses that to reduce parameter count of DoImpact by 1
2020-01-21 19:31:34 +01:00
abcdefg30
15b2d6b9e0
Let all Positionable traits notify visual position changes
2020-01-18 23:07:23 +00:00
Paul Chote
d0f44143c2
Fix activity cancellation on FlyAttack RTB.
...
* AbortOnResupply will now cancel queued activities
in addition to the current attack.
* Resupply if no ammo is available during a standard attack.
* Don't resupply (move directly to target) if no ammo is available
during an attack move (C&C3 style).
2020-01-18 16:38:53 +01:00
Paul Chote
51870a471a
Add AttackSource enum.
2020-01-18 16:38:53 +01:00
Paul Chote
522861e484
Support 32 bit png sprites.
2020-01-17 16:49:58 +01:00
reaperrr
a9eca2cf54
Add support for enabling prone state permanently
...
Negative ProneTime now activates prone state
permanently as soon as the trait is enabled.
2020-01-16 22:56:39 +01:00
Matthias Mailänder
8dda6d8e3d
Remove unnecessary null check.
2020-01-14 22:08:57 +01:00
Matthias Mailänder
c43d581e7f
Add cursor palette support to GIMP/Jasc palette definitions.
2020-01-14 22:08:57 +01:00
teinarss
f0b69f8b8d
Separated resource rendering into another trait
2020-01-14 19:38:47 +01:00
Paul Chote
adb3c8e39c
Split fixed-wing attack and strafe attack types.
2020-01-12 21:06:35 +01:00
tovl
85bc843554
Fix aircraft failing to engage targets within range.
2020-01-12 21:06:35 +01:00
Matthias Mailänder
c95216cd19
Move the hard-coded shroud palette to the C&C folder.
2020-01-12 19:35:41 +00:00
Paul Chote
cc05621c10
Draw editor terrain/resource preview as part of the world.
2020-01-12 18:30:50 +01:00
Paul Chote
e74033bded
Render editor actor previews as part of the world.
2020-01-12 18:30:50 +01:00
Paul Chote
fe25fdf0ff
Improve robustness of editor actor cell checks.
2020-01-12 18:30:50 +01:00
abcdefg30
c15a555cff
Fix cargo initialisation
2020-01-12 13:58:04 +01:00
tovl
fbfef903ac
Let movement trigger visibility recalculation.
2020-01-12 04:50:25 +01:00
tovl
695d9a6cb1
Centralize shroud changes in one pass to improve performance.
2020-01-12 04:50:25 +01:00
abcdefg30
deffc2dd15
Add support for defining the palette of WithResourceLevelOverlay
2020-01-12 00:47:20 +00:00
reaperrr
bb1d5f1d5c
Fix ReloadAmmoPool.ResetFire ignoring multipliers
2020-01-11 23:29:37 +00:00
reaperrr
308c64c7b1
Fix trait order issues with KillsSelf
2020-01-06 21:47:53 +00:00
reaperrr
16c2062d9d
Replace LandOnCondition with landing when paused
2020-01-06 21:47:53 +00:00
reaperrr
ac44367440
Refactor Spin to MaximumSpinSpeed
...
Additionally, add descriptions to
other FallsToEarth properties.
2020-01-06 21:47:53 +00:00
reaperrr
4499343ed2
Make Aircraft actually pausable/disableable
...
This commit makes aircraft
- ignore any aircraft-specific orders while disabled
- show blocked move cursor while paused
- set speeds to zero while paused or disabled
2020-01-06 21:47:53 +00:00
reaperrr
4b006bc484
Make Aircraft PausableConditional
...
Note: This commit only does the minimum changes
to implement PausableConditional, there are no
logic changes yet (like disabling movement on PauseOnCondition).
2020-01-06 21:47:53 +00:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Matthias Mailänder
7e9a3d3bc9
Unhardcode transparent index in manual palettes as well.
2020-01-05 13:17:43 +00:00
Matthias Mailänder
6ea85a1a62
Don't hard-code the transparent background color.
2020-01-05 13:17:43 +00:00
tovl
2094142b7d
Include tunnel check in CanStayInCell.
2020-01-04 16:04:27 +00:00
tovl
434c46058f
Disallow units idling on service depot.
2020-01-04 16:04:27 +00:00
teinarss
76221471ff
Remove unused code from Cargo trait
2020-01-03 19:34:56 +01:00
teinarss
a9d7535915
Remove cargo initialization from Tick
2020-01-03 19:34:56 +01:00
teinarss
20610d05a2
Remove CurrentAdjacentCells update on each tick in Cargo
2020-01-03 19:34:56 +01:00
reaperrr
9d7ecdbc2c
Disable SupportPowerInstances when player lost
...
Fixes bots using player actor powers after defeat.
2019-12-30 22:50:54 +01:00
reaperrr
7a57f0e6ef
Expose delay of WithDeathAnimation
...
Allows to show it a few ticks after death if the modder
wishes so.
2019-12-30 18:01:09 +00:00
reaperrr
037ce9ebf3
Rename ProneTime to Duration
...
More in line with our property naming conventions.
Additionally, added descs to ProneOffset and
ProneSequencePrefix, since at least the purpose of
the former isn't entirely clear without looking at the code.
2019-12-30 11:34:41 +01:00
reaperrr
cef940fea9
Fix TakeCover to be disabled properly
...
Speed and Damage modifiers were ignoring IsTraitDisabled.
2019-12-30 11:34:41 +01:00
Paul Chote
032c412e09
Fix WithTextDecoration rendering.
2019-12-28 21:44:26 +01:00
Paul Chote
5a686b3289
Fix duplicated/distorted SequencePlaceBuildingPreview annotations.
2019-12-28 20:56:09 +01:00
Paul Chote
2bf16a34d6
Filter invalid actor IDs when restoring selection save data.
2019-12-28 20:48:46 +01:00
abcdefg30
aabfd91001
Fix an indentation style issue in TransformsIntoAircraft
2019-12-28 19:16:21 +03:00
abcdefg30
baa50c9c53
Pass DamageTypes in Explodes
2019-12-28 10:54:27 +01:00
Paul Chote
04bad1ae66
Add MinRange support to AffectsShroud.
2019-12-23 13:53:08 +01:00
abcdefg30
dbe73a06ad
Remove ISync from RallyPoint
2019-12-15 23:21:27 +01:00
abcdefg30
1e138a9774
Drop invisible invalid targets immediately when changing stance
2019-12-14 17:17:36 +01:00
abcdefg30
905e02b765
Prevent a crash in AutoTarget.HasValidTargetPriority
2019-12-14 17:17:36 +01:00
Paul Chote
3487846636
Restore NukePower support for proxy actors.
2019-12-14 17:07:16 +01:00