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
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
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
34810756c2
Move Voxel code to Mods.Cnc.
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
e8d6d63707
Add IIssueDeployOrder.
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
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
43b55ae333
Move Shape from Health to new HitShape trait
...
Renamed Shape to Type
2017-06-04 00:07:08 +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
8d69d26542
Add debug overlay for custom TargetPositions
2017-05-29 07:41:20 -05: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
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
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
abcdefg30
434ea9ca88
Throw a lint error or an exception when no player owns the world
2017-05-20 11:02:00 +02:00
Paul Chote
d45870ca23
Allow fixed barrel pitches to be defined in yaml.
2017-05-14 11:52:42 +01:00
reaperrr
b8c251cf41
Add StartBurstReport to WeaponInfo
...
The FS Juggernaut firing sound already contains 3 shots, so without this, players would hear a total of 9(!) shots per salvo.
2017-05-14 11:49:38 +01:00
reaperrr
aa8d9f5dda
Fix GrantConditionOnDeploy to support multiple sprite bodies
2017-05-14 00:22:26 -05:00
reaperrr
6f19379a2b
Make WithMoveAnimation multi-WithSpriteBody-compatible
2017-05-14 00:22:26 -05:00
reaperrr
3b798897be
Add Name ID field to WithSpriteBody
2017-05-14 00:22:26 -05:00
reaperrr
d92d9f86fc
Add IBlocksProjectilesInfo interface
2017-05-13 11:15:38 -07:00
Paul Chote
5dcb840f9f
Fix WithHarvesterOffset.LocalOffset name.
2017-05-07 13:44:47 +01:00
Paul Chote
e6ec071ceb
Merge pull request #13093 from rob-v/ServicePadMoveToRallyPoint
...
Fix Service Depot Rally point path finding
2017-05-07 08:48:47 +01:00
Paul Chote
d787429a2e
Merge pull request #12996 from atlimit8/RemoveIDisable-part2
...
Remove IDisable - part 2
2017-05-07 08:38:09 +01:00
atlimit8
431f06cd49
Convert support powers from actor disabled to pausable-conditional.
2017-05-06 17:19:43 -05:00
atlimit8
700b117122
Convert WithRepairAnimation from disable to conditional.
2017-05-06 17:19:43 -05:00
atlimit8
5fd4b3a1bd
Convert WithRearmAnimation from disable to conditional.
2017-05-06 17:19:42 -05:00
atlimit8
b0706e7cd0
Removes actor disabled support from WithIdleAnimation.
2017-05-06 17:19:42 -05:00
atlimit8
0dfdea1826
Convert AffectedByPowerOutage from disabler to conditional condition granter.
2017-05-06 17:19:42 -05:00
atlimit8
64a2b9de55
WithRepairOverlay into pausable-conditional trait EMP disabled polish.
2017-05-06 17:19:42 -05:00