Commit Graph

7224 Commits

Author SHA1 Message Date
reaperrr
c9ff362ea2 Add TakeOffOnCreation and TakeOffOnResupply to Aircraft
Before this, it was impossible to replicate the behavior of the original games (staying on pad/airfield after reload) without hacking around in Mods.Common.
This allows modders to disable these without meddling with code.
2017-08-31 18:03:59 +02:00
abcdefg30
5cfb5aaf2d Rework the addition and removal of building influence 2017-08-31 17:36:22 +02:00
reaperrr
d1a4133752 Fix WithShadow
It *modifies* the actor rendering, so returning an empty renderable was bogus, as were the IsInWorld/IsDead checks.
2017-08-31 16:54:03 +02:00
Paul Chote
69251d508b Suppress scroll events from the DropDownWidget fullscreen mask. 2017-08-31 12:43:17 +02:00
Paul Chote
1bd1a185f5 Unhardcode spectator combined/world view hotkeys. 2017-08-31 12:33:34 +02:00
Paul Chote
0525408664 Unhardcode map editor zooming hotkey. 2017-08-31 12:33:34 +02:00
Paul Chote
9a5b5d9b6f Unhardcode music control hotkeys. 2017-08-31 12:33:34 +02:00
Paul Chote
8d4ffee32a Add hotkey linting support for logic args. 2017-08-31 12:33:34 +02:00
atlimit8
fd6b2c0107 Move timers from ConditionManager to ExternalCondition 2017-08-27 12:43:27 +01:00
atlimit8
c61cd37bec ExternalCondition: List<struct TimedToken> timedTokens 2017-08-27 12:43:27 +01:00
atlimit8
62c76b8ae9 ExternalCondition: remove timedTokensBySource 2017-08-27 12:43:27 +01:00
atlimit8
f51323daa3 ExternalCondition: remove unneeded source references 2017-08-27 12:43:27 +01:00
atlimit8
c7d3c3ec73 Changes to ExternalCondition.TryRevokeCondition 2017-08-27 12:43:27 +01:00
abcdefg30
d6d8cf05b0 Adjust IsAtGroundLevel fixing EjectOnDeath 2017-08-26 15:54:02 -07:00
reaperrr
b1c63a4752 Fix FindActorsOnLine overscan 2017-08-26 15:43:44 -07:00
Forcecore
739d0c0bb2 Disabled Ground squads finding targets individually
* Now they will tend to focus fire.
* Provides performance when when the AI designer implements better
  (and complex) target selection code
2017-08-25 23:13:26 +02:00
Zimmermann Gyula
cb36dfa532 Implement instant refineries.
AKA RA2 refinery logic.
2017-08-25 22:19:03 +02:00
Paul Chote
a29360f313 Add a lint test for hotkeys. 2017-08-25 21:56:52 +02:00
Paul Chote
1e0148e092 Migrate ButtonWidget to NamedHotkey. 2017-08-25 21:56:52 +02:00
Paul Chote
13a06c6e8d Move hardcoded static asset browser hotkeys to yaml. 2017-08-25 21:56:52 +02:00
atlimit8
43880ea7b8 Make AppearsOnRadar trait conditional 2017-08-25 15:10:28 +02:00
atlimit8
8a825f2999 Add VariableExpression.NoVariables 2017-08-25 15:10:28 +02:00
reaperrr
120d7f9976 WithHarvestAnimation style fixes
Make interface implementations explicit.
2017-08-23 12:34:00 +02:00
reaperrr
0103b7ca87 Make WithSpriteBody.PlayCustomAnimation resume loop of Sequence
...after it finished playing.
2017-08-23 12:34:00 +02:00
reaperrr
90a4fe7ca1 Resume looping default WithSpriteTurret.Sequence after custom anim
It doesn't really make sense not to, and the only trait using PlayCustomAnimation previously did this manually anyway.
2017-08-23 12:34:00 +02:00
reaperrr
c75e64a952 Properly account for disabled Armaments in various places
These places didn't care if an Armament was disabled, which could lead to unexpected behavior.
2017-08-22 20:55:46 +01:00
reaperrr
951ee2210c Consider disabled armaments invalid 2017-08-22 20:55:46 +01:00
rob-v
01d631b228 Load replays also in sub directories 2017-08-21 14:54:46 +02:00
Mustafa Alperen Seki
f7983692ae Make Captures Upgradeable 2017-08-21 13:06:00 +02:00
Matthias Mailänder
287290bbdf Fix indentions of trait documentation table of contents. 2017-08-20 23:06:59 +02:00
reaperrr
834a40b18d Refactor BurstDelay to BurstDelays
Allowing to set custom per-burst delays.
2017-08-20 20:48:25 +02:00
abcdefg30
4ce2e82ff0 AI States style fixes and minor polish 2017-08-17 23:25:51 +01:00
reaperrr
98b1468801 Clean up Harvester TickIdle a bit
Triggering UnblockRefinery each idle tick is bogus.
2017-08-17 22:58:37 +01:00
reaperrr
406f482a19 Cache INotifyHarvesterAction trait look-ups 2017-08-17 22:58:37 +01:00
reaperrr
bac8d3233a Streamline Harvester.SetProcLines return check 2017-08-17 22:58:37 +01:00
reaperrr
e9a420a9e5 Remove redundant TakeOff from Aircraft
ResupplyAircraft queues a TakeOff anyway, if the aircraft is a helicopter.
2017-08-17 22:19:05 +01:00
reaperrr
95d3d61ffa Make some Aircraft interface implementations explicit with subclassing 2017-08-17 22:19:05 +01:00
reaperrr
6c3ff0dc02 Make AircraftInfo more readable
Added some descriptions where I considered it necessary, added newlines between entries, reordered entries where it made sense.
2017-08-17 22:19:05 +01:00
reaperrr
cab6a96b16 Allow skipping make anim for actors with WithMakeAnimation and GrantConditionOnDeploy 2017-08-17 22:03:42 +01:00
reaperrr
f3f2621eeb Allow skipping 'sell'/reversed make anim on Sell 2017-08-17 22:03:42 +01:00
reaperrr
eb5fb5abba Allow skipping 'sell'/undeploy anim for actors that TransformOnCapture 2017-08-17 22:03:42 +01:00
rob-v
c848b30e9e Add chat tab to multiplayer/replays ingame menu 2017-08-17 21:54:19 +01:00
Paul Chote
daee217431 Add x64process stat. 2017-08-17 19:45:11 +02:00
Paul Chote
9fc0970cfc Force '.' decimal point for windowscale stat. 2017-08-17 19:45:11 +02:00
abcdefg30
7156c2c09d Add the missing base implementation to AttackFrontal's RulesetLoaded 2017-08-17 19:28:51 +02:00
rob-v
dd9d5450bc Add EnableDebugCommandsInReplays option 2017-08-17 19:23:22 +02:00
rob-v
eb21c4bddd Keep Attack M./Guard action while holding hotkey (revert Playtest change) 2017-08-13 17:44:26 +01:00
Oliver Brakmann
8f26b4e92b Fix Mobile not sanitizing target location of Move orders 2017-08-13 17:23:37 +01:00
Paul Chote
62a006ed3e Change beaconlib reference to match other deps. 2017-08-13 18:15:55 +02:00
Paul Chote
4e493f265f Revert TicksBeforePathing move from Mobile to Move.
This partially reverts commit 11c8cda0c38ad0ac71c58557d34480925307cebd.
2017-08-13 13:31:58 +02:00