Oliver Brakmann
8b3db6f3d6
Allow granting a condition to Carryalls currently carrying units
2020-07-12 14:36:01 +02:00
Pavel Penev
8c394a4cb5
Created FlashPaletteEffectWarhead and removed the hardcoded flashing from NukeLaunch
...
Not actually hardcoded, but there was a hard dependency in NukeLaunch on FlashPaletteEffect and explicit flashing checks.
2020-07-10 13:22:54 +02:00
abcdefg30
cada396733
Fix a crash when previewing an actor using WithCrateBody in the editor
2020-07-09 20:31:03 +02:00
Paul Chote
a2269e7ee7
Convert (Dynamic)FacingInit, (Dynamic)TurretFacingInit to WAngle.
2020-07-08 20:38:30 +02:00
Paul Chote
e8f443f4a9
Remove TurretFacingsInit and PlugsInit.
2020-07-08 20:38:30 +02:00
abcdefg30
889e2152a4
Cache ProjectedCellBounds during load time
2020-07-08 18:37:50 +02:00
Paul Chote
b3ee8b447e
Reduce duplication between Map and PlayerRadarTerrain.
2020-07-07 22:12:22 +02:00
Paul Chote
5f588561b6
Rewrite TS minimap rendering:
...
* Rename LeftColor and RightColor to MinColor and MaxColor
These are mapped from LowRadarColor and HighRadarColor in
the original inis, and appear to be used to set the bounding
values for selecting a random colour, NOT for left/right
pixels (which caused noticeably wrong banding).
* Adjust brightness based on terrain height.
MinHeightColorBrightness and MaxHeightColorBrightness
were chosen by trial/error to match the original
map preview rendering.
2020-07-07 22:12:22 +02:00
abcdefg30
b066005f7e
Fix AttackBomber marking aircraft that are not in the world as in range
2020-07-06 22:30:41 +02:00
abcdefg30
87e33a75c6
Fix a crash when calling an airstrike at the map edge
2020-07-06 22:30:41 +02:00
abcdefg30
bc7bf174d8
Don't tick the announcement timer when not in low power
...
When entering low power it will be reset to 0 again anyway
2020-07-05 20:37:17 +02:00
abcdefg30
2e06d5790b
Update the PowerState only when power is added or removed
2020-07-05 20:37:17 +02:00
abcdefg30
ab8790e8f1
Style/Readability changes
2020-07-05 20:37:17 +02:00
Oliver Brakmann
595809f090
Fix Carryalls waiting for actors on transit-only tiles
2020-07-04 16:47:17 +02:00
darkademic
ae882b85a9
Make AI randomly scan map for targets for its air squads.
2020-07-02 23:05:49 +02:00
abcdefg30
5e92915095
Fix the cargo unload regression with scripted transports
...
The activity is not interruptible, so we'd continue after the Move regardless
2020-07-02 21:14:35 +02:00
Matthias Mailänder
6581fcb6a7
Add a random interval to idle animations.
2020-06-28 13:43:33 +02:00
tovl
b79aa7eb6a
Add AlwaysTurnInPlace option to Mobile.
2020-06-28 00:11:26 +02:00
Alfred Lang
1c8c49dc8e
Fix do allow AI do place plugbuildings like RBG Tower on GDI Component Tower
2020-06-27 10:35:06 +02:00
Paul Chote
6dcde3af72
Allow voxel-based aircraft to pitch and roll.
2020-06-21 18:05:40 +02:00
Paul Chote
43717a89b5
Add Orientation getter to IFacing.
2020-06-21 18:05:40 +02:00
Nikita Pozdeev
cb41be113a
Fix map editor radar ignoring color from terrain
2020-06-20 14:37:23 +02:00
abcdefg30
f75afc6ee4
Fix a compilation error in WithInfantryBody.cs
2020-06-19 20:01:04 +02:00
Paul Chote
56739f87fb
Allow plugs to be configured in the map editor.
2020-06-19 17:57:56 +02:00
Paul Chote
571eb7614f
Support multiple turrets in the editor.
2020-06-19 17:57:56 +02:00
Paul Chote
c6c3a8c60d
Make ActorPreview and EditorActorPreview wrap ActorReference.
2020-06-19 17:57:56 +02:00
Paul Chote
ae7cfa56b7
Restrict IActorPreviewInitInfo to ActorInit.
2020-06-19 17:57:56 +02:00
Paul Chote
b856613194
Add ISingleInstanceInit interface.
...
Inits that are logically singletons (e.g. actor
location or owner) should implement this interface
to avoid runtime inconsistencies.
Duplicate instances are rejected at init-time,
allowing simpler queries when they are used.
2020-06-19 17:57:56 +02:00
Paul Chote
27602a4a97
Add WAngle-compatible airstrike/paratrooper APIs.
2020-06-19 17:28:01 +02:00
Paul Chote
23561cd76b
Add custom palette support to WithInfantryBody.
2020-06-19 17:09:13 +02:00
Paul Chote
d3ab3d7d78
Move IndexedPlayerPalette to Mods.Common and add a non-player version.
2020-06-19 17:09:13 +02:00
Matthias Mailänder
6130d5622c
Add a panic function to the Lua API.
2020-06-19 16:50:28 +02:00
abcdefg30
9a3447d863
Fix airstrike and paratroopers power not removing cameras at the map edge
2020-06-19 16:04:54 +02:00
Paul Chote
803b930405
Change IFacing.TurnSpeed to WAngle.
2020-06-12 18:35:41 +02:00
Paul Chote
6adf45bcb4
Convert IFacing.Facing and TurnSpeed to WAngle.
2020-06-12 18:35:41 +02:00
Matthias Mailänder
01417c88c5
Add missing actor reference for lint testing.
2020-06-10 19:07:14 +02:00
Paul Chote
b38018af9c
Replace IActorInit with an abstract class.
...
A shared ValueActorInit<T> is introduced to reduce duplication
in the most common init cases, and an ActorInitActorReference
allow actors to be referenced by map.yaml name.
2020-06-08 19:18:38 +02:00
abcdefg30
fb27a25e52
Fix a crash with support powers and units without selection decorations
2020-06-06 13:46:27 +01:00
abcdefg30
507ce40ad2
Fix a crash in LegacyBridgeLayer
2020-06-02 19:22:19 +01:00
reaperrr
f58c3aed32
Use OccupiesSpace to save more trait look-ups
...
This time in Locomotor.IsBlockedBy.
2020-06-02 20:08:34 +02:00
Matthias Mailänder
d261648ab0
Fix BeingCapturedCondition getting revoked from the wrong actor.
2020-06-02 10:45:49 +02:00
Paul Chote
2cfacc2c7d
ProjectileArgs facing -> WAngle.
2020-06-01 21:34:32 +02:00
Paul Chote
6d6b21a0eb
Convert Aircraft.Facing to WAngle.
2020-06-01 20:25:38 +02:00
Ivaylo Draganov
b8a9f41892
Add missing trait descriptions for cursors and unify the language
2020-05-31 00:12:04 +02:00
Ivaylo Draganov
227567dfe1
Formatting: wrap and indent long argument lists
2020-05-31 00:12:04 +02:00
Ivaylo Draganov
d5ff5c672b
Add configurable cursors for entering allied actor targeters
2020-05-31 00:12:04 +02:00
Ivaylo Draganov
393f6eca3a
Add configurable target cursors to various traits
2020-05-31 00:12:04 +02:00
abcdefg30
44d3691fa1
Assign Player.IsBot before calling INotifyCreated.Created
2020-05-30 19:47:29 +02:00
abcdefg30
27d0465891
Remove workarounds for querying the PlayerActor in Created
2020-05-30 19:47:29 +02:00
reaperrr
e1b7df8b6a
Use OccupiesSpace to avoid Mobile look-ups
...
in PathFinder.FindUnitPath and FindUnitPathToRange.
2020-05-30 04:05:29 -05:00