Forcecore
a3c9d72cfd
Unbreak queued order
2017-06-18 12:03:29 +01:00
Forcecore
07a2ee5eab
Engineer repair activity can be queued
2017-06-18 12:03:29 +01:00
Paul Chote
4b4172f757
Make the Enter activity use the closest target position.
2017-06-17 21:18:28 +02:00
Paul Chote
995a3da43a
Rename Enter.targetCenter to repathWhileMoving.
2017-06-17 21:18:28 +02:00
Paul Chote
3db15beeb9
Fix compatibility with msbuild/csc on non-windows.
2017-06-17 20:17:31 +02:00
Forcecore
728162e688
GCOnDeploy's ValidTerrain() takes location parameter
...
Fixes ##13394.
Possible use: AI's future deploy planning when the actor isn't actually
there yet. Also used in my mod for Slave Miner's deploy planning
2017-06-17 19:00:07 +02:00
reaperrr
7eab278711
Adapt tracking projectiles to support targeting CenterPosition
...
Instead of closest targetable position.
2017-06-15 01:32:37 +02:00
reaperrr
da7433a95f
Add plumbing for targeting of target center instead of closest targetable position
...
Note: Projectiles that can track their target need minor additional changes, but for InstantHit (which already implemented support for this) and unguided projectiles (Bullet, GravityBomb) this commit is already sufficient.
2017-06-15 01:32:37 +02:00
Paul Chote
6ca0208694
Rename VoxelPreview to ModelPreview.
2017-06-14 18:56:06 +02:00
Paul Chote
736e70df78
Rename VoxelRenderable to ModelRenderable.
2017-06-14 18:56:06 +02:00
Paul Chote
17089f2aee
Rename VoxelSequences to ModelSequences.
2017-06-14 18:56:06 +02:00
Paul Chote
34810756c2
Move Voxel code to Mods.Cnc.
2017-06-14 18:56:06 +02:00
Paul Chote
dc4c3fd546
Rename VoxelRenderer to ModelRenderer.
2017-06-14 18:56:06 +02:00
Paul Chote
4f42778d26
Rename VoxelAnimation to ModelAnimation.
2017-06-14 18:56:06 +02:00
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