Commit Graph

2174 Commits

Author SHA1 Message Date
abcdefg30
b8077f1d5d Fix the campaign AI defending captured buildings 2018-04-12 17:01:59 +02:00
abcdefg30
2e7b8bc30a Add a missing word in the description of atreides05 2018-04-12 17:01:59 +02:00
abcdefg30
dfd60655af Fix a crash in atreides05
We removed ExternalCondition from starport
2018-04-12 17:01:59 +02:00
Paul Chote
4f0aa89c01 Remove TileSet.Palette and PaletteFromCurrentTileset. 2018-04-08 21:14:29 +02:00
Joe Alam
7221c29d9b Added text selection and copy support to TextFieldWidget.
Use Shift and navigation key (cursor, home, end) to select a portion of
text, and replace/delete/cut as appropriate.
Also provides support for selection with mouse (click and drag)
2018-04-08 19:24:22 +02:00
Paul Chote
cc04ec607c Allow d2k turrets to replace walls. 2018-04-07 23:32:24 +02:00
reaperrr
4c16e51f92 Add EditorPlayer to all mods
To prevent the editor from loading unnecessary or even incompatible
player traits.
2018-04-06 20:46:47 +02:00
reaperrr
4f651c2f88 Remove HarvesterInfo look-up from HackyAI 2018-04-06 20:16:36 +02:00
abcdefg30
63093eb986 Fix color picker actors being abstract 2018-04-04 18:33:53 +02:00
CH4Code
5b24649c44 Add vision and VTOL husk to the carryall while in process of lifting harvesters. 2018-03-25 13:16:20 +02:00
abcdefg30
7f55e85530 Rename DefaultCashLocked to DefaultCashDropdownLocked in yaml 2018-03-21 00:52:18 -03:00
David Wilson
9bc9ce4577 Color picker update with team color presets. Bots added will use available team color presets by default 2018-03-18 23:29:47 -03:00
Voidwalker
711bad91a3 Generalize WormManager into ActorSpawnManager.
Added support of multiple actors, conditions and types.
2018-03-08 15:39:44 +01:00
Peter Antal
701675fd4c Add "Slowest" gamespeed with Timestep of 80.
Drop "Slowest" latency to 2 frames, to balance out with the particularly long timestep.
2018-02-28 13:06:24 +01:00
reaperrr
342114878c Prevent D2k AIs from building too many wind traps
While scaling minimum excess power with base size to make sure they don't build too few, either.
2018-02-27 19:47:00 +01:00
reaperrr
9107ca3bc1 Remove unused legacy IsWater flag
This was planned anyway, we had just forgotten about it when the last blocker was removed.
2018-02-22 11:51:10 +01:00
Alexis Hunt
08ad7d7f4e Refactor handling of hit radii in projectiles.
penev discovered that the RulesetLoaded functions of projectiles were
never being called, meaning that their blocking calculations were not
properly accounting for actors with large hitboxes.

The best fix for this is to change FindActorsOnLine to always account
for the largest actor's hit radius, rather than forcing callers to pass
the largest radius. Per the comment in Util.cs, as a result, move this
computation to ActorMap. I decided to simplify by not making a separate
calculation for actors that block projectiles only; this may cause a
small performance degradation as the search space is a bit larger.

Similarly to this, I've removed the ability to specify a search radius
manually. Because this is only a search radius, setting a value smaller
than the largest eligible actor makes no sense; that would lead to
completely inconsistent blocking. Setting a larger value, on the other
hand, would make no difference.

CreateEffectWarhead was the only place in core code any of these search
radii were set, and that's because 0 was a mysterious magic value that
made the warhead incapable of hitting actors. I replaced it with a
boolean flag that more clearly indicates the actual behaviour.

