matjaeck
900e857bfa
Let AI ignore frozen actors and target original actors instead.
2019-11-08 15:32:06 +01:00
Abdurrahmaan Iqbal
d2819dca77
Show dialogue only when there are unsaved changes
2019-11-07 20:33:43 +01:00
blackhand1001
780982dbe2
Add PlaceDefenseTowardsEnemyChance trait to basebuilderbotmodule
...
Add PlaceDefenseTowardsEnemyChance trait to basebuilderbotmodule. This defeaults to 100 which is the current behavior. This change now allows you to set the chance that bots will place defenses evenly around the base like the AI in stock red alert and Tiberian sun did.
2019-11-06 10:30:36 +01:00
reaperrr
2de51ae73c
Cache IPathFinder in Mobile at creation
...
Avoiding look-ups on every move order,
as well as reducing line lengths.
2019-11-03 20:53:29 +01:00
Paul Chote
27205b30e5
Remove landing behaviour from force-move orders on selectable buildings.
2019-11-02 18:29:16 +00:00
abcdefg30
34f4c9bdaa
Prevent chronoshifting an empty selection
2019-11-02 11:29:28 +01:00
Abdurrahmaan Iqbal
023750db06
Prevent showing wall connections in unexplored terrain
2019-11-01 22:13:38 +01:00
teinarss
c94cf61069
Fix OccupiedCells for units sharing cells
2019-10-31 21:49:07 +00:00
Paul Chote
5315f8603f
Override selection if the mouse is over an already selected actor.
2019-10-30 14:53:23 +01:00
Paul Chote
0e4cb53ada
Pass contextual information to TargetOverridesSelection.
2019-10-30 14:53:23 +01:00
Paul Chote
3d6621f7ff
Force selection cursor when selection overrides input.
2019-10-30 14:53:23 +01:00
Paul Chote
9d4f683d80
Remove WorldRenderer argument from InputOverridesSelection.
2019-10-30 14:53:23 +01:00
Paul Chote
0cfd6337ff
Fix InputOverridesSelection only considering the closest actor.
2019-10-30 14:53:23 +01:00
Paul Chote
230a0b330c
Fix EjectOnDeath pilot spawning.
2019-10-29 23:03:11 +01:00
Paul Chote
3ee697a54d
Install x64 release into correct Program Files on Windows.
2019-10-28 21:03:49 +01:00
tovl
d2991247a3
Add separate condition to mobile for disabling nudging only.
2019-10-28 19:35:32 +01:00
tovl
38caadfdf0
Clean up nudging code.
2019-10-28 19:35:32 +01:00
tovl
c4d1468f62
Make locomotor cache and nudging logic aware of mobile trait status.
2019-10-28 19:35:32 +01:00
reaperrr
7e5b1abc0e
Simplified initial Wanders countdown initialization
...
I don't see a technical reason for the old approach.
2019-10-27 18:03:34 +02:00
RoosterDragon
b98123d9f8
Use SegmentStream.CreateWithoutOwningStream to avoid reading data into memory.
...
To avoid creating copied data in memory (e.g. via MemoryStream), this method can be used to reference offsets on files on disk, reducing memory requirements.
2019-10-24 20:48:14 +02:00
blackhand1001
9a9bf441ba
Add UseResourceStorage trait to CashTrickler
2019-10-23 20:20:03 +02:00
Paul Chote
1599eac66c
Rename SelectionBoxRenderable to SelectionBoxAnnotationRenderable.
2019-10-20 23:46:33 +02:00
Paul Chote
43e84c89ef
Rename SelectionBarsRenderable to SelectionBarsAnnotationRenderable.
2019-10-20 23:46:33 +02:00
Paul Chote
8e280ef0a7
Rename RangeCircleRenderable to RangeCircleAnnotationRenderable.
2019-10-20 23:46:33 +02:00
Paul Chote
81d9b705a6
Rename DetectionCircleRenderable to DetectionCircleAnnotationRenderable.
2019-10-20 23:46:33 +02:00
Paul Chote
4ec0fa299d
Rename TextRenderable to TextAnnotationRenderable.
2019-10-20 23:46:33 +02:00
Paul Chote
7937383bf4
Replace scaleSizeWithZoom with SpriteAnnotation.
2019-10-20 23:46:33 +02:00
Paul Chote
e772adb0a9
Draw annotations using the UI renderers.
2019-10-20 23:46:33 +02:00
Paul Chote
8c1b0f1afe
Add IEffectAnnotation interface.
2019-10-20 23:46:33 +02:00
Paul Chote
0ff078968d
Change IPlaceBuildingDecorationInfo to use annotations.
2019-10-20 23:46:33 +02:00
Paul Chote
7d1ce0c83b
Add annotation support to IOrderGenerator.
2019-10-20 23:46:33 +02:00
Paul Chote
1dc84f48de
Migrate traits to IRenderAnnotations.
2019-10-20 23:46:33 +02:00
Paul Chote
edaa7918fc
Add IRenderAnnotations(WhenSelected) interfaces.
2019-10-20 23:46:33 +02:00
Paul Chote
060ea80ca4
Fix infantry idle animations playing immediately after creation.
2019-10-20 16:38:25 +02:00
Paul Chote
c15a0a54bb
Don't consider unit creation as movement.
2019-10-20 16:38:25 +02:00
Paul Chote
252c833320
Don't override spawn CenterPosition for non-aircraft reinforcements.
2019-10-19 23:45:42 +02:00
abcdefg30
fdd3bffa1d
Throw a lua exception when setting an owner to null/nil
2019-10-19 13:34:43 +02:00
Paul Chote
988d6079e3
Disable Carryable while submerged.
2019-10-19 13:11:00 +02:00
Paul Chote
f14d3985a0
Allow carryall pickup orders on deployed vehicles.
2019-10-19 13:11:00 +02:00
Paul Chote
5f8fa7a35a
Add UndeployOnPickup to GrantConditionOnDeploy.
2019-10-19 13:11:00 +02:00
Paul Chote
69970d42f3
Prevent movement pausing at invalid position.
2019-10-19 13:11:00 +02:00
Paul Chote
ae34410c80
Replace MoveIntoWorld with ReturnToCell/AssociateWithAirfield.
2019-10-17 23:31:15 +02:00
Paul Chote
9b4d149a06
Revert "Suppress MoveIntoWorldInit for map-placed Mobile actors."
...
This reverts commit f0c28cc15334c7224630c375d669274f8da8fb31.
2019-10-17 23:31:15 +02:00
abcdefg30
f5f626cd89
Revert "Production should set SubCellInit"
...
This reverts commit fa1ca981ac .
2019-10-17 23:31:15 +02:00
Abdurrahmaan Iqbal
763e6d8109
Fix #17229 : Refactor ReturnToBase.cs
2019-10-17 10:28:43 +02:00
reaperrr
aa953ba5a1
Remove unused and buggy stand2 sequence from ants
...
They were unused, their settings were wrong,
and even if fixed they'd make idle ants look
glitchy, because the game switches between
stand sequences randomly.
2019-10-15 14:48:11 +02:00
reaperrr
33bba98773
Fix zombie stand2 sequence and run tickrate
2019-10-14 17:28:46 +02:00
abc013
8b1f1b21e7
Adjusted die sequence length of zombie
2019-10-14 17:28:46 +02:00
abc013
3ec0aa55b9
Fixed zombie.shp
...
Added missing zombie attack frame
and other fixes.
2019-10-14 17:28:46 +02:00
tovl
33d089a9d6
Fix lastVisibleTarget not being set in FlyAttack and AttackActivity.
2019-10-14 01:22:04 +02:00