Paul Chote
6adf45bcb4
Convert IFacing.Facing and TurnSpeed to WAngle.
2020-06-12 18:35:41 +02:00
Paul Chote
10aac03f75
Add CompositeActorInit and simplify chronoshift inits.
2020-06-08 19:18:38 +02:00
Paul Chote
0eb0041f90
Allow ActorInits to target a specific trait by matching the @ suffix.
2020-06-08 19:18:38 +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
Paul Chote
6d6b21a0eb
Convert Aircraft.Facing to WAngle.
2020-06-01 20:25:38 +02:00
Paul Chote
7c6ec577dc
Rewrite ActorInit queries.
2020-05-28 19:04:53 +02:00
Ivaylo Draganov
1dd1786469
Reduce duplication of "Battlefield Control" chat line label
2020-02-22 15:58:00 +00:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Paul Chote
252c833320
Don't override spawn CenterPosition for non-aircraft reinforcements.
2019-10-19 23:45:42 +02:00
tovl
5920de1384
Airborne transports only land to (un)load.
2019-06-30 18:04:43 +02:00
tovl
adecd4ca87
Overhaul Land activity:
...
- Landing on an actor is no longer blocked by the underlying terrain
- Land in a nearby cell if the requested location is blocked
- Internally manages the fixed-wing landing sequence
- ProductionAirdrop transport waits until the exit is free before landing
2019-06-30 18:04:43 +02:00
Mustafa Alperen Seki
0eb5063260
Add lua function Media.DisplaySystemMessage
2019-06-09 16:29:42 +02:00
Paul Chote
674155a8dd
Move ctor initializers to their own line.
2019-06-08 18:44:50 +02:00
Ivaylo Draganov
1fee50be2e
Add TruncateLabelWithTooltip helper function
...
* Move GetContrastColor helper to SpriteFont
* Move WidgetUtils from OpenRA.Game.Widgets to OpenRA.Mods.Common.Widgets
2019-05-27 17:28:47 +02:00
reaperrr
0c2666b97e
Streamline Land activity
...
Removed some redundant parameters, some redundant overloads
and made Land always consider LandAltitude relative to target.
2019-05-17 18:51:21 +01:00
reaperrr
14bd5ada1a
Merge HeliLand into Land activity
2019-05-17 18:51:21 +01:00
Oliver Brakmann
26d712728a
Add scripting support for TimeLimitManager
2019-05-16 14:56:56 +02:00
teinarss
d9d2202599
System messages should be yellow to distinguish them from normal
2019-04-27 14:51:59 +02:00
tovl
c633e07410
Make aircraft occupy cells when landed.
2019-04-22 02:56:57 +02:00
abcdefg30
981fe6fae1
Remove the Lua return type of Beacon.New
2019-04-19 16:31:03 +02:00
abcdefg30
c93dc1424c
Throw a LuaException when placing a beacon without the player trait
2019-04-19 16:31:03 +02:00
abcdefg30
8578ce1346
Merge PlaceSimpleBeacon and AnimatedBeacon into PlaceBeacon and Beacon
2019-03-14 01:55:34 +01:00
abcdefg30
2db2148310
Add OnAnyProduction and OnSold lua triggers
2019-03-13 23:14:35 +01:00
reaperrr
ea2e452075
Add SpawnActorEffect
...
And use it to drop DelayedAction from ReinforcementsGlobal.
2019-03-11 12:54:58 +01:00
Paul Chote
3e404f6ac2
Remove HSLColor.
2019-03-04 18:26:42 +00:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
abcdefg30
db7414e822
Include a note about the necessity of AnnounceOnSeen for OnDiscovered
2019-02-22 14:32:16 +01:00
abcdefg30
599d174f33
Fix a typo in the Lua API description of OnDiscovered
2019-02-22 14:32:16 +01:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
abcdefg30
3e93242929
Fix OnAllRemovedFromWorld only triggering once
2019-01-22 23:09:21 +00:00
Andre Mohren
b1a44086a0
Removed unused using directives.
2018-11-17 17:23:22 +00:00
Paul Chote
2064dc7c30
Support non-int Enum types in the Lua API.
2018-11-04 18:32:33 +01:00
abcdefg30
00dc161628
Add a proper exception when creating an actor with an invalid owner in Lua
2018-10-07 11:09:06 +00:00
Paul Chote
eb0e2eeb9d
Fix misc indentation errors.
2018-10-06 23:32:38 +02:00
Mustafa Alperen Seki
9c61217bc6
Add ability to send a radar ping with lua.
2018-07-26 00:03:45 +01:00
reaperrr
5364515004
Don't pass movement class via IsPassable directly
...
Let IsPassable get that info from the locomotor instead.
2018-05-03 10:49:21 +02:00
reaperrr
81343926b6
Split Locomotor trait from Mobile
...
Add GrantConditionOn*Layer traits
This allows to
- drop some booleans from Locomotor
- drop a good part of the subterranean- and jumpjet-specific code/hacks from Mobile
- grant more than 1 condition per layer type (via multiple traits)
- easily add more traits of this kind for other layers
2018-05-03 10:49:21 +02:00
abcdefg30
d15b462350
Remove the deprecated Difficulty member from MapGlobal (lua)
2018-03-23 20:23:09 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
abcdefg30
2366490fa0
Add an domain index check
2017-10-08 13:08:51 +02:00
abcdefg30
f48ba0ff86
Find alternative landing spots for blocked reinforcements
2017-10-08 13:08:51 +02:00
reaperrr
3b01da737c
Introduce Aircraft VTOL boolean
...
Rather than hard-linking vertical take-off/land to the CanHover = Helicopter assumption.
2017-08-31 18:03:59 +02:00
rob-v
78bedb0513
Fix IsSinglePlayer
2017-06-27 22:43:15 +01:00
atlimit8
b6810f3dd3
Merge pull request #12986 from abcdefg30/withDesc
...
Expand the documentation of Reinforce(WithTransport)
2017-03-22 10:23:36 -05:00
abcdefg30
a36a77d637
Add a note about EnemyWatcher being required for On(Player)Discovered
2017-03-18 18:09:20 +01:00
abcdefg30
6069a12973
Expand the documentation of Reinforce(WithTransport)
2017-03-18 16:40:35 +01:00
Paul Chote
6aa2f962b1
Merge pull request #12769 from abcdefg30/luaTile
...
Add a lua function to query the terrain type of a cell
2017-03-03 22:19:58 +00:00
Paul Chote
78a3dcae85
Remove deprecated Lua APIs.
2017-02-19 14:10:39 +00:00
abcdefg30
603e7ca408
Add a lua function to query the terrain type of a cell
2017-02-12 21:05:48 +01:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00