Paul Chote
3b05a0a9f2
Deploy builds to the local repository.
2019-08-18 10:34:03 +01:00
tovl
22dd61676c
Define nearenough parameter for aircraft so they can exit movement early when stuck.
2019-08-18 10:34:03 +01:00
Paul Chote
ca75797169
Merge remote-tracking branch 'upstream/pr/16953' into devtest3
2019-08-18 00:36:24 +01:00
Paul Chote
b2e5379537
Merge remote-tracking branch 'upstream/pr/16949' into devtest3
2019-08-18 00:36:17 +01:00
Paul Chote
24247cc2e5
Merge remote-tracking branch 'upstream/pr/16935' into devtest3
2019-08-18 00:36:12 +01:00
Paul Chote
75bb879f84
Merge remote-tracking branch 'upstream/pr/16877' into devtest3
2019-08-18 00:36:04 +01:00
Paul Chote
d2b42fc9a1
Merge remote-tracking branch 'upstream/pr/16816' into devtest3
2019-08-18 00:35:57 +01:00
Paul Chote
a789a906ac
Merge remote-tracking branch 'upstream/pr/16938' into devtest3
2019-08-18 00:35:49 +01:00
Paul Chote
cf2c842049
Merge remote-tracking branch 'upstream/pr/16945' into devtest3
2019-08-18 00:35:42 +01:00
Paul Chote
0f105d62d4
Merge remote-tracking branch 'upstream/pr/16954' into devtest3
2019-08-18 00:35:33 +01:00
tovl
85d138624e
Add to AUTHORS.
2019-08-18 00:45:54 +02:00
tovl
2cde1effcb
Fix units from transports appearing at load point.
2019-08-18 00:45:54 +02:00
tovl
4d29c39a6d
Refactor FlyAttack to make strafing runs interruptible when target becomes invalid.
2019-08-17 22:54:02 +02:00
Paul Chote
003943514b
Fix crash for invalid Resupply hosts.
2019-08-17 12:08:26 +01:00
Paul Chote
ba983754ba
Recalculate visibility during moves too.
2019-08-17 11:58:09 +01:00
Paul Chote
0ff9f0dfa6
Fix incorrect shroud visibility for stationary units.
2019-08-17 11:58:07 +01:00
Paul Chote
474c912439
Discourage harvesters from wandering too far from the refinery.
2019-08-17 11:47:13 +01:00
Hedog
2a6f2bbe0e
Update movement inside leap to show attack animation
2019-08-17 12:42:06 +02:00
Paul Chote
40b2768183
Lay mines in order from start to end.
2019-08-17 00:12:33 +01:00
Ivaylo Draganov
cbb5d072e3
Move hotkey dialog logic into SettingsLogic, fix bugs and improve usability of the dialog
2019-08-17 00:09:41 +03:00
abcdefg30
4541d2b8ff
Allow single observers to use spectator team chat in mp
2019-08-16 21:49:16 +02:00
Paul Chote
2c24a607bc
Fix Target.Positions returning null for invalid FrozenActors.
2019-08-15 20:13:04 +02:00
Ivaylo Draganov
8f7da18dc5
Kill buildings on surrender in TS
2019-08-15 19:13:15 +02:00
tovl
08c472b2e2
Disallow attack-moving units from chasing their targets.
2019-08-15 18:03:30 +02:00
Paul Chote
441585b3aa
Truncate SLOT_OPTIONS and PLAYER_ACTION dropdown labels.
2019-08-15 17:25:14 +02:00
Paul Chote
78302ea593
Rework aircraft rally point handling.
2019-08-15 17:02:27 +02:00
reaperrr
08db7586d4
Fix Enter cursor for non-TakeOffOnResupply
...
If the aircraft does not take off on resupply,
we allow it to enter resuppliers without ForceMove modifier.
ResolveOrder already handled this correctly, only the cursor
shown was wrong.
2019-08-13 02:26:21 +02:00
teinarss
e05dc0afe3
Remove support power timers from spectator ui
2019-08-13 02:13:54 +02:00
Paul Chote
9c81507d6d
Adjust lobby option bin margins.
2019-08-12 19:13:05 +02:00
abcdefg30
ea80a13b11
Let the utility remove stray trailing whitespaces
2019-08-11 16:40:55 +02:00
abcdefg30
84fbcd7c47
Apply the update rule to the default mods
2019-08-11 16:40:55 +02:00
abcdefg30
bfc3e1354b
Rename SearchFromOrderRadius to SearchFromHarvesterRadius
2019-08-11 16:40:55 +02:00
abcdefg30
698ef5e375
Don't use SearchFromProcRadius when searching from self.Location
2019-08-11 16:40:55 +02:00
abcdefg30
ead35bccda
Decrease SearchFromProcRadius and SearchFromOrderRadius
2019-08-11 16:40:55 +02:00
reaperrr
b7d966f78f
Don't exit FlyOffMap immediately on leaving map
...
Usually they'll get removed afterwards, so they need to be
out of players' sight before ending this activity.
2019-08-11 16:28:42 +02:00
reaperrr
64780fc865
Fix ProductionAirdrop aircraft removal timing
...
...when leaving map before finishing TakeOff.
2019-08-11 16:28:42 +02:00
teinarss
ff1d4ec9ae
Fix Out of sync caused by Locomotor cache
2019-08-11 09:53:02 +02:00
abcdefg30
859d01da7d
Always remove the spawn cameras after prison infiltration
2019-08-10 21:20:17 +01:00
abcdefg30
a8ff8e75fc
Make warfactory infiltration a secondary objective
2019-08-10 21:20:17 +01:00
abcdefg30
7ddae59d83
Prevent a second infiltration of warfactory or prison
2019-08-10 21:20:17 +01:00
abcdefg30
851d115a44
Fix allies05a crashing by ensuring the cameras exist before removing them
2019-08-10 21:20:17 +01:00
tovl
a8b9562d74
Adjust waypoint linewidths.
2019-08-10 21:17:38 +01:00
tovl
8690a4a6ce
CLean up type check in harvesterbotmodule.
2019-08-10 19:12:50 +01:00
tovl
1b4ab564fe
Fix AI harvester not resuming after chronoshift.
2019-08-10 19:12:50 +01:00
tovl
5393b689d4
Disable preemptive targeting for queued orders.
2019-08-10 19:10:45 +01:00
teinarss
4193247169
Reset Locomotor cache on world loaded
2019-08-10 17:34:11 +02:00
teinarss
ab9834fdcd
Update locomotor cache when Crushable is enabled/disabled
2019-08-10 17:34:11 +02:00
teinarss
277906c657
Fixes on blocking logic
2019-08-10 17:34:11 +02:00
Tomase
98602cb1cb
Change impassable terrain to short.max
2019-08-10 17:34:11 +02:00
Paul Chote
702f4d1937
Remove unused return values from Show*Dropdown methods.
2019-08-10 16:03:59 +02:00
Paul Chote
d0faaf29ff
Restore selection lines for TargetLinesType.Automatic spectators.
2019-08-10 16:03:59 +02:00
Paul Chote
19aea3c07a
Change target line default to "Manual".
2019-08-10 16:03:59 +02:00
Paul Chote
95ca14d4a3
Replace DrawTargetLine checkbox with an Automatic/Manual/Disabled dropdown.
2019-08-10 16:03:59 +02:00
Paul Chote
2909445452
Display target lines when the Waypoint command bar mode is active.
2019-08-10 16:03:59 +02:00
Paul Chote
292196e2d6
Allow left click to cancel AttackMove without clearing selected units.
2019-08-10 13:08:32 +02:00
Paul Chote
ad099b5c98
Allow Attack Move and Guard OGs to be activated while shift is held.
2019-08-10 13:08:32 +02:00
abcdefg30
d1c56d78e1
Fix spamming repair orders repairing faster
2019-08-10 11:39:12 +01:00
tovl
c0d5cd750d
Add missing target lines.
2019-08-10 12:17:36 +02:00
teinarss
daa82d113e
Prevent crash when unloading Cargo structures
2019-08-10 11:52:33 +02:00
Ivaylo Draganov
017eca3dc1
Add support for "select all" and "select by type" for multiple players
2019-08-09 22:40:09 +02:00
reaperrr
7cfc65010f
Fix that aircraft with TakeOffOnResupply can't force-land
2019-08-09 09:45:40 +02:00
reaperrr
969be686a3
Fix aircraft with TakeOffOnResupply not taking off
...
...after auto-resupply.
2019-08-09 09:45:40 +02:00
abcdefg30
ddf824b494
Fix AutoCarryall crashing when the cargo dies
2019-08-08 17:46:34 +02:00
reaperrr
ac3b3db7ac
Made Resupply canceling more robust
...
The following improvements are made here:
- merged and streamlined the two IsCanceling checks in Tick
into one that covers both isCloseEnough cases
- isCloseEnough now only checks distance to host
if host is still valid and otherwise returns 'false'
- called transports are now also cancelled when host becomes
invalid, not only if the activity is cancelled via order
- aircraft now always take off if the host becomes invalid
- ground actors only try to leave if host is still existing
2019-08-08 17:22:53 +02:00
Paul Chote
ddc4c4ff06
Add queuing support to RepairOrderGenerator for units.
2019-08-07 21:31:20 +02:00
Paul Chote
1543ccb749
Reverse target line draw order.
2019-08-07 14:03:40 +02:00
reaperrr
b0a7865cfa
Reduce Map.Contains(CPos) cost in legacy mods
...
If a mod uses rectangular maps and no height levels,
checking if the CPos is within Bounds
should be enough and cheaper than the whole ToMPos
conversion and checks.
2019-08-07 14:02:18 +02:00
Paul Chote
8ffd8ae822
Remove ShowTargetLines from delivery Lua API calls.
...
Lines should only be activated in response to an
explicit player action.
2019-08-06 17:56:56 +02:00
Paul Chote
96263d47c5
Restore target line display for allied players and spectators.
...
Change behaviour to require the force-display modifier to reduce
visual noise.
2019-08-06 17:52:43 +02:00
tovl
58bb7fcbc0
Rework minefield visualisation.
2019-08-05 02:53:09 +01:00
tovl
b7a7b7aa7e
Revise target line colours to distinguish different attack types.
2019-08-05 02:53:09 +01:00
Turupawn
3240b1e9eb
Overhaul target line rendering:
...
- Targets are now defined by the activities
- Queued activities are shown
- Support custom attack colors
2019-08-05 02:53:09 +01:00
Paul Chote
bc4dea406d
Fix AttackTDGunboatTurreted exiting early.
2019-08-05 02:53:09 +01:00
tovl
8c7ff3b5b0
Make VisualMove uninterruptible by making Turn a Child of Drag.
2019-08-04 11:48:59 +02:00
tovl
207305e7d2
Reimplement MADtank logic as activity.
2019-07-30 11:03:32 +02:00
tovl
9e6f8aef60
Do not cancel parent activity when refinery is destroyed.
2019-07-29 19:56:23 +02:00
Paul Chote
a4b8ffa99d
Allow PBOG to nudge blocking helicopters.
2019-07-28 11:31:24 +02:00
Paul Chote
2f99512bd4
Clear dirty blocking cells after updating.
2019-07-27 17:21:43 +02:00
Paul Chote
6345655bb1
Add a PerfSample to UpdateCellBlocking.
2019-07-27 17:21:43 +02:00
Paul Chote
8ae2b00414
Allow boxes to be placed in interior maps.
2019-07-27 13:11:51 +02:00
Paul Chote
6e978db1da
Extract a ^Box template to reduce duplication.
2019-07-27 13:11:51 +02:00
4mfie
ff02b8ba06
Add timestamps to server log files
...
Servers are now writing timestamps to the log files using the the ISO 8601 timestamp format defined in the game server settings.
2019-07-27 10:47:24 +01:00
Andre Mohren
ebc533ed53
Exception should inform which actors causes it.
2019-07-27 10:44:30 +01:00
teinarss
b5c387774c
Fixed selecting none in spec dropdown should set none as active panel
2019-07-27 10:17:34 +01:00
teinarss
cc84daacea
Added cache for cell cost and blocking
2019-07-26 15:54:22 +02:00
teinarss
fb1af81280
Updated TerrainInfo cost to use short
2019-07-26 15:54:22 +02:00
teinarss
27077d6427
Added CellUpdated event to ActorMap
2019-07-26 15:54:22 +02:00
teinarss
3a17b26405
Creating PlayerMask
2019-07-26 15:54:22 +02:00
teinarss
2ddf9fa826
Using Locomotor instead of Info for pathfinding
2019-07-26 15:54:22 +02:00
Paul Chote
c00b13a18e
Fix player color when a client is bumped to a spectator slot.
2019-07-24 23:07:12 +02:00
reaperrr
4c3f2f3afa
Fix aircraft allowing enter when it should not
...
Show "enter-blocked" cursor when resupply is not possible,
except when
- the actor CanForceLand,
- does not TakeOffOnResupply,
- and has active ForceEnter modifier.
2019-07-23 17:01:41 +02:00
reaperrr
5b3e6175ea
Fix Repairable returning order targeter for aircraft
...
Aircraft (currently) does its own order targeting for resupplies,
so this could lead to conflicts.
2019-07-23 17:01:41 +02:00
reaperrr
e7769357a8
Improve AircraftCanEnter readability
2019-07-23 17:01:41 +02:00
reaperrr
e662f17f06
Fix that VTOLs can ignore TurnToDock/-Land
...
When already at horizontal target position, no Turn was queued.
2019-07-23 16:17:18 +02:00
tovl
d9e1a68453
Cancel carryall transport request when cancelling order.
2019-07-22 22:54:01 +02:00
Punsho
9ac3d7507c
Add Fake Allied Barracks to RA
2019-07-21 23:59:14 +02:00
reaperrr
f25449a3bf
Set InitialFacing for TS aircraft to 224
...
North-East looks better as starting and landing facing.
2019-07-21 16:29:38 +02:00
reaperrr
30c2e6b4d2
Remove Resupply re-queueing hack from Aircraft
...
By preventing that other traits can remotely cancel Resupply
or ReturnToBase.
2019-07-21 16:29:38 +02:00
reaperrr
bfcdb3a8a2
Add IdleBehavior enum to Aircraft
2019-07-21 16:29:38 +02:00
reaperrr
d185f6e9f1
Remove AbortOnResupply from Aircraft again
...
This was accidentally re-added during a rebase in
a previous PR.
2019-07-21 16:29:38 +02:00
reaperrr
7f4fbfcf46
Change Resupply closeEnough 'infinite' to negative
...
...instead of 'zero'.
Returning 'true' at a distance of zero was a legacy left-over
that isn't used anymore once #16695 is merged.
2019-07-21 15:17:09 +02:00
reaperrr
fa41554309
Fix actors resupplying even if too far from resupplier
2019-07-21 15:17:09 +02:00
teinarss
f46cad5347
Fix game minute in PlayerStatistics
2019-07-21 14:23:25 +02:00
teinarss
e06c97bc03
Updated the LineGraphWidget with new layout
2019-07-21 14:23:25 +02:00
teinarss
60250e621c
Fix random flag for spec in score screen
2019-07-21 13:50:02 +02:00
teinarss
551d72b061
Fixes flag in spec ui
2019-07-21 13:50:02 +02:00
tovl
c5558e2145
Remove SequenceActivities.
2019-07-20 23:41:31 +02:00
Ivaylo Draganov
86c8dfe96e
Add a tooltip text to overflowing ButtonWidget in hotkey settings panel
2019-07-20 17:39:07 +02:00
Ivaylo Draganov
ef0cb7552d
Revert "Scissor the text of a ButtonWidget if it overflows and display a tooltip"
...
This reverts parts of commit 76a6e7ec92 .
2019-07-20 17:39:07 +02:00
Punsho
70dc053c5f
RA balance changes
2019-07-20 12:09:54 +01:00
tovl
a38c2d9aae
Allow ReturnToBase to exit if actor does not land at building.
2019-07-19 12:19:15 +02:00
tovl
ed18ecfcaf
Allow explicit landing orders to be disabled in yaml.
2019-07-19 12:14:39 +02:00
teinarss
931d5acc33
Balancing changes TD
2019-07-19 12:08:45 +02:00
tovl
0e62490d57
Let autocarryall switch destination when carryable switches destination.
2019-07-19 10:49:24 +02:00
tovl
231825d0d0
Remove WaitForTransport activity.
2019-07-19 10:49:24 +02:00
tovl
922c6e9c40
Fix harvesters losing their last harvesting position when carried by carryall.
2019-07-19 10:49:24 +02:00
tovl
d59b01597a
Always clear requested targets when exiting AttackActivity/Flyattack.
2019-07-18 23:14:56 +01:00
reaperrr
83a607e089
Fix resupply anim continuing if docked actor dies during resupply
2019-07-18 22:59:27 +01:00
Punsho
8fa7bb16f8
Remove redundant burst delay from heavy tanks
2019-07-18 13:31:43 +02:00
reaperrr
4bf659ca38
CanSlide update rule
2019-07-18 10:26:43 +02:00
reaperrr
747e60d8b1
Revert FlightDynamics yaml changes
...
- TD and RA were straight up reverted.
- D2k was manually reverted with following changes:
-- Frigate staying VTOL.
-- Carryall staying CanSlide: true but CanHover: false.
-- bogus VTOL/CanHover flags on Ornithopter staying removed.
- TS was manually reverted to keep the behavior
improvements of the original FlightDynamics PR.
2019-07-18 10:26:43 +02:00
reaperrr
cf4d73ab91
Revert FlightDynamics
...
This needs more thought and most parts might get superseded
by other approaches.
Kept CanSlide separation from CanHover.
2019-07-18 10:26:43 +02:00
reaperrr
aa5c8b4efa
Revert FlightDynamics update rule
2019-07-18 10:26:43 +02:00
Mustafa Alperen Seki
30e2b69dba
Fix several traits missing OrderString checks for VoicePhraseForOrder
2019-07-16 10:04:55 +01:00
reaperrr
c51f2c036a
Make aircraft always take off after repair
...
Reservable logic doesn't handle repairs, and we
don't want aircraft to block repair bays etc. until it does.
2019-07-15 23:48:54 +01:00
reaperrr
a010c72780
Fixed comment typo in Aircraft
2019-07-15 23:48:54 +01:00
reaperrr
5211eb25aa
Improve handling of finished/cancelled Resupply
2019-07-15 23:48:54 +01:00
reaperrr
5b65e618ee
Remove Resupply Cancel override
...
This became detrimental to actor responsiveness
while resupplying.
2019-07-15 23:48:54 +01:00
reaperrr
e4011b86ac
Move AbortOnResupply to AttackAircraft
...
Additionally, if AbortOnResupply is set to 'true',
abort FlyAttack right away when queueing ReturnToBase.
2019-07-15 23:48:54 +01:00
reaperrr
1f16cb6864
Make Repairable(Near) implement interfaces explicitly
2019-07-15 23:48:54 +01:00
reaperrr
1bb988512f
Move AmmoPool RemainingTicks reset to Rearmable
...
This is a better place to do this than the Resupply activity.
2019-07-15 23:48:54 +01:00
reaperrr
f71912f337
Move movement to resupplier inside Resupply activity
...
From Repairable(Near).
2019-07-15 23:48:54 +01:00
reaperrr
a7fa372045
Fix Resupply regression
...
The work-around was originally written with ground units in mind
and caused issues with aircraft.
2019-07-15 23:48:54 +01:00
abcdefg30
4fc6a911a0
Disable MAD tanks on exodus
2019-07-15 23:33:58 +01:00
abcdefg30
e37474cf63
Make some Soviet actors buildable in exodus
...
Their Allied counter-parts are already buildable.
Arty is still excluded on purpose.
2019-07-15 23:33:58 +01:00
abcdefg30
7908ce6274
Remove unnecessary definitions
...
The production buildings for those units are not buildable
2019-07-15 23:33:58 +01:00
abcdefg30
736a726a2b
Rebrand leftover Hind rules in the missions
2019-07-15 23:33:58 +01:00
Paul Chote
579d2c19e2
Add --check-conditional-trait-interface-overrides utility command.
...
This command is used by `make check` to detect traits that incorrectly
override interface methods that are required for conditions to work
correctly.
2019-07-14 00:41:59 +02:00
Paul Chote
6eaf615798
Fix conditional traits that incorrectly override INotifyCreated.
2019-07-14 00:41:59 +02:00
Punsho
37325dbfc7
Reskin Hind with Black Hawk sprite
2019-07-13 01:10:30 +02:00
reaperrr
701b1524e5
Fix InstantHit crashing if blockable and target is dead
...
If the weapon has TargetActorCenter, the projectile is Blockable
and the target dies the same tick the projectile is fired but before
the 'blocked' check is performed, the target.CenterPosition lookup
would crash since the target has become invalid.
Work around this by ignoring TargetActorCenter and using
args.PassiveTarget position instead if the target is already dead.
2019-07-12 22:09:14 +02:00
tovl
71a1060ecb
Prevent carryalls picking up non-existent units.
2019-07-11 13:19:19 +02:00
tovl
0562814efa
Prevent carryalls delivering non-existent units.
2019-07-11 13:19:19 +02:00
Ivaylo Draganov
768043bc4e
Add missing tooltip container to settings.yaml
2019-07-10 19:55:30 +01:00
reaperrr
1c03fb9e51
Revert Simplify CreateEffectWarhead
...
Reverts #16312 .
2019-07-07 19:15:08 +02:00
tovl
2912bff850
Fix location checks for queued deployment.
2019-07-07 00:40:38 +01:00
abcdefg30
b4b3ce68a9
chrome.yaml style fixes
2019-07-05 13:38:49 +02:00
reaperrr
da8a353e65
Remove redundant code from ProductionAirdrop
...
With the updated Land code, this is now obsolete.
2019-07-05 00:03:36 +02:00
reaperrr
bbf4495668
Update rule for FlightDynamics
2019-07-05 00:03:36 +02:00
reaperrr
990087d434
FlightDynamics yaml changes
...
Rules updates for official mods.
2019-07-05 00:03:36 +02:00
reaperrr
0ebeb30880
Replace various Aircraft fields with FlightDynamics
...
Replaces various booleans with a FlightDynamics flag list.
2019-07-05 00:03:36 +02:00
tovl
824db72a4c
Prevent VisualMoveIntoTarget from overshooting when turning.
2019-07-03 20:42:19 +02:00
tovl
985020b4ad
Simplify special exits of several acitivities.
2019-07-03 20:42:19 +02:00
tovl
3790169db9
Make Tick return bool
2019-07-03 20:42:19 +02:00
tovl
09c1611239
Always check if activity state is Done.
2019-07-03 20:42:19 +02:00
tovl
714b09ac4f
Add default for Activity-Tick
2019-07-03 20:42:19 +02:00
tovl
b9c302a73a
Move ChildActivity handling into base Activity class.
2019-07-03 20:42:19 +02:00
tovl
37379daf3c
Refactor MoveAdjacentTo.
2019-07-03 20:42:19 +02:00
tovl
3ac5ac25f6
Queue WaitForTransport childactivity in OnFirstRun.
2019-07-03 20:42:19 +02:00
abcdefg30
b35dfb50a8
Remove Selectable from planes in TD
2019-07-01 20:19:10 +01:00
Punsho
4f6aa79e91
Normalise Construction Yard Cost
2019-07-01 17:04:14 +02:00
Paul Chote
5d8b6d6057
Fix force-landed transports taking off after (un)loading passengers.
2019-07-01 16:00:03 +02:00
Paul Chote
da0b24e891
Disable water trails for carried Hover MLRS.
2019-06-30 18:04:43 +02:00
tovl
71a035315c
Prevent infinite loop between FlyAttack and ReturnToBase.
2019-06-30 18:04:43 +02:00
tovl
5920de1384
Airborne transports only land to (un)load.
2019-06-30 18:04:43 +02:00
tovl
76422933f6
Allow forced landing on helipads and enforce takeoff otherwise.
2019-06-30 18:04:43 +02:00
tovl
79a48765d9
Allow VTOLs to land with force-move
2019-06-30 18:04:43 +02:00
tovl
8e5875453a
Improve Carryall behaviour and integration with Aircraft.
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
Paul Chote
ff9db0bf7a
Reset RequestedTargets that are cancelled before the first attack tick.
2019-06-29 23:28:23 +02:00
Paul Chote
8f7426f579
Reduce duplication around AttackFollow's targets.
2019-06-29 23:28:23 +02:00
Ivaylo Draganov
caa440ce9a
Adjust height of multiplayer-browser chrome to be in line with other panels
2019-06-29 23:10:25 +02:00
Ivaylo Draganov
3fb60740be
Add support for opening DropDownButtonWidget upwards if clipped by the viewport
2019-06-29 23:10:25 +02:00
Ivaylo Draganov
e23054631d
Add "Flat" and "Low Priority" selection modes to default mods
2019-06-29 20:46:12 +02:00
Ivaylo Draganov
c1fc0c1b74
Allow selection priority to be modified using a hotkey
2019-06-29 20:46:12 +02:00
Mustafa Alperen Seki
3e39ada304
Implement DetectCloakedMultiplier.
2019-06-28 12:19:08 +02:00
Mustafa Alperen Seki
d36973138c
Implement ReloadAmmoDelay multiplier.
2019-06-28 12:16:48 +02:00
Ivaylo Draganov
c9ff54bfd5
Add hotkey settings panel with a hotkey remap dialog
...
* Add HotkeyDialogLogic.cs
* Add dialog-hotkey.yaml to all mods
* Add `GetFirstDuplicate` method to HotkeyManager to aid in validation
* Add "Player" and/or "Spectator" type to all hotkeys to allow for
validation based on overlapping types
* Change settings.yaml and SettingsLogic.cs to work with the new dialog
2019-06-28 12:10:48 +02:00
Ivaylo Draganov
9783fdaf78
Change the name of Keycode.UNKNOWN to "Undefined"
2019-06-28 12:10:48 +02:00
Ivaylo Draganov
7dfd91bc39
Remove from HotkeyManager hotkeys found in settings.yaml but not in hotkey definitons
2019-06-28 12:10:48 +02:00
Ivaylo Draganov
db8c8fee4d
Add generic notice colors for the UI (info, success, warning, error)
2019-06-28 12:10:48 +02:00
Ivaylo Draganov
76a6e7ec92
Scissor the text of a ButtonWidget if it overflows and display a tooltip
...
Also:
* add a variable to a comomn pattern used for truncating text in HotkeyEntryWidget and TextFieldWidget
2019-06-28 12:10:48 +02:00
teinarss
f325a4d190
Relative mouse pos
2019-06-27 23:34:16 +02:00
teinarss
d7643602c1
Added a MouseAttachmentWidget to render the Direction arrows in SelectDirectionalTarget
2019-06-27 23:34:16 +02:00
teinarss
f07fb57e98
Rework relative mouse events.
2019-06-27 23:34:16 +02:00
teinarss
647cc2698b
CursorViewportZoomed in SelectDirectionalTarget
2019-06-27 23:34:16 +02:00
teinarss
ffd3834849
Lock mouse position
2019-06-27 23:34:16 +02:00
abcdefg30
7bbfd823d0
Fix Minelayer crashes
2019-06-27 20:22:10 +02:00
Paul Chote
739f437c18
Fix blocked cursor for queued undeploy orders.
2019-06-25 01:15:10 +02:00
RoosterDragon
8f573568c8
Fix PostProcess command to handle paths with spaces.
2019-06-24 23:19:24 +02:00
Paul Chote
98125a3d94
Fix Mobile conditions.
...
The explicit IObservesVariables implementation was hiding
the base PausableConditionalTrait variable initialization.
2019-06-24 16:25:40 +02:00
Paul Chote
71ed22a473
Fix crate paradrop animation.
2019-06-22 15:52:19 +03:00
Paul Chote
d70c86d37a
Allow crates to spawn in water.
2019-06-22 15:52:19 +03:00
Paul Chote
a2d51753ba
Fix final parachuted actor position.
2019-06-22 15:52:19 +03:00
Ivaylo Draganov
d26919efd5
Fix position of lobby admin icon in player tooltips
2019-06-21 23:07:34 +01:00
RoosterDragon
58dced7e05
Silence some doc errors in VS2019.
2019-06-21 21:22:12 +02:00
teinarss
b647d46196
Vertical alignment in TS
2019-06-21 12:51:45 +02:00
teinarss
95874ccfde
Vertical alignment in RA
2019-06-21 12:51:45 +02:00
teinarss
ed1250b14d
Vertical alignment in D2k
2019-06-21 12:51:45 +02:00
teinarss
702a419fc5
Vertical alignment fixes in common
2019-06-21 12:51:45 +02:00
teinarss
d2639645bf
Vertical alignment on labels in TD
2019-06-21 12:51:45 +02:00
teinarss
cc588f11c4
Updated vertical alignment for labels in Manage Content
2019-06-21 12:51:45 +02:00
teinarss
4e84545b55
Updated ChatDisplayWidget to use the new vertical alignment
2019-06-21 12:51:45 +02:00
teinarss
ab382ce4d6
Removed BaseLine and updated ButtonWidget and CheckboxWidget to use Font.TopOffset
2019-06-21 12:51:45 +02:00
teinarss
9982b01642
Get the Ascender value from mod.yaml instead from the Font
2019-06-21 12:51:45 +02:00
Paul Chote
a260b50ce1
Document the revised protocol.
2019-06-20 22:50:17 +02:00
Paul Chote
c6232f20f9
Split Protocol version into Handshake vs Orders.
...
Handshake is kept at 7.
Orders is incremented to 8 to reflect immediate order changes.
2019-06-20 22:50:17 +02:00
Paul Chote
fe41dcb45e
Restore 0xFE order for handshakes.
...
This restores handshake compatibility with protocol 7 servers.
2019-06-20 22:50:17 +02:00
Paul Chote
bfddfec461
Replace magic numbers with an OrderType enum.
2019-06-20 22:50:17 +02:00
Paul Chote
862a274357
Merge ServerOrder into Order and 0xFE order type into 0xFF.
2019-06-20 22:50:17 +02:00
Paul Chote
90ebffc6c0
Remove unused PauseGame handling.
...
Pause is not an immediate order.
2019-06-20 22:50:17 +02:00
Paul Chote
9daf02a955
Remove unused field from HandshakeRequest.
...
This field was not serialised, so compatibility
is not impacted.
2019-06-20 22:50:17 +02:00
Paul Chote
1e23c0a7b7
Fix bot PlaceBuilding orders.
2019-06-20 18:51:02 +01:00
reaperrr
db0c6d88bf
Fix AbortOnResupply not working
...
Going by yaml rules, all(!) aircraft in the shipping
mods should be aborting any previous activities
on resupply. None actually did, due to this bug.
2019-06-20 15:01:30 +01:00
Ivaylo Draganov
9f59b007ab
Add palette order to support powers in TD, RA and d2k
2019-06-15 09:55:22 +02:00
Ivaylo Draganov
a85b634655
Add SupportPowerPaletteOrder to SupportPowerInfo
2019-06-15 09:55:22 +02:00
Paul Chote
a8b7fcaf87
Fix undeploy orders always being queued.
2019-06-15 09:49:23 +02:00
Mustafa Alperen Seki
b63792c73e
Update global mix database.dat with Sole Survivor definitions.
2019-06-15 06:23:24 +02:00
reaperrr
c8a42cbce2
Introduce AirAttackType
...
Aircraft attack behavior (currently FlyBy or Hover)
is now controlled via this instead of the CanHover boolean.
2019-06-10 12:43:34 +02:00
Paul Chote
b59ae476e4
Add PlaceBuildingVariant trait.
2019-06-10 11:46:32 +02:00
Paul Chote
44e41cc054
Add key handling to order generators.
2019-06-10 11:46:32 +02:00
Mustafa Alperen Seki
0eb5063260
Add lua function Media.DisplaySystemMessage
2019-06-09 16:29:42 +02:00
reaperrr
97084effac
Improve Aircraft firstTick code
...
- Remove ReserveSpawnBuilding:
Only used in one place, and removing it
avoids a double GetActorBelow() look-up.
- Remove FallsToEarth check form Aircraft.firstTick:
Aircraft triggers UnReserve() on actor disposal,
so this work-around should no longer be necessary.
2019-06-09 11:24:07 +01:00
Paul Chote
788e73db64
Enable StyleCop rule SA1115.
2019-06-08 19:28:14 +02:00
Paul Chote
4dd08d9dc2
Enable StyleCop rule SA1500.
2019-06-08 19:26:53 +02:00
Paul Chote
ebf2ce32c0
Make sure braces for multi-line statements are on their own lines.
2019-06-08 19:26:53 +02:00
Paul Chote
c89f8dbb89
Enable StyleCop rule SA1002.
2019-06-08 18:46:03 +02:00
Paul Chote
65856f3b0e
Fix remaining semicolon spacing issues.
2019-06-08 18:46:03 +02:00
Paul Chote
c253aaeb9d
Replace for(;;) with while (true).
2019-06-08 18:46:03 +02:00
Paul Chote
4d8aaeb690
Enable StyleCop rule SA1128.
2019-06-08 18:44:50 +02:00
Paul Chote
674155a8dd
Move ctor initializers to their own line.
2019-06-08 18:44:50 +02:00
reaperrr
979ed1b140
Merge HeliAttack into FlyAttack
...
And polish CanHover FlyAttack behavior:
- Get rid of direct TickFacing usage
- Fix that the CanHover facing/altitude update would override
TakeOff child of Fly
- Streamline the queueing of child activities
- Get rid of a direct FlyTick in favor of relying on Fly activity
- Pull queueing of TakeOff out of the if-else
2019-06-08 17:07:18 +01:00
Paul Chote
a7617b2443
Reseed the RNG when restarting a game.
2019-06-08 16:23:33 +02:00
abcdefg30
586fa80943
Defer running the contents of TraitEnabled in WithMoveAnimation
2019-06-08 15:28:54 +02:00
Paul Chote
1aa80f9c11
Add download hashes for the default mod packages.
2019-06-08 13:39:17 +02:00
Paul Chote
03c1eaad76
Add a SHA1 check for downloaded packages.
2019-06-08 13:39:17 +02:00
Paul Chote
1d3754f9c0
Enable StyleCop rules SA1509, SA1513.
2019-06-08 13:20:14 +02:00
Paul Chote
548de12e85
Add newlines after closing braces.
2019-06-08 13:20:14 +02:00
Paul Chote
9f15754926
Remove scoped blocks in ReplayBrowserLogic.
2019-06-08 13:20:14 +02:00
Paul Chote
208b5b9686
Enable StyleCop rule SA1129.
2019-06-08 13:19:57 +02:00
Paul Chote
ebd36891dc
Switch other struct types to default(T).
2019-06-08 13:19:57 +02:00
Paul Chote
dba1301b61
Change new BitSet<T> to default(BitSet<T>).
2019-06-08 13:19:57 +02:00
Paul Chote
37889af20e
Enable StyleCop rule SX1101
2019-06-08 13:19:27 +02:00
Paul Chote
dabc7ec8dd
Remove unnecessary this. references.
2019-06-08 13:19:27 +02:00
Paul Chote
ebe37a44ad
Require force move for all undeploy-triggering orders.
2019-06-08 02:09:30 +02:00
Paul Chote
5d886b79f1
Remove AlternateTransportsMode.
...
This conflicts with undeploy orders and has been largely
superseded by queued enter orders.
2019-06-08 02:09:30 +02:00
Paul Chote
ecd8dee575
Add TransformsInto* traits to trigger construction yard undeploy.
2019-06-08 02:09:30 +02:00
Paul Chote
1b026b7e20
Disable out-of-range non-force targeting for deployed units.
2019-06-08 02:09:30 +02:00
Paul Chote
c853e8c5d6
Disable non-force move for deployed units.
2019-06-08 02:09:30 +02:00
tovl
ea036d4cc0
Allow move orders to cancel DeployForGrantedCondition.
2019-06-08 02:09:30 +02:00
reaperrr
8589e26dc2
Resolve rally point target on first run.
2019-06-07 22:18:33 +01:00
reaperrr
e6402d28a3
Fix and streamline MaximumPitch values in TS
...
The internal default is way too low for TS aircraft
(especially when passing cliffs).
2019-06-07 22:18:33 +01:00
reaperrr
52ef5617d3
Clarify MaximumPitch and AltitudeVelocity descriptions
...
AltitudeVelocity is strictly only for vertical-only movement,
MaximumPitch is only for altitude changes during horizontal movement.
2019-06-07 22:18:33 +01:00
reaperrr
ac08f24828
Make aircraft move to CruiseAltitude on new order
2019-06-07 22:18:33 +01:00
reaperrr
ce3d7c98ad
Refactor TakeOff
...
- Make it self-contained by moving actual take-off
from 'Fly' to this
- Make 'moveToRallyPoint' a simple boolean
- Make AttackMove to rally point a child activity
- Make TakeOff uninterruptible
2019-06-07 22:18:33 +01:00
reaperrr
4f8f8cfb9d
Merge HeliFly into Fly
2019-06-07 22:18:33 +01:00
reaperrr
5698ea0910
Remove HeliFlyAndLandWhenIdle
...
Already obsolete, as aircraft with CanHover do properly become idle
and land when LandOnIdle is set to 'true'.
They currently need VTOL too, but all CanHover-aircraft
in the shipping mods have that and it will be fixed soon as well.
2019-06-07 22:18:33 +01:00
abcdefg30
27cfa9b1f0
Fix MAD tanks always being repairable
2019-06-06 00:48:50 +02:00
abcdefg30
bf6fa94224
Remove unnecessary comments from aircraft.yaml
2019-06-05 00:54:55 +02:00
abcdefg30
26ec5946b3
Add LandableTerrainTypes to D2k's frigate
2019-06-05 00:54:55 +02:00
abcdefg30
1a078d13aa
Remove the Ore landable terrain type from TRAN in TD
2019-06-05 00:54:55 +02:00
abcdefg30
c10f4e53e0
Work around C17s not being able to deliver units
2019-06-05 00:54:55 +02:00
Paul Chote
760a2b483e
Fix RA/TD map editor copy/paste tile definitions.
2019-06-02 16:09:12 +02:00
Mustafa Alperen Seki
ccc68b0272
Make Crate trait public.
2019-06-02 15:34:06 +02:00
Paul Chote
229bac6777
Disable capturing while the make animation is playing.
2019-06-02 15:26:26 +02:00
reaperrr
3ff8fb3cd2
Rename Hovers' OffsetModifier to BobDistance
2019-06-02 10:00:58 +01:00
reaperrr
2f1f0c8aec
Adapt TS aircraft to changed Hovers defaults
2019-06-02 10:00:58 +01:00
reaperrr
d5c66d9474
Fix or prevent bugs in Hovers
...
- Clamp fallTickHeight to at least 1,
to avoid potential DivideByZero crash.
- Prevent modders from setting values that
are bogus or would trigger other bugs,
via loadtime YamlExceptions.
2019-06-02 10:00:58 +01:00
reaperrr
b60346abb1
Polish various aspects of Hovers
...
- Use WDist instead of int for fields
- Change default values to approximately restore previous
releases' default behavior
- Improve and clarify descriptions
2019-06-02 10:00:58 +01:00
teinarss
4fae77ed1c
Writing benchmark data at the end of the game
2019-06-02 00:00:48 +02:00
Ivaylo Draganov
982291119c
Fix misaligned TD production tooltip icons
2019-06-01 08:52:59 +01:00
Paul Chote
1614cba99e
Fix warhead removal lint warnings.
2019-05-31 20:55:38 +02:00
Paul Chote
fb075dc803
Improve linting of weapon and trait yaml removals.
2019-05-31 20:55:38 +02:00
ltem
2a7ea28b74
Fix inconsistency in oberserver statistics
2019-05-31 20:50:23 +02:00
abcdefg30
11e4c971c4
Fix a compiler error (wrong using) in D2kActorPreviewPlaceBuildingPreview
2019-05-31 16:36:19 +02:00
Evgeniy S
3a30b013a5
Move Selection into a Trait
2019-05-31 15:50:53 +02:00
Paul Chote
6723306bb4
Remove Enum.HasFlag from building preview generation.
2019-05-31 15:44:09 +02:00
Paul Chote
697935f931
Display yellow footprint for cells that trigger damage in D2k.
2019-05-31 15:44:09 +02:00
Paul Chote
3b2b093e0e
Use original RA and TD footprint artwork.
2019-05-31 15:44:09 +02:00
Paul Chote
b3c1d96027
Add place previews for TS building plugs.
2019-05-31 15:44:09 +02:00
Paul Chote
087887250f
Add line-build palette to RA, TD, D2k.
2019-05-31 15:44:09 +02:00
Paul Chote
3f9e4a313f
Improve visibility of building placement preview.
2019-05-31 15:44:09 +02:00
Paul Chote
cdad07d172
Fix footprint type for line build structures.
2019-05-31 15:44:09 +02:00
Paul Chote
52fd32c311
Split IPlaceBuildingPreviewGeneratorInfo from PBOG.
2019-05-31 15:44:09 +02:00
Paul Chote
e2b27328bd
Rework paradrop logic to be more robust.
2019-05-31 15:31:47 +02:00
Paul Chote
829b8cd2e1
Fix loadscreen text when switching between internal mods.
2019-05-31 15:22:08 +02:00
abcdefg30
1c965d812f
Fix WithSpriteBody crashes
2019-05-29 20:58:45 +01:00
reaperrr
7a403c9af5
Play StartSequence when With*SpriteBody is enabled
...
Not only on actor creation.
2019-05-28 22:13:38 +02:00
reaperrr
666169e9b9
Add LockOnInaccuracy to Missile
2019-05-28 22:13:38 +02:00
Ivaylo Draganov
fde215360c
Add tooltips to overflowing labels
2019-05-27 17:28:47 +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
Ivaylo Draganov
79d1899426
Remove redundant compiler workaround
2019-05-27 17:28:47 +02:00
Paul Chote
1c6c55092f
Fix Appveyor builds.
2019-05-26 23:13:37 +02:00
Paul Chote
4358b0956e
Fix RunConfiguration condition whitespace.
2019-05-26 23:13:37 +02:00
Paul Chote
bb5268bef6
Package separate x64 and x86 Windows installers.
2019-05-26 23:13:37 +02:00
Paul Chote
4f7dca809f
Fix csproj formatting.
2019-05-26 23:13:37 +02:00
Paul Chote
845fca25d1
Change platform from x86 to Any CPU (preferring 64 bit)
...
A Release-x86 configuration allows x86 Windows installers to still be created.
2019-05-26 23:13:37 +02:00
Paul Chote
7cf939fc68
Update OpenAL-CS.
...
Required for Win64 support.
2019-05-26 23:13:37 +02:00
Paul Chote
aed6098eaa
Change default support dir location on Windows and Linux:
...
Windows now prefers the ApplicationData directory
Linux now prefers XDG_CONFIG_HOME
Fall back to the previous directory to avoid data loss or duplication.
2019-05-26 21:13:35 +02:00
teinarss
c89f4b7a76
Added tooltip to support powers in spec ui
2019-05-26 19:08:24 +01:00
teinarss
12484caf04
Added field to ProductionQueue to customize ordering in ObserverProductionIconsWidget
2019-05-26 19:04:54 +01:00
reaperrr
71995dbcbe
Fix Bullet contrails
2019-05-26 13:02:54 +02:00
abcdefg30
29d238ba03
Empty the default of TrailSequences in NukePower (version 2)
2019-05-26 01:19:12 +02:00
Mustafa Alperen Seki
e007568e17
Make ClonesProducedUnits Conditional.
2019-05-25 23:19:41 +02:00
Paul Chote
1ed36da107
Update macOS launcher tag in fetch-thirdparty-deps-osx.sh.
2019-05-25 20:10:14 +02:00
reaperrr
3735c60533
Simplify CreateEffectWarhead
2019-05-24 20:08:33 +01:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
Evgeniy S
fbf9461890
Make StoresResources trait public
2019-05-23 14:20:38 +02:00
teinarss
9fc8b829e4
Updated the observer ui
2019-05-22 22:37:50 +01:00
teinarss
b90b3095a6
Updated ColorBlockWidget to handle setting the Color in yaml
2019-05-22 22:37:50 +01:00
teinarss
dad29cd3b3
Added GradientColorBlockWidget
2019-05-22 22:37:50 +01:00
teinarss
b25d0694b8
Updated ScrollPanelWidget to handle Scrollbar alignment
2019-05-22 22:37:50 +01:00
Paul Chote
c480b2b599
Prefer own service depots over allies.
2019-05-22 20:41:51 +02:00
Paul Chote
217221d174
Fix multiple clients being assigned as admin.
2019-05-22 20:30:54 +02:00
teinarss
881cacbef8
Replaces RunConfiguration and Configuration with launchSettings.json
2019-05-22 19:58:56 +02:00
teinarss
a495c0c475
Remove check to see if DeveloperMode is enabled
2019-05-22 19:46:30 +02:00
Mustafa Alperen Seki
3709380733
Implement ResourcePurifier
2019-05-22 19:41:21 +02:00
Mustafa Alperen Seki
feeae74455
Add INotifyResourceDumped Interface
2019-05-22 19:41:21 +02:00
Zimmermann Gyula
1e99075c70
Implement RefineryResourceMultiplier.
2019-05-22 19:41:21 +02:00
Zimmermann Gyula
71acfaf014
Implement HarvesterResourceMultiplier.
2019-05-22 19:41:21 +02:00
teinarss
ef47a3394f
Added cell pos and world pos to debug
2019-05-21 22:28:44 +01:00
Paul Chote
3ca9d4b773
Drop targets when switching to a more restrictive stance.
2019-05-21 15:52:55 +02:00
Paul Chote
62b5d22e53
Add INotify(Activity)StanceChanged interfaces.
2019-05-21 15:52:55 +02:00
Paul Chote
07dc2a1132
Fix "Max Speed" option when viewing replays.
2019-05-19 18:09:45 +02:00
Paul Chote
327fdaea2d
Defer NSIS installation to the pre-packaging step.
2019-05-19 16:59:54 +01:00
Paul Chote
15e88d9e58
Bump travis and the macOS/Linux packaging to use mono 5.20.1.
2019-05-19 16:59:54 +01:00
reaperrr
a2775a5c0f
Fix DivideByZero crashes in Railgun projectile
2019-05-19 16:56:49 +02:00
reaperrr
90325305d6
Minor projectile clean-ups and perf optimizations
2019-05-19 16:56:49 +02:00
airetaM
6897ebe2a8
Makes Dogs buildable at the Barracks/Tent
2019-05-19 13:44:44 +02:00
Paul Chote
fbce22784b
Fix ICaptureProgressWatchers continuing after captor disposal.
2019-05-19 13:37:42 +02:00
Paul Chote
44c5d38a0e
Disable AutoTarget if targeting a persistent fallback.
2019-05-19 13:23:01 +02:00
Paul Chote
55f6744cf3
Replace IPreventsAutoTarget with IDisable(Enemy)AutoTarget.
...
This allows traits on the attacking unit to suppress auto targeting
and makes the distinction between the two interfaces clear.
2019-05-19 13:23:01 +02:00
Paul Chote
f9fe7486b3
Fix TD observer production icon hover crash.
2019-05-19 13:14:00 +02:00
Punsho
336cfedf84
Mines will no longer damage each other
2019-05-18 20:08:42 +02:00
Ivaylo Draganov
0bb832917a
Fix TD chrome.yaml definitions for panel-allblack
2019-05-17 21:01:54 +02:00
Paul Chote
4756558f8a
Merge man-page target into install-man-page
2019-05-17 19:02:46 +01:00
Paul Chote
c47c9d7ed6
Fix Makefile targets
2019-05-17 19:02:46 +01:00
reaperrr
7becbe6b14
Allow non-VTOL to LandOnCondition
...
Note: This might still break in unexpected ways,
since non-VTOLs implicitly rely on ReturnToBase
to calculate the approach vector for them.
2019-05-17 18:51:21 +01: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
abcdefg30
bc3cabdea0
Display an error when TrailSequences is empty and TrailImage is not
2019-05-17 18:53:52 +02:00
abcdefg30
b8fbc63542
Empty the default of TrailSequences in NukePower
2019-05-17 18:53:52 +02:00
teinarss
79f0bdc65c
Added configurations for starting the mods in VS
2019-05-16 19:34:21 +01:00
teinarss
70f0075415
Use Write-Host instead of echo
2019-05-16 20:05:55 +02:00
abcdefg30
e888a235c0
Fix powershell if statements not checking the return value of calls
2019-05-16 19:41:29 +02:00
Paul Chote
242ebc5da9
Fix FrozenUnderFog visibility calculation when fog is disabled.
2019-05-16 18:23:47 +02:00
abcdefg30
215af20e62
Give a lint error when TimeLimitDefault is not in TimeLimitOptions
2019-05-16 14:56:56 +02:00
abcdefg30
09d6387e64
Prevent negative times in GameTimerLogic
2019-05-16 14:56:56 +02:00
Oliver Brakmann
28016a3a33
Disable TimeLimit dropdown on MP missions and Fort Lonestar
2019-05-16 14:56:56 +02:00
Oliver Brakmann
f617da08f6
Convert "Top o' the World" mission to use TimeLimit API
2019-05-16 14:56:56 +02:00
Oliver Brakmann
f11b7393ef
Convert Allies-02 to make use of TimeLimit API
2019-05-16 14:56:56 +02:00
Oliver Brakmann
26d712728a
Add scripting support for TimeLimitManager
2019-05-16 14:56:56 +02:00
Oliver Brakmann
47d88983fb
Let sidebar timer count backwards if a time limit is set
2019-05-16 14:56:56 +02:00
abcdefg30
4a35d85884
Add a DropdownVisible property to TimeLimitManager
2019-05-16 14:56:56 +02:00
Oliver Brakmann
a63cc2d317
Add a time limit lobby option
2019-05-16 14:56:56 +02:00
abcdefg30
1364581696
Fix Sarin Gas Crackdown not ending after losing all units
2019-05-16 14:22:03 +02:00
evgeniysergeev
3bc5b07277
Fix for System.IO.InvalidDataException in VocLoader
...
Fix for VOC version check
use cached value from MoveNext instead of try/catch section
2019-05-15 21:20:24 +02:00
Paul Chote
72dbb871ac
Add faction specific tooltip backgrounds.
2019-05-15 21:05:49 +02:00
Ivaylo Draganov
a5bd08bd02
Revamp Tiberian Dawn ingame UI
2019-05-15 21:05:49 +02:00
Ivaylo Draganov
4931fc2ca6
Enable AddFactionSuffixLogic for ProductionTabsWidget and BackgroundWidget
2019-05-15 21:05:49 +02:00
Paul Chote
6f1aaab3e3
Remove CallFunc.
2019-05-12 19:06:52 +02:00
Paul Chote
e57e881662
Use Target in DeliverUnit
2019-05-12 19:06:52 +02:00
tovl
0b747ba927
Rework Carryall drop-off queueing and ordering.
2019-05-12 19:06:52 +02:00
reaperrr
a403d9937d
Fix palette effects on desert buildings/rocks
2019-05-12 17:46:25 +02:00
Paul Chote
6248326b29
Rename AttackMove *ScanConditions.
2019-05-12 10:59:36 +02:00
tovl
0e1374f0eb
Replace pseudo-childactivities in AttackMoveActivity.
2019-05-12 10:59:36 +02:00
abcdefg30
1c13520ffd
Update the forum link in the readme
2019-05-10 00:35:44 +01:00
reaperrr
17a40099df
Fix launch delay and offset of TS ClusterMissile
2019-05-09 22:28:46 +01:00
reaperrr
6eb31401f1
Implement D2k DeathHand cluster logic
2019-05-09 22:28:46 +01:00
reaperrr
cf091e0548
Implement TS cluster missile warhead
2019-05-09 22:28:46 +01:00
reaperrr
9e91232ca7
Add DetonationAltitude to NukePower
...
And RemoveMissileOnDetonation boolean.
Allows airburst, and optionally missile continuing
until it hits the ground (without a second explosion).
2019-05-09 22:28:46 +01:00
Zimmermann Gyula
2648764ee3
Add FireClusterWarhead
2019-05-09 22:28:46 +01:00
teinarss
0e3d343f15
VAlign correctly in LabelWidget
2019-05-09 22:17:24 +02:00
teinarss
2d1c110857
Calculate font size correctly
2019-05-09 22:17:24 +02:00
Paul Chote
7c71e55b01
Restore no-arg ExponentialSliderWidget ctor.
...
This is required for dynamic widget creation.
2019-05-09 21:38:40 +02:00
Paul Chote
ba282865f1
Replace legacy StyleCop(Plus) with StyleCopAnalyzers
...
Analyzers are enabled in the Debug configuration
only to avoid unnecessary overheads when compiling
normally.
2019-05-09 20:40:08 +02:00
Paul Chote
353db73381
Fix a collection of minor style violations.
...
This enables several new StyleCopAnalyzer rules to
be enabled immediately during migration.
2019-05-09 20:40:08 +02:00
Paul Chote
76a8ae9f98
Set default values for BitSet<TargetableType>.
2019-05-09 20:40:08 +02:00
reaperrr
c24398e32c
Repulsion performance optimizations
...
`cruising` is updated on every position change,
so we can safely re-use it instead of
performing another DAT check.
Additionally, if repulsion force is
horizontally zero, it's guaranteed to be WVec.Zero,
so we can save that conversion too.
2019-05-09 19:00:07 +02:00
reaperrr
83b4e448c8
Fix Jumpjet default HeightOffset
...
Jumpjet CruiseHeight in TS was 500, roughly equivalent to
3.9 cells in OpenRA.
2019-05-05 23:41:55 +02:00
reaperrr
2953cbd9f1
Improve TS Harpy rotor offset
2019-05-05 23:41:55 +02:00
reaperrr
64d891cc6c
Improve TS aircraft altitude values
...
The CruiseAltitude values and AltitudeVelocity
default were far too low compared to the original.
2019-05-05 23:41:55 +02:00
Paul Chote
f0d59391b5
Remove Start-Process from make.ps1.
...
This also removes the hardcoded path
requirement for dotnet.exe, and simplifies
the utility and dotnet detection.
The nr flag is no longer needed for dotnet,
and nologo is added to reduce unnecessary output.
The Release configuration is set for consistency
with the real Makefile.
2019-05-05 23:19:04 +02:00
Paul Chote
ac8252531b
Fix solution listings in the Rider IDE.
2019-05-05 23:19:04 +02:00
Paul Chote
b93490efd0
Remove legacy cruft from .gitignore.
2019-05-05 23:19:04 +02:00
Paul Chote
1955cac84e
Unify Windows and mono build systems.
...
The Makefile behaviour is recreated using the new and significantly
cleaner .NET Core csproj format.
fixheader.exe is promoted to OpenRA.PostProcess.exe and now runs
on all platforms.
2019-05-05 23:19:04 +02:00
Paul Chote
6e364cdbee
Switch AppVeyor to use Visual Studio 2017.
2019-05-05 23:19:04 +02:00
Paul Chote
761b5e094d
Reduce minimum .NET requirement to 4.6.1.
...
4.7.2 causes compatibility issues with Mono 5.4
in the interim period before we migrate to netstandard2.
2019-05-05 23:19:04 +02:00
Mustafa Alperen Seki
a4bac42c7f
Add /playerxp command.
2019-05-05 21:52:28 +02:00
Paul Chote
5e38cfda81
Enable skirmish saves.
2019-05-05 09:30:58 +02:00
Paul Chote
c8f2ee5270
Save and load skirmish spectator viewport.
2019-05-05 09:30:58 +02:00
Paul Chote
410d0796c3
Disable bot logic while reloading game saves.
2019-05-05 09:30:58 +02:00
Paul Chote
100ec17ef0
Implement IGameSaveTraitData on BotModules.
2019-05-05 09:30:58 +02:00
Paul Chote
5f8a0f3372
Add IBotEnabled interface.
2019-05-05 09:30:58 +02:00
tovl
9abf715fd7
Allow opportunity fire for aircraft.
2019-05-04 23:40:16 +02:00
tovl
f16ff9eaa0
Base AttackAircraft on AttackFollow and get rid of SequenceActivities.
2019-05-04 23:40:16 +02:00
reaperrr
da6bf1a57d
Make ActorTags display ChildActivities
2019-05-04 21:33:10 +02:00
jrb0001
b774556a5f
Reduce overhead of every single order/sync frame by 162/222 bytes
2019-05-04 09:48:36 +02:00
LipkeGu
7f7809fe70
Use TryGet instead of Get and assign a default Fallback Color
...
This Fixes a crash in Situations when custom mods are used and reset OpenRA to its initial state.
2019-05-04 09:39:56 +02:00
matjaeck
c7b8f9f09f
Add references to the Code of Conduct.
2019-05-04 09:27:34 +02:00
Paul Chote
e3f868f0a8
Update TS map previews and formatting.
2019-05-02 13:40:22 +02:00
Paul Chote
143cee2a80
Update D2k map previews and formatting.
2019-05-02 13:40:22 +02:00
Paul Chote
67683aacdb
Update TD map previews and formatting.
2019-05-02 13:40:22 +02:00
Paul Chote
fe68780d1c
Remove space from "Snow Town" map path.
2019-05-02 13:40:22 +02:00
Paul Chote
e431954107
Update RA map previews and formatting.
2019-05-02 13:40:22 +02:00
Paul Chote
f301cb891f
Add missing LockPreview to mission maps.
2019-05-02 13:40:22 +02:00
Paul Chote
5f157c572f
Restore newlines between top-level map.yaml blocks.
2019-05-02 13:40:22 +02:00
Paul Chote
d9c30c9659
Fix missing EOF yaml newlines and other style issues.
2019-05-02 13:40:22 +02:00
Paul Chote
2a085945df
Add terminating newline to yaml strings.
2019-05-02 13:40:22 +02:00
Paul Chote
753a0b1e3e
Add --refresh-map utility command.
2019-05-02 13:40:22 +02:00
reaperrr
ad4c0e6dee
Remove HeliFlyCircle activity
...
FlyCircle actually works fine for D2k Carryalls,
and no other place used this.
2019-05-01 20:50:10 +01:00
Unknown
77d890848b
Fix givecashall debug command
...
Issuing an order to another client causes a validation error in
ValidateOrder.OrderValidation(...). To fix this /givecashall will now
be issued as an order to the client that introduced the command. This
client will then resolve the command and give the cash to all playable
parties.
2019-05-01 18:30:44 +02:00
reaperrr
543d46f47c
Make ground actors leave resupplier if resupply is aborted
2019-04-29 01:40:52 +01:00
reaperrr
bc0d8ca015
Remove ResupplyAircraft and AllowYieldingReservation
...
The few extra things those two activities did can be done
in Resupply, making them redundant.
2019-04-29 01:40:52 +01:00
reaperrr
4a06c66dbd
Fix resupply anim not always finishing properly
2019-04-29 01:40:52 +01:00
reaperrr
83934074a4
Merge INotifyRearm/Repair into INotifyResupply
...
And streamline its notify methods.
Also cache INotifyResupply traits at beginning
of Resupply activity.
2019-04-29 01:40:52 +01:00
reaperrr
ba4b5738d7
Merge Rearm and Repair into Resupply activity
...
Allows parallel rearming and repairing.
2019-04-29 01:40:52 +01:00
Smittytron
123b3f054f
Remove cash steal objectives from Allies 06a and 06b
2019-04-28 10:19:37 +02:00
Paul Chote
f26992443d
Remove periods from lobby option tooltips.
2019-04-28 00:24:28 +02:00
teinarss
d9d2202599
System messages should be yellow to distinguish them from normal
2019-04-27 14:51:59 +02:00
jrb0001
db487e1264
Give every immediate order its own framing
2019-04-23 01:00:52 +02:00
jrb0001
f3133617dd
Prevent immediate orders from being sent as regular orders
2019-04-23 01:00:52 +02:00
BGluth
55aa346ad7
Aircraft can now scatter
2019-04-22 22:04:51 +02:00
teinarss
e801537d96
Hide cursor and render the placeholder directly
2019-04-22 21:51:49 +02:00
teinarss
09f4b69aef
Fixed the problem with clicking the Support Power button
2019-04-22 21:51:49 +02:00
teinarss
5e58364fad
Made SelectDirectionalTarget a opted in feature and added fields for palettes
2019-04-22 21:51:49 +02:00
abcdefg30
b2278e85f0
Add support for arbitrary objective type names
2019-04-22 21:04:42 +02:00
abcdefg30
38b3a4a668
Split INotifyWinStateChanged from INotifyObjectivesUpdated
2019-04-22 21:04:42 +02:00
abcdefg30
6163523334
Enable spectator team chat in the lobby
2019-04-22 19:55:04 +01:00
abcdefg30
e6feba8884
Remove the TeamChat order type
2019-04-22 19:55:04 +01:00
abcdefg30
83b92ebacb
Disable team chat when only one team member is alive
2019-04-22 19:55:04 +01:00
abcdefg30
9a84ccdd1d
Send the designated team number as extra data in the order
2019-04-22 19:55:04 +01:00
abcdefg30
991093df81
Let immediate orders send a bitfield for extra order data
2019-04-22 19:55:04 +01:00
abcdefg30
5e363f18c9
Disable the team chat button after the game ended
2019-04-22 19:55:04 +01:00
abcdefg30
7b8df0ed54
Disable spectator chat when there is only one spectator
...
and re-enable it when players die
2019-04-22 19:55:04 +01:00
abcdefg30
767de564fc
Use Team numbers instead of stances
2019-04-22 19:55:04 +01:00
abcdefg30
43f22f908d
Don't make team messages of dead players public
2019-04-22 19:55:04 +01:00
abcdefg30
9bd0a71ca8
Return early instead of nesting
2019-04-22 19:55:04 +01:00
abcdefg30
e7f60a1e25
Don't ignore the message limit in team chat
2019-04-22 19:55:04 +01:00
abcdefg30
4a9a5ba757
Remove and restyle comments in UnitOrders
2019-04-22 19:55:04 +01:00
Mustafa Alperen Seki
2bb2d6e9c5
Add ability to grant condition multipile times to GrantExternalConditionCrateAction
2019-04-22 20:51:23 +02:00
Mustafa Alperen Seki
de7706c98f
Add ProductionCost/TimeMultiplier
2019-04-22 20:44:50 +02:00
Mustafa Alperen Seki
1f730fbfb9
Make EngineerRepairable Conditional.
2019-04-22 20:25:52 +02:00
Mustafa Alperen Seki
c89d90e4b0
Add Types to EngineerRepair(able).
2019-04-22 20:25:52 +02:00
Mustafa Alperen Seki
e63f52c43f
Add RepairSound to EngineerRepair.
2019-04-22 20:25:52 +02:00
Mustafa Alperen Seki
0f9a157943
Add support for Custom Cursors in EngineerRepairable.
2019-04-22 20:25:52 +02:00
Mustafa Alperen Seki
2194584b25
Fix EngineerRepairable stance checks.
2019-04-22 20:25:52 +02:00
Mustafa Alperen Seki
8752e76d1e
Split EngineerRepairable to its own file.
2019-04-22 20:25:52 +02:00
Mustafa Alperen Seki
2463b2ed43
Remove Exit: from D2k ConYard.
2019-04-22 20:20:47 +02:00
Mustafa Alperen Seki
7a9d04395a
Check for producee's IOccupySpaceInfo for production completation.
2019-04-22 20:20:47 +02:00
Mustafa Alperen Seki
f9ef41f165
Properly check for exitinfo != null in DoProduction()
2019-04-22 20:20:47 +02:00
Mustafa Alperen Seki
1573da03bb
Fix production of dummy actors from producers without Exit trait.
2019-04-22 20:20:47 +02:00
tovl
ffbee7e45b
Temp fix for harvester getting stuck around resource spawn
2019-04-22 16:39:47 +02:00
tovl
2eaeb2097c
Refactor resource harvesting logic.
2019-04-22 16:39:47 +02:00
Mustafa Alperen Seki
77b313611e
Make Queue Groups work with ClassicProductionQueue.
2019-04-22 16:16:35 +02:00
tovl
8e91a1ba89
Add order voice to GrantConditionOnDeploy.
2019-04-22 15:34:07 +02:00
tovl
9419d1b924
Fix TS artillery barrel disapearing during deploy animation.
2019-04-22 15:34:07 +02:00
tovl
351df4769b
Let TS deployable units honor emp-disabled.
2019-04-22 15:34:07 +02:00
reaperrr
36783efbfb
Give TS ClusterMissile a smoke trail
...
And increase visual FlightVelocity.
We don't know when this will be replaced with
TS-style voxel projectile, so a bit of visual polish can't hurt.
2019-04-22 15:13:11 +02:00
reaperrr
cee56a00af
Give some translucency to TS missile trails
2019-04-22 15:13:11 +02:00
reaperrr
ba04965a63
Fix missile offsets & implement trail on DeathHand
2019-04-22 15:13:11 +02:00
reaperrr
78f538f103
Add sprite trail support to NukeLaunch/NukePower
2019-04-22 15:13:11 +02:00
reaperrr
4a71a6746f
Group all Bullet Trail* properties together
...
Just a small code readability improvement.
2019-04-22 15:13:11 +02:00
tovl
560f8c26bc
Add crushing logic to aircraft.
2019-04-22 02:56:57 +02:00
tovl
c633e07410
Make aircraft occupy cells when landed.
2019-04-22 02:56:57 +02:00
reaperrr
04a71a6c6a
Exclude OpenRA.Platforms.Default.dll.config from clean
...
OpenRA.Platforms.Default.dll.config is part of the repo.
Linux makefile already excludes the file from removal.
2019-04-21 20:31:35 +02:00
tovl
6aea91bd46
Replace pseudo-childactivities in WaitForTransport.
2019-04-20 16:14:59 +01:00
tovl
a000b173d8
Replace pseudo-childactivities in Enter and related.
2019-04-20 16:14:59 +01:00
Paul Chote
d5588c51ed
Implement "Game Saved" / "Game Loaded" notifications in RA and D2k.
2019-04-20 14:54:48 +02:00
Paul Chote
492b5aec82
Save and restore viewport position / selection / control groups.
2019-04-20 14:54:48 +02:00
Paul Chote
de9649df27
Add save/load browser and buttons to the UI.
2019-04-20 14:54:48 +02:00
Paul Chote
3a693d8def
Implement loading screens.
2019-04-20 14:54:48 +02:00
Paul Chote
1f3b30c2d2
Implement game save/load backend.
2019-04-20 14:54:48 +02:00
Paul Chote
877215c86a
Dynamically populate the ingame menu.
2019-04-20 14:54:48 +02:00
Paul Chote
1cfb110d03
Allow the cursor to be force disabled.
2019-04-20 14:54:48 +02:00
Paul Chote
f731c09086
Fix TD input prompt button height.
2019-04-20 14:54:48 +02:00
Paul Chote
bb324fb2d4
Add Sound.DisableAllSounds property.
2019-04-20 14:54:48 +02:00
Paul Chote
5d43417a5f
Add player trait support for IWorldLoaded.
2019-04-20 14:54:48 +02:00
Lars Beckers
e6750bf19c
Fix attack behaviour of disabled units.
2019-04-20 02:28:27 +02:00
abcdefg30
1bb319425b
Add Sound.Play overloads that play a random sound from a list
2019-04-20 01:22:30 +02:00
reaperrr
5f6c8ba5d3
Fix Mobile.CurrentMovementType vertical handling
...
On bleed, the Horizontal flag is always returned on any position change,
even if that change is vertical-only.
2019-04-20 00:48:12 +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
reaperrr
db68c6e264
Fix Mobile actors turning even if Mobile is paused
2019-04-14 21:58:28 +02:00
tovl
cc7e758b27
Replace pseudo-childactivities in carryall logic.
2019-04-14 19:05:06 +01:00
reaperrr
0eb0a5a2bd
Add WithHarvesterSpriteBody
...
And move PrefixByFullness there.
Also put it into Mods.Cnc, as RA is the only shipping mod
using this.
2019-04-14 19:09:28 +02:00
reaperrr
840eb7006d
Make actors ignore ReturnToBase order if already on resupplier
2019-04-13 18:47:08 +02:00
reaperrr
717b8a24f1
Fix ReturnToBase restarting on each hotkey press
...
Now that the RTB process is a single activity with childs,
it's relatively easy to prevent the activity from restarting
every time the deploy/RTB hotkey is pressed.
2019-04-13 18:47:08 +02:00
reaperrr
b24e4510c8
Make aircraft without TakeOffOnResupply always land
...
on resupplier, even if ammo is full, when given a
"ReturnToBase" order via deploy key.
In other words, in that case treat the RTB order like an
explicit "Repair" or "Enter" order.
2019-04-13 18:47:08 +02:00
reaperrr
c7eee6ae5d
Improve ReturnToBase Activity.cs adherance
...
And make it use child activities for queueability.
2019-04-13 18:47:08 +02:00
reaperrr
8edf5b56ea
Exclude dead actors from ChooseResupplier
2019-04-13 18:47:08 +02:00
reaperrr
2cdae0b380
Merge HeliReturnToBase into ReturnToBase
2019-04-13 18:47:08 +02:00
tovl
2a942bd04a
Fix crash in FindAndDeliverResources.GetSearchFromLocation.
2019-04-13 16:04:54 +02:00
abcdefg30
14a4c47758
Increase the ZOffset of ore and gem mines in RA
2019-04-12 00:11:47 +02:00
teinarss
71596ae959
Added drag direction mouse interaction for set the approach direction for airstrike and parabombs
2019-04-04 20:10:34 +02:00
teinarss
1dd90a1d7b
Pushed down the MouseInput handling to the OrderGenerators and made a base class for handling the basic logic
2019-04-04 20:10:34 +02:00
Mustafa Alperen Seki
9ec8d25dff
Add AppearsOnMapPreview to default mods.
...
To Walls, (Tib)Trees, Ore/Gem Mines and Tech Structures.
2019-04-04 19:37:19 +02:00
Mustafa Alperen Seki
9fef2c01ec
Add AppearsOnMapPreview
...
Allows preplaced actors to be rendered on map preview when saving the
map.
Also removes requirements for ResourceLayer in OpenRA.Game and moves it
to OpenRA.Mods.Common.
2019-04-04 19:37:19 +02:00
tovl
ea4f24d0b7
Rework harvester automation.
2019-04-04 19:22:25 +02:00
tovl
1d590ac207
Sanitize harvester search behavior.
2019-04-04 19:22:25 +02:00
tovl
8d8cade266
Remove no-op on harvester creation.
2019-04-04 19:22:25 +02:00
tovl
bc7516989e
Rework harvester unblock and idle behavior.
2019-04-04 19:22:25 +02:00
tovl
3bfa32ca33
harvester Harvest order works with queues
...
fix for autocarryable harvesters
Make use of QueueActivity's own handling of order.Queued
2019-04-04 19:22:25 +02:00
tovl
307a87cd9e
harvester Deliver order works with queues
2019-04-04 19:22:25 +02:00
Anson Wayman
f64c8f1ee8
Fix pluggable regression
...
Modified gapowr and gatower upgrade requirements to prevent multiple
stacking plug bug.
2019-04-04 19:11:04 +02:00
Mustafa Alperen Seki
e7b8a56511
Add ValidStances to AutoTargetPriority.
2019-04-04 19:08:10 +02:00
tovl
25bc3ae2d2
Fix chinook being unable to land.
2019-03-31 18:25:14 +02:00
teinarss
a467e2c92e
Added the setting insert_final_newline to editorconfig
2019-03-31 18:02:17 +02:00
Daniel Llewellyn
6289816a69
Update thirdparty/configure-native-deps.sh
...
Add aarch64 and ppc64le architecture library to search paths.
2019-03-31 15:47:05 +02:00
Oliver Brakmann
320717003f
Fix crash due to conflicting access to collection in killed Cargo
2019-03-31 08:41:06 +02:00
Mustafa Alperen Seki
1373a4e16e
Seperate TS shellmap rules to Rules yaml.
...
And make all buildings and walls indestructible.
2019-03-30 23:08:46 +01:00
Paul Chote
f69c6ab3fb
Update SharpZipLib to 1.1.0.
...
The default code page has been changed to UTF8
so our workarounds are no longer needed.
2019-03-30 20:47:22 +01:00
Paul Chote
9cbf08201f
Disable debug and enable optimizations by default.
...
This does not affect stacktraces produced during
a crash when run using `mono --debug`.
2019-03-30 20:17:17 +01:00
Paul Chote
93193d4e63
Document dependency changes in INSTALL.md.
2019-03-30 20:17:17 +01:00
Paul Chote
2c0711d5fb
Enable HiDPI rendering in Windows installer.
2019-03-30 20:17:17 +01:00
Paul Chote
d53338ca5e
Switch to the newer Roslyn compiler on Linux/macOS.
2019-03-30 20:17:17 +01:00
Paul Chote
5b00586de2
Update Travis to Ubuntu 16.04, Mono 5.10, NSIS 3.03.
2019-03-30 20:17:17 +01:00
tovl
8ee11028d7
Replace SequenceActivities with ChildActivity in several air activities.
2019-03-30 18:54:30 +00:00
Mustafa Alperen Seki
7fe2d1223b
Disable veterancy on TS Shellmap
2019-03-30 17:26:43 +01:00
Mustafa Alperen Seki
18be10b537
Make walls on shellmap indestructible.
2019-03-30 17:26:43 +01:00
Mustafa Alperen Seki
dc2fe5b682
Fix Veterancy removal on shellmap rules.
2019-03-30 17:26:43 +01:00
reaperrr
c82888204b
MovementTypes refactor update rule
2019-03-30 16:24:47 +00:00
reaperrr
404eee23f9
Adapt WithMoveAnimation to INotifyMoving
...
And add ValidMovementTypes for configurability.
2019-03-30 16:24:47 +00:00
reaperrr
4c53599736
Adapt GrantConditionOnMovement to INotifyMoving
2019-03-30 16:24:47 +00:00
reaperrr
a10af382b4
Add plumbing for notifying traits of movement
...
More precisely, about start and stop of movement.
2019-03-30 16:24:47 +00:00
reaperrr
32ab822786
Fix ResupplyAircraft being cancelable by Stop command
...
It is now immediately queued again, as long as the actor
has not finished rearming/repairing yet.
2019-03-30 16:44:04 +01:00
reaperrr
b92aef5754
Make Aircraft.GetActorBelow() LandAltitude-aware
2019-03-30 16:44:04 +01:00
reaperrr
3211119027
Simplify ResupplyAircraft
...
By moving part of the take-off prevention (when TakeOffOnResupply
is set to false) to Aircraft.
Main reason & advantage is that dropping the 'WaitFor' child
makes this activity always end when resupplies are done,
which makes it more compatible with being queued as ChildActivity
itself (for example by ReturnToBase).
2019-03-30 16:44:04 +01:00
Oliver Brakmann
b4fd7331b2
Simplify Activity class
...
After the removal of the CompositeActivity class, all the supporting
code that made it work can be removed as well.
2019-03-30 14:38:23 +00:00
AngryBirdz
19977bb7da
Counterstrike Soviet mission Top o' The World ported
...
I've just finished porting this mission. Tell me if you spot something wrong ;)
Update: Fixed a few things in the lua and rules.
2019-03-28 15:21:21 +01:00
Ivaylo Draganov
7695714f66
Add hotkey for removing actors from control groups
...
* Add `RemoveFromControlGroup` hotkey
* Add `RemoveFromControlGroup` method to `OpenRA.Game.Selection`
2019-03-28 13:20:47 +01:00
Smittytron
99987db5d9
Add Counterstrike mission Sarin Gas 2: Down Under
2019-03-28 13:14:35 +01:00
Clément Bœsch
3b926d71b5
Honor modifiers in multitap detection
...
Fixes Issue #15577 .
2019-03-26 22:29:04 +01:00
Paul Chote
54d5afed57
Package mono inside the macOS app bundles.
...
This also removes the explicit dependency on mono's
packaged FreeType, which should allow development
builds to be used with homebrew-packaged mono.
2019-03-26 22:11:58 +01:00
tovl
872bf737e0
Fix transport being blocked by its own passengers.
2019-03-26 21:55:43 +01:00
Voidwalker
a46ec5d930
Cargo improvements
2019-03-26 21:34:09 +01:00
tovl
30de4df749
Replace SequenceActivities with ChildActivity in several activities.
2019-03-25 20:22:35 +00:00
Paul Chote
90ddf24cf3
Display the correct version on generated wiki pages.
2019-03-24 23:24:04 +01:00
Paul Chote
d7ff894346
Actually push the generated weapon docs to the wiki.
2019-03-24 23:24:04 +01:00
Vasya N
63817ae807
TS: fix disruptor healing
2019-03-24 17:23:49 +00:00
Oliver Brakmann
44ca01d36c
Remove pretick argument from Activity.Queue()
...
Pre-ticking a next activity would break the assumption that activities
in a queue would be processed in sequence.
2019-03-24 15:53:13 +00:00
reaperrr
9a15df9dde
Update bleed update rule folder and update path
...
The release is out now, so it's time for updating this.
2019-03-23 21:34:22 +01:00
tovl
5782dde1c7
Remove ISync from AttackMove.
2019-03-23 21:02:04 +01:00
reaperrr
151fea9c00
Remove duplicate Aircraft from TS jumpjet husk
2019-03-23 12:35:12 +01:00
Paul Chote
817db8dbe0
Fix build artifacts leaking between platforms.
...
This moves the `dependencies` target from `core`
to `default`, so that we aren't forced to run
`linux-dependencies` for non-linux platforms.
2019-03-22 21:36:20 +01:00
Paul Chote
2afd8a3a74
Package mono 5.10 in the AppImages.
2019-03-22 21:36:20 +01:00
Paul Chote
2ba2510018
Check for unpackaged dependencies in make check.
2019-03-22 21:36:20 +01:00
Mustafa Alperen Seki
6c9d961bb5
Polishing Hovers
2019-03-22 21:12:36 +01:00
tovl
16f1750252
Remove ResupplyAircraft hack
2019-03-22 19:02:05 +01:00
tovl
e2e4caf0ba
Make Aircraft.OnBecomingIdle accesible.
2019-03-22 19:02:05 +01:00
tovl
64cec4a0ad
Revise AttackMoveActivity.
2019-03-22 19:02:05 +01:00
Paul Chote
01f6f98097
Require .NET Framework >= 4.7.2 on Windows.
2019-03-21 20:04:14 +01:00
Mustafa Alperen Seki
ac7d2e00e3
Use .Trait<ConditionManager>(); on GrantConditionOnDamageState
2019-03-21 14:36:33 +01:00
Mustafa Alperen Seki
d54e4395e5
Add GrantConditionOnHealth
2019-03-21 14:36:33 +01:00
Maarten
040f071833
Also trigger mission fail when subpen is sold
2019-03-21 14:25:48 +01:00
abcdefg30
a3325277d9
Prevent support powers from creating two camera actors
2019-03-14 19:29:39 +00:00
Paul Chote
aa9724cc40
Remove SharpFont dependency.
2019-03-14 16:39:26 +01:00
Paul Chote
ebeaf95e4c
Reimplement FreeTypeFont against FreeType directly.
2019-03-14 16:39:26 +01:00
Paul Chote
1d4576229a
Move FreeType handling into the Platform dll.
2019-03-14 16:39:26 +01:00
abcdefg30
e2a51676f7
Add an update rule for the PlaceSimpleBeacon removal
2019-03-14 01:55:34 +01:00
abcdefg30
2ab127537c
Remove PlaceSimpleBeacon and AnimatedBeacon
2019-03-14 01:55:34 +01:00
abcdefg30
8578ce1346
Merge PlaceSimpleBeacon and AnimatedBeacon into PlaceBeacon and Beacon
2019-03-14 01:55:34 +01:00
Mustafa Alperen Seki
8edbf665c5
Make D2k AI don't update ConYard for 2,5 Minutes.
2019-03-14 01:36:44 +01:00
Mustafa Alperen Seki
2aebb05cd0
Implement Building/UnitDelays
2019-03-14 01:36:44 +01:00
Paul Chote
2a9721a9f8
Remove System.Drawing dependency.
2019-03-14 01:01:49 +01:00
Paul Chote
5cc81f7bf7
Implement a simple managed png writer.
2019-03-14 01:01:49 +01:00
tovl
9f419fca34
make cargo unload deploy action queueable
...
fix line spacing
remove unnecessary null check
2019-03-14 00:54:54 +01:00
tovl
da2e56e478
Make deploying mines queueable.
2019-03-14 00:23:47 +01:00
Mustafa Alperen Seki
556774804f
Make Capture related traits conditional.
2019-03-13 23:43:16 +01:00
Mustafa Alperen Seki
35ad33e8be
Fix filenames of capture related traits.
2019-03-13 23:43:16 +01:00
abcdefg30
00b8576edf
Remove the unused INotifySold.Selling implementation
2019-03-13 23:14:35 +01:00
abcdefg30
f021439dee
Use explicit implementation in ScriptTriggers.cs
2019-03-13 23:14:35 +01:00
abcdefg30
59a438b80e
Add the ScriptTriggers trait to the world actors
2019-03-13 23:14:35 +01:00
abcdefg30
2db2148310
Add OnAnyProduction and OnSold lua triggers
2019-03-13 23:14:35 +01:00
tovl
c096fbde96
make portable chrono queueable
...
give PortableChrono fallback movement
style fix
add chrono target line
require and cache IMove
2019-03-12 13:38:48 +01:00
Paul Chote
71b61ad8ee
Remove bogus and unnecessary Color[] FieldLoader override.
2019-03-12 12:44:29 +01:00
Paul Chote
d70055c38d
Add int channel version of Color.FromAhsl.
2019-03-12 12:41:06 +01:00
Paul Chote
6927767013
Add authentication fingerprint to replay metadata.
2019-03-12 12:37:51 +01:00
abcdefg30
ed255fa919
Move update rules into the correct subfolder
2019-03-11 21:56:13 +00:00
Curtis Shmyr
c1506416c9
Change MECH repair voice from Move to Action
2019-03-11 22:38:47 +01:00
abcdefg30
0ab7e0a855
Add support for multiple (un)deploy sounds on GrantConditionOnDeploy
2019-03-11 21:31:39 +00:00
Paul Chote
ab6ae7bc8d
Support 24 bit png loading.
2019-03-11 20:14:09 +01:00
reaperrr
ea2e452075
Add SpawnActorEffect
...
And use it to drop DelayedAction from ReinforcementsGlobal.
2019-03-11 12:54:58 +01:00
reaperrr
ab4268025a
Fix TS Stealth Generator ignoring EMP
...
On bleed it continues to stealth the surrounding actors when EMP'd.
2019-03-10 23:16:25 +00:00
tovl
6f213dddec
Make Attack use ChildActivities
2019-03-10 20:51:47 +01:00
reaperrr
5ec47b47af
Rename fields on Repairable traits
...
To bring them in line with RearmActors,
Repairable.RepairBuildings and
RepairableNear.Buildings have been renamed
to RepairActors.
Additionally, their RA-specific internal
defaults were removed and the FieldLoader
now requires them to be set explicitly.
2019-03-10 19:19:49 +01:00
Mazar Farran
6dd84b2882
Add mazarf to AUTHORS
2019-03-10 18:20:01 +01:00
Oliver Brakmann
0bd00d3b7c
Add a ReturnToGroundLayerOnIdle flag to CustomMovementLayers
...
Co-authored-by: Mazar Farran <farranmazar@gmail.com >
Co-authored-by: Paul Chote <paul@chote.net >
2019-03-10 18:20:01 +01:00
Paul Chote
8fc483b30b
Work around a crash for invalid FrozenActor targets.
2019-03-10 17:29:17 +01:00
Paul Chote
6472840690
Notify players when a vehicle have been lost to a Thief.
2019-03-10 17:11:38 +01:00
Paul Chote
71dd84b9d5
Fix invalid target crash in SupportPowerManager.Activate.
2019-03-10 13:26:49 +01:00
Mustafa Alperen Seki
1a728ee153
Add ExperienceTrickler trait.
2019-03-10 13:13:16 +01:00
Mustafa Alperen Seki
b8a85091d4
Make WithRangeCircle conditional
2019-03-10 02:39:27 +01:00
Paul Chote
2ee6243e67
Remove shadow remapping from RA cursors.
2019-03-09 21:57:37 +00:00
Paul Chote
06e63e7dbc
Remove bogus green-shadow remap from TD cursors.
2019-03-09 21:57:37 +00:00
tovl
705795abde
Activity.Cancel returns void instead of bool.
2019-03-09 21:47:43 +00:00
tovl
a17cd0fa06
Replaced Canceled state with Canceling state.
2019-03-09 21:47:43 +00:00
tovl
8191a6566b
Add missing self and optional pretick parameters to Queue, QueueChild and PrintActivity methods.
...
This means sequenceActivities needs to accept self as well.
2019-03-09 21:47:43 +00:00
tovl
69004f2b94
Prevent premature nulling of childactivities.
2019-03-09 21:47:43 +00:00
tovl
35dba74ded
remove unused CompositeActivity
2019-03-09 21:47:43 +00:00
tovl
6d51d3988c
fix aircraft ResupplyActivity
2019-03-09 21:47:43 +00:00
Mustafa Alperen Seki
0b0b82bd43
Implement Harvester>BaleUnloadAmount
2019-03-09 12:19:02 +00:00
reaperrr
a7702a8ecd
Make HeliReturnToBase use RTB.ChooseResupplier
...
Small consistency fix and prep for merging HRTB into RTB.
2019-03-09 12:12:51 +00:00
reaperrr
2ac9d92ce7
Remove some legacy activity cruft from Aircraft
...
You only need to look at the RTB activities to tell that
Aircraft doing its own stuff here was somewhat redundant
and just made things worse regarding debugging and
code consistency.
2019-03-09 12:12:51 +00:00
reaperrr
d7f8f2ba7b
Fix D2k Death Hand launch transition
...
Missile would otherwise visually disappear for a tick.
2019-03-09 12:02:44 +00:00
reaperrr
fa3bf5cefe
Add delay support to NukeLaunch
...
And use that to remove the remaining DelayedAction from NukePower.
2019-03-09 12:02:44 +00:00
abcdefg30
d0c2dbcbb0
Let civilians use the normal stand animation when panicking
2019-03-09 11:57:45 +01:00
abcdefg30
0524a59b6b
Fix map preview generation for isometric terrain
2019-03-08 21:21:10 +01:00
abcdefg30
19b2cb0afb
Log the stack trace when map saving fails
2019-03-08 21:21:10 +01:00
Pavel Penev
ffac21c3d3
Explicitly specified NuGet package source in the Windows dependencies script
...
Otherwise NuGet breaks there are alternative (private) NuGet feeds set up on the local machine and one of them isn't responding currently.
2019-03-07 23:58:23 +01:00
Pavel Penev
6d63c99104
Changed NuGet download link for the Windows dependencies script
...
The previous link downloaded a very old version of nuget.exe for some reason.
2019-03-07 23:58:23 +01:00
reaperrr
2c311a84c9
Add OpenRA.StyleCheck.exe.config
2019-03-07 19:39:57 +01:00
reaperrr
33060a661f
Revert #16196
2019-03-07 19:39:57 +01:00
tovl
2e5e7c22f4
Make Mobile a PausableConditionalTrait
2019-03-07 02:50:43 +01:00
Paul Chote
f63d0272a7
Fix map title not updating after remote query completes.
2019-03-06 18:23:33 +01:00
Paul Chote
fc9169a633
Reset spawn previews for empty servers.
2019-03-06 18:23:33 +01:00
Paul Chote
dad21fe879
Remove unused references to System.Data and System.XML.
2019-03-04 18:26:42 +00:00
Paul Chote
4886cca5d3
Remove System.Drawing references from mod code.
2019-03-04 18:26:42 +00: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
Paul Chote
ef9f74411b
Remove unused variable in ButtonTooltipWithDescHighlightLogic.
2019-03-04 18:26:42 +00:00
Paul Chote
094c8b6432
Use Color.ToString() in perf logs.
2019-03-04 18:26:42 +00:00
Paul Chote
015316e909
Remove uses of state-mutating Rectangle.Offset and Intersect.
2019-03-04 18:26:42 +00:00
Paul Chote
0b641c20df
Remove unnecessary uses of System.Drawing primitives.
2019-03-04 18:26:42 +00:00
Paul Chote
00496e2ec2
Remove Order.TargetLocation.
2019-03-04 18:08:42 +00:00
Paul Chote
c7dc237143
Remove Order.TargetLocation from Mobile.
2019-03-04 18:08:42 +00:00
Paul Chote
4c6f4f97d5
Remove Order.TargetLocation from Carryall.
2019-03-04 18:08:42 +00:00
Paul Chote
a5c89c2edc
Remove Order.TargetLocation from AttackMove.
2019-03-04 18:08:42 +00:00
Paul Chote
c7d9d9613e
Remove Order.TargetLocation from Harvester.
2019-03-04 18:08:42 +00:00
Paul Chote
cd92e94d74
Remove Order.TargetLocation from Aircraft.
2019-03-04 18:08:42 +00:00
Paul Chote
f70a452c56
Remove Order.TargetLocation from Minelayer.
2019-03-04 18:08:42 +00:00
Paul Chote
9c4231165b
Remove Order.TargetLocation from beacons.
2019-03-04 18:08:42 +00:00
Paul Chote
d91d96a2e3
Remove Order.TargetLocation from building code.
2019-03-04 18:08:42 +00:00
Paul Chote
6dcd23e874
Remove Order.TargetLocation from support powers.
2019-03-04 18:08:42 +00:00
Unrud
7d72aae5ba
Add /app/lib to Lua search locations (for Flatpak)
2019-03-02 20:11:06 +00:00
Paul Chote
666d2e7bac
Work around harvester unloading activity queue issues.
2019-03-02 18:22:44 +01:00
Paul Chote
8b618ef7bc
Fix maximum range estimation for stationary turrets.
2019-03-02 18:16:12 +01:00
Orb
cbbafd096d
MGG Speed Reduction
2019-03-02 17:50:41 +01:00
Orb
e7134282c2
Balance Changes for Next Release by Orb
2019-03-02 17:50:41 +01:00
abcdefg30
7f3c527f4e
Fix a crash in soviet05
2019-03-01 22:26:54 +00:00
reaperrr
cae6da77d4
Increase dog attack damage
...
To make sure it kills veteran Tanya as well as Drop Zone shok troopers.
2019-03-01 14:52:31 +01:00
reaperrr
638c727f5b
Fix Drop Zone maps
...
Fixes Lint errors, Bomb truck gfx & lobby options.
2019-03-01 14:52:31 +01:00
TheChosenEvilOne
30103da2db
Conditional TakeCover
2019-02-24 14:43:47 +01:00
Paul Chote
94f7f6fd2e
Remove obsolete code.
2019-02-24 14:02:19 +01:00
Paul Chote
5a1124426d
Rewrite screenshot saving.
2019-02-24 14:02:19 +01:00
Paul Chote
5f212a99fe
Convert Map.SavePreview to new Png code.
2019-02-24 14:02:19 +01:00
Paul Chote
368b0314d5
Convert ConvertSpriteToPngCommand to new Png code.
2019-02-24 14:02:19 +01:00
Paul Chote
82fade25a6
Replace Sheet.AsBitmap with Sheet.AsPng.
2019-02-24 14:02:19 +01:00
Paul Chote
2c96eb9d24
Simplify PngSheetImportMetadataCommand.
2019-02-24 14:02:19 +01:00
Paul Chote
b41d4f5cee
Allow Pngs to be created from pixel data.
2019-02-24 14:02:19 +01:00
Paul Chote
4f73b51240
Add Png.Save method.
2019-02-24 14:02:19 +01:00
netnazgul
88d16904ff
Fix Pitfight: split stacked ore mine actors to different cells
2019-02-24 13:11:20 +01:00
Paul Chote
ea05e8aae5
Remove flawed RateLimit implementation.
2019-02-23 18:05:57 +00:00
tovl
dc9c758f12
unreserve when not queued
2019-02-22 21:48:34 +00:00
tovl
2975738477
make ReturnToBase order queueable
2019-02-22 21:48:34 +00:00
Punsho
621a42b7d7
Update fakes.yaml
2019-02-22 21:30:48 +00:00
SoScared
b480fecdbd
Alter default bot and faction dropdownhights for the RA mod.
2019-02-22 21:26:37 +00:00
Andre Mohren
42446ac9ba
Implemented trait defined Rollovers.
2019-02-22 21:15:33 +00:00
Mustafa Alperen Seki
7049f68fbd
Add a boolean to show or not Refund X$ on the tooltip while selling.
2019-02-22 21:07:29 +00:00
Mustafa Alperen Seki
bc0296ad13
Add descriptions to the fields in Sellable, which lack them.
2019-02-22 21:07:29 +00:00
Mustafa Alperen Seki
3672a281d2
Make JamsMissiles conditional
2019-02-22 21:01:51 +00:00
portablestew
d592f37617
App config for StyleCheck
2019-02-22 20:15:20 +00:00
reaperrr
117dde32ba
Removed unused sanity checks from pathfinding
...
These haven't been active and used in years.
2019-02-22 19:59:41 +00:00
reaperrr
5166b8cd5d
Add missing closing bracket in Move comment
2019-02-22 19:59:41 +00:00
Paul Chote
f6ac32412d
Avoid resetting FrozenActor.Hidden when refreshing GPS.
2019-02-22 20:53:39 +01:00
Paul Chote
bf9d06cb12
Reuse GPSDotEffect for the lifetime of the actor.
2019-02-22 20:40:23 +01:00
Ivaylo Draganov
3b6249323d
Reorder stance hotkeys in settings to match command bar
2019-02-22 14:45:13 +01:00
abcdefg30
7c2f8ef918
Update the description of EnemyWatcher and AnnounceOnSeen
2019-02-22 14:32:16 +01: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
Paul Chote
72c90d84a8
Fix editor crash when modifying newly placed actor ID.
2019-02-21 16:22:32 +01:00
Oliver Brakmann
6841da286c
Fix pre-placed frozen actors not being targetable
2019-02-20 16:31:13 +00:00
teinarss
be741cea5e
Prevent multiple enumeration of validCells in SpawnMPUnits
2019-02-18 19:35:33 +01:00
Maarten
f91d3f2603
Clarify mission objectives #16169
2019-02-15 15:30:43 +01:00
portablestew
a49287cc97
Possible fix for #14102 : Consider airfield available if already reserved for the same actor
2019-02-15 13:59:53 +01:00
Paul Chote
f9cf45e634
Cache passenger bounty traits.
...
This avoids querying from potentially dead actors.
2019-02-09 19:46:46 +01:00
Paul Chote
49621bebd0
Abort activities when we don't know how close to move to a target.
2019-02-09 19:20:10 +01:00
portablestew
2d4bad66ae
Fix for #7083 : Fly stops turning when target is inside the turn radius
2019-02-08 19:38:01 +01:00
Paul Chote
95dc9cb1d2
Defer UpdateFrozenActor until the end of the tick.
...
Updating the frozen actor calls Actor.GetTargetablePositions,
and so we must guarantee that Created has been called for
the ITargetablePositions traits first.
2019-02-07 19:50:50 +00:00
Oliver Brakmann
0ee9219df3
Fix unresponsive aircraft when executing orders queued during resupply
2019-02-06 18:01:51 +00:00
reaperrr
297be6d6cc
Normalize RA tracks
2019-02-03 20:46:39 +01:00
reaperrr
6ff41fe894
Normalize TD track volumes and fix order
...
Some tracks from the original were falsely listed under CovOps.
2019-02-03 20:46:39 +01:00
abcdefg30
25a4d156ce
Let the extraction helicopter of Monster Tank Madness leave
2019-02-03 19:32:51 +00:00
Paul Chote
2b6ebcd09c
Fix inconsistent FrozenActor state on capture/destruction.
2019-02-03 20:21:51 +01:00
Paul Chote
08e3e429db
Remove obsolete LegacyEnter and ResolveFrozenActorOrder.
2019-02-03 20:21:51 +01:00
Paul Chote
42068f380e
Remove ResolveFrozenActorOrder from MadTank.
2019-02-03 20:21:51 +01:00
Paul Chote
6ed2654038
Remove ResolveFrozenActorOrder from EntersTunnels.
2019-02-03 20:21:51 +01:00
Paul Chote
240c2243f2
Remove ResolveFrozenActorOrder from Carryall.
2019-02-03 20:21:51 +01:00
Paul Chote
71dd3202c3
Port EnterTransport to the new Enter activity.
...
This dramatically simplifies the reservation logic,
which seemed to be needlessly complicated. This may
regress unexpected edge-cases.
2019-02-03 20:21:51 +01:00
Paul Chote
d6b7d5c4c7
Port DonateExperience to the new Enter activity.
2019-02-03 20:21:51 +01:00
Paul Chote
cc288f5afc
Port DonateCash to the new Enter activity.
2019-02-03 20:21:51 +01:00
Paul Chote
4551625bb4
Port RepairBridge to the new Enter activity.
2019-02-03 20:21:51 +01:00
Paul Chote
49e3c46d00
Port RepairBuilding to the new Enter activity.
2019-02-03 20:21:51 +01:00
Paul Chote
167371d540
Port Demolish to the new Enter activity.
2019-02-03 20:21:51 +01:00
Paul Chote
a17608a24e
Port Infiltrate to the new Enter activity.
2019-02-03 20:21:51 +01:00
Paul Chote
e9c3216048
Port CaptureActor to the new Enter activity.
2019-02-03 20:21:51 +01:00
Paul Chote
c1e8bbfc58
Rewrite Enter activity, accounting for frozen and hidden actors.
2019-02-03 20:21:51 +01:00
Paul Chote
d2274f4285
Rewrite Mobile.MoveIntoTarget to support moving targets.
2019-02-03 20:21:51 +01:00
Paul Chote
1f7b558b29
Rename Enter to LegacyEnter.
2019-02-03 20:21:51 +01:00
Paul Chote
83212b100e
Pause actor movement between cells when Mobile is disabled.
2019-02-03 20:21:51 +01:00
Paul Chote
c8f05e90dc
Fix turn disabling mobile.IsMoving when setIsMoving is false.
2019-02-03 20:21:51 +01:00
Paul Chote
5995915281
Fix Positions returned by FrozenActor targets.
...
Also removes redundant Targetables check from actors.
2019-02-03 20:21:51 +01:00
reaperrr
31f4b0a5c4
Fix D2k bots wasting cash on building repairs
...
D2k bots not repairing buildings when damaged due to placement
without concrete was intentional, and this was bleed's default behavior
before BuildingRepairBotModule got introduced, too.
2019-02-03 18:24:15 +01:00
Paul Chote
f8991470da
Disable OpportunityFire on Disruptors.
...
The original game defined NoMovingFire=true.
2019-02-03 18:07:02 +01:00
Paul Chote
c26e77552e
Allow turreted actors to acquire targets while doing other activities.
2019-02-03 18:07:02 +01:00
Paul Chote
012b17b974
Implement a secondary target-of-opportunity for AttackFollow.
2019-02-03 18:07:02 +01:00
Smittytron
1830b3ee80
Add e6 and thf to Monster Tank Madness
2019-02-03 17:05:54 +01:00
Paul Chote
2194f17dc2
Fix double-revoke crash in Demolishable.
2019-02-03 16:38:04 +01:00
Paul Chote
0a57fbda3c
Prefer target to lastVisible target if it is visible.
2019-02-03 16:32:25 +01:00
matjaeck
b466b5d660
Reset unit stance on owner change.
2019-02-03 16:20:24 +01:00
Paul Chote
fd013ad9d0
Remove unnecessary trait queries from HarvesterBotModule
2019-02-03 15:54:07 +01:00
reaperrr
4da2d32bc5
Fix that bots don't re-use capturers
...
They were never removed from activeCapturers when their target becomes invalid,
preventing the bot from reusing them.
2019-02-03 12:12:34 +00:00
reaperrr
32a3caf423
Fix CaptureManagerBotModule crashing on multiple Capturable
...
By removing the now-redundant CaptureTarget class.
2019-02-03 12:12:34 +00:00
Oliver Brakmann
3093f67427
Consider dead aircraft to no longer be in range
2019-02-03 11:31:44 +00:00
tovl
ee19cb61b4
add check for NextActivity to FlyCircle
...
prevent infinite loop
fix for ReturnToBase
cleanup
2019-02-03 11:24:19 +00:00
Paul Chote
b71c080285
Add VolumeModifier support to music.
2019-02-02 22:32:29 +01:00
Paul Chote
810aa744bf
Remove AttackSuicides trait.
2019-02-01 23:18:18 +00:00
Paul Chote
24a491a7d7
Implement Hunter-Seeker kill behaviour.
2019-02-01 23:18:18 +00:00
Paul Chote
d750db26b7
Replace AttackSuicides with AttackFrontal and conditions in RA.
2019-02-01 23:18:18 +00:00
Paul Chote
0464a0db58
Remove unused negativeDamage variable from AttackBase.
2019-02-01 23:18:18 +00:00
Smittytron
f1f040a361
Reduce thief speed and engineer CaptureDelay
2019-02-01 22:42:36 +01:00
Paul Chote
cbb9b75144
Enable "campaign" bot for all scripted players in D2k missions.
2019-02-01 20:59:19 +01:00
Paul Chote
61acb905cd
Enable "campaign" bot for all scripted players in TD missions.
2019-02-01 20:59:19 +01:00
Paul Chote
73b42e452d
Enable "campaign" bot for all scripted players in RA missions.
2019-02-01 20:59:19 +01:00
Paul Chote
9c9cad1a15
Amend Force Attack command bar tooltip.
2019-01-28 00:14:27 +01:00
Paul Chote
2d9822638f
Enable ForceFireIgnoresActors on artillery-style units.
2019-01-28 00:14:27 +01:00
Paul Chote
ab6dd3dcf2
Add ForceFireIgnoresActors to AttackBase.
2019-01-28 00:14:27 +01:00
Paul Chote
a2e35144a7
Fix gate animations.
2019-01-27 21:37:55 +01:00
Paul Chote
d6d1f3a06d
Fix FrozenUnderFog / FrozenActor visibility consistency.
...
This fixes cases where both objects return visible / not
when queried at the wrong time during a tick.
2019-01-27 15:21:13 +01:00
Paul Chote
dc40a973e3
Allow attack orders to preempt move completion for turreted units.
2019-01-27 15:21:13 +01:00
Paul Chote
518a54a494
Reduce cash tick volume in the default mods.
2019-01-27 15:05:27 +01:00
Paul Chote
cbe3733deb
Add VolumeModifier support to sound definitions.
2019-01-27 15:05:27 +01:00
Paul Chote
70f4c51a17
Add AttackMove workaround for Aircraft.
2019-01-27 00:19:50 +00:00
Paul Chote
60fcf5951c
Fix target invalidation and reacquisition in fly activities.
2019-01-26 22:53:46 +00:00
Paul Chote
8efa0da54d
Fix target invalidation and reacquisition in (Fly|Heli)Attack.
2019-01-26 22:53:46 +00:00
Paul Chote
0bfc487999
Fix target invalidation and reacquisition in AttackFollow.
2019-01-26 22:53:46 +00:00
Paul Chote
5ef7809002
Fix target invalidation and reacquisition in LeapAttack.
2019-01-26 22:53:46 +00:00
Paul Chote
7c52a6f498
Fix target invalidation and reacquisition in Attack.
2019-01-26 22:53:46 +00:00
Paul Chote
616b6c8499
Fix target invalidation and reacquisition in Follow.
2019-01-26 22:53:46 +00:00
Paul Chote
975821023d
Fix target invalidation and reacquisition in MoveAdjacentTo.
2019-01-26 22:53:46 +00:00
Paul Chote
d03c5b1c48
Split Target.Recalculate into methods with and without invalidation.
...
TargetExtensions is moved into its own file.
2019-01-26 22:53:46 +00:00
Paul Chote
2080c72ab9
Define plumbing to pass initial target positions to inner move activities.
2019-01-26 22:53:46 +00:00
Paul Chote
b2d960ec19
Pass target line color to inner move activities.
2019-01-26 22:53:46 +00:00
Paul Chote
62102b9f77
Add support for Terrain targets with multiple positions.
2019-01-26 22:53:46 +00:00
Paul Chote
fbb1947624
Make Target fields readonly.
2019-01-26 22:53:46 +00:00
Paul Chote
c627a59b54
Fix self parameter name in DrawLineToTarget.
2019-01-26 22:53:46 +00:00
Paul Chote
7d85c1e81f
Remove FrameEndTask from DrawLineToTarget.
...
This is no longer needed and causes ordering
issues when the unit becomes idle in the same
tick that SetTargetLine is called.
2019-01-26 22:53:46 +00:00
abcdefg30
2c6c2c00b4
Change the year number in README.md from 2018 to 2019
2019-01-26 23:15:21 +01:00
abcdefg30
4a9b00d3e7
Update the year numbers in the packaging section to 2019
2019-01-26 23:15:21 +01:00
abcdefg30
6151443618
Update CreateManPage.cs to print the new header
2019-01-26 23:15:21 +01:00
abcdefg30
12f278cdac
Remove trailing white spaces from ant-attack.lua
2019-01-26 23:15:21 +01:00
abcdefg30
03e0fb6986
Add a header to ant-attack.lua
2019-01-26 23:15:21 +01:00
abcdefg30
8b9603168a
Change the year number in all lua headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Paul Chote
628547a8e5
Fix source package creation.
2019-01-26 23:07:20 +01:00
Paul Chote
9025d11c54
Map Ctrl to Cmd for editor copy hotkey.
2019-01-26 21:46:46 +00:00
rob-v
de851fba2c
Add shortcut for Copy in Map editor
2019-01-26 21:46:46 +00:00
Paul Chote
a545b2e5fa
Deselect actors when their owner changes.
2019-01-26 21:40:31 +00:00
Paul Chote
0df159e73b
Cache world INotifySelection traits in Selection.
2019-01-26 21:40:31 +00:00
Paul Chote
64c853a4e0
Only play queued notification if queue is empty.
...
This matches the behaviour of the RA2 sidebar.
2019-01-26 21:36:45 +00:00
Paul Chote
8d276ff9de
Replace broken (Disabled)TabClick and with (Disabled)ClickSound.
2019-01-26 21:36:45 +00:00
Paul Chote
635038aa0b
Disable bot logic during replays.
2019-01-26 21:33:47 +00:00
abcdefg30
531560c41e
Allies03b: Fix the insertion helicopter revealing shroud
2019-01-26 21:29:04 +00:00
abcdefg30
e637b45cab
Allies03: Remove hacke6
2019-01-26 21:29:04 +00:00
abcdefg30
c9c4d15b1e
Allies03b: Fix heavy tank reinforcements triggering twice
2019-01-26 21:29:04 +00:00
abcdefg30
ff0521e5c8
Allies01: Remove redundance (caused by inheritance)
2019-01-26 21:29:04 +00:00
abcdefg30
c0b1225edc
Allies01: Add a new line at the end of the briefing
2019-01-26 21:29:04 +00:00
abcdefg30
41dc9c7ca3
Allies01: Fix civilian infantry being visible below fog
2019-01-26 21:29:04 +00:00
abcdefg30
43a6558ac6
Allies01: Fix the extraction helicopter revealing shroud
2019-01-26 21:29:04 +00:00
abcdefg30
76b05c0c0d
Allies01: Fix the extraction helicopter landing before being removed
2019-01-26 21:29:04 +00:00
abcdefg30
3e93242929
Fix OnAllRemovedFromWorld only triggering once
2019-01-22 23:09:21 +00:00
Paul Chote
d379555784
Remove Game.Debug messages from ValidateOrder.
2019-01-22 22:59:37 +00:00
rob-v
a2c6b19205
No player name in replay for chat commands
2019-01-22 22:57:11 +00:00
abcdefg30
428155c093
Fix LeapAttack setting attack.IsAiming too early
2019-01-22 22:52:43 +00:00
abcdefg30
3039b1d710
Reset the client state when being moved to spectator
2019-01-22 22:47:39 +00:00
abcdefg30
e08b75c2ad
Only consider system maps in the mission browser
2019-01-19 18:47:29 +00:00
abcdefg30
717b483ce7
Use map folder names instead of paths in the mission browser
2019-01-19 18:47:29 +00:00
rob-v
9ed2ffea91
Fix Warhead.IsValidAgainst (FrozenActor.Owner null)
2019-01-19 12:03:15 +00:00
abcdefg30
7eff82c99b
Move Actor103 in Allies02 one cell to the right
...
He was standing on impassable terrain and therefore couldn't move.
2019-01-19 11:56:22 +00:00
abcdefg30
30e3b45637
Let the remaing enemy troops in Allies02 attack the player
...
once the base is destroyed.
Does not include unit guarding the convoy path.
2019-01-19 11:56:22 +00:00
Smittytron
da40f45ece
Add IsDead check to fix crash in Sarin Gas 1
2019-01-19 11:45:31 +00:00
abcdefg30
9c7ba51e29
Fix a crash in Infiltration
2019-01-19 11:27:15 +00:00
Smittytron
98e54edf04
Change tree husks from FrozenUnderFog to HiddenUnderShroud
2019-01-19 11:16:12 +00:00
Paul Chote
b1e87e4f60
Remove System.Bitmap from ITexture.
2019-01-08 21:20:06 +00:00
Paul Chote
84e965835b
Remove System.Bitmap from badge and mod icons.
2019-01-08 21:20:06 +00:00
Paul Chote
f65a777366
Remove System.Bitmap from map preview loading.
2019-01-08 21:20:06 +00:00
Paul Chote
4f10d4a302
Remove System.Bitmap from UI artwork loading.
2019-01-08 21:20:06 +00:00
Paul Chote
52be0192f6
Add RGBA support to png parser.
2019-01-08 21:20:06 +00:00
Paul Chote
49b04221b2
Add palette checks for png sprites.
2019-01-08 21:20:06 +00:00
Paul Chote
d2ee9bcad9
Move Png loader back to OpenRA.Game.
2019-01-08 21:20:06 +00:00
Smittytron
05b866a87a
Change LST turn speed to default max
2019-01-07 12:37:00 +01:00
Oliver Brakmann
c2cf8ba599
Add an interface to prevent actors from being spawned by SpawnMapActors
2019-01-07 10:13:50 +00:00
Mustafa Alperen Seki
df1d928242
Hide husks under fog regardless of their owner.
2019-01-06 22:12:04 +01:00
Paul Chote
6de92de8d9
Revert macOS dark mode (again).
...
The updated GL surface appears to have regressed vsync behaviour.
2019-01-06 08:33:11 +00:00
reaperrr
b05d246c48
Add BotDebug message for external unit build requests
...
For easier bot debugging of things like MCV- and harvester replacement.
2019-01-06 08:39:45 +01:00
reaperrr
3a1656c3dd
Remove unused BuildUnit overload from UnitBuilderBotModule
...
Unused and didn't check things like Buildable, so better just remove it.
2019-01-06 08:39:45 +01:00
reaperrr
b2649749d9
Enable harvester replacement in official mods
2019-01-06 08:39:45 +01:00
reaperrr
137d3be346
Add plumbing for bots auto-replacing harvesters
...
If their number drops below refinery count.
2019-01-06 08:39:45 +01:00
reaperrr
e36ef57e35
Increase default scan interval for idle bot harvesters
...
Every 2 seconds (at default speed) should be enough.
2019-01-06 08:39:45 +01:00
reaperrr
481e5e03d8
Make bots deploy MCV on first tick
...
And use a boolean instead of counting ticks.
2019-01-06 08:39:45 +01:00
Paul Chote
4d3db0d454
Fix invalid target crash if Leap target dies.
2019-01-05 23:59:25 +01:00
Paul Chote
01f5c67036
Fix spectator crash if replay does not define FinalGameTick.
2019-01-05 23:56:21 +01:00
Paul Chote
f929087d15
Fix artwork when leaping.
2019-01-05 19:54:38 +01:00
Paul Chote
ae38133c9f
Use the CenterPosition as the starting position.
2019-01-05 19:54:38 +01:00
Paul Chote
0c7158efcd
Calculate Leap state on first run instead of construct.
2019-01-05 19:54:38 +01:00
abcdefg30
6b9a2a3c29
Reduce the range of DogJaw from 3c0 to 2c0
2019-01-05 18:28:57 +00:00
Paul Chote
f5d788f4fc
Prevent unit requests from stacking during production.
2019-01-04 21:14:20 +00:00
Ivaylo Draganov
caead311cb
Add hotkey for Army value statistics panel
2019-01-04 21:12:06 +00:00
Ivaylo Draganov
f26905f5d0
Rearrange default observer hotkeys
...
* Move replay speed hotkeys to `F9 - F12`
* Set `F5` as default for `StatisticsGraph`
2019-01-04 21:12:06 +00:00
rob-v
a77d2f15b1
Map Editor - Copy filter
2019-01-03 20:32:10 +01:00
Paul Chote
5a8f7f1a5f
Increase squad calculation intervals.
...
These were unnecessarily short, increasing the
AI performance overhead, and making it difficult
for units to escape concave terrain features.
2019-01-03 02:04:08 +01:00
Paul Chote
3d9e877eb2
Disable rush attacks against enemy aircraft.
2019-01-03 02:04:08 +01:00
Paul Chote
8a6a68feef
Unify Squad enemy unit filtering.
2019-01-03 02:04:08 +01:00
Paul Chote
6fc291a634
Disable target recalculation for bots.
...
This fixes bot-controlled units freezing when they
lock on to units that aren't visible.
2019-01-03 02:04:08 +01:00
Mustafa Alperen Seki
4578ea09ba
Add DamageTypes to Capture Sabotage
2019-01-02 20:04:06 +01:00
Mustafa Alperen Seki
baac3f3ee9
Remove C17 from map editor.
2019-01-02 19:57:24 +01:00
Mustafa Alperen Seki
816cb2cdc2
Remove duplicate D2k starport actors from map editor.
2019-01-02 19:57:24 +01:00
Mustafa Alperen Seki
0c540cd41e
Remove actors with AttackBomber trait from map editor.
2019-01-02 19:57:24 +01:00
Mustafa Alperen Seki
6b4ba96e34
Remove aircraft husks from map editor actor list.
2019-01-02 19:57:24 +01:00
Mustafa Alperen Seki
b0188cc476
Remove Buildable traits from A10 and C17.
...
Leftover from upgrade rule that move description from Tooltip to
Buildable.
2019-01-02 19:57:24 +01:00
Mustafa Alperen Seki
eaa9b49793
Add Stance Support to GrantExternalConditionPower.
2019-01-01 23:05:56 +01:00
Paul Chote
d7c54d74ad
Evaluate smooth scrolling per-frame instead of per-tick.
2019-01-01 21:52:13 +01:00
Clément Bœsch
bb5e0eafba
Observer: display army value in a new dedicated graph tab
2019-01-01 18:25:44 +00:00
Clément Bœsch
11b064a333
Observer: display army value in stats widget
2019-01-01 18:25:44 +00:00
Clément Bœsch
501c029579
TS: set UpdatesPlayerStatistics.AddToArmyValue where appropriate
2019-01-01 18:25:44 +00:00
Clément Bœsch
7cde528969
D2K: set UpdatesPlayerStatistics.AddToArmyValue where appropriate
2019-01-01 18:25:44 +00:00
Clément Bœsch
a162cdda41
CNC: set UpdatesPlayerStatistics.AddToArmyValue where appropriate
2019-01-01 18:25:44 +00:00
Clément Bœsch
3aedeefced
RA: set UpdatesPlayerStatistics.AddToArmyValue where appropriate
2019-01-01 18:25:44 +00:00
Clément Bœsch
3ec2f23109
Add Army value to player statistics
...
To be accounted as army, the unit needs to have
UpdatesPlayerStatistics.AddToArmyValue to true (false by default)
2019-01-01 18:25:44 +00:00
Paul Chote
4d56ecb3a8
Remove unused MaximumDefenseRadius parameter.
2019-01-01 12:43:10 +01:00
Paul Chote
e23b6f8a9d
Fix screenshot pixel opacity.
2019-01-01 11:28:05 +00:00
rob-v
8c94f262b6
Map Editor - Tiles' filters multiple selection
2019-01-01 11:25:31 +00:00
rob-v
f18d874524
CommonSelectorLogic for ActorSelectorLogic and TileSelectionLogic
2019-01-01 11:25:31 +00:00
reaperrr
63f76fc277
Exclude dogs from bot squads in RA
...
This prevents bots from using their up-to-4 dogs in attacks.
Bots aren't good at using them effectively, so they're better as passive defense
against infantry attacks or spies/engineers sent by human players (and maybe later bots, too).
2018-12-31 16:15:03 +00:00
reaperrr
7ccfe0d2e7
Move up GrantConditionOnBotOwner in AI yamls
...
Right below the bot traits is better for readability than between modules.
2018-12-31 16:15:03 +00:00
Paul Chote
59f2f5669f
Change UpdateRules to account for 20181215 hotfix
2018-12-31 14:22:49 +01:00
reaperrr
d179f6eaae
HackyAI dissolve update rule and yaml updates
2018-12-31 10:56:01 +00:00
reaperrr
54c2894b4e
Split off last bot modules
...
And dissolve AI namespace.
There would have been so little left in Common.AI,
that keeping it made no sense anymore.
2018-12-31 10:56:01 +00:00
Paul Chote
b74ff33039
Revert "Fix QuantizeFacing returning values >= numFacings."
...
This reverts commit f35ee8c303 .
2018-12-31 00:01:03 +00:00
Paul Chote
cc004b3546
Fix compatibility with macOS's dark mode.
2018-12-30 23:57:06 +00:00
Smittytron
1facff6ab1
Override Bio Lab construction options in campain-rules.yaml
2018-12-30 21:54:27 +01:00
Smittytron
d751c055b5
Add Counterstrike mission Sarin Gas 1: Crackdown
2018-12-30 21:54:27 +01:00
Dylan Manitta
f5d12bfde1
Add ant mission 1
2018-12-30 21:20:56 +01:00
abcdefg30
0ff4e466ee
Refactor Leap attack logic
2018-12-29 19:21:54 +01:00
abcdefg30
9c4cb9091e
Change the setter of AttackBase.IsAiming to be public
2018-12-29 19:21:54 +01:00
abcdefg30
8689030f79
Add GrantConditionWhileAiming
2018-12-29 19:21:54 +01:00
dtluna
7608922ff0
Add Nod 10a mission
2018-12-27 21:09:14 +01:00
dtluna
809f57e48d
Add Nod 10b mission
2018-12-27 19:22:37 +01:00
Smittytron
a0089d97e6
Fix typo in CrateSpawner
2018-12-27 04:11:54 +01:00
Mustafa Alperen Seki
00faccdecc
Fix LandOnCondition causing stopping after changing altitude.
2018-12-26 17:44:45 +01:00
Paul Chote
2a2ad71db9
Add GUI checkbox for Debug.StrictActivityChecking.
2018-12-26 17:33:55 +01:00
Paul Chote
4dea39fffe
Reorder and document advanced settings.
2018-12-26 17:33:55 +01:00
Paul Chote
69105180eb
Hide developer-only settings behind a hidden setting.
2018-12-26 17:33:55 +01:00
Paul Chote
601990aa27
Add setting to check BotModule sync.
2018-12-26 17:33:55 +01:00
Paul Chote
83e44bee66
Rework and rename Sync.CheckSyncUnchanged
2018-12-26 17:33:55 +01:00
Paul Chote
b41c178cb9
Revert "Units that have turrets while deployed now move their turrets back to their initial positions before undeploying"
...
This reverts commit d34bea2935 .
2018-12-26 16:35:26 +01:00
Unknown
7184f5f97e
Fix QueryRemoteMapDetails multi-map status updates
2018-12-25 11:14:48 +13:00
Mustafa Alperen Seki
a2ac95d140
Add facing support to Gravity Bomb.
2018-12-24 20:58:55 +01:00
Jeremy
85a97998aa
Added final game tick to replay meta data for completion percentage on replay.
2018-12-24 20:51:03 +01:00
Mustafa Alperen Seki
863091d5cc
Make Concrete under buildings indestructible.
2018-12-24 13:48:19 +01:00
reaperrr
be310ab6a6
Streamline resource anim traits
...
- Replaces WithSiloAnimation with
WithResourceLevelSpriteBody.
PlayFetchIndex on a With*Animation trait conflicts
with the animation concept, as it's bound to conflict
with pretty much all 'normal' animation traits and
blocks progress on the animation priority system.
We also already have multiple similar SpriteBody traits,
like WithGateSpriteBody and WithWallSpriteBody.
- Rename WithResources to WithResourceLevelOverlay
Make name more accurate and consistent with sprite body
equivalent.
Also fix TS silo yaml setup (bleed setup stems from times
before WithResources was introduced).
2018-12-24 21:29:42 +13:00
reaperrr
305d82f887
Replace WithChargeAnimation with -SpriteBody
...
PlayFetchIndex on a With*Animation trait conflicts with the animation
concept, as it's bound to conflict with pretty much all 'normal'
animation traits and blocks progress on the animation priority system.
We also already have multiple precedent SpriteBody traits of similar kind,
like WithGateSpriteBody and WithWallSpriteBody.
2018-12-24 21:29:42 +13:00
Chris Forbes
e292e88bff
Improve RenderShroudCircle configuration.
2018-12-24 01:57:11 +01:00
Oliver Brakmann
680ffffff2
Cache some more strings in GameInfoStatsLogic
2018-12-24 00:55:09 +01:00
Oliver Brakmann
3507167e79
Fix player score not updating while game info screen is visible
2018-12-24 00:55:09 +01:00
David Wilson
bbc83c1799
Rate limits for notification sounds
2018-12-24 12:18:52 +13:00
Paul Chote
9b3ddee517
Fix QuantizeFacing returning values >= numFacings.
2018-12-24 00:00:06 +01:00
Oliver Brakmann
e5f34a99ac
Fix Lint test failures in Allies08b
2018-12-24 11:06:17 +13:00
Paul Chote
3817c7b96f
Change existing husks to neutral when owner loses.
2018-12-23 22:14:56 +01:00
Smittytron
65269f7950
Add Allies08b
2018-12-23 21:59:14 +01:00
reaperrr
7ed67338f3
Allow forcing sprite body Z position to ground
2018-12-23 17:16:06 +13:00
Paul Chote
5efbcf19f2
Fix cell-out-of-bounds crashes in BuildableTerrainLayer.
2018-12-22 21:15:09 +01:00
reaperrr
6db27b1839
Split off CaptureManagerBotModule
...
from HackyAI.
Note: This isn't used in any official mod right know,
and known to be bugged on bleed already.
2018-12-22 17:42:53 +01:00
Paul Chote
d823d38e8c
Fix "game is full" error when the game is not full.
...
Client.IsObserver is not valid to check until the
slot has been assigned.
2018-12-22 04:55:57 +01:00
Oliver Brakmann
e71a31925f
Require explicit implementation of INotifyObjectivesUpdated
2018-12-22 16:39:06 +13:00
Smittytron
d10d48c25f
RA balance changes for December 2018
2018-12-22 11:07:27 +13:00
reaperrr
9914848356
BaseBuilder- and BuildingRepairBotModule update rule
2018-12-19 21:50:54 +13:00
reaperrr
d46710d6ce
Fix bot module update rule setting wrong RequiresCondition
...
Yaml nodes are reference types, so caching this meant changes would be applied on all of them.
Additionally, only add HarvesterBotModule if at least one AI is actually using it.
2018-12-19 21:50:54 +13:00
reaperrr
04c34741c8
Extract BaseBuilderBotModule from HackyAI
2018-12-19 21:50:54 +13:00
Paul Chote
9f30e2ecb0
Add a --utility argument to the AppImages.
2018-12-17 22:34:37 +01:00
Paul Chote
224377f078
Track visibility modifiers on FrozenActors.
2018-12-17 22:19:26 +01:00
Paul Chote
5f79c31a57
Add AutoTarget support for FrozenActors.
2018-12-17 22:19:26 +01:00
Paul Chote
c34dd4b824
Allow Attack activities to target FrozenActors directly.
...
Removing the legacy FrozenActor to Actor workaround
fixes a number of long-standing bugs.
This also prevents units from losing their target when
it transforms into a different actor type.
2018-12-17 22:19:26 +01:00
Paul Chote
0406b89a96
Add Actor.ReplacedByActor to track transformations.
...
This isn't great conceptually, but has precedent
in the Generation number.
2018-12-17 22:19:26 +01:00
Paul Chote
2ac7e451b4
Remove AttackBase.IgnoresVisibility.
...
This was a workaround for D2K sandworms, which is
now implemented using a custom attack activity.
2018-12-17 22:19:26 +01:00
Paul Chote
8eeb6d68e7
Tweak FrozenActorLayer queries:
...
- FrozenActorsInRegion now filters for valid and (optionally) visible FAs
- Add new FrozenActorsInCircle to mirror World.FindActorsInCircle.
The first change means that SupportPowerDecision now correctly ignores
FrozenActors that the AI has not discovered.
2018-12-17 22:19:26 +01:00
Paul Chote
3e490e5843
Cache FrozenActorLayer on the Player object.
...
This avoids unnecessary trait queries.
2018-12-17 22:19:26 +01:00
Andre Mohren
f238e2c5cc
Fixed filename
2018-12-17 10:28:54 +13:00
reaperrr
b048e9c77b
Fix two typos in TD music.yaml
...
One major (filename, track wouldn't show up) and one minor (titles should be all uppercase).
2018-12-16 18:19:40 +01:00
Paul Chote
98b80d44eb
Remove legacy workaround that crashes modern Mono.
2018-12-15 23:35:29 +01:00
Paul Chote
04359206ff
Remove long-broken setting to ignore version mismatches.
2018-12-15 23:30:36 +01:00
Paul Chote
b7317f2202
Add auth and sync report settings to dedicated server scripts.
2018-12-15 23:30:36 +01:00
Paul Chote
cc707f0037
Disable MP sync report generation by default.
...
A new Server.EnableSyncReports option is provided
so that server operators can restore them remotely
in the event of a future desync bug.
2018-12-15 23:30:36 +01:00
Paul Chote
081182b60f
Profile sync report generation separately.
2018-12-15 23:30:36 +01:00
Paul Chote
9cee77ed8c
Add hardcoded fallback mountpoints for asset detection on Linux.
2018-12-15 22:22:54 +01:00
abcdefg30
ee221f3e0d
Revert balance changes to civilian buildings for the campaign missions
2018-12-10 10:01:31 +13:00
abcdefg30
48360bad8b
Use the tooltips from the original game for MISS and FCOM
2018-12-10 10:01:31 +13:00
abcdefg30
fe05dad670
Disable inaccurate tooltip descriptions in the campaign missions
2018-12-10 10:01:31 +13:00
Paul Chote
ea9f12ffbc
Simplify and fix panel positioning at different zooms.
2018-12-08 22:53:13 +01:00
Paul Chote
4723e5ddb9
Expose common actor Inits in the map editor.
2018-12-08 22:53:13 +01:00
Paul Chote
f6768fe624
Remove legacy editor actor properties plumbing.
2018-12-08 22:53:13 +01:00
Paul Chote
1d98b8b8f0
Fix damagestates in the map editor.
2018-12-08 22:53:13 +01:00
Paul Chote
07fc67f58d
Remove obsolete and unused PreventsTeleport method.
2018-12-08 22:34:44 +01:00
Paul Chote
38f341ac1d
Allow MadTank Detonate order to be queued.
2018-12-08 22:34:44 +01:00
Ivaylo Draganov
9be7298311
Remove airstrike/paradrop beacon when the whole squad is shot down
2018-12-08 22:30:17 +01:00
Paul Chote
13f5ef50b9
Fix production tooltip padding.
2018-12-08 15:32:58 +01:00
Paul Chote
3e7caa2faa
Fix Commando/Tanya build announcements.
2018-12-08 15:27:06 +01:00
Paul Chote
d9f8afdbe5
Add GrantExternalConditionToProduced trait.
2018-12-08 15:27:06 +01:00
Paul Chote
73198dc45a
Fix queued EnterTransport unload glitch.
2018-12-08 11:41:20 +01:00
Paul Chote
4b6853b433
Prevent multiple Transforms from triggering in the same tick.
...
This leads to actor duplication.
2018-12-08 11:34:49 +01:00
Smittytron
72923b9572
Merge Hijacker into Thief
2018-12-07 17:38:24 +03:00
Inq8
e6668bbb59
Improve Hind visibility
...
Recoloured the hind to a lighter shade to alleviate #15401
2018-12-06 18:09:23 +13:00
reaperrr
bdbc19376a
Fix bot module update rule NRE on overrides
...
We cannot reliably update overrides of base HackyAI definitions,
unless they (re-)define Type.
If they don't, we now instead just list their locations.
2018-12-05 09:29:13 +13:00
reaperrr
20ba45d467
Remove queueing HeliFlyCircle from AutoCarryall
2018-12-05 09:20:58 +13:00
reaperrr
ac3e601edf
Use INotifyIdle on Aircraft
...
For now only to trigger landing or circling.
2018-12-05 09:20:58 +13:00
reaperrr
d8220b390a
Add IdleTurnSpeed to Aircraft
...
Instead of hardcoding 1/3 of normal TurnSpeed on HeliFlyCircle.
2018-12-05 09:20:58 +13:00
reaperrr
1553a8a5cb
Fix empty activity tick when becoming idle
...
Activities usually don't do much more than cleanup on their last, 'null' tick.
That, combined with queued activities normally only starting to tick on the next tick,
would lead to visible 1-tick 'gaps' between movement activities.
Non-movement activities would suffer from the same problem,
only with different (presumably less noticable) symptoms.
Now we start ticking any activity that was queued from OnBecomingIdle
immediately, to avoid that issue.
2018-12-05 09:20:58 +13:00
reaperrr
87fa8a77c2
Make various D2k map deco require Neutral owner
...
And make worm require Creeps.
2018-12-05 09:07:30 +13:00
reaperrr
eaca8b6287
Make various RA map deco require Neutral owner
2018-12-05 09:07:30 +13:00
reaperrr
7c9856ded7
Make various TD map deco require Neutral owner
2018-12-05 09:07:30 +13:00
reaperrr
7503919659
Enforce Neutral owner for TS decorations
...
Fortunately, all official maps already adhered to that.
2018-12-05 09:07:30 +13:00
reaperrr
eb86160021
Remove CrateEffect in favor of using updated SpriteEffect
2018-12-05 09:04:29 +13:00
reaperrr
4de0d0fcb9
Replace LaunchEffect with updated SpriteEffect
2018-12-05 09:04:29 +13:00
reaperrr
c2d6b78b18
Add dynamic position support to SpriteEffect
...
This was the last missing 'puzzle piece' to replace some remaining spcial-case effects.
2018-12-05 09:04:29 +13:00
Paul Chote
6ac7f887c0
Fix a VS code style suggestion.
2018-11-26 19:46:05 +01:00
Paul Chote
9e85aefca8
Make the lobby teamchat selector match the in-game selector.
2018-11-26 19:46:05 +01:00
Oliver Brakmann
7454427b13
Fix FindResources aborting to early
2018-11-25 22:41:46 +00:00
Paul Chote
8a95241fd5
Change mechanics to repair ally-owned husks.
...
Now uses the goldwrench cursor and keeps the
original owner.
2018-11-25 19:20:28 +01:00
Paul Chote
89161b61ec
Remove neutral-owner workaround from RA husks.
2018-11-25 19:20:28 +01:00
Paul Chote
fac271245b
Add InfiltrateForTransform trait.
2018-11-25 19:20:28 +01:00
Paul Chote
66464a6164
Add cursor support to Infiltrates.
...
Also fixes targeting vs ally-owned actors.
2018-11-25 19:20:28 +01:00
Paul Chote
26363e5811
Remove references to buildings from infiltration Descs.
2018-11-25 19:20:28 +01:00
Paul Chote
7ddcc2e958
Remove the default notification from Infiltrates.
2018-11-25 19:20:28 +01:00
reaperrr
451a38338b
Convert AISupportPowerManager to module
2018-11-25 19:00:44 +01:00
netnazgul
c195699476
Implement a slider widget for volume control that returns an exponentially scaled value
2018-11-25 16:54:30 +01:00
Smittytron
9c08e430e2
Add myself to AUTHORS
2018-11-24 23:21:01 +01:00
Smittytron
32968e4f4b
Add Soviet08a
2018-11-24 23:21:01 +01:00
reaperrr
67cba65800
Fix bot module plumbing
...
Fixes the issues pointed out after the original harvester module was merged.
Also merges the update rules as discussed on IRC.
2018-11-24 11:05:37 +00:00
David Wilson
22bece2dc9
Add a basic actor properties panel to the editor.
2018-11-24 10:14:17 +00:00
abcdefg30
9b4db3468b
Fix CombatProperties not accounting for multiple AttackBase traits
2018-11-22 23:16:30 +00:00
Brenton Horne
2d4d6cdc1b
Fixing several ShellCheck warnings
2018-11-22 21:30:59 +00:00
Paul Chote
807a40c209
Remove IExplodeModifier interface.
2018-11-22 22:16:56 +01:00
Paul Chote
80842fd4b8
Add GrantConditionOnPlayerResources trait.
2018-11-22 22:16:56 +01:00
Paul Chote
3be008f592
Add EmptyCondition to Harvester.
2018-11-22 22:16:56 +01:00
Paul Chote
5f2cc5981d
Remove unused IExplodeModifier from Refinery.
2018-11-22 22:16:56 +01:00
reaperrr
10e51db236
Remove hardcoded mpspawn owner lint check
...
Use RequiresSpecificOwner to enforce the owner
that owns the world instead.
Require 'Neutral' in the official mods accordingly.
2018-11-21 22:29:55 +00:00
reaperrr
1eb573bcbc
Enforce required owner in map editor
...
It can easily happen that mappers forget to set the
current player to Neutral before placing more trees,
for example, so we force the editor to set a valid owner.
2018-11-21 22:29:55 +00:00
reaperrr
fcb09d069b
Add RequiresSpecificOwners trait
...
To enforce specific owners via Lint rules,
and possibly other means later.
This is for cases where accidentally setting an
unfitting owner via editor could cause issues.
Example: AI might try to attack Creeps-owned trees
and get stuck.
2018-11-21 22:29:55 +00:00
Oliver Brakmann
310b63150f
Check for player trait prereqs in ProximityCapturable
2018-11-21 22:12:07 +00:00
Andre Mohren
c3f4bc484d
Correctly handle Production traits disabled by condition.
2018-11-21 22:13:20 +01:00
Mustafa Alperen Seki
53032576e2
Update default mods for Heal WH full health check removal
2018-11-21 19:25:45 +01:00
Mustafa Alperen Seki
6a599e57f6
Remove check for full health for negative damage warheads
2018-11-21 19:25:45 +01:00
Andre Mohren
99de33bbe3
Added smudge chance.
2018-11-21 18:00:11 +01:00
TheChosenEvilOne
e01953afa3
Made Turreted PausableConditional
2018-11-21 17:32:53 +01:00
Paul Chote
1af9efe246
Avoid a crash if subjects is empty.
...
This can happen in the rare instance that the last
actor in the selection is killed in the same tick
that the OG is activated, and GetCursor is called
before the next tick cancels the OG.
2018-11-20 21:55:55 +01:00
teinarss
3b6024c086
Defer setting slot on client to completeConnection
2018-11-19 22:05:32 +00:00
reaperrr
b8d3c9f73a
Fix aircraft being repaired mid-air
...
Repairable was originally written for ground actors,
so it's both safer and much easier to just handle this in Aircraft directly.
2018-11-19 21:40:10 +00:00
reaperrr
560d7b4ee8
Fix Repairable crash
...
MoveAdjacentTo is a Mobile-only activity.
2018-11-19 21:40:10 +00:00
reaperrr
7d695f0c8f
Fix actors in ReturnFire stance following targets
...
On bleed, if AllowMovement is true actors with ReturnFire will actually follow the acquired target, unlike in Defend stance.
This is at least unintuitive, since ReturnFire is expected to be more passive than Defend.
2018-11-18 16:19:50 +01:00
teinarss
bc009634e5
Show team/spawn widget after admin transfer.
2018-11-18 14:47:10 +01:00
Paul Chote
ad4b4dc7f8
Remove unused tileset update/save code.
2018-11-18 14:11:11 +01:00
Andre Mohren
0fca984463
Implemented InfiniteBuildAfter.
2018-11-17 17:39:18 +00:00
Andre Mohren
89051d40e8
Remove utf8 BOM.
2018-11-17 17:23:22 +00:00
Andre Mohren
7323db1492
Unified copyright regions.
2018-11-17 17:23:22 +00:00
Andre Mohren
b1a44086a0
Removed unused using directives.
2018-11-17 17:23:22 +00:00
Ivaylo Draganov
db64dc82c3
Fix damaged-idle sequence of RA refinery
2018-11-16 21:33:23 +01:00
reaperrr
cd82382f68
Change CreateEffectWarhead to use World.LocalRandom
2018-11-11 19:50:16 +01:00
reaperrr
16e78b8ca8
Add LocalRandom to World
...
To - in the long term - reduce or remove Game.CosmeticRandom.
2018-11-11 19:50:16 +01:00
Mustafa Alperen Seki
becfc154c5
Add Creates/RevealsShroudMultiplier.
2018-11-10 12:14:14 +01:00
Mustafa Alperen Seki
4987d45f23
Fix a crash when protected properties are [Sync]ed.
2018-11-10 12:14:14 +01:00
Mustafa Alperen Seki
3224843d70
Add Demolition>(Force)TargetStances
2018-11-10 11:48:28 +01:00
TheChosenEvilOne
51ec97fb2c
Check for null in Turreted.StopAiming
2018-11-09 23:58:16 +01:00
reaperrr
74fa8752c9
Revert granting condition from HackyAI
...
In favor of using GrantConditionOnBotOwner.
Updated update rule and shipping mods accordingly.
2018-11-09 23:45:24 +01:00
reaperrr
4c9c8bf7fc
Remove unused HarvesterEnemyAvoidanceRadius
...
...from HackyAI. This removal either got lost during rebase,
or was simply forgotten to apply when partially rewriting HarvesterBotModule.
2018-11-07 11:01:21 +01:00
Paul Chote
2064dc7c30
Support non-int Enum types in the Lua API.
2018-11-04 18:32:33 +01:00
Chris Forbes
d653614e75
Replicate palette high bits into the low bits
...
Previously we didn't quite get the full range -- the most intense value we
could produce was 0xfc.
2018-11-04 15:06:50 +01:00
abcdefg30
ae0a0163cc
Fix DamagesConcreteWarhead crashing when a target becomes invalid
2018-11-04 10:49:29 +00:00
Ivaylo Draganov
31f2441709
Draw target lines for allied players and observers
2018-11-04 06:34:43 +01:00
reaperrr
927b6cd561
Convert AIHarvesterManager into *Module
2018-11-04 01:11:00 +01:00
reaperrr
04c69efc30
Prepare HackyAI for module support
...
- Split order handling to BotOrderManager
- Make HackyAI provide a condition
- Move BotDebug to AIUtils
2018-11-04 01:11:00 +01:00
reaperrr
71fb670def
Move InitialFacing to ^Helicopter default
...
In RA and TD mods.
2018-11-04 00:25:55 +01:00
reaperrr
92912c6c94
Add TurnToDock to Aircraft
...
Instead of hard-coding a turn before VTOLs
land/dock on resupplier.
2018-11-04 00:25:55 +01:00
reaperrr
e2227b9450
Make HeliReturnToBase use a landingProcedures list
...
Like ReturnToBase already does. Makes them easier to compare and later merge.
2018-11-04 00:25:55 +01:00
reaperrr
577fc1c409
Remove separate AircraftInfo caching from ReturnToBase
...
This extra info caching was overkill and most likely had zero effect on performance.
2018-11-04 00:25:55 +01:00
reaperrr
54d3656205
Move CalculateTurnRadius up in ReturnToBase
...
Just a slight readability improvement.
2018-11-04 00:25:55 +01:00
Mustafa Alperen Seki
a3d9822bb3
Update TD mod for Cloak>RequiresCondition to PauseOnCondition
2018-11-03 22:40:28 +00:00
Mustafa Alperen Seki
b1db79cce2
Update D2k mod for Cloak>RequiresCondition to PauseOnCondition
2018-11-03 22:40:28 +00:00
Mustafa Alperen Seki
faad2b8653
Update TS mod for Cloak>RequiresCondition to PauseOnCondition
2018-11-03 22:40:28 +00:00
Mustafa Alperen Seki
d9ecbb0351
Update RA mod for Cloak>RequiresCondition to PauseOnCondition
2018-11-03 22:40:28 +00:00
Mustafa Alperen Seki
dd39ab5b12
Add Update Rule to change Cloak>RequiresCondition to PauseOnCondition
2018-11-03 22:40:28 +00:00
Mustafa Alperen Seki
dd92ec4d02
Make Cloak PausableConditional
...
If disabled now it CloakDelay resets to InitialCloakDelay when
reenabled, if paused it continues with CloakDelay when resumed.
2018-11-03 22:40:28 +00:00
Ivaylo Draganov
a7279415dc
Allow player to add a "priority unit" to production queue
...
* If production is ordered by `Ctrl + Left Click` the item is added to the top of the stack after the currently produced item
* Works with `Shift` for priority queueing of 5 items
* This modifier is not taken into account for `ParallelProductionQueue` as it doesn't make sense in that context
2018-11-03 17:54:50 +01:00
Paul Chote
81d53a4f1a
Improve error message for children of removals.
2018-11-03 17:36:40 +01:00
Paul Chote
f05e3e871f
Fix crash when Inherits has child nodes.
2018-11-03 17:36:40 +01:00
abcdefg30
f968b169ad
Fix PrimaryBuilding changing the status of and from disabled queues
2018-11-03 17:30:05 +01:00
abcdefg30
272d9b99fd
Fix ProductionFromMapEdge blocking the base Created call.
2018-11-03 17:30:05 +01:00
abcdefg30
cde18221e6
Add Lua API support for actors with multiple Production traits.
2018-11-03 17:30:05 +01:00
abcdefg30
c0ee199ad1
Support multiple Production traits in WithProductionOverlay.
2018-11-03 17:30:05 +01:00
abcdefg30
a03abe78af
Ignore disabled production traits.
2018-11-03 17:30:05 +01:00
Paul Chote
4a4415c74b
Remove unnecessary caching of ProductionAirdropInfo.
2018-11-03 17:30:05 +01:00
abcdefg30
394e33dcc2
Improve ClonesProducedUnits logic:
...
- Supports multiple Production trait instances
- Clones the correct faction variant, if defined
2018-11-03 17:30:05 +01:00
Paul Chote
ea3731a7cc
Pass the original init dict to UnitProducedByOther.
2018-11-03 17:30:05 +01:00
abcdefg30
5e5183549c
Overhaul ProductionBar:
...
- Is now a conditional trait
- Now respects multiple Production trait instances
- ProductionType is now required
2018-11-03 17:30:05 +01:00
abcdefg30
7f255a17da
Revert "Add conyard.corrino"
...
This reverts commit a0d4a03530 .
2018-11-03 17:30:05 +01:00
Smittytron
557c87eecb
Remove unused waypoints from Soviet02a
2018-11-03 15:34:00 +01:00
Paul Chote
fc6ada38f4
Revoke WithMakeAnimation condition at the end of the tick.
...
This fixes traits becoming enabled for a tick
between the animation completing and the actor
being removed from the world.
2018-11-03 15:28:05 +01:00
Paul Chote
47a470e945
Remove legacy Building plumbing.
2018-11-03 15:09:14 +01:00
Paul Chote
e77aaa1a47
Remove (INotify)BuildComplete from Attack*
2018-11-03 15:09:14 +01:00
Paul Chote
e57087cb5b
Remove building lock from Production.
2018-11-03 15:09:14 +01:00
Paul Chote
7bc53dd266
Remove building lock from ToggleConditionOnOrder.
2018-11-03 15:09:14 +01:00
Paul Chote
94088d37a6
Remove building lock from Sellable.
2018-11-03 15:09:14 +01:00
Paul Chote
492bcdd9a7
Remove building lock from Transforms.
2018-11-03 15:09:14 +01:00
Paul Chote
18b84750aa
Reimplement demolition lock using conditions.
2018-11-03 15:09:14 +01:00
Paul Chote
0901a7d9de
Simplify FlashTarget.
...
Now defined in terms of a flash count, interval, and delay.
Broken FlashDuration parameter removed from Demolition.
2018-11-03 15:09:14 +01:00
Paul Chote
1b9f23eca0
Replace AnnounceOnBuild with VoiceAnnouncement.
2018-11-03 15:09:14 +01:00
Paul Chote
78a2d9aa23
Remove INotifyBuildComplete from ConyardChronoReturn.
2018-11-03 15:09:14 +01:00
Paul Chote
ae3bfb73a1
Fix LastChildMatching ignoring the includeRemovals argument.
2018-11-03 15:09:14 +01:00
Paul Chote
3d6b170ec3
Support multiple capture traits in order targeter and script plumbing.
2018-11-03 14:47:22 +01:00
Paul Chote
346e670563
Simplify type filtering in GivesCashOnCapture/TransformOnCapture.
2018-11-03 14:47:22 +01:00
Paul Chote
7e67ce0139
Pass CaptureTypes through the INotifyCapture interface.
...
Also make it require explicit implementation.
2018-11-03 14:47:22 +01:00
Paul Chote
4ea3e8382d
Work around a race condition between server join and auth validation.
2018-11-03 14:25:05 +01:00
reaperrr
e42094625d
Merge AttackPlane and AttackHeli into AttackAircraft
2018-11-03 11:37:23 +00:00
Taryn Hill
5899636e10
Fix SubCell indexing in Map.CenterOfSubCell and MapGrid.OffsetOfSubCell
2018-11-02 22:42:51 +00:00
reaperrr
8f1d8a67cc
Remove RearmBuildings from Aircraft and Minelayer
...
In favor of using Rearmable trait.
2018-11-02 22:28:08 +00:00
reaperrr
2485029452
Add Rearmable trait
2018-11-02 22:28:08 +00:00
reaperrr
139d5efba8
Remove RepairBuildings from Aircraft
...
Require them to use Repairable trait instead.
2018-11-02 22:28:08 +00:00
abcdefg30
ed7d12506d
Add an update rule for CarryableHarvester
2018-11-02 22:24:56 +00:00
abcdefg30
db58b35856
Further untangle (and - hopefully - fix) the afterLandActivity mess
2018-11-02 22:24:56 +00:00
abcdefg30
7e20bdd7ea
Introduce a new CarryableHarvester trait
2018-11-02 22:24:56 +00:00
Andre Mohren
89e3b62f61
Allow different color picker preview actors per faction.
2018-11-02 21:17:50 +00:00
Smittytron
8e00ddedc7
Move Moneycrate to campaign-rules.yaml
2018-11-01 19:06:51 +01:00
Paul Chote
95c5c683e3
Limit samplers to 8 in combined.frag.
...
The additional palette sampler wasn't accounted
for in the original PR.
2018-11-01 14:38:57 +01:00
reaperrr
a12bb54ded
Add overlooked entries to bleed update path
...
Those were forgotten to be added in their respective PR.
Not adding them at the bottom because
a) RenameCrateActionNotification was merged later than them
b) this might allow some open PRs to rebase without merge conflicts
2018-11-01 09:33:09 +00:00
Paul Chote
c05527c561
Add ARM architecture support to dependency configuration.
2018-11-01 04:21:20 +01:00
Mustafa Alperen Seki
5a0c1459b2
Add MPSpawnUnits>BaseActorOffset
2018-11-01 02:16:59 +01:00
abcdefg30
d46e47d16d
Fix target lines still being visible after an owner change
2018-11-01 02:09:36 +01:00
Andre Mohren
8b8a14e0b8
Proper usage of IHealthInfo.
2018-10-30 20:59:04 +00:00
Paul Chote
2ad8179672
Add PngSheetMetadata sprite metadata.
2018-10-28 20:55:40 +00:00
Paul Chote
6b7f1c6458
Use EmbeddedSpritePalette in D2k.
2018-10-28 20:55:40 +00:00
Paul Chote
eb61c45e14
Add EmbeddedSpritePalette sprite metadata.
2018-10-28 20:55:40 +00:00
Paul Chote
dee6d03626
Allow sprites to store custom metadata.
2018-10-28 20:55:40 +00:00
abcdefg30
0b89883012
Prevent ReturnToBase from causing a divide by zero crash
2018-10-28 18:54:32 +01:00
reaperrr
e05baf6ec7
Reduce RA helipad reload animation speed
...
Matching TD helipad.
2018-10-28 17:22:41 +00:00
Mustafa Alperen Seki
1a16ef3537
Add RenameCrateActionNotification to bleed update path
2018-10-28 11:21:49 +00:00
abcdefg30
9cbe7bc62d
Fix infantry getting stuck in the last attack frame
2018-10-28 02:13:18 +01:00
Andre Mohren
cc036cfd62
Implement AnnounceOnBuildInfo.OnlyToOwner
2018-10-27 15:21:33 +02:00
Mustafa Alperen Seki
98006d3870
Make CrateAction>Sound to play for everyone
2018-10-26 22:37:00 +01:00
Mustafa Alperen Seki
2dcd377aaf
Update main mods for CrateAction>Notification rename
2018-10-26 22:37:00 +01:00
Mustafa Alperen Seki
5f17f0b5b0
Add actual notification support for *CrateAction traits
2018-10-26 22:37:00 +01:00
Mustafa Alperen Seki
f066655bb7
Rename CrateAction>Notification to Sound
2018-10-26 22:37:00 +01:00
reaperrr
f18ce8cfda
Make HitShape mandatory for damaging actors and refactor warheads.
...
* Adds support for linking Armor traits to HitShapes.
* Adds spread support to TargetDamageWarhead
* Removes ring-damage support from HealthPercentageDamage
* Removes IsValidAgainst check from DoImpact(Actor victim...) overload
and instead lets warheads perform the check beforehand
(to avoid HitShape look-ups on invalid targets).
* Reduces duplication and improves readability of Warhead implementations
2018-10-26 22:03:34 +02:00
reaperrr
e2050dfdc9
Fix FindActorsOnCircle summary
...
The summary was not entirely correct:
Since FAOC simply adds the largest existing OuterRadius to the specified circle range, it's still possible (very likely, in fact) for this helper to return actors whose HitShape is entirely outside the specified range (*without* the added largest OuterRadius).
2018-10-26 22:03:34 +02:00
Smittytron
b815e80e99
Reorganize RA missions list
2018-10-24 15:32:50 +01:00
Mustafa Alperen Seki
f3cbc5f72b
Make CrateAction conditional.
2018-10-24 15:13:04 +01:00
Ectras
93977782a7
Updated Description for TerrainSpeeds
...
Added check for speed > 0
2018-10-18 18:45:51 +02:00
reaperrr
3e73357619
Remove IsIdle check from DrawLineToTarget.OnBecomingIdle
...
OnBecomingIdle is triggered when IsIdle becomes true, so this check is bogus.
2018-10-15 22:53:57 +02:00
reaperrr
422ba16ed9
Run TickIdle from inside Actor.Tick instead of World.Tick
...
Avoids calling ActorsWithTrait<INotifyIdle> every tick and allows caching all INotifyIdle traits at creation.
2018-10-15 22:53:57 +02:00
abcdefg30
cf4dc42c8f
Fix lint warnings in RA missions
2018-10-15 19:16:27 +02:00
abcdefg30
a6716e2c2d
Fix TS units not using the being-captured condition
2018-10-15 19:16:27 +02:00
abcdefg30
ed5bb1b1a1
Fix RA vehicles not using the being-captured condition
2018-10-15 19:16:27 +02:00
Paul Chote
a06cfb4004
Move TerrainRenderer to a mod-defined trait.
2018-10-13 18:16:56 +02:00
Inq8
fec9fe1ad4
Aircraft Takeoff & Landing Sounds (Fixed-Wing)
...
Added Takeoff & Landing sounds to planes.
Changed Aircraft Trait, TakeoffSounds & LandingSounds are now arrays & accept a list of sound files & it will randomly select one to play.
Changed/fixed take off & landing sounds to originate from the aircraft location, rather than play a global sound.
2018-10-12 14:29:53 +02:00
Smittytron
9cf8cba750
Touchup Allies08a errors
2018-10-10 01:01:06 +02:00
Mustafa Alperen Seki
9972d69c5d
Change capture Production lock back to exit lock
2018-10-08 22:00:39 +01:00
Mustafa Alperen Seki
faa35946b8
Make Exit Conditional
2018-10-08 22:00:39 +01:00
Mustafa Alperen Seki
47c4be9191
Update mods for LowPowerSlowdown to LowPowerModifier
2018-10-08 21:38:30 +01:00
Mustafa Alperen Seki
9bcb222a2d
Add Update rule for LPSlowdown to LPModifier
2018-10-08 21:38:30 +01:00
Mustafa Alperen Seki
5b00c12ca3
Change default value of LowPowerModifier to 100
2018-10-08 21:38:30 +01:00
Mustafa Alperen Seki
53304a0353
Change LowPowerSlowdown to LowPowerModifier
2018-10-08 21:38:30 +01:00
Smittytron
831ec0aeda
Add Allies08a
2018-10-07 20:02:46 +02:00
Paul Chote
e038b86742
Hook up make animation conditions for the default mods.
2018-10-07 19:29:34 +02:00
Paul Chote
14607f55c5
Replace INotifyBuildComplete in render traits with conditions.
2018-10-07 19:29:34 +02:00
abcdefg30
26b0a06a17
Remove a wrong empty line from ra/rules/player.yaml
2018-10-07 18:28:37 +01:00
Andre Mohren
450dc70375
Refactored cursors.yaml to use palettes from rules.
2018-10-07 19:28:11 +02:00
Noam
c71f97e2c6
Update editor sidebar when a player is removed.
2018-10-07 19:01:55 +02:00
abcdefg30
52900f8112
Correct the amount of money found in crates in allies03
2018-10-07 17:59:34 +01:00
Paul Chote
1abfaa94af
Remove unwanted overrides from allies-03*.
2018-10-07 18:46:21 +02:00
Paul Chote
769f9429f9
Stop vehicle movement when a hijacker is entering.
2018-10-07 18:46:21 +02:00
Paul Chote
de8fa56461
Remove obsolete building lock check from BaseProvider.
2018-10-07 18:46:21 +02:00
Paul Chote
22bd7fd90b
Remove obsolete code.
2018-10-07 18:46:21 +02:00
Paul Chote
b1b35c1e1b
Rework RA Engineer behaviour.
...
Capturing now behaves as in C&C3:KW - wait for 8 seconds
outside the structure before running inside and being disposed.
A "Reusable Engineer" lobby option is provided to restore
the previous non-disposing behaviour.
2018-10-07 18:46:21 +02:00
Paul Chote
ccad3bd185
Add MergeCaptureTraits update rule.
2018-10-07 18:46:21 +02:00
Paul Chote
a4405009c8
Add PreventsAutoTarget.
2018-10-07 18:46:21 +02:00
Paul Chote
132268bc49
Remove default building capture type.
2018-10-07 18:46:21 +02:00
Paul Chote
e50b0b193d
Disable sabotaging by default.
2018-10-07 18:46:21 +02:00
Paul Chote
db1f794beb
Fix captor being disposed if the capture fails.
2018-10-07 18:46:21 +02:00
Paul Chote
d97a2a5fa0
Remove legacy building lock calls.
...
This has been superseded by conditions.
2018-10-07 18:46:21 +02:00
Paul Chote
50423b13fb
Add ConsumedByCapture flag to emulate legacy external behaviour.
2018-10-07 18:46:21 +02:00
Paul Chote
4d2f1f8942
Add capture progress bars and blinking.
2018-10-07 18:46:21 +02:00
Paul Chote
bab34252dd
Add support for capture delays and conditions.
...
CaptureDelay is defined per-trait, and the shortest
delay will be used if multiple traits are enabled.
CapturingCondition and BeingCapturedCondition are
global, and are granted when any capture is in progress.
The capture period is defined from when the unit reaches
the cell next to the target, and either starts to wait
or enter the target through to when the capture succeeds
or fails.
2018-10-07 18:46:21 +02:00
Paul Chote
a53ef6e503
Add CaptureManager trait to fix multiple-trait interactions.
...
This fixes the various edge cases that occur when multiple
Captures or Capturable traits are defined on an actor and
are toggled using conditions.
The Sabotage threshold field moves from Capturable to
Captures in order to simplify the plumbing. The previous
behaviour ingame can be restored by creating a new
capturable type for each threshold level, each with their
own Captures trait.
2018-10-07 18:46:21 +02:00
Paul Chote
588a5d784f
Add IMove.EstimatedMoveDuration.
2018-10-07 18:46:21 +02:00
Paul Chote
3b16938ae5
Remove legacy building.Locked and building.BuildComplete from Gate.
2018-10-07 18:23:03 +02:00
BGluth
b88b84c05a
Units that have turrets while deployed now move their turrets back to their initial positions before undeploying
...
- Tested in TS with all deployable units and did a quick check for obvious issues in TD and RA.
2018-10-07 12:19:09 +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
Brenton Horne
38e8bed9c9
[INSTALL.md] Pkg lists->command; add extra distros
2018-10-06 23:48:36 +01:00
Paul Chote
eb0e2eeb9d
Fix misc indentation errors.
2018-10-06 23:32:38 +02:00
Mustafa Alperen Seki
416f529cb0
Make GPS dots use a bit darker remap colors.
2018-10-06 17:25:43 +01:00
SoScared
143951a409
polish sniper shp
2018-10-06 17:20:22 +01:00
Paul Chote
cc9da63323
Fix sampler index check
...
The index values are round numbers. Checking agaist
the half-values improves robustness against small
floating point delta errors that occur on some GPUs.
2018-10-06 15:10:43 +01:00
abcdefg30
01d340db09
Properly end capturing during an owner change
2018-10-06 14:59:33 +01:00
Mustafa Alperen Seki
f60b2275fc
Make WithBuildingPlacedAnimation not play during vortex
2018-10-06 13:31:47 +01:00
Mustafa Alperen Seki
536f5f05a8
Make WithBuildingPlacedAnimation conditional
2018-10-06 13:31:47 +01:00
reaperrr
dd3c600258
Fix WithLandingCraftAnimation compatibility with elevated terrain
2018-10-06 13:11:10 +01:00
Smittytron
a7de079a53
Remove redundant demolishable overrides from evacuation
2018-10-02 10:44:06 +02:00
teinarss
cfaf5a6467
Updated CPos struct to use a bit field for all properties.
2018-10-02 00:54:45 +01:00
abcdefg30
9f82ef999f
Set AutoGenerateBindingRedirects to true in OpenRA.Game.csproj
2018-10-01 17:52:52 +01:00
teinarss
e353c8c176
Changed SubCell to byte
2018-09-30 19:48:27 +01:00
Andre Mohren
52a7d39e51
Implemented Parallel ProductionQueue style.
2018-09-30 16:58:49 +02:00
Andre Mohren
3bfcecd539
Refactored ProductionQueue to support different production styles.
2018-09-30 16:58:49 +02:00
Andre Mohren
6cd1919cca
Calling PreparingAttack before calculating Muzzle.
2018-09-30 15:34:08 +02:00
Mustafa Alperen Seki
abdb1f7547
Add TargetTypes to AttackSuicides
2018-09-30 14:34:14 +02:00
reaperrr
adc03c41b1
Cache DomainIndex in PathFinder
...
Should save a trait look-up for each path search. Also ditch bogus null checks (this trait is a must-have anyway, so we *want* to crash if it's missing).
2018-09-30 14:34:05 +02:00
SoScared
893e20ee76
Fix yaml error with notifications.yaml
2018-09-30 06:52:41 +00:00
Andre Mohren
693b5a54af
PNG spritesheet support, along with PaletteFromPng.
...
Cursor palette loader can now be specified via yaml.
2018-09-29 21:12:40 +02:00
Andre Mohren
48248266a8
ClickSound and ClickDisabledSound and ChatLine are optional ui sounds.
2018-09-29 20:05:53 +02:00
Andre Mohren
28623ce54c
Allow usage of different palette for WithSpriteTurret
2018-09-29 19:47:47 +02:00
Andre Mohren
640078a2b1
Refactored Health usage to IHealth.
2018-09-29 18:12:40 +02:00
reaperrr
83cd7cf485
Merge two ifs in RevealOnDeath
2018-09-29 12:54:34 +01:00
reaperrr
ade85f8977
Skip DamageWarhead armor lookups if no Versus defined
...
- directly return 100 when no Versus values are defined (meaning the warhead would have 100% efficiency vs. all armor types anyway)
2018-09-29 12:54:34 +01:00
reaperrr
1f7edf9f0b
Cache *Notify traits in Health where applicable
...
During heated battles, those TraitsImplementing look-ups in Health might cause bursty CPU load on warhead impacts. Caching the notify traits of the actor + owner can reduce the trait look-ups per impact by more than half.
2018-09-29 12:54:34 +01:00
reaperrr
13769d48a1
Minor Health readability style fix
2018-09-29 12:54:34 +01:00
reaperrr
43693d84d1
Migrate DamageState thresholds to integer
...
While avoiding divisions.
While there haven't been any desyncs to speak of recently (not in this part of the code, in any case), this still looks like an oversight from when we migrated away from using floats.
This also makes it easier to expose the thresholds to modders later.
2018-09-29 12:54:34 +01:00
reaperrr
0b0c3b7170
Changed an 'if' to 'else' in Health.Tick
...
Since the two 'if's were mutually exclusive, the 2nd 'if' was turned into an 'else' to potentially skip that check if the 1st succeeds.
2018-09-29 12:54:34 +01:00
Mustafa Alperen Seki
b53c13dca4
Add GrantConditionOnProduction
2018-09-29 12:10:11 +01:00
Smittytron
2bb2cd51cc
Change menu cancel buttons to back
2018-09-28 23:33:17 +01:00
abcdefg30
4298584af2
Prevent units from gaining more experience than MaxLevel requires
2018-09-28 22:48:50 +01:00
Andre Mohren
a86f41cd5c
Made Valued optional for traits who do not require it.
2018-09-28 22:06:56 +01:00
reaperrr
ec15acbc80
Enable LaserZap launch-effect syncing with current source barrel/muzzle facing
2018-09-28 21:32:34 +02:00
reaperrr
28c89920ac
Add dynamic muzzle LaunchEffect facing plumbing
2018-09-28 21:32:34 +02:00
Mike
619457828f
Soviet Soldier Volkov & Chitzkoi fully ported
...
Crash fixed.
2018-09-28 21:12:15 +02:00
reaperrr
8144fca5be
Merge repair and rearm anim traits into WithResupplyAnimation
...
This is the safest approach to avoid conflicts/visual glitches when the host is responsible for both resupply types.
The new trait will simply play a looping animation as long as the actor is resupplying in any form.
2018-09-27 16:38:08 +02:00
Smittytron
9fb8f6c6f8
Add Allies07
2018-09-27 16:04:17 +02:00
reaperrr
288dfdbf03
Update UpdatePaths and move bleed rules to subfolder
2018-09-26 23:43:30 +01:00
Paul Chote
09d8aafddf
Add a lint test for audio notifications.
...
Only traits are linted - the UI still hardcodes
too many audio references for this to be worthwhile.
2018-09-26 13:57:05 +02:00
Smittytron
096de8f5aa
Remove out of bound actors from RA missions
2018-09-25 18:38:08 +02:00
Smittytron
f668e18f37
Remove out of bounds actors from TD missions
2018-09-25 18:38:08 +02:00
Andre Mohren
f342ecf18a
Added UpdateRule.
2018-09-24 22:43:14 +02:00
Andre Mohren
a68ea0fe2d
RepairsUnits notification now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
091f660dc7
Extracted Repairing notification to RepairableBuilding.
2018-09-24 22:43:14 +02:00
Andre Mohren
a0ad79e555
Extracted RadarUp and RadarDown notifications to RadarWidget.
2018-09-24 22:43:14 +02:00
Andre Mohren
d7f81d4a20
Extracted Win and Lose and Leave notifications MissionObjectives.
2018-09-24 22:43:14 +02:00
Andre Mohren
fac758f38e
ProductionQueue notifications now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
c2b1a5f4e0
Extracted BuildingCannotPlaceAudio to PlaceBuilding.
2018-09-24 22:43:14 +02:00
Andre Mohren
8834cee13c
PlaceBuilding notification now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
7057e32902
PowerManager notification now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
90c2249317
PrimaryBuilding notification now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
cf84e6f8d5
GainsExperience notification now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
e353ff326e
Extracted CashTickUp and CashTickDown to PlayerResources.
2018-09-24 22:43:14 +02:00
reaperrr
bb7c19ad02
Fix spawning 1 crate too much if maximum == minimum
...
If Maximum == Minimum but 'crates' < Maximum, the formula would simply return min + 1 regardless of max being identical to min.
Only adding 1 more crate if Maximum is higher than Minimum fixes that.
2018-09-24 22:06:21 +02:00
reaperrr
1098804f9b
Make WithSpriteBody always use Animation.PlayRepeating
...
... for looped sequences.
PlayCustomAnimationRepeating looping back into itself via Action instead of simply using Animation.PlayRepeating is weird, and in fact causes a slight 'desync' in animation speed with Animation.PlayRepeating in at least one downstream mod.
2018-09-24 22:06:10 +02:00
reaperrr
9bcb754836
Add OnActorDispose plumbing to Activity
...
This allows activities to perform necessary cleanups on actor
death/disposal, for example by running OnLastRun directly,
which would otherwise be skipped when the actor dies or is disposed
through other means.
2018-09-24 22:01:22 +02:00
Andre Mohren
e8eb4d9563
Credit removal due to request.
2018-09-24 13:11:15 +02:00
Paul Chote
7d59602c0b
Revert "Update macOS launcher template to osx-launcher-20180723."
...
This reverts commit 904c3afc4d .
2018-09-22 18:57:21 +02:00
abcdefg30
978d447d42
Disable the restart button on dedicated servers
2018-09-22 15:44:56 +01:00
abcdefg30
92e8fbf4d0
Make the menu widget readonly
2018-09-22 15:44:56 +01:00
Ectras
d9946f63e4
Renamed EditorTilesetFilter to MapEditorData and added an update rule
2018-09-22 15:12:15 +02:00
Glen
2e3f2e079a
Github Username Change
2018-09-20 11:23:06 +02:00
Matthias Mailänder
cb05d8a98d
Fix CustomTerrainDebugOverlay not rendered in isometric mods
2018-09-19 20:04:41 +02:00
Noam
4e7a35b50f
add NoAvailableMaps exception.
...
modify ChooseInitialMap to throw NoAvailalbeMaps exception if no maps were loaded.
implement Utilities.TryWithPrompt - safe execution of a provided action with ability to prompt user on error.
2018-09-19 12:52:51 +02:00
Matthias Mailänder
399e451ada
Add a DamagesConcreteWarhead to remove buildable concrete.
2018-09-15 15:36:12 +02:00
Paul Chote
7438af8266
Improve status line display for unknown-size downloads.
2018-09-14 18:55:58 +02:00
Emmalyn Renato
3f4d5fa68c
Fix display of progress text in Advanced Install when total file size is unknown.
2018-09-14 17:30:53 +01:00
Paul Chote
91adc61abd
Revert RA Grenadier explosion DamageSource.
2018-09-13 17:11:15 +02:00
SoScared
c242333922
Fix d2k bots not excluding harvesters from squads
2018-09-13 17:01:23 +02:00
SoScared
953d76a20a
Enable nuke for d2k omnius ai
2018-09-13 17:01:23 +02:00
SoScared
3f9fde8855
Tweak AI excess power and unit production
2018-09-13 17:01:23 +02:00
Dennis Snell
95558a36ab
Fix: Display progress message properly when download size missing ( #1 )
...
When I downloaded the assets for Red Alert through the Quick Install I noticed the progress bar proceed and display a recognizable message: `Downloading from … 1.47/12 MB (12%)`. This was fine.
When I downloaded the assets for one of the other games, maybe Dune 2000, there was obviously no total download size available. I was an unexpected message: `Downloading from … 1.47/NaN (NaN%)`
The code handling network progress events seems to be aware of the possibility that no full download size exists but it doesn't update the message. In this path I'm proposing that we display a separate messaging indicating that we don't know how much more we have to download for these cases.
Of the alternative ways to implement this I chose to move the reassignment of `getStatusText` into the conditional structures to preserve the existing choice. The message was qualitatively different and so I felt it worthwhile to create entirely different closures vs. doing something like this…
```cs
getStatusText = () => ( Double.isNaN( dataTotal ) ? "Downloading {1} of unknown amount" : "Downloading {1}/{2}" ).F( … );
```
2018-09-13 16:55:51 +02:00
Andre Mohren
ef7c49c116
Allow mods to determine associated SuperPower from SelectGenericPowerTarget
2018-09-12 15:11:18 +02:00
Paul Chote
16ff9fbc8e
Fix menu/exit fade effect for paused replays.
2018-09-11 23:29:23 +02:00
reaperrr
bbf6e38faa
Always leave trails when no TerrainTypes are defined
...
Requiring terrain types is bogus, as it unnecessarily complicates using this trait for airborne units.
2018-09-10 19:45:02 +02:00
Paul Chote
8533aa8d26
Disable sync reports when we know we won't need them.
...
Generating the sync report takes ~twice as long as
a normal tick, and occurs once every 3 ticks.
These reports record of all of the synced state
(separate to the sync hash, which is still calculated)
in order to generate the syncreport.log of the game
desyncs. This perf overhead is completely unnecessary
when we know that we won't have other syncreports to
compare against (singleplayer, replays).
Disabling report generation in these cases gives
us an easy 40% average tick-time win.
2018-09-10 19:44:06 +02:00
Paul Chote
0a507f3d33
Allow deploy orders to be queued from the command bar.
2018-09-10 19:42:24 +02:00
Paul Chote
3abc85b588
Add a Desc for Buildable.BuildPaletteOrder.
...
Also removes the long-outdated UI-fluff comment.
2018-09-10 11:27:50 +02:00
SoScared
024722a96c
Enable airfield for AI as Ukraine
2018-09-10 03:45:59 +01:00
abcdefg30
5d1c37a4c5
Remove the CodeAnalysisRuleSet property from all csproj files
2018-08-25 22:02:59 +02:00
Paul Chote
48f2519811
Make SetupLatencyWidget consistent with SetupProfileWidget.
2018-08-25 21:56:10 +02:00
Paul Chote
0c098e74f1
Don't crash when mousing over a bot as a non-admin.
2018-08-25 21:56:10 +02:00
Paul Chote
8475bd6294
Ignore malformed orders instead of crashing.
2018-08-25 18:23:35 +02:00
rtri
cdfa52d918
fix threadedRenderer context creation logic
2018-08-23 01:50:18 +02:00
Chris Forbes
67d9ad6a93
Convert cloak types to use BitSet
...
Fixes #15412
2018-08-20 01:11:43 +02:00
Chris Forbes
1f71377d82
Convert cloneabletypes to bitsets
...
Fixes #15411
2018-08-20 01:11:43 +02:00
Paul Chote
8634c001f9
Add requires-auth indicator to the server lists.
2018-08-18 16:57:28 +02:00
Paul Chote
e374c8e6c3
Sync auth information with the master server.
2018-08-18 16:57:28 +02:00
Paul Chote
77bb39304b
Give server operators more control over client validation.
2018-08-18 16:57:28 +02:00
Paul Chote
9ec22e48a6
Revert "Re-active Edge-Scrolling for inverted Mouse-Scrolling"
...
This reverts commit c4867d4030 .
2018-08-18 16:51:51 +02:00
Paul Chote
03adceb656
Rework master server ping rate-limit logic.
...
Pings are now delayed instead of dropped to avoid data loss.
2018-08-18 09:31:11 +01:00
Paul Chote
efccd610d3
Simplify server tick timeout handling.
2018-08-18 09:31:11 +01:00
Paul Chote
d37119655b
Add Engine.SupportDir argument.
2018-08-17 21:02:36 +02:00
Andre Mohren
8c5caaf154
Fixed unnecessary crash if RallyPoint palette is not used.
2018-08-16 22:24:58 +02:00
Paul Chote
4a5525d1af
Ensure that TLS 1.2 is enabled for web downloads.
2018-08-16 19:56:18 +02:00
Mustafa Alperen Seki
6df243f79b
Fix GivesExperienceModifier not working
2018-08-16 19:44:08 +02:00
Paul Chote
e56cb9901b
Add a hard requirement on the cert-sync utility.
...
This tool is required to sync the certificates
used for https queries. This also has a side-effect
of prompting the mono-complete package on Mint,
which pulls in other required but missing packages.
2018-08-15 21:21:56 +01:00
Paul Chote
20dbf76e81
Fix the Chronoshift-return cancellation bug.
2018-08-15 21:17:27 +01:00
Paul Chote
4375dc2fc1
Kill chronoshifted actors if the return-to-origin fails.
2018-08-15 21:17:27 +01:00
Paul Chote
6f864b055d
Remove IPreventsTeleport interface.
...
MadTank is changed to use conditions instead.
This has a side-benefit of disabling the move
cursor while deployed.
2018-08-15 21:17:27 +01:00
Paul Chote
e6d552eee7
Make Chronoshiftable conditional.
2018-08-15 21:17:27 +01:00
Paul Chote
828106cf82
Fix a typo in ChronosphereProperties class name.
2018-08-15 21:17:27 +01:00
Mustafa Alperen Seki
1977e64e07
Fix Cargo>EjectOnDeath crash with multipile INotifyBlockingMove
2018-08-14 23:00:08 +02:00
reaperrr
c983dda077
Fix husks not updating targetable positions on teleport
...
This should have checked for IPositionableInfo to begin with.
Husk already implements IPositionable, so implementing *Info as well
makes sense, even if it only serves to exclude it from
ITargetablePositions caching for now.
2018-08-14 17:26:36 +01:00
BGluth
09b9ed3506
Rearming aircraft now reapplies rearming order if canceled on landing structure
...
- Implemented by making the ResupplyAircraft activity recreate a new resupply activity if cancelled and also having no other queued activities.
- Tested in TD, RA, TS.
2018-08-12 21:16:23 +02:00
Paul Chote
1bfe70e923
Revert "Add "Restart" button for multiplayer replays"
...
This reverts commit 3a377a572c .
2018-08-12 18:57:12 +02:00
reaperrr
ba231636f5
Minor RepairsUnits style fix
2018-08-12 14:36:59 +01:00
reaperrr
46cee82027
Move RepairsUnits out of Building folder
2018-08-12 14:36:59 +01:00
reaperrr
77d03ce1e1
Replace Airfield/Helipad references with generic Resupplier in RTB activities
...
More generalization to prepare for possible future activity merger.
2018-08-12 14:24:21 +02:00
reaperrr
fc79e04c49
Generalize Land activities Aircraft caching naming
...
To make a possible future merger (or inheritance or other code-sharing) of these activities easier.
2018-08-12 14:24:21 +02:00
reaperrr
3f9aab7e86
Generalize Fly* plane activities Aircraft caching naming
...
To make a possible future merger (or inheritance or other code-sharing) with other activities easier.
2018-08-12 14:24:21 +02:00
reaperrr
6810ac92ba
Generalize HeliAttack activity Aircraft caching naming
...
To make a possible future merger (or inheritance or other code-sharing) with FlyAttack easier.
2018-08-12 14:24:21 +02:00
reaperrr
c3a0d129a3
Generalize FlyCircle activity Aircraft caching naming
...
To make a possible future merger (or inheritance or other code-sharing) of these activities easier.
2018-08-12 14:24:21 +02:00
reaperrr
ae92255ded
Generalize Fly activity Aircraft caching naming
...
To make a possible future merger (or inheritance or other code-sharing) of these activities easier.
2018-08-12 14:24:21 +02:00
reaperrr
96032d1953
Generalize *ReturnToBase trait caching naming
...
Makes both copying changes as well as a potential future activity merger a little easier.
2018-08-12 14:24:21 +02:00
Smittytron
bd569c9ae2
Revert ranger change and dial back missile sub damage
2018-08-11 23:04:41 +02:00
Paul Chote
3711a695c5
Fix badge label padding.
2018-08-11 23:02:41 +02:00
abcdefg30
94c47fdac0
Remove TSLauncher.exe from the IDFiles of the origin ts install
2018-08-11 22:58:28 +02:00
abcdefg30
60a492803d
Remove RA95Launcher.exe from the IDFiles of the origin ra install
2018-08-11 22:58:28 +02:00
abcdefg30
4473059c60
Remove CNC95Launcher.exe from the IDFiles of the origin cnc and ra installs
2018-08-11 22:58:28 +02:00
Paul Chote
1b1521812c
Add EnabledByDefault check to WithInfantryBody.
2018-08-11 14:30:01 +02:00
Paul Chote
d110a21bfe
Add missing EnabledByDefault checks to WithSpriteBodyInfo subclasses.
2018-08-11 14:30:01 +02:00
abcdefg30
0b53c1f139
Resolve conflicts between actor and API names (Radar)
2018-08-10 20:49:06 +02:00
Oliver Brakmann
1927b88a18
Fix issueing superfluous difficulty lobby command from mission browser
2018-08-09 20:07:06 +01:00
Smittytron
e57f1dcd8c
Fix death sequences of Chan, Einstein, and Delphi
2018-08-05 12:57:11 +02:00
reaperrr
6c401f0f9a
Fix AI idle harvester management
...
This was broken because our default mods now list `harv` under `ExcludeFromSquads`, which prevents them from being added to `activeUnits`.
2018-08-04 22:30:07 +02:00
reaperrr
35600d9291
Some HackyAI cleanups
...
- harvManager.Tick should run after FindNewUnits() in case new harvesters have appeared
- moved the FindNewUnits Mcv and ExcludeFromSquads checks to the foreach loop, for better readability and preparation of the idle harvester fix
2018-08-04 22:30:07 +02:00
Paul Chote
a51b916eaa
Hide the Ready checkbox when a spectator transfers away Admin.
2018-08-04 22:12:43 +02:00
BGluth
5c42f55b3a
Fixed aircraft in TS landing instantly to reload their ammo
...
- Updated calculating the landing altitude for the Land activity not taking into account the terrain height.
- Fixes 14312.
2018-08-04 21:09:59 +02:00
Andre Mohren
3f81df9c52
Fixed backwards animation playback.
2018-08-04 20:58:02 +02:00
Paul Chote
a0dcd9e106
Clear selection when a text field's contents is changed programatically.
2018-08-04 20:29:19 +02:00
Paul Chote
d6737ccfab
Fix missing profile indicator for spectators.
2018-08-04 20:22:35 +02:00
Paul Chote
3661dbdfd0
Disable the threaded renderer on Windows.
...
A DisableWindowsRenderThread graphics setting is
added to allow players to optionally reenable it.
2018-08-04 20:10:52 +02:00
reaperrr
599e87c4aa
Fix tree owners in TD (for real this time)
2018-08-04 19:06:32 +01:00
Paul Chote
567ab47765
Revert ShpTD empty space trimming.
...
This reverts the following commits:
* 1faae73c08
* a7d39fc76d
2018-08-04 19:56:24 +02:00
Unknown
c97f36793c
Implemented horizontal allign support for SupportPowersWidget
2018-08-04 17:39:18 +02:00
reaperrr
e179a9529e
Fix tree owner on TD maps
...
Needs to be Neutral instead of Creeps, to avoid confusing the AI.
2018-08-04 14:03:02 +01:00
reaperrr
606bf6d9bb
Fix tree owner on several RA maps
...
Owner: Creeps can lead to AI trying to attack trees, so all trees must have Neutral as owner.
2018-08-04 14:03:02 +01:00
abcdefg30
e8068cf329
Remove all uses of Server.ExternalPort
2018-08-04 12:32:01 +02:00
Andre Mohren
8f15535da0
Allow to use non tileset specific build-valid.
2018-08-04 12:28:41 +02:00
Mustafa Alperen Seki
d062523700
Add GetActorsByTypes.
2018-08-04 12:20:16 +02:00
Smittytron
6e18caa096
Remove duplicate line from V19.Husk
2018-08-04 12:18:01 +02:00
Zimmermann Gyula
6027a123d4
Split off the upgrade rules of the previous release cycle.
2018-08-02 17:00:02 +02:00
abcdefg30
f9bc1113b5
Fix the die1 sequence of fremen
2018-07-31 21:00:59 +02:00