Paul Chote
2ac7e451b4
Remove AttackBase.IgnoresVisibility.
...
This was a workaround for D2K sandworms, which is
now implemented using a custom attack activity.
2018-12-17 22:19:26 +01:00
Paul Chote
8eeb6d68e7
Tweak FrozenActorLayer queries:
...
- FrozenActorsInRegion now filters for valid and (optionally) visible FAs
- Add new FrozenActorsInCircle to mirror World.FindActorsInCircle.
The first change means that SupportPowerDecision now correctly ignores
FrozenActors that the AI has not discovered.
2018-12-17 22:19:26 +01:00
Paul Chote
3e490e5843
Cache FrozenActorLayer on the Player object.
...
This avoids unnecessary trait queries.
2018-12-17 22:19:26 +01:00
Paul Chote
4723e5ddb9
Expose common actor Inits in the map editor.
2018-12-08 22:53:13 +01:00
Paul Chote
f6768fe624
Remove legacy editor actor properties plumbing.
2018-12-08 22:53:13 +01:00
Ivaylo Draganov
9be7298311
Remove airstrike/paradrop beacon when the whole squad is shot down
2018-12-08 22:30:17 +01:00
Paul Chote
d9f8afdbe5
Add GrantExternalConditionToProduced trait.
2018-12-08 15:27:06 +01:00
reaperrr
20ba45d467
Remove queueing HeliFlyCircle from AutoCarryall
2018-12-05 09:20:58 +13:00
reaperrr
ac3e601edf
Use INotifyIdle on Aircraft
...
For now only to trigger landing or circling.
2018-12-05 09:20:58 +13:00
reaperrr
d8220b390a
Add IdleTurnSpeed to Aircraft
...
Instead of hardcoding 1/3 of normal TurnSpeed on HeliFlyCircle.
2018-12-05 09:20:58 +13:00
reaperrr
eb86160021
Remove CrateEffect in favor of using updated SpriteEffect
2018-12-05 09:04:29 +13:00
reaperrr
451a38338b
Convert AISupportPowerManager to module
2018-11-25 19:00:44 +01:00
reaperrr
67cba65800
Fix bot module plumbing
...
Fixes the issues pointed out after the original harvester module was merged.
Also merges the update rules as discussed on IRC.
2018-11-24 11:05:37 +00:00
David Wilson
22bece2dc9
Add a basic actor properties panel to the editor.
2018-11-24 10:14:17 +00:00
Paul Chote
807a40c209
Remove IExplodeModifier interface.
2018-11-22 22:16:56 +01:00
Paul Chote
80842fd4b8
Add GrantConditionOnPlayerResources trait.
2018-11-22 22:16:56 +01:00
Paul Chote
3be008f592
Add EmptyCondition to Harvester.
2018-11-22 22:16:56 +01:00
Paul Chote
5f2cc5981d
Remove unused IExplodeModifier from Refinery.
2018-11-22 22:16:56 +01:00
reaperrr
fcb09d069b
Add RequiresSpecificOwners trait
...
To enforce specific owners via Lint rules,
and possibly other means later.
This is for cases where accidentally setting an
unfitting owner via editor could cause issues.
Example: AI might try to attack Creeps-owned trees
and get stuck.
2018-11-21 22:29:55 +00:00
Oliver Brakmann
310b63150f
Check for player trait prereqs in ProximityCapturable
2018-11-21 22:12:07 +00:00
Andre Mohren
c3f4bc484d
Correctly handle Production traits disabled by condition.
2018-11-21 22:13:20 +01:00
TheChosenEvilOne
e01953afa3
Made Turreted PausableConditional
2018-11-21 17:32:53 +01:00
Paul Chote
1af9efe246
Avoid a crash if subjects is empty.
...
This can happen in the rare instance that the last
actor in the selection is killed in the same tick
that the OG is activated, and GetCursor is called
before the next tick cancels the OG.
2018-11-20 21:55:55 +01:00
reaperrr
b8d3c9f73a
Fix aircraft being repaired mid-air
...
Repairable was originally written for ground actors,
so it's both safer and much easier to just handle this in Aircraft directly.
2018-11-19 21:40:10 +00:00
reaperrr
560d7b4ee8
Fix Repairable crash
...
MoveAdjacentTo is a Mobile-only activity.
2018-11-19 21:40:10 +00:00
reaperrr
7d695f0c8f
Fix actors in ReturnFire stance following targets
...
On bleed, if AllowMovement is true actors with ReturnFire will actually follow the acquired target, unlike in Defend stance.
This is at least unintuitive, since ReturnFire is expected to be more passive than Defend.
2018-11-18 16:19:50 +01:00
Andre Mohren
0fca984463
Implemented InfiniteBuildAfter.
2018-11-17 17:39:18 +00:00
Andre Mohren
89051d40e8
Remove utf8 BOM.
2018-11-17 17:23:22 +00:00
Andre Mohren
7323db1492
Unified copyright regions.
2018-11-17 17:23:22 +00:00
Andre Mohren
b1a44086a0
Removed unused using directives.
2018-11-17 17:23:22 +00:00
Mustafa Alperen Seki
becfc154c5
Add Creates/RevealsShroudMultiplier.
2018-11-10 12:14:14 +01:00
Mustafa Alperen Seki
3224843d70
Add Demolition>(Force)TargetStances
2018-11-10 11:48:28 +01:00
TheChosenEvilOne
51ec97fb2c
Check for null in Turreted.StopAiming
2018-11-09 23:58:16 +01:00
Ivaylo Draganov
31f2441709
Draw target lines for allied players and observers
2018-11-04 06:34:43 +01:00
reaperrr
927b6cd561
Convert AIHarvesterManager into *Module
2018-11-04 01:11:00 +01:00
reaperrr
92912c6c94
Add TurnToDock to Aircraft
...
Instead of hard-coding a turn before VTOLs
land/dock on resupplier.
2018-11-04 00:25:55 +01:00
Mustafa Alperen Seki
dd92ec4d02
Make Cloak PausableConditional
...
If disabled now it CloakDelay resets to InitialCloakDelay when
reenabled, if paused it continues with CloakDelay when resumed.
2018-11-03 22:40:28 +00:00
Ivaylo Draganov
a7279415dc
Allow player to add a "priority unit" to production queue
...
* If production is ordered by `Ctrl + Left Click` the item is added to the top of the stack after the currently produced item
* Works with `Shift` for priority queueing of 5 items
* This modifier is not taken into account for `ParallelProductionQueue` as it doesn't make sense in that context
2018-11-03 17:54:50 +01:00
abcdefg30
f968b169ad
Fix PrimaryBuilding changing the status of and from disabled queues
2018-11-03 17:30:05 +01:00
abcdefg30
272d9b99fd
Fix ProductionFromMapEdge blocking the base Created call.
2018-11-03 17:30:05 +01:00
abcdefg30
c0ee199ad1
Support multiple Production traits in WithProductionOverlay.
2018-11-03 17:30:05 +01:00
abcdefg30
a03abe78af
Ignore disabled production traits.
2018-11-03 17:30:05 +01:00
Paul Chote
ea3731a7cc
Pass the original init dict to UnitProducedByOther.
2018-11-03 17:30:05 +01:00
abcdefg30
5e5183549c
Overhaul ProductionBar:
...
- Is now a conditional trait
- Now respects multiple Production trait instances
- ProductionType is now required
2018-11-03 17:30:05 +01:00
Paul Chote
fc6ada38f4
Revoke WithMakeAnimation condition at the end of the tick.
...
This fixes traits becoming enabled for a tick
between the animation completing and the actor
being removed from the world.
2018-11-03 15:28:05 +01:00
Paul Chote
47a470e945
Remove legacy Building plumbing.
2018-11-03 15:09:14 +01:00
Paul Chote
e77aaa1a47
Remove (INotify)BuildComplete from Attack*
2018-11-03 15:09:14 +01:00
Paul Chote
e57087cb5b
Remove building lock from Production.
2018-11-03 15:09:14 +01:00
Paul Chote
94088d37a6
Remove building lock from Sellable.
2018-11-03 15:09:14 +01:00
Paul Chote
492bcdd9a7
Remove building lock from Transforms.
2018-11-03 15:09:14 +01:00