Commit Graph

320 Commits

Author SHA1 Message Date
abcdefg30
0da8efd9b4 Make Aircraft spawn husks with a neutral owner 2018-02-17 12:21:55 +01:00
Arular101
5afa260d4e Don't show new build walls in fow 2018-02-11 23:39:39 +01:00
Arular101
4ea6a3c18c Small adjustments 2017-12-28 10:12:52 +01:00
Arular101
ede72410ff Increase damage and HP by 100x 2017-12-28 10:12:52 +01:00
Paul Chote
5425a5a28e Replace CanPowerDown with ToggleConditionOnOrder. 2017-12-27 20:18:27 +01:00
reaperrr
01a88862b3 Remove IDisable for good 2017-12-17 21:18:44 +00:00
reaperrr
c1cba4ecc1 Make Gate more independent from Building and pausable-conditional
Replace Gate IsDisabled checks with IsTraitDisabled/Paused checks
2017-12-17 21:18:44 +00:00
Paul Chote
6633483d12 Increase infantry mouse bounds to improve usability. 2017-12-11 19:45:07 +01:00
Paul Chote
c87409ed1a Remove legacy bounds code. 2017-12-11 19:45:07 +01:00
reaperrr
56b6aabbb8 Use new IAutoRenderSize for determining actor render bounds 2017-11-21 01:00:09 +02:00
Mustafa Alperen Seki
ca1448c7ba Add Support of Types for GivesBuildableArea 2017-11-20 16:17:13 +02:00
reaperrr
7537daf74e Adapt TS to power-related trait refactorings 2017-11-13 03:09:05 +02:00
reaperrr
a017018bee Fix official mods Aircraft.RearmBuildings setups
Only aircraft that a) have an AmmoPool and b) don't auto-reload should define RearmBuildings.
2017-11-12 19:48:06 +00:00
Paul Chote
faf2634e3d Upgrade mod rules. 2017-11-04 16:08:58 +01:00
Matthias Mailänder
d4340fa799 Add a MoveIntoShroud switch to AttackMove as well. 2017-10-16 14:38:26 +02:00
abcdefg30
178e7afd30 Remove a tiny bit of duplication on the TS walls 2017-10-06 15:38:53 +02:00
Paul Chote
049ed086f9 Add assault move to TS. 2017-09-11 19:08:33 +02:00
Paul Chote
646a6aa1e8 Fix TS target types. 2017-09-11 19:08:33 +02:00
Paul Chote
2a3a27aa65 Add CommandBarBlacklist to TS. 2017-09-01 11:56:37 +02:00
reaperrr
28ffcfea3c Upgrade rule for setting VTOL to true for CanHover actors 2017-08-31 18:03:59 +02:00
reaperrr
c9ff362ea2 Add TakeOffOnCreation and TakeOffOnResupply to Aircraft
Before this, it was impossible to replicate the behavior of the original games (staying on pad/airfield after reload) without hacking around in Mods.Common.
This allows modders to disable these without meddling with code.
2017-08-31 18:03:59 +02:00
reaperrr
6e2418d940 Add TS civilian hit-shapes 2017-08-09 21:25:05 +01:00
reaperrr
1b28cb9f60 Add TS default hit-shapes 2017-08-09 21:25:05 +01:00
rob-v
1a546d9baf Polish Actor Categories 2017-07-06 01:50:43 +02:00
rob-v
aab9dfcaa0 Add TS Actor Categories 2017-07-06 01:50:43 +02:00
Paul Chote
300a7222f3 Don't autotarget structures in Defend stance. 2017-06-18 21:07:21 +02:00
Paul Chote
57df34dcbf Fix auto-targeting vs TD/TS/D2K creeps. 2017-06-18 21:07:21 +02:00
Paul Chote
2e801a55ce Update ts AutoTarget definitions. 2017-06-11 17:14:21 -05:00
reaperrr
82758a8bef Add TargetableOffsets to HitShape
And remove ITargetablePositions from Building.
Also, added UseFootprintOffsets to replicate the old Building behavior for easier setup of TargetablePositions for buildings.
2017-06-04 00:07:08 +02:00
reaperrr
7f81de2f8a Upgrade rule for Health.Shape to HitShape.Type 2017-06-04 00:07:08 +02:00
reaperrr
db85fff7c0 Remove TS infantry hit-shape height
We should either implement this for all non-blocker actors at once, or not at all. By now we have walls/gates as examples for vertical shape height, so for now there's no reason to leave this on infantry.
2017-05-13 10:51:41 -07:00
reaperrr
91c65f1e9c Adapt blocking height of TS walls etc.
to WDist rescaling.

Also, make wall hit-shape height match blocking height and tweak it to
approximate original TS behaviour as much as possible (Tick Tanks could
shoot over them, but only from certain angles/distances).
2017-05-13 10:51:41 -07:00
reaperrr
ccda89f268 Refactor Shape.Rectangle.RotateToIsometry
And fixes TS wall and gate shapes.
2017-05-13 10:51:41 -07:00
Paul Chote
d787429a2e Merge pull request #12996 from atlimit8/RemoveIDisable-part2
Remove IDisable - part 2
2017-05-07 08:38:09 +01:00
atlimit8
0dfdea1826 Convert AffectedByPowerOutage from disabler to conditional condition granter. 2017-05-06 17:19:42 -05:00
reaperrr
22d8167d49 Merge pull request #13162 from pchote/tunnel-enter-cursor
Implement "Enter Tunnel" cursor
2017-05-05 23:47:57 +02:00
atlimit8
770efd710b Remove DisabledOverlay using WithColoredOverlay & remove IDisable from Husk 2017-04-30 09:46:21 -05:00
Paul Chote
1871715699 Implement "Enter Tunnel" cursor. 2017-04-29 15:58:42 +01:00
Paul Chote
43ff56eea9 Fix tunnel top definitions. 2017-04-29 15:50:16 +01:00
reaperrr
80ec530e4c Refactor supply traits to *Cash traits
Adding 'Type' and 'Stances' support as well.
2017-04-18 19:27:46 +02:00
Matthias Mailänder
37219ad67b Make Tiberian Sun railways passable by trains. 2017-04-17 15:11:33 +01:00
reaperrr
44254472d5 Disable fixed palette for TS old base buildings 2017-03-19 02:51:33 +01:00
atlimit8
cca7eda530 Restore CloakOn: Heal behavior in mods via MiniYaml changes. 2017-03-15 20:26:08 -05:00
atlimit8
ac4f73b178 ConditionExpression: Add relation operators 2017-02-22 08:54:52 -06:00
atlimit8
73895d07e2 Numeric constants for ConditionExpression 2017-02-22 08:54:50 -06:00
Paul Chote
da5a725458 Add support for per-source and total external condition caps. 2017-02-18 19:10:22 +00:00
reaperrr
f95ec2b11f Merge pull request #12684 from abcdefg30/proneOffset
Fix the ProneOffsets of TakeCover
2017-02-12 20:31:08 +01:00
abcdefg30
7247350780 Remove cloak from ^OldBase 2017-02-11 15:21:01 +01:00
abcdefg30
1b4b146308 Reduce duplication by introducing ^OldBase 2017-02-11 15:21:00 +01:00
abcdefg30
6376e1fd22 Remove unnecessary Tooltip and Buildable definitions from ^CivBuilding 2017-02-11 15:21:00 +01:00