Commit Graph

9194 Commits

Author SHA1 Message Date
abcdefg30
c3bfd32192 Fix PlayMovieInRadar crashing for spectators 2018-04-23 21:52:49 +02:00
Paul Chote
7508a13f92 Enable "Unable to comply, building in progress" notification. 2018-04-22 18:01:57 +02:00
reaperrr
ffeea72130 Remove RA gates
They aren't used on any shipping map, and removing them significantly
reduces the overscan radius of blockable projectiles in the mod.
2018-04-22 10:55:23 +02:00
FrameLimiter
39aa1a9f9c Adds ships to the MECH's autotarget priority list
The mechanic was not automatically targeting & repairing damaged ships.
2018-04-12 17:08:57 +02:00
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
Smittytron
68ad4b6092 Remove leftover sniper disabled from missions 2018-04-10 13:08:22 +02:00
Smittytron
348932692a Change TD water crossings to Rough terrain 2018-04-10 01:13:29 +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
Michael Silber
29dd497c19 Allows GDI-Turrets, GDI- and Nod-Gates 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
Paul Chote
7be71eb381 Remove broken Server.ExternalPort setting. 2018-03-31 18:09:07 +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
reaperrr
40d7b41e84 Tweak Cruiser and Destroyer turret offsets
Moved back turret of cruiser a bit more backwards and destroyer turret a bit forward.
2018-03-21 12:09:18 +01:00
abcdefg30
11b44963da Remove duplicated rules from nod02a
They are already inherited from 'campaign-maprules.yaml'
and 'campaign-palettes.yaml'.
2018-03-21 00:52:18 -03: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
netnazgul
b383b9abc9 Fix actors with PauseOnCondition ammo not scanning for targets when reloading 2018-03-18 22:57:18 +01:00
C. Helmig
aa829427f0 Fix silo preventing player elimination. 2018-03-18 22:11:36 +01:00
reaperrr
1f4573886b Improve TD service depot hitshape and target offsets 2018-03-10 04:44:46 +01:00
reaperrr
ce396e840d Improve RA service depot hitshape + target offsets 2018-03-10 04:44:46 +01:00
reaperrr
79c78090d1 Remove WithSpriteTurret.AimSequence
We can now use WithTurretAimAnimation instead.
2018-03-09 19:28:29 +01:00
reaperrr
bd097730cf Adapt TS 2018-03-09 18:58:49 +01:00
reaperrr
e17e8c8cbd Adapt TD 2018-03-09 18:58:49 +01:00
reaperrr
b40970ca5d Adapt RA rules 2018-03-09 18:58:49 +01:00
netnazgul
58b5e7b243 Fix Pitfight and Ascent maps in RA mod map pool 2018-03-09 15:57:07 +01:00
reaperrr
d90ff99e74 Replace WithReloadingSpriteTurret with conditions
WithReloadingSpriteTurret was bound to run into conflicts with any WithTurret*Animation traits due to overriding the turret sequence constantly via ITick.
Using (stacked) conditions instead avoids that.
2018-03-08 16:03:14 +01:00
Voidwalker
711bad91a3 Generalize WormManager into ActorSpawnManager.
Added support of multiple actors, conditions and types.
2018-03-08 15:39:44 +01:00
Smittytron
1d9ed31f7d Add secondary objective and difficulty levels to nod06b 2018-03-04 21:31:27 +01:00
Smittytron
f9a45130fa Add Bridge to TerrainType 2018-03-04 21:29:11 +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
700c46d6af Prevent TS AI from building too many (advanced) power plants
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
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
7c79d20083 Prevent TD AIs from building too many (advanced) power plants
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
de47d570d5 Prevent RA AIs from building too many (advanced) power plants
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
Smittytron
9de1fe40a5 Add difficulty levels to nod06a 2018-02-25 11:13:52 +01:00
Matthias Mailänder
cf944ae9f1 Require IntoActor everywhere. 2018-02-23 20:02:47 +01:00
Matthias Mailänder
e3e710bb27 Add Visceroid fusing 2018-02-23 20:02:47 +01:00
reaperrr
025f664820 Fix Tiberian Fiend editor category 2018-02-23 19:59:33 +01:00
Matthias Mailänder
f189b85caa Render Tiberian Fiend spikes in Tiberium green. 2018-02-23 19:59:33 +01:00
Matthias Mailänder
8cfb406e29 Don't hide while attacking. 2018-02-23 19:59:33 +01:00
Matthias Mailänder
e5810d19d9 Add Tiberium Fiend hiding mechanic. 2018-02-23 19:59:33 +01:00
Mustafa Alperen Seki
763da40092 Fix palette of Oil Pump, Ice, Boxes, Hedgehogs and Utility Poles on Desert Tileset 2018-02-23 02:23:10 +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