teinarss
19b02875c7
Use Tuple syntax
2020-08-15 10:37:10 +01:00
abcdefg30
a847f3eafa
Fix actors not yet in the world improperly updating power state
2020-08-14 11:46:38 +02:00
Paul Chote
75cb5c2166
Convert turret facings to WAngle relative to the body.
2020-08-09 19:43:53 +02:00
dnqbob
7ecd4124ce
Make "RepairableNear" public, helpful for modder
2020-08-08 13:20:39 +02:00
Mustafa Alperen Seki
43388cb7fc
Don't check HasAdequateRefineryCount if no RefineryTypes defined.
2020-08-05 11:29:22 +02:00
Mustafa Alperen Seki
4cc5104fde
Unhardcode AI's MinimumRefineryCount numbers.
2020-08-05 11:29:22 +02:00
Curtis Shmyr
d519cabae3
Add actor experience to the Lua API
2020-08-03 18:35:50 +02:00
Matthias Mailänder
3a427c3630
Add a sequence reference attribute to label fallbacks.
2020-08-02 22:15:13 +02:00
Matthias Mailänder
06ad9666e8
Replace burns with more modular and testable trait combinations.
2020-08-02 22:15:13 +02:00
Matthias Mailänder
728e0c6600
If it defaults to the actor type, then it shouldn't be required.
2020-08-02 22:15:13 +02:00
Matthias Mailänder
657e690bdd
Add an image override.
2020-08-02 22:15:13 +02:00
Matthias Mailänder
2d36d0a659
Reflect in naming that negative SelfHealing is a thing.
2020-08-02 22:15:13 +02:00
Matthias Mailänder
c42fd5d2e2
Add IsDecoration as a configurable option.
2020-08-02 22:15:13 +02:00
Matthias Mailänder
ea9992247d
Reorder string placeholders.
2020-08-02 12:00:53 +02:00
Matthias Mailänder
b90fecff76
Remove the prefixed method name.
2020-08-02 12:00:53 +02:00
Matthias Mailänder
a4fc9fea3b
Unify AIUtils.BotDebug prefixes.
2020-08-02 12:00:53 +02:00
Matthias Mailänder
1ef5db8896
Document the built in hitshape types.
2020-07-28 23:42:26 +02:00
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
Paul Chote
3bf61f1043
Fix incorrect rotation calculation in ThrowsShrapnel.
2020-07-19 10:41:05 +02:00
Paul Chote
ac975f4139
Convert yaml-exposed facings to WAngle.
2020-07-19 10:41:05 +02:00
abcdefg30
6d12301f88
Fix the aircraft facing slider in the editor
2020-07-18 01:45:00 +02:00
Paul Chote
aae497eff1
Pass pre-combined rotations into the rendering code.
2020-07-17 15:02:32 +02:00
Paul Chote
8c3793e7ea
Rename WRot.Zero to WRot.None.
2020-07-17 15:02:32 +02:00
Oliver Brakmann
60a7f53491
Fix target lines appearing not long enough on screen
...
Also changes the Delay attribute from ticks to milliseconds.
2020-07-16 00:28:05 +02:00
Paul Chote
01e955ca37
Implement TS-style terrain lighting.
2020-07-13 14:02:02 +02:00
Paul Chote
fdb66c769c
Change terrain layers to track sequences instead of sprites.
2020-07-13 14:02:02 +02:00
Paul Chote
3bc5d2d02c
Add INotifyEditorPlacementInfo interface.
...
This allows TraitInfos to act when the actor preview is placed
in the editor, returning arbitrary data which the editor stores
and gives back if the preview is removed.
2020-07-13 14:02:02 +02:00
Paul Chote
ac7eda8ca2
Add support for rendering tinted artwork.
2020-07-13 14:02:02 +02:00
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