Commit Graph

67 Commits

Author SHA1 Message Date
atlimit8
bbd54cb32f Added IDisabledTrait & rewrote upgrade code using a level-based approach.
Upgradeable traits are notified whenever an upgrade of their declared types are granted or revoked.  The traits maintain their own internal level counter, which is then used to enable or disable the trait functionality.  A trait can register for multiple upgrade types which then all affect the internal level counter.

	IDisabledTrait for identifying (and filtering) disabled traits
	UpgradableTrait provides an abstract base for traits to support upgrade levels
	Added IDisabledTrait support to GlobalButtonOrderGenerator

	Includes rework by pchote with alterations.
2014-11-26 05:45:26 -06:00
Matthias Mailänder
a3baee9d68 remove BelowUnits
closes #3670
2014-10-29 21:38:30 +01:00
Matthias Mailänder
426f146905 Merge pull request #6725 from reaperrr/ts-smudges
Fixes TS smudges...
2014-10-18 14:36:06 +02:00
Matthias Mailänder
a946fac06b Merge pull request #6716 from LipkeGu/ts_PreReqs
[TS] Correcting the Prerequisites
2014-10-16 06:53:03 +02:00
reaperrr
11cd7684a0 Fix Laser Turret and Nod SAM Site selection bounds 2014-10-12 14:20:53 +02:00
Guido L
7306cd32c8 [TS] fix Prerequisites and typos
changed the Prereqs

aircraft changes

vehicle changes

Infantry changes

removed forgotten (who has added this crap)
2014-10-08 22:54:04 +02:00
reaperrr
71d81eb4ad Fixes a TS weapon typo and removes redundant armament recoil values 2014-10-08 21:49:19 +02:00
Matthias Mailänder
15b358afa5 Merge pull request #6670 from reaperrr/ts-offsets01
Closes #5905
2014-10-05 13:23:23 +02:00
reaperrr
a6814bf0a2 Tweak TS barracks SpawnOffset and ExitCell 2014-10-05 13:17:41 +02:00
reaperrr
e9cad50652 Fix Footprint, DockOffset, SpawnOffset and spawn Facing of TS refinery 2014-10-05 13:17:06 +02:00
reaperrr
67e7c99b5c Fix TS offsets, selection bounds, weapon factory exits 2014-10-05 01:25:11 +02:00
Paul Chote
1a5ff440d1 Add the stealth generator to TS. 2014-10-04 14:01:45 +13:00
Paul Chote
bb44d76762 Add a GrantUpgradeWarhead and initial TS EMP implementation. 2014-10-01 21:29:21 +13:00
Paul Chote
b4c826237e Remove duplicated IronCurtainable rules. 2014-10-01 20:58:40 +13:00
reaperrr
4e169a0441 TS elite weapons 2014-09-27 14:41:46 +02:00
Taryn Hill
2988c500c0 More TS art fixes. 2014-09-24 14:20:14 -05:00
LipkeGu
dce744c51d Make the TS Construction Yard selectable
Increasing the size of the selection box to make the Construction Yard selectable.
2014-09-20 16:31:28 +02:00
LipkeGu
be38c873bf PROC: Fix Shroud revealing use "6c0" instead of "6"
- PROC doesnt reveal shroud, because all Buildings have Xc0 as Value and PROC has only "6" instead of "6c0"
- GALIGHT (Civillian Light post): increase Shroud reveal from "0c0" up to "2c0"
2014-09-18 09:16:16 +02:00
Matthias Mailänder
d4a3a3f97f setup all the silo sequences 2014-09-14 15:38:46 +02:00
Taryn Hill
80ca506e74 Fix GAPOWR.
Fix PROC.
Add Guard/Guardable to ^Helicopter.
Add GASILO.
Add TS Test AI

