Commit Graph

293 Commits

Author SHA1 Message Date
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
abcdefg30
55dd61ebe5 Fix the ProneOffsets of TakeCover 2017-02-08 20:14:02 +01:00
reaperrr
3e1d0074b8 Tweak TS building debris spawns 2017-02-05 02:15:10 +01:00
Paul Chote
958d1cd365 Merge pull request #12671 from abc013/renameUpgradeOverlay
Changed 'UpgradeOverlay' to 'WithColoredOverlay'
2017-02-03 22:14:58 +00:00
abc013
851c8e6075 Changed 'UpgradeOverlay' to 'WithColoredOverlay' 2017-02-03 18:09:56 +01:00
Taryn Hill
82f44b00d2 Add TunnelCondition to ^Visceroid's Mobile trait 2017-01-31 10:31:12 -06:00
Taryn Hill
5a13ea3366 TS' ^DamagedByVeins: Disable LeavesTrails if inside of a tunnel 2017-01-31 09:36:18 -06:00
Taryn Hill
4bd6bb0b21 TS: Don't heal actors on tiberium if they are in a tunnel 2017-01-31 09:36:01 -06:00
Taryn Hill
7eab7dfad9 TS: Do not do terrain/vein damage to actors inside of tunnels 2017-01-31 08:46:09 -06:00
Paul Chote
bb5f25e0dc Disable actor sight while inside tunnels. 2017-01-29 18:58:33 +00:00
Paul Chote
41213ad2d1 Implement tunnels. 2017-01-29 18:58:33 +00:00
Zimmermann Gyula
cc71582419 Fix vein attack animation moving along with target. 2017-01-26 11:01:36 +01:00
reaperrr
2da1304522 Fix large TS visceroid attack and enable attack animation
Unfortunately the animation sprite starts at an unusual facing, so we have to work around that by manually fixing the order. Using Combine is easier than listing a whopping 40 frames in the correct order.
2017-01-18 21:58:07 +01:00
reaperrr
4206bdf491 Slightly tweak default TS infantry selection box 2017-01-18 21:56:36 +01:00
Zimmermann Gyula
4bce601db2 Implement reveal-on-fire. 2017-01-17 18:59:07 +01:00
Paul Chote
dcad5c3f7c Rename UpgradeManager to ConditionManager. 2016-12-23 14:57:56 +00:00
Paul Chote
2e8479b9a2 Split out and reset crate stat modifier bonuses. 2016-12-23 11:29:24 +00:00
Paul Chote
72f61ed95c Start reorganising TS Inherits. 2016-12-23 11:29:24 +00:00
Paul Chote
72589ae967 Fix TS aircraft conditions. 2016-12-23 11:29:24 +00:00
Paul Chote
4a179e4824 Remove ^EmpDisableMobile inherit. 2016-12-23 11:29:24 +00:00
Oliver Brakmann
05c2081143 Merge pull request #12458 from pchote/map-top-targetability
Reduce aircraft not being targetable at the north edge of the map.
2016-12-21 21:14:19 +01:00
Paul Chote
39c2b76c51 Convert DisableOnUpgrade to conditions. 2016-12-13 19:30:42 +00:00
Paul Chote
736d66d2c2 Convert GainsExperience to conditions. 2016-12-13 19:30:42 +00:00
Paul Chote
1ef3e246d1 Convert GlobalUpgradable to conditions. 2016-12-13 19:30:41 +00:00
Paul Chote
29d7d42638 Convert UpgradeOnTerrain to conditions. 2016-12-13 19:30:40 +00:00
Paul Chote
b9bc6eba16 Convert UpgradeOnDamageState to conditions. 2016-12-13 19:30:39 +00:00
Paul Chote
60cd12874e Convert Aircraft to conditions. 2016-12-13 19:30:37 +00:00
Paul Chote
45af024b15 Convert Cargo to conditions. 2016-12-12 19:43:57 +00:00