Fixes #14151.
2018-02-21 23:26:41 +01:00
reaperrr
c46a050da3 D2k yaml style fixes 2018-02-21 22:04:33 +03:00
Mustafa Alperen Seki
f136c200bc Check if AI Production is no longer on hold more often 2018-02-18 22:53:11 +01:00
Mustafa Alperen Seki
94ed985739 Remove NoAutoTarget from Atr5 starport.
Buildings are no longer auto targeted by default.
2018-02-18 22:53:11 +01:00
Mustafa Alperen Seki
384b78aae4 Fix Harkonnen Base definitions on Ord4 2018-02-18 22:53:11 +01:00
Mustafa Alperen Seki
bf2600c2fb Add Ordos 5 2018-02-18 22:53:11 +01:00
abcdefg30
0da8efd9b4 Make Aircraft spawn husks with a neutral owner 2018-02-17 12:21:55 +01:00
abcdefg30
bb801e5948 Fix a "granted condition is never consumed" warning in D2k 2018-02-07 21:22:59 +01:00
Mustafa Alperen Seki
a45e0d9d0a Seperate Imperial and Harkonnen Sardaukars 2018-02-06 21:20:00 +01:00
Mustafa Alperen Seki
a0d4a03530 Add conyard.corrino 2018-02-06 21:09:38 +01:00
Mustafa Alperen Seki
7474c38943 Limit D2K Palace SWs to their Faction's Palaces' 2018-02-06 21:09:38 +01:00
Arular101
8a60918841 Update copyright notice year to 2018 2018-01-17 00:47:34 +01:00
Mustafa Alperen Seki
283af60b7c Add PrimaryBuilding: to D2K Palaces 2018-01-13 17:55:57 +01:00
Oliver Brakmann
32b0170785 Fix primary building flag not working properly in D2k 2018-01-13 17:19:38 +01:00
Alexis Hunt
157a783df5 Correct UI for unslowed queues in low power.
Because of the way the tick logic works, 0 (or any negative number) for
LowPowerSlowdown is functionally equivalent to 1. But LowPowerSlowdown
is multipled by a time in several cases, so while 1 will produce the
correct result (no slowdown), 0 will say that the time remaining is
00:00. Forbid nonpositive values, and correct the d2k mod which was
using 0.

Additionally, in the production tooltip, the colour should display as
white even in low power if there is no slowdown.
2018-01-13 16:13:59 +01:00
Mustafa Alperen Seki
23a2e8fdce Fix building armors in D2k 2018-01-11 17:50:37 +01:00
C. Helmig
75b7e0a58c Fix d2k walls being always visible through f.o.w. 2018-01-11 17:22:49 +01:00
Alexis Hunt
f0267ccb51 Do not speed D2K upgrades up based on buildings. 2018-01-11 11:59:09 +01:00
C. Helmig
14d91452e0 Added primary building and "PRIMARY" text to high tech factory. 2018-01-09 22:39:54 +01:00
C. Helmig
8dd5ba3ac7 Add production bar to high tech factory. 2018-01-09 22:39:54 +01:00
Mustafa Alperen Seki
4d55fa9ca9 Make 1st missions use same way as 2nd to disable upgrades 2018-01-08 20:51:12 +01:00
Mustafa Alperen Seki
f89953113c Disable upgrades in 2nd missions 2018-01-08 20:51:12 +01:00
Mustafa Alperen Seki
d4f7d669f7 Fix the crash on Har5 2018-01-07 23:13:52 +01:00
Paul Chote
c77e328614 Remove "Mission Aborted" notification.
This has been causing confusion for players who have already completed a mission.
2018-01-06 22:35:10 +03:00
Paul Chote
73da5e7a20 Fix d2k ingame-client tooltip background. 2018-01-01 22:12:09 +02:00
Mustafa Alperen Seki
2f6bbd906b Ignore Silos for SW Targeting on Harkonnen Missions
Also Defences for Saboteur
2017-12-31 12:02:13 +01:00
Mustafa Alperen Seki
1aa57cd5b1 Fix an owner change for Smugglers on Har6s. 2017-12-30 21:30:10 +01:00
Mustafa Alperen Seki
b7830d97f2 Add Harkonnen9b 2017-12-30 21:30:10 +01:00
Mustafa Alperen Seki
a80924ebb3 Add Harkonnen 8 2017-12-30 20:18:37 +01:00
Mustafa Alperen Seki
69e9b94c5d Add Campaign Tooltip to D2K 2017-12-30 17:40:09 +01:00
Paul Chote
7fba6a2155 Add a view-only server list tab to the multiplayer lobby. 2017-12-30 17:03:58 +01:00
Paul Chote
1d8b2a9a08 Replace contrast with shadow on main menu version label. 2017-12-29 02:56:50 +01:00
Paul Chote
5c53172ab0 Add an update warning to the main menu. 2017-12-29 02:56:50 +01:00
Paul Chote
0eaec5d861 Add an animated reload glyph to the MP server refresh. 2017-12-28 22:42:50 +01:00