^Building now has FrozenUnderFog.
2014-09-14 08:11:48 -05:00
reaperrr
8c1ab03623 Wall -> Crushable + BlocksBullets yaml changes 2014-09-14 01:33:48 +02:00
ScottNZ
b70395e27c Refactor more power and infiltration stuff. Create new power sabotage ability for spies in ra and ts. 2014-08-27 18:45:09 +12:00
Taryn Hill
4abee8682f Visual fixes for TS structures and units. 2014-08-22 19:01:01 -05:00
Paul Chote
f64cdc52e1 Remove obsolete key definitions. 2014-08-03 19:28:09 +12:00
ScottNZ
692e3a9c88 Move Power out of Building and into its own trait
Conflicts:
	mods/ts/rules/structures.yaml
2014-08-03 18:53:51 +12:00
ScottNZ
058185754e Remove Infiltratable trait and refactor surrounding code to use target types 2014-08-02 22:31:46 +12:00
Matthias Mailänder
cefc848ee8 visually attach component towers to walls 2014-07-23 06:45:07 +02:00
Matthias Mailänder
2405ce3251 allow walls to attach to component towers 2014-07-20 19:00:04 +02:00
Matthias Mailänder
dbe64f496b add bibs to refinery and factories 2014-07-20 11:28:06 +02:00
reaperrr
1600b30fde Doubles Refinery storage capacity. 2014-07-09 20:14:19 +02:00
reaperrr
1973208694 Fixes Light Post. Closes #5903. 2014-07-09 20:13:38 +02:00
Matthias Mailänder
d6c60f6436 tweak the DockOffset a bit 2014-07-05 09:08:50 +02:00
Matthias Mailänder
9199cf4669 get to work automatically 2014-07-05 08:45:37 +02:00
Matthias Mailänder
270975a590 fix crash when docking with a voxel harvester 2014-07-05 08:45:34 +02:00
Mustafa Alperen Seki
d70e4a9e32 Defence Hotkeys 2014-06-26 17:36:11 +03:00
Mustafa Alperen Seki
02c7d727d1 Hotkeys 2014-06-26 16:41:49 +03:00
Mustafa Alperen Seki
9ddc53e3fc Harv. Spawn point 2014-06-26 16:16:55 +03:00
Matthias Mailänder
3e627d2eba rename ore to the more generic name resources everywhere 2014-06-20 11:11:31 +02:00
reaperrr
4aafd4ecf4 Adds TODO comments to GDI placeholder defenses 2014-05-24 13:12:31 +02:00
reaperrr
37f831ca9c Adds defenses and advanced Nod power plant, fixes GDI radar dish animation
Additionally tweaks offsets for deployed artillery and tick tank.
2014-05-24 13:12:30 +02:00
Matthias Mailänder
20a441a1f4 add the Tiberian Sun light post 2014-05-22 14:59:43 +02:00
Matthias Mailänder
d80edcd4e8 add Tiberian Sun repair depot 2014-05-20 20:52:47 +02:00
Matthias Mailänder
09e5cf2d03 whitespace cleanup 2014-05-18 08:16:51 +02:00
Matthias Mailänder
86c0614558 fix neighbored walls connecting to everyhing
closes #5232
2014-05-16 16:39:04 +02:00
Matthias Mailänder
c6663f7505 add Tiberian Sun refinery 2014-05-02 15:35:09 +02:00
reaperrr
c8815e1413 Un-hardcodes pip/tag/group palettes.
-Palette for decorations can now be defined under SelectionDecorations trait.
-Adds pip types Ammo and AmmoEmpty.
-LimitedAmmo PipTypes are now customizable.
-Adds art, sequences and rules entries for TS mod decorations that were missing/using a wrong palette.
-Adds PrimaryBuilding trait to TS weapon factories and helipads.
2014-04-28 20:03:00 +02:00
Matthias Mailänder
e53fee7d0c added production overlay to Tiberian Sun factories 2014-04-20 15:07:44 +02:00
Paul Chote
048289e6a9 Merge pull request #5138 from Mailaender/disable-idle-overlay
Fixed the Dune 2000 outpost radar dish rotating when powered down
2014-04-21 00:59:38 +12:00
Matthias Mailänder
a229e224d1 stop spinning the radar dishes in Tiberian Sun on low power 2014-04-20 14:50:00 +02:00
Matthias Mailänder
00ca5516fc add crane animation to Dune 2000 and Tiberian Sun
closes #3754
2014-04-19 13:12:32 +02:00