reaperrr
d52313ab18
Rename WithAttackAnimation.BodyName to just .Body
...
Shorter and more consistent with Armament.Turret, WithTurretedAttackAnimation.Turret, WithSpriteBarrel.Armament etc.
2017-06-12 19:01:10 -05:00
reaperrr
fef388834e
Throw yaml exception if WithAttackAnimation has no assigned sprite body
...
...or too many assigned bodies.
Also, further simplify WithAttackAnimation code.
2017-06-12 19:01:10 -05:00
reaperrr
5fb468922e
Make WithAttackAnimation conditional
2017-06-12 19:01:10 -05:00
reaperrr
2e70b6931b
Refactor WithAttackAnimation
...
- made trait compatible with actors that have more than one sprite body or enable/disable sprite bodies via conditions
- added check for running attack anim and prevent aim/reload sequences from overriding it
- added caching of whether trait has either aim or reload sequence, to avoid some string.IsNullOrEmpty look-ups every tick
2017-06-12 19:01:10 -05:00
Paul Chote
716343732f
Add AutoTargetPriority trait for smarter AutoTarget logic.
2017-06-11 17:14:21 -05:00
Paul Chote
52f1ab0969
Add backend code for unit command bar.
2017-06-06 08:53:54 -06:00
Paul Chote
f1eb96b273
Add DisableKeyRepeat flag to ButtonWidget.
2017-06-06 08:53:54 -06:00
Paul Chote
854dd75282
Add ButtonTooltipWithDescHighlightLogic.
...
Highlights TooltipDesc characters inside {}.
2017-06-06 08:53:54 -06:00
Paul Chote
8f2a933ba8
Add support for button tooltip descriptions.
2017-06-06 08:53:54 -06:00
Paul Chote
ce233a6cca
Reduce edge scrolling threshold and polish cursor hotspots.
2017-06-06 08:53:54 -06:00
Paul Chote
94fba3521a
Add ForceModifiersOrderGenerator for force move/attack and queueing.
2017-06-06 08:53:54 -06:00
Paul Chote
e8d6d63707
Add IIssueDeployOrder.
2017-06-06 08:53:54 -06:00
Paul Chote
533b2f9ad7
Flip tooltips above the cursor at the bottom of the screen.
2017-06-06 08:53:54 -06:00
reaperrr
6a212eea53
Make attacking actors/turrets face the targeted position
2017-06-05 14:22:47 +02:00
reaperrr
7acc6dacbc
Fix armaments/projectiles to aim at closest Target.Positions
...
Instead of CenterPosition.
TargetablePositions were already used for targeting/attack decisions, but not armaments/projectiles.
2017-06-05 14:22:47 +02:00
Markus Hartung
2a0b3b39ea
INotifyCreated.Created now calls base properly
2017-06-04 17:11:44 +02:00
Markus Hartung
f7ddb969c6
Change so Attack* calls Created on base class
2017-06-04 17:11:44 +02:00
abcdefg30
40e8c5136d
Fix the close enough check in Repair.cs
2017-06-04 15:35:40 +02:00
Paul Chote
36d7b5131e
Use ContentInstallerMod in MainMenuLogic.
2017-06-04 13:21:27 +02:00
Paul Chote
f7db7e3308
Use engine version for master server queries.
2017-06-04 13:21:27 +02:00
reaperrr
82758a8bef
Add TargetableOffsets to HitShape
...
And remove ITargetablePositions from Building.
Also, added UseFootprintOffsets to replicate the old Building behavior for easier setup of TargetablePositions for buildings.
2017-06-04 00:07:08 +02:00
reaperrr
7fd0a3aa58
Lint check and yaml enforcement for HitShape
...
Now that Health no longer provides a HitShape, actors with Health need at
least one HitShape trait.
2017-06-04 00:07:08 +02:00
reaperrr
7f81de2f8a
Upgrade rule for Health.Shape to HitShape.Type
2017-06-04 00:07:08 +02:00
reaperrr
43b55ae333
Move Shape from Health to new HitShape trait
...
Renamed Shape to Type
2017-06-04 00:07:08 +02:00
Oliver Brakmann
677904c682
Hide tooltips for unoccupied spawnpoints in the replay browser
2017-06-03 15:56:27 +02:00
rob-v
fc0495ac27
Fix keys scrolling stuck (+ some function double calls)
2017-06-01 23:07:25 +02:00
rob-v
ada5b6d0e5
Add Unit stance hotkeys, remove Cycle Stance hotkey
2017-05-30 21:16:31 +02:00
Andre Mohren
d080a47cbf
Allow load screens to override StartGame.
2017-05-30 18:15:28 +02:00
atlimit8
afa5a7772d
Split ConditionByStance in AutoTarget
2017-05-29 20:41:10 +01:00
atlimit8
cadfbe8a29
Grant condition by unit stance
2017-05-29 20:41:10 +01:00
reaperrr
5834d7615b
Fix Rectangle OuterRadius
...
Rectangle shapes always assumed that either top-left or bottom-right would have the largest distance from actor center, which is wrong, because depending on the position of the shape, top-right or bottom-left can be the furthest away corner as well, potentially resulting in a too small OuterRadius.
2017-05-29 07:41:20 -05:00
reaperrr
bc5eb66088
Add OuterRadius debug overlay to Rectangle and Capsule
...
Circle obviously doesn't need it now (might change with the introduction of offsets, but we can still add it when that happens).
2017-05-29 07:41:20 -05:00
reaperrr
8d69d26542
Add debug overlay for custom TargetPositions
2017-05-29 07:41:20 -05:00
rob-v
45041bde14
Dispose-stop Beacon on closing server browser
2017-05-29 13:28:39 +01:00
rob-v
9a9920e4af
Catch and ignore BeaconLib errors
2017-05-29 13:28:39 +01:00
Paul Chote
45b13dabfb
Explicitly implement interfaces in AttackBase.
2017-05-29 06:27:19 -05:00
Paul Chote
34844e87a3
Replace Lazy trait lookups with INotifyCreated.
2017-05-29 06:27:19 -05:00
Paul Chote
69587a2128
Move InstallShieldPackage to Mods.Common.
2017-05-29 12:41:28 +02:00
Paul Chote
e5222f95f6
Remove ambiguity from FileSystem references.
2017-05-29 12:41:28 +02:00
Paul Chote
ba7290cc2c
Move classic-mod package loaders and support files to Mods.Cnc.
2017-05-29 12:41:28 +02:00
Paul Chote
8321d1f3e3
Remove legacy FileSystem.OpenPackage(string, IReadOnlyPackage).
2017-05-29 12:27:24 +02:00
Paul Chote
df40d38b91
Rework read/write zip file loading/saving.
2017-05-29 12:20:32 +02:00
evgeniysergeev
c06df1ed21
make IsCloseEnoughToBase function virtual
2017-05-29 11:50:56 +02:00
abcdefg30
aecfff905d
Throw a more detailed error message when creating invalid frozen actors
2017-05-28 14:02:18 +02:00
abcdefg30
2a3139dc39
Add a IAutoSelctionSizeInfo trait interface
2017-05-28 14:02:18 +02:00
Paul Chote
a43ec158fa
Update error messages.
2017-05-27 13:03:47 +02:00
Paul Chote
b104f8baa2
Improve handling of unknown error codes.
2017-05-27 12:43:25 +02:00
Glenn Martin Jensen
e8b2a12714
Add support for blacklist response
...
Adds support for the new blacklist response in servernames
2017-05-27 12:43:25 +02:00
abcdefg30
1f93029e51
Always make sure to be on the host actor when repairing
2017-05-26 22:53:03 +02:00
Paul Chote
2e7de2874d
Fix cloak sounds playing on build for initially cloaked actors.
2017-05-24 16:30:04 +02:00